Differences between RedHat and Debian
From WBITT's Cooker!
(Difference between revisions)
Line 30: | Line 30: | ||
| /var/log/httpd/* | | /var/log/httpd/* | ||
| /var/log/apache2/* | | /var/log/apache2/* | ||
+ | |- | ||
+ | | Apache Default Document Root | ||
+ | | /var/www/html | ||
+ | | /var/www/www-data | ||
|} | |} |
Revision as of 08:46, 21 March 2011
The following is the summary of different ways of doing similar tasks in RedHat and Debian.
Task | RedHat | Debian |
---|---|---|
List packages | rpm -qa | dpkg -l |
Interface configuration | /etc/sysconfig/network-scripts/* | /etc/network/interfaces |
Network service | /etc/init.d/network restart | /etc/init.d/networking restart |
Service Start/stop | service servicename start,stop,restart | invoke-rc.d servicename start,stop,restart |
Apache Configuration | /etc/httpd/* | /etc/apache2/* |
Apache Log files | /var/log/httpd/* | /var/log/apache2/* |
Apache Default Document Root | /var/www/html | /var/www/www-data |