How to install Apache2 http server on SUSE

Install

  1. connect to your site using ssh
  2. Elevate privileges to root using the su command
  3. In the terminal type yum -y install httpd to install apache
  4. This should install the program if there are any errors search the Apache2 site

Configure

  1. If you try starting now you may get an error about an include.conf to correct comment out the line Include /etc/apache2/sysconfig.d/include.conf in /etc/apache2/httpd.conf. You do this by adding a # sign in front of the line.
  2. go to /usr/sbin/ and start httpd2

Create First Page

  1. 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)