Project

General

Profile

Differences between Linux flavors » History » Version 6

Amber Herold, 05/18/2010 03:24 PM

1 1 Amber Herold
h1. Differences between Linux flavors
2
3 6 Amber Herold
Different Linux flavors often put web server and mysql-related files in different locations. This can be confusing. From experience, we found the equivalent on CentOS vs SuSE. Here we list them for reference. If your system uses different naming and you are willing to share your experience, please send us the list. We will add it here:
4 1 Amber Herold
5
Table Different File locations and Commands on CentOS vs SUSE
6
7
|_.File or Command Head|_.CentOS|_.SuSE|
8
| php.ini|/etc/| /etc/php5/apache2/|
9
| httpd.conf|/etc/httpd/conf/|/etc/php5/apache2/|
10
| default document_root|/var/www/html/|/srv/www/htdocs/|
11 4 Neil Voss
| apache start/stop/restart command head|/sbin/service httpd|/etc/init.d/apache2|
12
| mysql start/stop/restart command head|/sbin/service mysqld|/etc/init.d/mysql|
13 2 Amber Herold
14 5 Jim Pulokas
For a more detailed comparison of Apache file layout on different Linux distributions, see http://wiki.apache.org/httpd/DistrosDefaultLayout
15 2 Amber Herold
______
16
17
[[Install Web Server Prerequisites|Install Web Server Prerequisites >]]
18 3 Amber Herold
19
______