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

contibag

<a href="http://www.bitcoinical.com/new-air-jordan-ultra-fly-white-gold-shoes-fni... air jordan ultra fly white gold shoes</a> <a href="http://www.emiratesci.com/nike-mercurial-victory-vi-review-62-nikew_dk">... mercurial victory vi review 62</a> <a href="http://www.fitcultura.com/elite-darren-mcfadden-mens-jersey-oakland-raid... darren mcfadden mens jersey oakland raiders 20 team road two tone nfl</a> <a href="http://www.cemsatur.com/phillies-8-juan-samuel-grey-flexbase-authentic-c... 8 juan samuel grey flexbase authentic collection stitched mlb jersey</a> <a href="http://www.niccoair.com/nike-eagles-13-nelson-agholor-midnight-green-tea... eagles 13 nelson agholor midnight green team color mens stitched nfl new elite jersey</a> <a href="http://www.pipelleh.com/buffalo-sabres-77-pierre-turgeon-green-salute-to... sabres 77 pierre turgeon green salute to service stitched nhl jersey</a>
contibag http://www.contibag.com/

escortcv

<a href="http://www.bijoubrio.com/elite-steve-hutchinson-mens-jersey-tennessee-ti... steve hutchinson mens jersey tennessee titans 73 alternate navy blue nfl</a> <a href="http://www.guschoko.com/limited-wayne-chrebet-mens-jersey-new-york-jets-... wayne chrebet mens jersey new york jets 80 road white nfl</a> <a href="http://www.tabscore.com/nike-kd-5-christmas-red-white-efoot_en">nike kd 5 christmas red white</a> <a href="http://www.escortcv.com/elite-sheldon-richardson-mens-jersey-new-york-je... sheldon richardson mens jersey new york jets 91 home green nfl</a> <a href="http://www.razgoldin.com/cincinnati-reds-flex-fit-hat-size-dhat_uk">cinc... reds flex fit hat size</a> <a href="http://www.spinnykids.com/nike-air-max-1-white-blue-red-for-cheap-kdc_en... air max 1 white blue red for cheap</a>
escortcv http://www.escortcv.com/

Add new comment | arxic Drupal

Wonderful blog! I found it while surfing around on Yahoo News.
Do you have any suggestions on how to get listed in Yahoo
News? I've been trying for a while but I never seem to get there!
Thank you

marknoack

<a href="http://www.marknoack.com/new-era-fitted-dodger-hats-2017-billig-hatd_en"... era fitted dodger hats 2017 billig</a> <a href="http://www.meehrzeit.com/leicester-city-blank-away-mens-adults-2016-2017... city blank away mens adults 2016 2017 club soccer jerseys billig</a> <a href="http://www.linetarh.com/nike-hypervenom-2-phinish-black-for-cheap-billig... hypervenom 2 phinish black for cheap billig</a> <a href="http://www.scentson.com/nike-classic-cortez-black-blue-shoes-ua12_en">nike classic cortez black blue shoes</a> <a href="http://www.baladoci.com/nike-kd-trey-5-vi-black-blue-shoes-ua5_en">nike kd trey 5 vi black blue shoes</a> <a href="http://www.bahisitem.com/nike-air-force-1-3d-stars-billig-ua1_en">nike air force 1 3d stars billig</a>
marknoack http://www.marknoack.com/

nike cortez women

I would like to show my thanks to this writer for rescuing me from this particular scenario. As a result of scouting throughout the internet and seeing opinions that were not powerful, I was thinking my life was well over. Living without the presence of strategies to the problems you've sorted out by way of your post is a serious case, as well as ones that might have negatively affected my entire career if I hadn't encountered the website. Your own personal knowledge and kindness in touching all the details was vital. I am not sure what I would've done if I hadn't come upon such a solution like this. It's possible to at this time relish my future. Thanks for your time very much for this high quality and result oriented guide. I won't think twice to suggest your blog to anybody who will need care on this subject.

bitcoinical

<a href="http://www.bijoubrio.com/youth-nike-seattle-seahawks-18-sidney-rice-limi... nike seattle seahawks 18 sidney rice limited white nfl jersey sale</a> <a href="http://www.guschoko.com/adidas-yeezy-boost-350-kaskus-korea-nikea_dk">ad... yeezy boost 350 kaskus korea</a> <a href="http://www.tabscore.com/adidas-predator-black-green-pink-shoes-cfoot_en"... predator black green pink shoes</a> <a href="http://www.escortcv.com/nike-hypervenom-phelon-orange-black-gold-niken_d... hypervenom phelon orange black gold</a> <a href="http://www.razgoldin.com/wiggle-adidas-ultra-boost-womens-cfoot_en">wiggle adidas ultra boost womens</a> <a href="http://www.spinnykids.com/all-black-under-armour-fat-tire-shoes-for-sale... black under armour fat tire shoes for sale</a>
bitcoinical http://www.bitcoinical.com/

Add new comment | arxic Drupal

Thanks for every other fantastic post. The place else could anyone get that type of information in such a perfect way of writing?
I've a presentation subsequent week, and I am at
the search for such information.

soukherb

<a href="http://www.bijoubrio.com/nike-air-force-1-07-lv8-zwart-kdn_en">nike air force 1 07 lv8 zwart</a> <a href="http://www.guschoko.com/mens-nike-dallas-cowboys-8-troy-aikman-game-navy... nike dallas cowboys 8 troy aikman game navy blue team color nfl jersey sale</a> <a href="http://www.tabscore.com/cheap-boston-red-sox-baseball-hats-vancouver-ky-... boston red sox baseball hats vancouver ky</a> <a href="http://www.escortcv.com/nike-air-max-90-leder-child-white-yellow-uk-nike... air max 90 leder child white yellow uk</a> <a href="http://www.razgoldin.com/2015-16-nba-western-all-stars-13-james-harden-r... 16 nba western all stars 13 james harden revolution 30 swingman red jersey</a> <a href="http://www.spinnykids.com/nike-air-vapormax-flyknit-moc-2-womens-grey-bl... air vapormax flyknit moc 2 womens grey black shoes</a>
soukherb http://www.soukherb.com/

Add new comment | arxic Drupal

You actually make it seem so easy with your presentation however I to find this topic to be actually one thing which I believe
I would never understand. It kind of feels too complicated and extremely extensive for me.
I'm looking forward in your subsequent post, I'll try to
get the grasp of it!

babilisim

<a href="http://www.cascadem.com/gold-and-black-jordan-9-bnike_en">gold and black jordan 9</a> <a href="http://www.contibag.com/nike-pg-1-grey-black-shoes-kdf_en">nike pg 1 grey black shoes</a> <a href="http://www.rivieraua.com/white-blue-black-air-jordan-11-uk-shoes-nikem_d... blue black air jordan 11 uk shoes</a> <a href="http://www.backbearz.com/nike-magista-onda-black-rough-green-zone-bnike_... magista onda black rough green zone</a> <a href="http://www.mrstickee.com/game-clinton-portis-washington-redskins-womens-... clinton portis washington redskins womens road jersey 26 nfl white</a> <a href="http://www.soukherb.com/nike-lebron-12-elite-white-and-blue-shoes-nikeo_... lebron 12 elite white and blue shoes</a>
babilisim http://www.babilisim.com/

Add new comment | arxic Drupal

Hi there, I found your website by the use of Google even as looking for
a related topic, your site got here up, it seems to be great.
I've bookmarked it in my google bookmarks.
Hello there, just turned into aware of your blog through Google, and found that it's truly informative.
I'm gonna be careful for brussels. I will appreciate for those who proceed this in future.
Many other folks might be benefited out of your
writing. Cheers!

Add new comment | arxic Drupal

Hmm is anyone else experiencing problems with the pictures
on this blog loading? I'm trying to find out if its a problem on my end or if it's the blog.

Any feed-back would be greatly appreciated.

escortcv

<a href="http://www.cascadem.com/gold-and-black-jordan-9-bnike_en">gold and black jordan 9</a> <a href="http://www.contibag.com/nike-pg-1-grey-black-shoes-kdf_en">nike pg 1 grey black shoes</a> <a href="http://www.rivieraua.com/white-blue-black-air-jordan-11-uk-shoes-nikem_d... blue black air jordan 11 uk shoes</a> <a href="http://www.backbearz.com/nike-magista-onda-black-rough-green-zone-bnike_... magista onda black rough green zone</a> <a href="http://www.mrstickee.com/game-clinton-portis-washington-redskins-womens-... clinton portis washington redskins womens road jersey 26 nfl white</a> <a href="http://www.soukherb.com/nike-lebron-12-elite-white-and-blue-shoes-nikeo_... lebron 12 elite white and blue shoes</a>
escortcv http://www.escortcv.com/

Add new comment | arxic Drupal

You can certainly see your skills in the article you write.
The sector hopes for more passionate writers such as you
who aren't afraid to mention how they believe. Always go
after your heart.

cemsatur

<a href="http://www.bijoubrio.com/youth-nike-seattle-seahawks-18-sidney-rice-limi... nike seattle seahawks 18 sidney rice limited white nfl jersey sale</a> <a href="http://www.guschoko.com/adidas-yeezy-boost-350-kaskus-korea-nikea_dk">ad... yeezy boost 350 kaskus korea</a> <a href="http://www.tabscore.com/adidas-predator-black-green-pink-shoes-cfoot_en"... predator black green pink shoes</a> <a href="http://www.escortcv.com/nike-hypervenom-phelon-orange-black-gold-niken_d... hypervenom phelon orange black gold</a> <a href="http://www.razgoldin.com/wiggle-adidas-ultra-boost-womens-cfoot_en">wiggle adidas ultra boost womens</a> <a href="http://www.spinnykids.com/all-black-under-armour-fat-tire-shoes-for-sale... black under armour fat tire shoes for sale</a>
cemsatur http://www.cemsatur.com/

Add new comment | arxic Drupal

Hi there just wanted to give you a quick heads up.
The text in your article seem to be running
off the screen in Safari. I'm not sure if this is a format
issue or something to do with web browser compatibility but I thought I'd
post to let you know. The design look great though!
Hope you get the problem solved soon. Cheers

coach factory outlet

I am writing to make you understand what a really good experience my wife's princess gained reading through yuor web blog. She picked up so many issues, including how it is like to possess a wonderful teaching style to get the others without hassle master various tricky things. You actually exceeded her expectations. Thanks for giving such essential, dependable, edifying and even unique tips on your topic to Sandra.

Add new comment | arxic Drupal

Greetings! I've been following your weblog for a long time now and finally got
the courage to go ahead and give you a shout out from Kingwood Texas!
Just wanted to mention keep up the good work!

contibag

<a href="http://www.lurioaddl.com/black-red-white-nike-zoom-kobe-venomenon-6-kdl_... red white nike zoom kobe venomenon 6</a> <a href="http://www.secureorb.com/adidas-tubular-good-for-running-nikec_dk">adidas tubular good for running</a> <a href="http://www.susanlew.com/mlb-jerseys-new-york-yankees-3-babe-ruth-gray-gr... jerseys new york yankees 3 babe ruth gray grey jerseys camo number</a> <a href="http://www.babilisim.com/milwaukee-brewers-alcides-escobar-21-grey-repli... brewers alcides escobar 21 grey replica jersey sale</a> <a href="http://www.ftlsubsea.com/limited-george-johnson-youth-jersey-detroit-lio... george johnson youth jersey detroit lions 93 road white nfl</a> <a href="http://www.lewislist.com/ucla-bruins-0-russell-westbrook-blue-jersey-nfl... bruins 0 russell westbrook blue jersey</a>
contibag http://www.contibag.com/

lurioaddl

<a href="http://www.bitcoinical.com/elite-mens-green-russell-wilson-alternate-jer... mens green russell wilson alternate jersey 3 seattle seahawks nfl nk281515</a> <a href="http://www.emiratesci.com/asics-gel-lyte-iii-white-nikec_dk">asics gel lyte iii white</a> <a href="http://www.fitcultura.com/limited-john-matuszak-mens-jersey-oakland-raid... john matuszak mens jersey oakland raiders 72 home black nfl</a> <a href="http://www.cemsatur.com/toronto-blue-jays-vintage-hat-values-onehat_uk">... blue jays vintage hat values</a> <a href="http://www.niccoair.com/minnesota-twins-hat-day-washington-state-hatro_d... twins hat day washington state</a> <a href="http://www.pipelleh.com/buffalo-sabres-77-pierre-turgeon-green-salute-to... sabres 77 pierre turgeon green salute to service stitched nhl jersey</a>
lurioaddl http://www.lurioaddl.com/

Add new comment | arxic Drupal

I don't even know how I ended up here, but I thought this post was great.
I don't know who you are but definitely you are going to a famous blogger if you aren't already ;) Cheers!

converse outlet

Thank you so much for providing individuals with an exceptionally nice possiblity to check tips from this blog. It is usually very enjoyable and as well , jam-packed with a great time for me personally and my office co-workers to visit your web site more than three times in a week to find out the fresh guides you will have. And definitely, I'm just certainly fascinated with your astounding tricks served by you. Selected two tips on this page are rather the most beneficial I have had.

Add new comment | arxic Drupal

I like the helpful info you supply in your articles. I will bookmark your blog and check
once more right here frequently. I am slightly certain I will be told a lot
of new stuff proper here! Best of luck for the
following!

Add new comment | arxic Drupal

Greetings from Los angeles! I'm bored at work
so I decided to check out your site on my iphone during lunch break.
I love the information you present here and can't wait to take a look when I get home.

I'm surprised at how fast your blog loaded on my phone ..
I'm not even using WIFI, just 3G .. Anyhow, very good site!

Add new comment | arxic Drupal

I got this website from my buddy who told me concerning this web page and at the moment this time I
am visiting this web site and reading very informative
articles or reviews here.

1 Just tested it Beacham patented a 8

http://www.jewish.co.il/%ef%bb%bfcheapest-online-dating-websites-for-men... 50's plus mature online dating service in phoenix https://ds-nvr.com/no-register-best-senior-dating-online-site-drupal.arx... denver japanese senior singles dating online site http://homologacion-itv.com/%ef%bb%bfmost-effective-mature-dating-online... africa nigerian mature singles dating online site http://ivanyvienen.com/most-visited-seniors-dating-online-websites-drupa... no charge cheapest seniors dating online services

christian louboutin outlet

I in addition to my pals happened to be taking note of the excellent pointers found on the blog then all of the sudden got a horrible suspicion I had not thanked the site owner for them. These men were definitely consequently passionate to learn them and have very much been tapping into them. We appreciate you turning out to be quite helpful and then for getting variety of ideal things millions of individuals are really desperate to learn about. My very own honest regret for not expressing gratitude to sooner.

4 kilo abnehmen

Hello every one, here every person is sharing such experience, so it's nice to read this website, and I used to go to see this weblog everyday.

Add new comment | arxic Drupal

I know this site presents quality depending articles or reviews and additional
stuff, is there any other website which presents these
information in quality?

yeezy boost 350 v2

I actually wanted to construct a quick word in order to appreciate you for all of the nice information you are posting on this website. My time-consuming internet investigation has now been recognized with reputable facts to talk about with my family members. I 'd declare that most of us visitors are quite fortunate to dwell in a fine site with so many wonderful individuals with very helpful guidelines. I feel somewhat happy to have used your entire website page and look forward to so many more enjoyable moments reading here. Thank you once again for all the details.

Add new comment | arxic Drupal

Good blog you have got here.. It's hard to find high-quality writing
like yours nowadays. I seriously appreciate individuals like you!

Take care!!

Add new comment | arxic Drupal

I'm impressed, I must say. Seldom do I encounter a
blog that's equally educative and amusing, and let me tell you, you've
hit the nail on the head. The issue is an issue that too few folks are speaking intelligently about.
Now i'm very happy that I stumbled across this during my hunt for something relating to this.

Pages

Add new comment