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

tailmed

Voucher cialis generic drugs buy <a href="http://cialisndbrx.com/#">buy cialis online</a> us cialis online pharmacy buy viagra cialis a <a href="http://cialischmrx.com/#">buy cheap cialis online</a> buy cheap generic cialis <a href="http://cialischbrx.com/#">buy generic cialis online</a> order cialis online without otc <a href="http://cialisdbrx.com/#">buy cheap cialis online</a> viagra how it works <a href="http://chviagranrxusa.com/#">buy generic viagra online</a>

Habledy

Order generic cialis india <a href="http://farmingsim.com/#">cheap generic cialis</a> montreal cialis generic <a href="http://customerservicetrainingassociation.co.uk/#">Buy Cialis Online</a> metformin onset cialis generic pills <a href="http://lacreteheritagecentre.com/#">cialis cheap</a> canada cialis generic <a href="http://apteka-nektar.ru/#">cheap generic cialis</a> cialis <a href="http://clubconfuse.com/#">buy generic cialis online</a> buy cialis online pharmacy

Viory

Cheap brand cialis <a href="http://cadentfinancial.com/#">cialis online</a> buy cialis online without a prescription <a href="http://bedsgolfunion.org/#">cheap generic cialis</a> buy tadalafil prescription online <a href="http://michael-parent.com/#">buy cheap cialis coupon</a> generic cialis cheapest <a href="http://alanristic.com/#">buy cheap cialis coupon</a> cheap cialis canada <a href="http://blogthebrain.com/#">cheap cialis</a> order cialis online no prescription

icescax

Buy cialis online usa now canadian <a href="http://bettychoyce.com/#">generic cialis online</a> women who take cialis pharmacy cialis <a href="http://christpreschurch.org/#">buy cialis generic</a> cialis pharmacy cheap viagra buy <a href="http://corkspro.com/#">buy cheap cialis online</a> cialis pharmacy cheap viagra buy <a href="http://creationfoundations.org/#">buy cialis cheap</a> buy cheap generic cialis in online drugstore <a href="http://bcsalaska.com/#">cheap cialis online</a> canada cialis generic maintain an erection

Scoxy

Canada cialis online <a href="http://ciervosytrompetas.com/#">Buy Generic Cialis Online</a> cialis pills <a href="http://editaisbrasil.com.br/#">buy cialis online cheap</a> viagra black market cialis pills <a href="http://net-ro.net/#">buy cialis generic</a> red cialis generic viagra online <a href="http://artiction.com/#">cialis generic</a> australia buy cheap cialis online <a href="http://elia-ndfocus.org/#">Buy Cheap Cialis Online</a> how to buy cialis online

stink

Legitimate buy cialis online <a href="http://badcreditpaydayloanuqdirect.com/#">buy cheap cialis</a> mixing viagra cialis generic <a href="http://newyearideas.info/#">buy cialis online cheap</a> viagra commande cialis 20mg cialis <a href="http://jacarebanguela.com/#">cialis generic</a> cheap generic cialis uk <a href="http://chorrera.com/#">cialis cheap</a> allergy to cialis pharmacy <a href="http://alanristic.com/#">cheap generic cialis</a> cialis discount onlin

hey

Marvelous, what a blog it is! This website presents useful data to us, keep it up.|

yanmaneee

http://www.longchamphandbags.co.uk
http://www.christianlouboutin-shoes.com
http://www.jordan13.us.com
http://www.supremesstore.com
http://www.airjordanretro.co.uk
http://www.balenciagasus.com
http://www.jordansshoes.us.org
http://www.kyrie3.us.com
http://www.timberlands.us
http://www.kd11.us
http://www.air-max.us.com
http://www.yeezyboost.in.net
http://www.kobebasketballshoes.net
http://www.jordans.com.co
http://www.cheap-airjordans.us.com
http://www.yeezyboost-350v2.us.com
http://www.jordanshoes.org.uk
http://www.balenciaga-sneakers.us.com
http://www.goldengoose-sneakers.us
http://www.nikesneakers.us.com
http://www.adidassuperstar.us.com
http://www.louboutins.us.com
http://www.nikehuaracheshoes.us.com
http://www.hermes-belt.us.com
http://www.goyard-handbag.us
http://www.kyrie-6.com
http://www.coachoutlets.name
http://www.yeezyadidas.us.com
http://www.adidaszxflux.com
http://www.converseoutlet.us.com
http://www.lebron16.us
http://www.hogan-outlet.us.com
http://www.ferragamobelt.us.org
http://www.nike-airmax97.us.com
http://www.coachoutletstorefactory.com
http://www.supremeoutlets.us.com
http://www.bapehoodie.us
http://www.curry6.net
http://www.supremesclothing.com
http://www.converseshoesoutlet.com
http://www.nikecortez.us.com
http://www.yeezysshoes.us.com
http://www.vans-outlet.us.com
http://www.nike270.us
http://www.jordan-retro.us.com
http://www.nikexoffwhite.com
http://www.nikebasketballshoes.us.com
http://www.airmax270.us.com
http://www.louboutinshoes.uk
http://www.yeezy-500.us.com
http://www.goldengoosedeluxebrands.com
http://www.katespadehandbags-outlet.us.com
http://www.kobe-shoes.us.com
http://www.kd12.org
http://www.nikejordans.us.com
http://www.nike-huarache.com
http://www.yeezys.uk
http://www.goldengoosesneakers.org
http://www.calvinkleinsoutlet.us.com
http://www.nikeairmax95.us.com
http://www.goldengoose-outlet.us.com
http://www.adidasgazelle.us.com
http://www.air-max270.com
http://www.kyrieirving-shoes.us.com
http://www.offwhiteclothing.us.com
http://www.nfljerseys.us.org
http://www.louboutin-outlet.us.com
http://www.goldengooseoutlet.org
http://www.nike-airmax2017.us.com
http://www.yeezyshoesuk.com
http://www.jordan4.us.com
http://www.nikefoamposite.us.com
http://www.conversesoutlets.com
http://www.yeezyshoes.in.net
http://www.offwhitehoodie.us.com
http://www.balenciagas.us.com
http://www.yeezy-boosts.us.com
http://www.goldengoose.us.com
http://www.ultraboost.us.com
http://www.adidasnmdr1.us.com
http://www.hardenshoes.us.com
http://www.hermesonlineshop.com
http://www.yeezy-boost.us.com
http://www.nikeairmax2018.us.com
http://www.golden-goose.us.com
http://www.curry4shoes.us.com
http://www.monclercoat.us.com
http://www.yeezyboost.com.co
http://www.adidasyeezys.us.com
http://www.vansshoes.us.com
http://www.balenciaga-shoes.us
http://www.nmdadidas.com
http://www.goldengooseofficial.com
http://www.hermes-handbags.us.com
http://www.hermesbelts.com
http://www.monclersoutlet.us.com
http://www.coachsonline.us.com
http://www.coachoutletsfactory.com
http://www.nikeairmax97.net
http://www.nikeairmax2019.com
http://www.balenciagaspeeds.com
http://www.yeezysus.com
http://www.hermes-handbags.us.org
http://www.vapormaxshoes.us
http://www.kyrie6shoes.us
http://www.curry4.net
http://www.nikereact.org
http://www.nike-airvapormax.com
http://www.lebron15.net
http://www.nikereact.us.com
http://www.kd-10.us
http://www.fila-shoes.us.com
http://www.airmax-270.com
http://www.nhljerseysshop.us.com
http://www.supremesonline.com
http://www.curry-6.us
http://www.kyrie6.org
http://www.russellwestbrookshoes.us
http://www.jordan11retro.us.com
http://www.valentinosshoes.us
http://www.nikeairforce1.us.com
http://www.christianlouboutinsoutlet.net
http://www.bape-hoodie.us.com
http://www.goldengoosesneakersstore.com
http://www.cheapnbajerseyswholesale.us
http://www.christianlouboutin-outletonline.us.com
http://www.hermesbelts.co.uk
http://www.offwhite.us.com
http://www.coachoutletssale.com
http://www.jordan6.us.com
http://www.ferragamobelt.us
http://www.cheapjordans.us.org
http://www.longchampshandbags.us
http://www.balenciaga.us.com
http://www.kyrie5.us.com
http://www.nikeairmax2019.us.com
http://www.monclerjacket.net
http://www.supremeclothingonline.us.org
http://www.nike-shox.us.com
http://www.nfljerseyssale.us
http://www.nikeair-max.us.com
http://www.michaeljordanshoes.us.com
http://www.outlettimberland.us.org
http://www.off-whiteshoes.us.com
http://www.monclerjackets.us
http://www.goyards.us.org
http://www.monclers.us.org
http://www.vapormaxs.us
http://www.offwhitexjordan1.com
http://www.yeezy-shoes.org.uk
http://www.long-champ.us.com
http://www.supremenewyork.us.com
http://www.kd11.us.com
http://www.goyardhandbags.us.org
http://www.vapormax.org.uk
http://www.polosralphlaurenuk.com
http://www.goldengoosesonline.com
http://www.canada-goose.in.net
http://www.christianlouboutin-shoes.org
http://www.adidasyeezy500.us.com
http://www.hermes-birkin.us.com
http://www.airmax90.us.org
http://www.supreme-hoodie.us.com
http://www.air-vapormax.com
http://www.shoesjordan.us.com
http://www.supremesclothing.us.org
http://www.lebronjames-shoes.us.com
http://www.kobesneakers.com
http://www.goldengoose-sneakers.com
http://www.yeezyboost-350.uk
http://www.filashoes.us.org
http://www.air-jordanshoes.us.org
http://www.jordanstoreonline.com
http://www.adidasstansmith.us.com
http://www.shoesyeezy.us
http://www.balenciagashoes.us.org
http://www.goldengooseoutlet.us
http://www.airmax-95.com
http://www.kyrie5.us
http://www.jordansforcheap.us.com
http://www.nike-airmax97.us
http://www.curry6shoes.us
http://www.hermesbirkins.com
http://www.yeezy700.us.com
http://www.louboutinshoes.co.uk
http://www.yeezy-boost350.us.com
http://www.yeezyboost350v2shoes.us.com
http://www.christianlouboutinoutletofficial.com
http://www.russellwestbrookshoes.us.com
http://www.retro-jordans.us.com
http://www.fitflops-saleclearance.us.com
http://www.balenciagashoes.us.com
http://www.adidas-tubular.us.com
http://www.kd12.us.com
http://www.adidasnmds.us.com
http://www.yeezyboost350v2.org.uk
http://www.fila.us.org
http://www.airmax95.us
http://www.kevindurant-shoes.us.com
http://www.retrojordanssale.com
http://www.filashoes.org
http://www.stephencurry.us.com
http://www.curry5shoes.net
http://www.goldengoosesneakers.us
http://www.jordans.net.co
http://www.jordanshoes.us
http://www.birkinbag.us.com
http://www.kyrie4.org
http://www.christianlouboutinbar.com
http://www.monclersoutletonline.com
http://www.jordanssneakers.us.com
http://www.mbts.us.org
http://www.paulgeorgeshoes.us.com
http://www.jordan12.us.com
http://www.yeezy-shoes.us.org

yanmaneee

http://www.longchamphandbags.co.uk
http://www.christianlouboutin-shoes.com
http://www.jordan13.us.com
http://www.supremesstore.com
http://www.airjordanretro.co.uk
http://www.balenciagasus.com
http://www.jordansshoes.us.org
http://www.kyrie3.us.com
http://www.timberlands.us
http://www.kd11.us
http://www.air-max.us.com
http://www.yeezyboost.in.net
http://www.kobebasketballshoes.net
http://www.jordans.com.co
http://www.cheap-airjordans.us.com
http://www.yeezyboost-350v2.us.com
http://www.jordanshoes.org.uk
http://www.balenciaga-sneakers.us.com
http://www.goldengoose-sneakers.us
http://www.nikesneakers.us.com
http://www.adidassuperstar.us.com
http://www.louboutins.us.com
http://www.nikehuaracheshoes.us.com
http://www.hermes-belt.us.com
http://www.goyard-handbag.us
http://www.kyrie-6.com
http://www.coachoutlets.name
http://www.yeezyadidas.us.com
http://www.adidaszxflux.com
http://www.converseoutlet.us.com
http://www.lebron16.us
http://www.hogan-outlet.us.com
http://www.ferragamobelt.us.org
http://www.nike-airmax97.us.com
http://www.coachoutletstorefactory.com
http://www.supremeoutlets.us.com
http://www.bapehoodie.us
http://www.curry6.net
http://www.supremesclothing.com
http://www.converseshoesoutlet.com
http://www.nikecortez.us.com
http://www.yeezysshoes.us.com
http://www.vans-outlet.us.com
http://www.nike270.us
http://www.jordan-retro.us.com
http://www.nikexoffwhite.com
http://www.nikebasketballshoes.us.com
http://www.airmax270.us.com
http://www.louboutinshoes.uk
http://www.yeezy-500.us.com
http://www.goldengoosedeluxebrands.com
http://www.katespadehandbags-outlet.us.com
http://www.kobe-shoes.us.com
http://www.kd12.org
http://www.nikejordans.us.com
http://www.nike-huarache.com
http://www.yeezys.uk
http://www.goldengoosesneakers.org
http://www.calvinkleinsoutlet.us.com
http://www.nikeairmax95.us.com
http://www.goldengoose-outlet.us.com
http://www.adidasgazelle.us.com
http://www.air-max270.com
http://www.kyrieirving-shoes.us.com
http://www.offwhiteclothing.us.com
http://www.nfljerseys.us.org
http://www.louboutin-outlet.us.com
http://www.goldengooseoutlet.org
http://www.nike-airmax2017.us.com
http://www.yeezyshoesuk.com
http://www.jordan4.us.com
http://www.nikefoamposite.us.com
http://www.conversesoutlets.com
http://www.yeezyshoes.in.net
http://www.offwhitehoodie.us.com
http://www.balenciagas.us.com
http://www.yeezy-boosts.us.com
http://www.goldengoose.us.com
http://www.ultraboost.us.com
http://www.adidasnmdr1.us.com
http://www.hardenshoes.us.com
http://www.hermesonlineshop.com
http://www.yeezy-boost.us.com
http://www.nikeairmax2018.us.com
http://www.golden-goose.us.com
http://www.curry4shoes.us.com
http://www.monclercoat.us.com
http://www.yeezyboost.com.co
http://www.adidasyeezys.us.com
http://www.vansshoes.us.com
http://www.balenciaga-shoes.us
http://www.nmdadidas.com
http://www.goldengooseofficial.com
http://www.hermes-handbags.us.com
http://www.hermesbelts.com
http://www.monclersoutlet.us.com
http://www.coachsonline.us.com
http://www.coachoutletsfactory.com
http://www.nikeairmax97.net
http://www.nikeairmax2019.com
http://www.balenciagaspeeds.com
http://www.yeezysus.com
http://www.hermes-handbags.us.org
http://www.vapormaxshoes.us
http://www.kyrie6shoes.us
http://www.curry4.net
http://www.nikereact.org
http://www.nike-airvapormax.com
http://www.lebron15.net
http://www.nikereact.us.com
http://www.kd-10.us
http://www.fila-shoes.us.com
http://www.airmax-270.com
http://www.nhljerseysshop.us.com
http://www.supremesonline.com
http://www.curry-6.us
http://www.kyrie6.org
http://www.russellwestbrookshoes.us
http://www.jordan11retro.us.com
http://www.valentinosshoes.us
http://www.nikeairforce1.us.com
http://www.christianlouboutinsoutlet.net
http://www.bape-hoodie.us.com
http://www.goldengoosesneakersstore.com
http://www.cheapnbajerseyswholesale.us
http://www.christianlouboutin-outletonline.us.com
http://www.hermesbelts.co.uk
http://www.offwhite.us.com
http://www.coachoutletssale.com
http://www.jordan6.us.com
http://www.ferragamobelt.us
http://www.cheapjordans.us.org
http://www.longchampshandbags.us
http://www.balenciaga.us.com
http://www.kyrie5.us.com
http://www.nikeairmax2019.us.com
http://www.monclerjacket.net
http://www.supremeclothingonline.us.org
http://www.nike-shox.us.com
http://www.nfljerseyssale.us
http://www.nikeair-max.us.com
http://www.michaeljordanshoes.us.com
http://www.outlettimberland.us.org
http://www.off-whiteshoes.us.com
http://www.monclerjackets.us
http://www.goyards.us.org
http://www.monclers.us.org
http://www.vapormaxs.us
http://www.offwhitexjordan1.com
http://www.yeezy-shoes.org.uk
http://www.long-champ.us.com
http://www.supremenewyork.us.com
http://www.kd11.us.com
http://www.goyardhandbags.us.org
http://www.vapormax.org.uk
http://www.polosralphlaurenuk.com
http://www.goldengoosesonline.com
http://www.canada-goose.in.net
http://www.christianlouboutin-shoes.org
http://www.adidasyeezy500.us.com
http://www.hermes-birkin.us.com
http://www.airmax90.us.org
http://www.supreme-hoodie.us.com
http://www.air-vapormax.com
http://www.shoesjordan.us.com
http://www.supremesclothing.us.org
http://www.lebronjames-shoes.us.com
http://www.kobesneakers.com
http://www.goldengoose-sneakers.com
http://www.yeezyboost-350.uk
http://www.filashoes.us.org
http://www.air-jordanshoes.us.org
http://www.jordanstoreonline.com
http://www.adidasstansmith.us.com
http://www.shoesyeezy.us
http://www.balenciagashoes.us.org
http://www.goldengooseoutlet.us
http://www.airmax-95.com
http://www.kyrie5.us
http://www.jordansforcheap.us.com
http://www.nike-airmax97.us
http://www.curry6shoes.us
http://www.hermesbirkins.com
http://www.yeezy700.us.com
http://www.louboutinshoes.co.uk
http://www.yeezy-boost350.us.com
http://www.yeezyboost350v2shoes.us.com
http://www.christianlouboutinoutletofficial.com
http://www.russellwestbrookshoes.us.com
http://www.retro-jordans.us.com
http://www.fitflops-saleclearance.us.com
http://www.balenciagashoes.us.com
http://www.adidas-tubular.us.com
http://www.kd12.us.com
http://www.adidasnmds.us.com
http://www.yeezyboost350v2.org.uk
http://www.fila.us.org
http://www.airmax95.us
http://www.kevindurant-shoes.us.com
http://www.retrojordanssale.com
http://www.filashoes.org
http://www.stephencurry.us.com
http://www.curry5shoes.net
http://www.goldengoosesneakers.us
http://www.jordans.net.co
http://www.jordanshoes.us
http://www.birkinbag.us.com
http://www.kyrie4.org
http://www.christianlouboutinbar.com
http://www.monclersoutletonline.com
http://www.jordanssneakers.us.com
http://www.mbts.us.org
http://www.paulgeorgeshoes.us.com
http://www.jordan12.us.com
http://www.yeezy-shoes.us.org

mama bear tee shirt

Wow! This can be one particular of the most helpful blogs We have ever arrive across on this subject. Basically Great. I am also a specialist in this topic so I can understand your hard work.

stephen curry shoes

Spot on with this write-up, I truly suppose this web site wants far more consideration. I抣l in all probability be once more to read rather more, thanks for that info.

Pages

Add new comment