Workbook on Digital Private Papers > Setting up the Paradigm Digital Repository
Installing - Apache
From the Desktop
Start up YaST (Yet another Setup Tool) by clicking the SUSE toolbar's "Start" button (the green button with the smiling gecko) => System menu => Control Center (YaST):
The YaST dialog opens telling you that you need to enter root's password before you can continue:
Enter the root password.
In the YaST window that opens, click the Software icon in the left menu and then the Software Management icon to the right.
YaST takes a moment to inventory what you already have installed and what you can install. Then it opens a window with a search dialog.
Type apache in the search field and click the Search button.
Select the modules you want to install. We want to start out with the basics so select apache2, apache2-mod_php5.
This is where YaST comes into its own. YaST evaluates your selections, tells you what's missing, and gives you some ideas about resolution. In this case, YaST suggests a few other modules that are required to make the install successful: it takes a few minutes to evaluate the suggestions and (sometimes) choose between the options. This screen warns that there is a conflict and gives some logical choices that would need to be made in order to resolve the conflict.
In this case click the radio button next to install apache2-prefork and press OK - Try Again button.
YaST is now happy - all package dependencies are OK. Select OK.
Select Accept to proceed with the install..
YaST advises that two other packages were being installed to "resolve dependencies". Click the Continue button .
The selected packages are now installed.
YaST updates the system configuration files. Select Finish as we will configure Apache before installing any further applications.
Now you'll want to set Apache to start up when you boot. To do that, click the System icon in the left pane of the YaST window. Then Click the System Service (Runlevel) in the right pane.
Click the Expert Mode radio button at the top of the YaST window.
Select apache2 from the scrolling list.
Under the Set/Reset dropdown in the lower-right corner, choose Enable the Service.
This will automatically set the appropriate runlevels that will be used when starting the service.
Under the Start/Stop/Refresh dropdown, select Start now ...
The Apache service should start. Click OK.
The runlevel editor screen will look like this:
Select Finish and then Yes to save the runlevel changes.
Select Software to continue installing applications.
If you would like to verify that Apache is running - launch Firefox and enter localhost in the addressbar. All is well - the default message Access forbidden! for a directory with no index file should be displayed.
Previous section << Install Required Applications
Next section >> Install PHP



