How to install Apache2 http server on SUSE
Install
- connect to your site using ssh
- Elevate privileges to root using the
su
command - In the terminal type
yum -y install httpd
to install apache - This should install the program if there are any errors search the Apache2 site
Configure
- If you try starting now you may get an error about an
include.conf
to correct comment out the lineInclude /etc/apache2/sysconfig.d/include.conf
in/etc/apache2/httpd.conf
. You do this by adding a#
sign in front of the line. - go to
/usr/sbin/
and starthttpd2
Create First Page
- To do this all you need to do is add a file named
index.html
to the/srv/www/htdocs/
folder
Last modified: 10/12/2012 at 17:18 by Amy B. (Gandi)