3. The latest security updates are installed. If in doubt, run a YaST Online Update.
4.
The default Web server port (80) is opened in the rewall. For this, congure the
SuSEFirewall2 to allow the service HTTP Server in the external zone. This can be
done using YaST. See Section “Conguring the Firewall with YaST” (Chapter 13,
Masquerading and Firewalls, ↑Security Guide) for details.
20.1.2 Installation
Apache on openSUSE is not installed by default. To install it with a standard, predened
conguration that runs “out of the box”, proceed as follows:
Procedure 20.1:
Installing Apache with the Default Conguration
1
Start YaST and select Software > Software Management.
2
Choose Filter > Patterns and select Web and LAMP Server int Server Functions.
3
Conrm the installation of the dependent packages to nish the installation process.
The installation includes the multiprocessing module apache2-prefork as well as
the PHP5 module. Refer to Section 20.4, “Installing, Activating, and Conguring
Modules” (page 379) for more information about modules.
20.1.3 Start
You can start Apache automatically at boot time or start it manually.
Procedure 20.2:
Starting Apache Automatically
1
To make sure that Apache is automatically started during boot in runlevels 3 and 5,
execute the following command:
chkconfig -a apache2
2
Alternatively, start YaST and select System > System Services (Runlevel).
3
Search for apache2 and Enable the service.
The Web server starts immediately.
360 Reference