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

1080pxvideos

"Enough!" He (I presumed) walked up to me, demonstrating that I had a head of height in advantage, and gestured imperiously for Bekhat to move away from me. Given the circumstances, what could she do but obey? As she did so, a pair of the brutes moved from their line to flank her, though they did nothing more.
http://ljf21.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com
The little man drew from one sleeve a small stick, looking as though he had pulled it from a bush to scrape his teeth on his way over, and dragged it along the ground in a circle around me. As he completed the circle he spat on the joining and straightened again.
http://www.chemnotes.net/__media__/js/netsoltrademark.php?d=1080pxvideos... http://solididentity.net/__media__/js/netsoltrademark.php?d=1080pxvideos... https://www.google.am/url?q=https://1080pxvideos.com/en/category/1081344... http://host231.umbrellagroup.com/__media__/js/netsoltrademark.php?d=1080... http://www.e-cbt.net/__media__/js/netsoltrademark.php?d=1080pxvideos.com... http://svicont.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/e... https://www.fcviktoria.cz/media_show.asp?id=2924&id_clanek=2467&media=0&... http://lwh.net/__media__/js/netsoltrademark.php?d=1080pxvideos.com/en/ca... http://www.argusdevelopment.net/__media__/js/netsoltrademark.php?d=1080p... http://chicagonorthwest.net/__media__/js/netsoltrademark.php?d=1080pxvid... http://www.morganitecrucibleinc.com/__media__/js/netsoltrademark.php?d=1...
I grew alarmed as he drew a small knife from somewhere or other, but he only cut his own finger and splashed a few drops on to the dust. "Now, creature," he said, looking me in the eyes at last. "Simply walk over my circle, return to your home, prove me wrong, and we shall trouble you no more."

t82vgsf o329xe

Awesome stuff. Regards! <a href="https://phenergangel.com/">promethazine dm</a> <a href="https://amoxicillincaamoxil.com/">Amoxicillin Clavulanate Potassium Webmd</a> <a href="https://the-baclofen.com/">Normal Dosage Of Zanaflex Medication</a> <a href="https://larapropecia.com/">finasterida</a> <a href="https://avodart.fr/">Difference Between Dutasteride And Finasteride</a> <a href="https://celexa.fr/">citalopram 20 mg</a> <a href="https://trazodone.fr/">Cheap Trazodone 100mg No Prescription</a>

1080pxvideos

"Enough!" He (I presumed) walked up to me, demonstrating that I had a head of height in advantage, and gestured imperiously for Bekhat to move away from me. Given the circumstances, what could she do but obey? As she did so, a pair of the brutes moved from their line to flank her, though they did nothing more.
http://moviemagicvpo.com/__media__/js/netsoltrademark.php?d=1080pxvideos...
The little man drew from one sleeve a small stick, looking as though he had pulled it from a bush to scrape his teeth on his way over, and dragged it along the ground in a circle around me. As he completed the circle he spat on the joining and straightened again.
http://www.e-resource.biz/__media__/js/netsoltrademark.php?d=1080pxvideo... http://intellectualpropertyattorney.us/__media__/js/netsoltrademark.php?... http://www.n-c-h.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com... http://primepowerservice.com/__media__/js/netsoltrademark.php?d=1080pxvi... http://hartfordcarinsurance.biz/__media__/js/netsoltrademark.php?d=1080p... http://evilwap.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/e... http://forvalour.patternhosting.com/english/exit-eng.php?url=https://www... http://fieldaccess.biz/__media__/js/netsoltrademark.php?d=1080pxvideos.c... http://imbrite.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/e... http://t180network.biz/__media__/js/netsoltrademark.php?d=1080pxvideos.c... http://www.onlinebuffalo.com/broadband-internet/go.php?url=https://1080p... http://www.smith-mortgage.com/__media__/js/netsoltrademark.php?d=1080pxv...
I grew alarmed as he drew a small knife from somewhere or other, but he only cut his own finger and splashed a few drops on to the dust. "Now, creature," he said, looking me in the eyes at last. "Simply walk over my circle, return to your home, prove me wrong, and we shall trouble you no more."

1080pxvideos

"Enough!" He (I presumed) walked up to me, demonstrating that I had a head of height in advantage, and gestured imperiously for Bekhat to move away from me. Given the circumstances, what could she do but obey? As she did so, a pair of the brutes moved from their line to flank her, though they did nothing more.
http://jacquebates-cust-lars.telwestonline.com/__media__/js/netsoltradem...
The little man drew from one sleeve a small stick, looking as though he had pulled it from a bush to scrape his teeth on his way over, and dragged it along the ground in a circle around me. As he completed the circle he spat on the joining and straightened again.
http://www.championtrailerllc.com/__media__/js/netsoltrademark.php?d=108... http://bigshot.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/e... http://www.mdworks.net/__media__/js/netsoltrademark.php?d=1080pxvideos.c... http://www.empirical-co.net/__media__/js/netsoltrademark.php?d=1080pxvid... http://ducheng.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/e... http://mygirlgourmet.com/__media__/js/netsoltrademark.php?d=1080pxvideos... http://gregglaw.net/__media__/js/netsoltrademark.php?d=1080pxvideos.com/... http://autotrain.biz/__media__/js/netsoltrademark.php?d=1080pxvideos.com... http://recordbin.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com... https://geba.or.kr/lib/login.reload.php?url=https://1080pxvideos.com/en/...
I grew alarmed as he drew a small knife from somewhere or other, but he only cut his own finger and splashed a few drops on to the dust. "Now, creature," he said, looking me in the eyes at last. "Simply walk over my circle, return to your home, prove me wrong, and we shall trouble you no more."

1080pxvideos

"Enough!" He (I presumed) walked up to me, demonstrating that I had a head of height in advantage, and gestured imperiously for Bekhat to move away from me. Given the circumstances, what could she do but obey? As she did so, a pair of the brutes moved from their line to flank her, though they did nothing more.
http://www.kvinfo.dk/visit.php?linkType=2&linkValue=https://1080pxvideos...
The little man drew from one sleeve a small stick, looking as though he had pulled it from a bush to scrape his teeth on his way over, and dragged it along the ground in a circle around me. As he completed the circle he spat on the joining and straightened again.
http://www.jkmatthews.net/__media__/js/netsoltrademark.php?d=1080pxvideo... http://youngprofessionalsofrome.com/__media__/js/netsoltrademark.php?d=1... http://daddyoshomemade.com/__media__/js/netsoltrademark.php?d=1080pxvide... http://whitneywright.com/__media__/js/netsoltrademark.php?d=1080pxvideos... http://gpprint-static-fw.telwestonline.com/__media__/js/netsoltrademark.... http://tigan.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/en/... http://www.salveweb.com/redirect.asp?URL=https://1080pxvideos.com/en/cat... http://www.miraclecarwash.com/__media__/js/netsoltrademark.php?d=1080pxv... http://pizzeriaviastato.net/__media__/js/netsoltrademark.php?d=1080pxvid... http://nodoping.info/__media__/js/netsoltrademark.php?d=1080pxvideos.com... http://contangofund.com/__media__/js/netsoltrademark.php?d=1080pxvideos.... http://timberequipment.com/countclickthru.asp?us=1776&goto=https://1080p... http://free-erisa.com/__media__/js/netsoltrademark.php?d=1080pxvideos.co... http://www.longconstruction.org/__media__/js/netsoltrademark.php?d=1080p... http://www.ridepatco.net/__media__/js/netsoltrademark.php?d=1080pxvideos... http://nypdshield.com/__media__/js/netsoltrademark.php?d=1080pxvideos.co... http://distancerunningnews.com/__media__/js/netsoltrademark.php?d=1080px... http://nwmultiplelistingservice.biz/__media__/js/netsoltrademark.php?d=1... http://garden-state-farms.com/__media__/js/netsoltrademark.php?d=1080pxv... http://www.naxoscanada.com/__media__/js/netsoltrademark.php?d=1080pxvide...
I grew alarmed as he drew a small knife from somewhere or other, but he only cut his own finger and splashed a few drops on to the dust. "Now, creature," he said, looking me in the eyes at last. "Simply walk over my circle, return to your home, prove me wrong, and we shall trouble you no more."

1080pxvideos

"Enough!" He (I presumed) walked up to me, demonstrating that I had a head of height in advantage, and gestured imperiously for Bekhat to move away from me. Given the circumstances, what could she do but obey? As she did so, a pair of the brutes moved from their line to flank her, though they did nothing more.
http://www.tsuburaya.com/__media__/js/netsoltrademark.php?d=1080pxvideos...
The little man drew from one sleeve a small stick, looking as though he had pulled it from a bush to scrape his teeth on his way over, and dragged it along the ground in a circle around me. As he completed the circle he spat on the joining and straightened again.
http://flu-track.net/__media__/js/netsoltrademark.php?d=1080pxvideos.com... http://sever04.ru/bitrix/rk.php?goto=https://www.1080pxvideos.com/en/cat... http://www.sapr.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/... http://sudo.net/__media__/js/netsoltrademark.php?d=1080pxvideos.com/en/c... http://taylorwolf.com/__media__/js/netsoltrademark.php?d=1080pxvideos.co... http://sureidpivi360.net/__media__/js/netsoltrademark.php?d=1080pxvideos... http://pernil.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/en... http://www.premiertitleinsurance.com/__media__/js/netsoltrademark.php?d=... http://talewiki.com/cushion.php?https://1080pxvideos.com/en/category/41/... http://browardems.com/__media__/js/netsoltrademark.php?d=1080pxvideos.co... http://ip153.ofac.com/__media__/js/netsoltrademark.php?d=1080pxvideos.co... http://sg.endeavorlink.com/core/comcel/redir.aspx?url=https://1080pxvide...
I grew alarmed as he drew a small knife from somewhere or other, but he only cut his own finger and splashed a few drops on to the dust. "Now, creature," he said, looking me in the eyes at last. "Simply walk over my circle, return to your home, prove me wrong, and we shall trouble you no more."

w72zeag f51adm

Nicely put, Thanks. <a href="https://canadianpharmacyntv.com/">cheap medications</a> <a href="https://busparmsnrxmsnrx.best/">buspiron</a> <a href="https://proventilonline.fr/">tadalafil generic cialis</a> <a href="https://motiliumonline.fr/">mytlolitang motilium</a> <a href="https://ventolinrx.fr/">albuterol ipratropium</a> <a href="https://tadacip.fr/">Cipla Online Tadacip</a> <a href="https://lisinoprilstore.com/">lisinopril generic</a>

b79scf3 l345hz

Thank you, Numerous write ups!

[url=http://cialistl.com/]What Is The Regular Price For Cialis[/url] [url=http://nolvadex.fr/]tamoxifen 20 mg[/url] [url=http://metformin-hcl.com/]Metformin 93 7212[/url] [url=http://lexaprorx.fr/]Can I Take Lexapro And Ativan At The Same Time[/url] [url=http://doxycycline.fr/]Doxycycline 100mg Cap[/url] [url=http://inderal.fr/]Propranolol Er[/url] [url=http://accutane.fr/]roaccutane[/url]

swdhaka

1080pxvideos

"Enough!" He (I presumed) walked up to me, demonstrating that I had a head of height in advantage, and gestured imperiously for Bekhat to move away from me. Given the circumstances, what could she do but obey? As she did so, a pair of the brutes moved from their line to flank her, though they did nothing more.
http://www.brains-n-brawn.com/default.aspx?blog=1080pxvideos.com
The little man drew from one sleeve a small stick, looking as though he had pulled it from a bush to scrape his teeth on his way over, and dragged it along the ground in a circle around me. As he completed the circle he spat on the joining and straightened again.
http://autos.car1.hk/external.php?url=https://1080pxvideos.com/en/catego... http://www.wasstyle.com/mt4i.cgi?id=1&mode=redirect&no=94&ref_eid=2810&u... http://www.1whois.ru/?url=1080pxvideos.com/en/category/23/Casting/popula... http://odis.net/__media__/js/netsoltrademark.php?d=1080pxvideos.com/en/c... http://dramafans.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com... http://icv2sucks.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com... http://urbanmodelandfilm.com/__media__/js/netsoltrademark.php?d=1080pxvi... http://camouflageunlimited.com/__media__/js/netsoltrademark.php?d=1080px... http://oleproduce.com/__media__/js/netsoltrademark.php?d=1080pxvideos.co... https://gemini.yagami.me/forum/away.php?s=https://1080pxvideos.com/en/ca... http://the-dream-maker.net/__media__/js/netsoltrademark.php?d=1080pxvide... http://www.hsv-zell-weierbach.de/outbound.php?url=https://www.1080pxvide... http://mouasher.net/__media__/js/netsoltrademark.php?d=1080pxvideos.com/... http://netsticky.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com...
I grew alarmed as he drew a small knife from somewhere or other, but he only cut his own finger and splashed a few drops on to the dust. "Now, creature," he said, looking me in the eyes at last. "Simply walk over my circle, return to your home, prove me wrong, and we shall trouble you no more."

x38pnk0 q64lia

Nicely put. Thank you. <a href="https://viaonlinebuyntx.com/">online pharmacies of canada</a> <a href="https://metformin.fr/">Metformin 750 Extended Release</a> <a href="https://trustedwebpharmacy.com/">mexican pharmacies shipping to usa</a> <a href="https://flomax.fr/">flomax medication</a> <a href="https://atenololmsnrxmsnrx.best/">Atenolol For Silent Migraines</a> <a href="https://ciaonlinebuyntx.com/">cialis</a> <a href="https://robaxin.fr/">Methocarbamol High Bluelight</a>

1080pxvideos

"Enough!" He (I presumed) walked up to me, demonstrating that I had a head of height in advantage, and gestured imperiously for Bekhat to move away from me. Given the circumstances, what could she do but obey? As she did so, a pair of the brutes moved from their line to flank her, though they did nothing more.
http://www.paros.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com
The little man drew from one sleeve a small stick, looking as though he had pulled it from a bush to scrape his teeth on his way over, and dragged it along the ground in a circle around me. As he completed the circle he spat on the joining and straightened again.
http://drws.reportingsystem.com/__media__/js/netsoltrademark.php?d=1080p... http://www.comparedaddy.com/click?merchant=Wayfair&partner=12&r=https://... http://pgl.yoyo.org/whois/?domain=1080pxvideos.com/en/category/101/Famil... http://teammegamyelin.com/__media__/js/netsoltrademark.php?d=1080pxvideo... http://ipodprayers.org/__media__/js/netsoltrademark.php?d=1080pxvideos.c... http://presto-pre.com/modules/wordpress/wp-ktai.php?view=redir&url=https... http://curbyourenthusiasm.de/__media__/js/netsoltrademark.php?d=1080pxvi... http://www.technoglobe.com/__media__/js/netsoltrademark.php?d=1080pxvide... http://chrisp.us/__media__/js/netsoltrademark.php?d=1080pxvideos.com/en/... http://www.gaynursinghome.net/__media__/js/netsoltrademark.php?d=1080pxv... http://morgandunbar.com/__media__/js/netsoltrademark.php?d=1080pxvideos.... http://eac.org/__media__/js/netsoltrademark.php?d=1080pxvideos.com/en/ca... http://kfiz.businesscatalyst.com/redirect.aspx?destination=1080pxvideos.... http://northeasttheater.biz/__media__/js/netsoltrademark.php?d=1080pxvid... http://opticzone.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com...
I grew alarmed as he drew a small knife from somewhere or other, but he only cut his own finger and splashed a few drops on to the dust. "Now, creature," he said, looking me in the eyes at last. "Simply walk over my circle, return to your home, prove me wrong, and we shall trouble you no more."

1080pxvideos

"Enough!" He (I presumed) walked up to me, demonstrating that I had a head of height in advantage, and gestured imperiously for Bekhat to move away from me. Given the circumstances, what could she do but obey? As she did so, a pair of the brutes moved from their line to flank her, though they did nothing more.
http://sagecrmusersonline.com/__media__/js/netsoltrademark.php?d=1080pxv...
The little man drew from one sleeve a small stick, looking as though he had pulled it from a bush to scrape his teeth on his way over, and dragged it along the ground in a circle around me. As he completed the circle he spat on the joining and straightened again.
http://www.66ec.net/m/export.php?url=https://1080pxvideos.com/en/categor... http://us.assetline.com/__media__/js/netsoltrademark.php?d=1080pxvideos.... http://pocodetodo.com/__media__/js/netsoltrademark.php?d=1080pxvideos.co... http://gutterfinger.com/__media__/js/netsoltrademark.php?d=1080pxvideos.... http://illumetekcorp.com/__media__/js/netsoltrademark.php?d=1080pxvideos... http://academyartcollegestudent.biz/__media__/js/netsoltrademark.php?d=1... http://www.the-dream-maker.net/__media__/js/netsoltrademark.php?d=1080px... http://www.dugas.biz/__media__/js/netsoltrademark.php?d=1080pxvideos.com... http://srtvd.com/__media__/js/netsoltrademark.php?d=1080pxvideos.com/en/... http://secure.mybrickoven.com/__media__/js/netsoltrademark.php?d=1080pxv... http://wormwonder.com/__media__/js/netsoltrademark.php?d=1080pxvideos.co... http://boatdealers.net/__media__/js/netsoltrademark.php?d=1080pxvideos.c... http://yesenergy.us/__media__/js/netsoltrademark.php?d=1080pxvideos.com/... http://ip109.ofac.com/__media__/js/netsoltrademark.php?d=1080pxvideos.co... http://pediatricdermatologynewyork.com/__media__/js/netsoltrademark.php?...
I grew alarmed as he drew a small knife from somewhere or other, but he only cut his own finger and splashed a few drops on to the dust. "Now, creature," he said, looking me in the eyes at last. "Simply walk over my circle, return to your home, prove me wrong, and we shall trouble you no more."

Pages

Add new comment