Join the 5 Minute Guide community to share your own tutorials and participate in forum conversations!
In this tutorial I show you how to install apache server and check it to make sure it is working. I’m using opensuse leap 42.1 but this method should work with other opensuse installs. Everything is done in terminal and the commands are listed below.
su – #makes your session root
zypper update #updates zypper
zypper in apache2 #installs apache2
systemctl start apache2 #starts apache2 service
systemctl enable apache2 #starts apache2 service on boot
cd /srv/www/htdocs #moves you to htdocs in the file structure
touch index.html #creates a blank doc