Ubuntu 12.04.3: Difference between revisions

From annawiki
No edit summary
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 2: Line 2:
  apt-get update
  apt-get update
  apt-get upgrade
  apt-get upgrade
Apache2
  apt-get install apache2
  apt-get install apache2
  /etc/init.d/apache2 restart
  /etc/init.d/apache2 restart


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


PHP5
  apt-get install php5
  apt-get install php5


*"Setting up php5 (5.3.10-1ubuntu3.8)"
*"Setting up php5 (5.3.10-1ubuntu3.8)"
*http://packages.debian.org/wheezy/php5 already has 5.4.4
*http://packages.debian.org/wheezy/php5 already has 5.4.4
*?https://launchpad.net/~ondrej/+archive/php5/+index?batch=75&memo=75&start=75
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
service apache2 restart
time
dpkg-reconfigure tzdata
-> Etc -> UTC
* php info still shows other zone
service apache2 restart
local
dpkg-reconfigure locales
Generating locales...
  en_US.UTF-8... up-to-date
Generation complete.

Latest revision as of 2013-12-02T13:24:00

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
service apache2 restart

time

dpkg-reconfigure tzdata
-> Etc -> UTC
  • php info still shows other zone
service apache2 restart

local

dpkg-reconfigure locales
Generating locales...
 en_US.UTF-8... up-to-date
Generation complete.