Ubuntu 12.04.3

From annawiki
Revision as of 2013-12-02T11:59:14 by Tobiasco (talk | contribs)

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


apache-sites

a2dissite
Your choices are: default vhost_xyz.conf
Which site(s) do you want to disable (wildcards ok)?
de*
ERROR: No site found matching de*!
a2dissite
Your choices are: default vhost_xyz.conf
Which site(s) do you want to disable (wildcards ok)?
default
Site default disabled.
To activate the new configuration, you need to run:
service apache2 reload
  • Wildcard did not work for "default"

apache-modules

a2enmod
-> rewrite