Debian

From Wsms

Jump to: navigation, search

Debian is one of the older and more popular Linux distributions. The Debian maintainers pride themselves on reliability and adhere to a strict interpretation of the open-source ethos. Debian has been the basis for many derivative distributions including Knoppix, Ubuntu and Linuxmint.

Our wsms class used on Fedora linux, so this page mainly discusses the differences between Fedora and Debian.

Contents

Debian-Fedora Command Equivalents

To get a list of installed packages:
Debian: dpkg -L Fedora: rpm -qa

Install a .deb or .rpm:
dpkg -i rpm -i

List file installed by a package:
Debian: dpkg -L <package-name> Fedora: rpm -ql <package-name>

running an apache web server on Debian

The Debian apache 2 package provides a unique layout for the configuration files in /etc/apache2 as well as a set of utility scripts for enabling and disabling websites.

a2ensite

Enable an apache site.


See also

Knoppix
Ubuntu

Personal tools