Install Apache Server
With OpenSSL support
If you want to install Apache with OpenSSL support, then you have to install OpenSSL first.
Get OpenSSL, I decided to take the latest version 0.9.8g
Unzip it and change to the directory, followin commands will install openssl into
For encryption, you need a certificate. You can either generate your own one. or if the server is in the ethz Domain, you can make request for a certificate by the ETH: http://www.id.ethz.ch/services/list/ssl/verwaltung
To create an own certificate, do the following:
If you are asked for the Common Name (CN) you have to enter the Full Quallified Domain (FQD) of the server you wanted the certificate for, otherwise the user will always get an error if he access the website!
To run the Apache Webserver under its own user, I would suggest to run it under a new User tpp. Like this, we can also restrict the permissions to the tpp data directory to the user tpp. All users who upload data to the server, get access with ssh as user tpp.
Download the latest Apache2 and unpack it, in my case this was Apache 2.2.6.
Start and Stop apache
The following commands start and stop apache2