Actions
Install Apache Web Server » History » Revision 2
« Previous |
Revision 2/14
(diff)
| Next »
Amber Herold, 04/15/2010 03:45 PM
Install Apache Web Server¶
1. Install the Apache Web Server with the YaST or yum utility.
2. Find "httpd.conf".
This is /etc/httpd/conf/httpd.conf on CentOS and /etc/php5/apache2/httpd.conf on SuSE
3. Edit the "httpd.conf" configuration file with the following:
DirectoryIndex index.htm index.shtm index.html index.shtml index.php HostnameLookups On
Note: It may be possible to edit httpd.conf in YaST2 as well.
4. Restart the web server.
apachectl restart or /etc/init.d/httpd restart (ON CentOS) or /etc/init.d/apache2 restart (ON SuSE) or /sbin/service httpd restartIf you want to start the web server automatically at boot on SuSE
SuSE >chkconfig apache2 on
Updated by Amber Herold over 14 years ago · 2 revisions