This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) install drupal & apache | |
wget http://ftp.drupal.org/files/projects/drupal-7.12.tar.gz | |
tar zxvf drupal-7.12.tar.gz | |
sudo apt-get install apache2 php5-pgsql php5-gd libapache2-mod-php5 php-apc | |
sudo mkdir /var/www/drupal | |
sudo mv drupal-7.12/* drupal-7.12/.htaccess /var/www/drupal | |
sudo cp /var/www/drupal/sites/default/default.settings.php /var/www/drupal/sites/default/settings.php | |
sudo chown www-data:www-data /var/www/drupal/sites/default/settings.php | |
sudo mkdir /var/www/drupal/sites/default/files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install pgbouncer | |
# edit /etc/pgbouncer/pgbouncer.ini file | |
# edit /etc/default/pgbouncer file and set START=1 | |
sudo service pgbouncer start | |
contents of /etc/pgbouncer/pgbouncer.ini file | |
[databases] | |
drupal = host=127.0.0.1 port=5432 dbname=drupal |