Ubuntu 12.04.3

From annawiki

2013-12-02

apt-get update
apt-get upgrade

Apache2

apt-get install apache2
/etc/init.d/apache2 restart

apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

nano /etc/apache2/conf.d/fqdn
ServerName example.org

PHP5

apt-get install php5

Postgresql, http://www.postgresql.org/download/linux/ubuntu/

nano /etc/apt/sources.list.d/pgdg.list
nano, add one line: deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
apt-get update