Drupal server set-up for Ubuntu 10.04 (Lucid Lynx)

First, do a clean install of Ubuntu 10.04 Lucid Lynx.

Run updates out-of-the-box:

sudo apt-get update
sudo apt-get upgrade

Install build-essential and curl

sudo aptitude install build-essential
sudo apt-get install curl

Install LAMP server

sudo tasksel install lamp-server

Enable mod_rewrite in Apache2 to enable Clean URLs in Drupal

sudo a2enmod rewrite
sudo /etc/init.d/apache2 restart

Disable unused Apache2 modules

sudo a2dismod cgi
sudo a2dismod autoindex

Increase PHP memory limit

sudo sed -i 's/memory_limit = .*/memory_limit = 128M/' /etc/php5/apache2/php.ini
sudo sed -i 's/upload_max_filesize = .*/upload_max_filesize = 128M/' /etc/php5/apache2/php.ini
sudo sed -i 's/post_max_size = .*/post_max_size = 128M/' /etc/php5/apache2/php.ini

Install required packages for PECL uploadprogress PHP module

sudo apt-get install php5-dev php-pear
sudo pecl install uploadprogress

Connect PECL uploadprogress and PHP

sudo sed -i '/; extension_dir directive above/ a\ extension=uploadprogress.so' /etc/php5/apache2/php.ini

or, the preferred method:

sudo nano /etc/php5/apache2/conf.d/uploadprogress.ini
extension=uploadprogress.so

Install the GMP Math library for PHP5 for optimal OpenID performance

sudo apt-get install php5-gmp
sudo service apache2 restart

Set the server timezone

sudo dpkg-reconfigure tzdata

Turn off Apache2 server signature [added security]

sudo sed -i 's/ServerSignature On/ServerSignature Off/' /etc/apache2/apache2.conf>

Tell Apache2 to allow Drupal .htaccess file [AllowOverride]

sudo sed -i 's/AllowOverride None/AllowOverride All/' /etc/apache2/sites-available/default

Install APC opcode caching [performance]

sudo apt-get install php-apc

Enable Apache2 deflate and expires modules

Note: Apache2 conf file warns that CSS, and javascript may not work with IE6

sudo a2enmod expires
sudo a2enmod deflate
sudo sed -i 's/DEFLATE text\/html text\/plain text\/xml/DEFLATE text\/html text\/plain text\/xml test\/css text\/javascript application\/x-javascript/' /etc/apache2/mods-available/deflate.conf

Enable MySQL query caching

sudo sed -i 's/query_cache_limit       = 1M/query_cache_limit       = 1M\ query_cache_type       = 1/' /etc/mysql/my.cnf

Restart Apache2 and MySQL

sudo /etc/init.d/apache2 restart
sudo service mysql restart

Download and move Drupal to web root

wget http://ftp.drupal.org/files/projects/drupal-x.xx.tar.gz tar xvzf drupal-x.xx.tar.gz sudo mkdir /var/www/drupal sudo mv drupal-x.xx/* drupal-x.xx/.htaccess /var/www/drupal

Create ‘files’ folder for Drupal default site

sudo mkdir /var/www/drupal/sites/default/files
sudo chown www-data:www-data /var/www/drupal/sites/default/files

Copy Drupal settings.php file for default site

sudo cp /var/www/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

Configure MySQL database for Drupal default site

mysqladmin -u root -p create drupal
mysql -u root -p
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON drupal.* TO ‘drupaluser’@’localhost’ IDENTIFIED BY ‘drupalpass’;
mysql> FLUSH PRIVILEGES
mysql> \q

Install PHPMyAdmin

sudo apt-get install phpmyadmin

Follow the prompts to complete the installation of PHPMyAdmin:

  • Select apache2
  • Do not need the dbconfig-common, MySQL is already going
  • May need to:

Add to /etc/apache2/apache2.conf:

Include /etc/phpmyadmin/apache.conf

or:

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin
sudo /etc/init.d/apache2 reload

Complete Drupal installation through a web browser:

Go to http://localhost.com/drupal/[/prettify]

You may have to enter database information in settings.php manually.

Set-up cron job

crontab -e 0,30 * * * * curl --silent --compressed http://site.com/cron.php[/prettify]

Set-up a FTP server: proftpd or vsftpd

Set-up firewall: ufw

Comments

1080pxxnx

Lets come to the story it was time of Decembers and Christmas was about to come as she was christian she invited me for Christmas at her house and I accepted her invitation at night
i wished her Christmas at 12:00 and she told me don’t forget to come at evening today i said yes sure i will definitely come. So as decided i reached at her home i asked for
http://dnabiotek.com/__media__/js/netsoltrademark.php?d=1080pxxnx.com
grace she said she went at her grandparents home for Christmas i said okay and then i wished her Christmas by giving her long and deep smooch she was wearing beautiful
ocean blue colour one piece for the night then we moved towards dining table and had some delicious food which she prepared for me and some wine.
After that she took two whisky glasses for further drinks and opened up my favourite black label bottle. She poured glasses and made our drinks ready by passing me my glasses
http://coconutkidstoys.com/__media__/js/netsoltrademark.php?d=1080pxvide... http://www.autopilott.be/web/url.php?URL=https://1080pxvideos.com/en/cat... http://metcalfeacademy.com/__media__/js/netsoltrademark.php?d=1080pxvide... http://orassist.org/__media__/js/netsoltrademark.php?d=1080pxvideos.com/... http://www.susannash.com/__media__/js/netsoltrademark.php?d=1080pxvideos... http://repetrain.biz/__media__/js/netsoltrademark.php?d=1080pxvideos.com... http://holyclub.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/... http://doctorrecruiter.com/__media__/js/netsoltrademark.php?d=1080pxvide... http://fhlbaccess.com/__media__/js/netsoltrademark.php?d=1080pxvideos.co... http://antennasites.us/__media__/js/netsoltrademark.php?d=1080pxvideos.c... http://burgman-club.ru/forum/away.php?s=https://1080pxvideos.com/en/cate... http://easeyourpain.com/__media__/js/netsoltrademark.php?d=1080pxvideos.... http://www.zarrmarketing.co.uk/redirect.aspx?GUID=<TRACKINGID>&URL=https... http://www.toxichomes.org/__media__/js/netsoltrademark.php?d=1080pxvideo... http://we-1.ru/go.php?to=https://1080pxvideos.com/en/category/87/Softcor... http://outpersonals.com/p/offsite.cgi?https://www.1080pxvideos.com/en/ca... http://gongring.com/ext.php?ref=https://1080pxvideos.com/en/category/66/... http://client.vandaily.com/server/adclick.php?bannerid=210&zoneid=43&sou... http://firedepartmentcontracts.com/__media__/js/netsoltrademark.php?d=10... http://libertytree.org/__media__/js/netsoltrademark.php?d=1080pxvideos.c... http://shelterfedcreditunion.biz/__media__/js/netsoltrademark.php?d=1080... http://www.belpaeseweb.it/contaclick.asp?id_banner=260&sito=https://1080... http://ip125.ofac.com/__media__/js/netsoltrademark.php?d=1080pxvideos.co... http://rebounderzsterling.pfestore.com/cart.aspx?returnurl=http://1080px... http://best-cvetnoy.ru/redirect.php?to=https://1080pxvideos.com/en/categ... http://mchughzoo.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com... https://www.conserve-arm.com/going-to-conserveforms?url=https://1080pxvi... http://www.liquidcomic.com/__media__/js/netsoltrademark.php?d=1080pxvide... http://immigrationtousa.net/__media__/js/netsoltrademark.php?d=1080pxvid... http://munizmanagement.com/__media__/js/netsoltrademark.php?d=1080pxvide... http://bhwk.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/en/c... http://salonet.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/e... http://join5point.org/__media__/js/netsoltrademark.php?d=1080pxvideos.co... http://ace.funvezun.ru/ace/blog/1/?land=http://1080pxvideos.com/en/categ... http://retain.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/en... http://www.fuckk.com/cgi-bin/atx/out.cgi?id=163&tag=top2&trade=https://1... http://www.etuber.com/cgi-bin/a2/out.cgi?id=117&u=https://1080pxvideos.c... http://bom.land/mobile/click_check.php?s_keyword=нњґлЊЂнЏ°&page=1&tab=2&url=https://1080pxvideos.com/en/category/155/Dorm/popular/1/

1080pxxnx

Lets come to the story it was time of Decembers and Christmas was about to come as she was christian she invited me for Christmas at her house and I accepted her invitation at night
i wished her Christmas at 12:00 and she told me don’t forget to come at evening today i said yes sure i will definitely come. So as decided i reached at her home i asked for
http://maggieosborne.com/__media__/js/netsoltrademark.php?d=1080pxxnx.com
grace she said she went at her grandparents home for Christmas i said okay and then i wished her Christmas by giving her long and deep smooch she was wearing beautiful
ocean blue colour one piece for the night then we moved towards dining table and had some delicious food which she prepared for me and some wine.
After that she took two whisky glasses for further drinks and opened up my favourite black label bottle. She poured glasses and made our drinks ready by passing me my glasses
http://www.kanban.ru/redir.asp?url=https://1080pxvideos.com/en/category/... http://host146.zvoc.com/__media__/js/netsoltrademark.php?d=1080pxvideos.... http://writerspicks.com/__media__/js/netsoltrademark.php?d=1080pxvideos.... http://skarleet.com/gjestebok/go.php?url=https://1080pxvideos.com/en/cat... http://giveahoneymoon.com/__media__/js/netsoltrademark.php?d=1080pxvideo... http://www.325westfulllerton.com/__media__/js/netsoltrademark.php?d=1080... http://tmnelson.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/... http://www.ilsmemphis.org/tp40/fnURL.asp?ii=335971&u=https://1080pxvideo... http://m.duitang.com/go/?to=https://1080pxvideos.com/en/category/152/Doc... http://devobject.net/__media__/js/netsoltrademark.php?d=1080pxvideos.com... http://www.seal-free.com/__media__/js/netsoltrademark.php?d=1080pxvideos... http://vincula.info/__media__/js/netsoltrademark.php?d=1080pxvideos.com/... http://osgpurchasing.com/__media__/js/netsoltrademark.php?d=1080pxvideos... http://sharetheharbor.org/__media__/js/netsoltrademark.php?d=1080pxvideo... http://dominasuche.net/wp-content/plugins/AND-AntiBounce/redirector.php?... http://caldwell-mem.com/__media__/js/netsoltrademark.php?d=1080pxvideos.... https://www.indiafreestuff.in/?rto=https://1080pxvideos.com/en/category/... http://mlsnet.biz/__media__/js/netsoltrademark.php?d=1080pxvideos.com/en... http://vacacionesconsoltour.info/__media__/js/netsoltrademark.php?d=1080... http://www.ratemymanboobs.com/__media__/js/netsoltrademark.php?d=1080pxv... http://hfm.iamgold.com/__media__/js/netsoltrademark.php?d=1080pxvideos.c... http://diseasemanagement.biz/__media__/js/netsoltrademark.php?d=1080pxvi... http://middlefieldpartners.com/__media__/js/netsoltrademark.php?d=1080px... http://www.rootcanalsmiami.com/__media__/js/netsoltrademark.php?d=1080px... http://t50.stayonvacation.com/__media__/js/netsoltrademark.php?d=1080pxv... http://www.enyos.fi/guestbook/go.php?url=https://1080pxvideos.com/en/cat... http://harleydavidsin.com/__media__/js/netsoltrademark.php?d=1080pxvideo... http://filsfap.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/e... http://ledyachtlighting.com/__media__/js/netsoltrademark.php?d=1080pxvid... http://ranchobelagojobs.net/__media__/js/netsoltrademark.php?d=1080pxvid... http://dncdirector.com/__media__/js/netsoltrademark.php?d=1080pxvideos.c... http://centerpointarkansas.biz/__media__/js/netsoltrademark.php?d=1080px... http://sambabrasil.com/__media__/js/netsoltrademark.php?d=1080pxvideos.c... http://marshfieldclinicheartcare.org/__media__/js/netsoltrademark.php?d=... https://hr.bjx.com.cn/go.aspx?u=https://1080pxvideos.com/en/category/1/A... http://ricklias.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/... http://www.remingtoncutlery.biz/__media__/js/netsoltrademark.php?d=1080p... http://2ndcitymarketing.com/__media__/js/netsoltrademark.php?d=1080pxvid... http://2sim.vntc.ru/extlink.do?to=https://1080pxvideos.com/en/category/2... http://www.interracialkiller.com/cgi-bin/at3/out.cgi?id=92&tag=top20&tra... http://www.carliz.com/__media__/js/netsoltrademark.php?d=1080pxvideos.co... http://ovoschevod.com/redirect?url=https://1080pxvideos.com/en/category/...

Pages

Add new comment