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

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> \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


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


g714uhj h10etc

Incredible plenty of wonderful data.
<a href="https://zoloft-generic.com/">sertraline 100mg</a> <a href="https://celebrex-phermacy.com/">Celebrex Pill Image</a> <a href="https://canadianpharmacycom.com/">no 1 canadian pharcharmy online</a> <a href="https://allopurinol-online.com/">zyloric</a> <a href="https://discount-furosemide.com/">Lasix Veteranary</a> <a href="https://valsartanhydrochlorothiazide.com/">Hydrochlorothiazide Medicine Price</a>

Add new comment | arxic Drupal

Hey I know this is off topic but I was wondering
if you knew of any widgets I could add to my blog that automatically
tweet my newest twitter updates. I've been looking
for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this.
Please let me know if you run into anything. I truly enjoy reading your
blog and I look forward to your new updates.

Add new comment | arxic Drupal

Its like you read my mind! You seem to know a lot about this,
like you wrote the book in it or something. I think that you can do with a few pics to drive the
message home a little bit, but other than that, this is wonderful blog.
An excellent read. I'll definitely be back.

Add new comment | arxic Drupal

We stumbled over here by a different website and thought I may as well
check things out. I like what I see so i am just following you.
Look forward to looking over your web page for a second time.

Add new comment | arxic Drupal

I'm impressed, I have to admit. Rarely do I come across a blog that's both equally educative and amusing, and
without a doubt, you have hit the nail on the head.
The problem is something not enough men and women are speaking intelligently about.

Now i'm very happy that I came across this during my hunt for something concerning this.

Add new comment | arxic Drupal

Today, I went to the beachfront with my kids. I found a sea shell
and gave it to my 4 year old daughter and said "You can hear the ocean if you put this to your ear." She placed the shell
to her ear and screamed. There was a hermit crab inside and it pinched her ear.
She never wants to go back! LoL I know this is entirely off topic but I
had to tell someone!

Add new comment | arxic Drupal

Hello I am so thrilled I found your blog page, I really found you
by mistake, while I was looking on Digg for something else, Anyhow I am
here now and would just like to say thanks for a incredible post and a all round exciting blog (I also love the theme/design),
I don’t have time to go through it all at the minute but I
have book-marked it and also added in your RSS feeds, so when I have time I will be back to read much more, Please do keep up the awesome work.

Add new comment | arxic Drupal

I simply couldn't go away your site prior to suggesting that
I actually loved the usual info a person provide in your guests?
Is going to be back frequently to investigate cross-check new posts

Add new comment | arxic Drupal

I don't know whether it's just me or if everyone else
encountering problems with your site. It seems like some of the written text on your posts are running off the screen. Can someone else please comment and let me
know if this is happening to them as well? This could be a
problem with my internet browser because I've had this happen before.

i94cuzp h86mqw

Thanks a lot! Loads of posts.

<a href="https://hydrochlorothiazide25mgtab.com/">How Much Is Hydrochlorothiazide Without Prescr</a> <a href="https://buy-furosemide-online-40mg20mg.com/">furosemide 40 mg</a> <a href="https://buy4cialis.com/">Price Of Brand Cialis 20mg Otc</a> <a href="https://doxycyclinebestprice.com/">doxycycline hyclate</a> <a href="https://diflucan4u.com/">fluconazole tablets</a> <a href="https://canadianpharmacyntv.com/">canadian pharmacies without an rx</a>

Add new comment | arxic Drupal

Awesome website you have here but I was curious if you knew of any
discussion boards that cover the same topics talked
about here? I'd really like to be a part of community
where I can get responses from other experienced people that share the same interest.
If you have any recommendations, please let me know. Thanks a lot!

Add new comment | arxic Drupal

Whats up are using Wordpress for your site platform?
I'm new to the blog world but I'm trying to get started and
create my own. Do you need any coding knowledge to make your own blog?
Any help would be really appreciated!

Add new comment | arxic Drupal

Tremendous things here. I am very satisfied to peer your post.

Thanks so much and I'm having a look ahead to touch you.
Will you kindly drop me a mail?

Add new comment | arxic Drupal

Awesome blog! Is your theme custom made or
did you download it from somewhere? A design like yours with
a few simple tweeks would really make my blog jump out.
Please let me know where you got your theme. Bless you

Add new comment | arxic Drupal

Asking questions are in fact good thing if you
are not understanding something entirely, however this paragraph provides fastidious understanding even.

Add new comment | arxic Drupal

Hmm is anyone else encountering 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.

Add new comment | arxic Drupal

I've learn several good stuff here. Certainly price bookmarking for
revisiting. I wonder how much attempt you set to create this type of magnificent informative website.

Add new comment | arxic Drupal

When someone writes an article he/she keeps the image of a user in his/her mind that how a user can understand it.
Therefore that's why this piece of writing is perfect.

Add new comment | arxic Drupal

Today, while I was at work, my sister stole my iPad and tested
to see if it can survive a 30 foot drop, just so she can be a youtube sensation. My apple ipad is now broken and she
has 83 views. I know this is completely off topic but I had
to share it with someone!


Add new comment