Home » Ubuntu Linux » Ubuntu Install LAPP apache2+php5+postgresql9.2

Ubuntu Install LAPP apache2+php5+postgresql9.2

apache2+php5+postgresql9.2

sudo apt-get update
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo apt-get install php5-gd
sudo apt-get install php5-pgsql
sudo apt-get install libpq-dev
sudo apt-get install python-software-properties
sudo aptitude install software-properties-common
sudo add-apt-repository ppa:pitti/postgresql
sudo vi /etc/apt/sources.list.d/pgdg.list
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-9.2
sudo -u postgres psql postgres
\password

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*

*