Ubuntu 12.04.3: Difference between revisions

From annawiki
Line 10: Line 10:
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
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
  nano /etc/apache2/conf.d/fqdn
  ServerName example.org
  nano, add one line: ServerName example.org
service apache2 reload


PHP5
PHP5

Revision as of 2013-12-02T12:37:12

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
nano, add one line: ServerName example.org
service apache2 reload

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