apt-get install apache2
On the default site (/etc/apache2/sites-enabled/000-default) .htaccess files are disabled. If wished otherwise, the AllowOverride directive has to be changed from “none” to e.g. “all”.
General Steps:
1. Certificate generation
Perform following operations as root:
mkdir -p /etc/apache2/ssl
openssl req -new -x509 -days 365 -nodes -out /etc/apache2/ssl/apache.pem -keyout /etc/apache2/ssl/apache.pem
Change value of days to how long you want your cert be valid.
During the process you have to give following informations. Enter . if you do not want to specify. Important fields: Country Name, Common Name, email.
ln -sf /etc/apache2/ssl/apache.pem /etc/apache2/ssl/`/usr/bin/openssl x509 -noout -hash < /etc/apache2/ssl/apache.pem`.0
chmod 600 /etc/apache2/ssl/apache.pem
2. Bring up module
sudo a2enmod ssl
sudo /etc/init.d/apache2 force-reload
apt-get install mysql-serverDuring installation a root password needs to be specified
Important Commands:
pg_dump -U <username> -W -b <dbname> > db.out
psql -U <username> <dbname> -W
apt-get install phpmyadminDuring installation webservers have to be chosen for automatic configuration.