Submitted by Boden Davidson on
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
bfniPalay replied on Permalink
ngbazgjfhfgnepshuplebbi
writing essay service [url=https://essaywritingservicehgv.com/]online essay services[/url] custom essay services <a href="https://essaywritingservicehgv.com/#">essay on customer service</a> cheap essay writer service
bfniPalay replied on Permalink
ngbazgjfhfgnepshuplevgf
customer service essay [url=https://essaywritingservicehgv.com/]essay about service[/url] writing essay service <a href="https://essaywritingservicehgv.com/#">essays service</a> essay on service
bhyhPoeta replied on Permalink
essay helper online svrddxRascabswzu
homework essay help [url=https://essayhelpeth.com/]help me essays[/url] help writing a essay <a href="https://essayhelpeth.com/#">the help essay</a> uc essay help
bfniPalay replied on Permalink
ngbazgjfhfgnepshupleszd
mba essay services [url=https://essaywritingservicehgv.com/]essay on social service[/url] custom essay service <a href="https://essaywritingservicehgv.com/#">mba essay writing service</a> mba essay review service
bhyhPoeta replied on Permalink
help writing essay svrddxRascabsitn
the help essays [url=https://essayhelpeth.com/]essayhelp[/url] essay helper online <a href="https://essayhelpeth.com/#">essay online help</a> critical essay help
bhyhPoeta replied on Permalink
essay help toronto svrddxRascabsqaw
help with writing essays [url=https://essayhelpeth.com/]help writing essay[/url] help write my essay <a href="https://essayhelpeth.com/#">write my essay help</a> essay help
bhyhPoeta replied on Permalink
help write my essay svrddxRascabsfpx
essay title help [url=https://essayhelpeth.com/]critical essay help[/url] tok essay help <a href="https://essayhelpeth.com/#">help my essay</a> essay helpers
bfniPalay replied on Permalink
ngbazgjfhfgnepshuplefxb
essay writing service best [url=https://essaywritingservicehgv.com/]essay writing service ratings[/url] essays on service <a href="https://essaywritingservicehgv.com/#">essay writer service</a> custom essay service
bhyhPoeta replied on Permalink
buy essays svrddxRascabsolq
buy essay writing [url=https://essayhelpeth.com/]essays to buy[/url] where to buy essays <a href="https://essayhelpeth.com/#">essay help live chat</a> mba essay help
bhyhPoeta replied on Permalink
essay online help svrddxRascabspmz
help my essay [url=https://essayhelpeth.com/]writing essay help[/url] act essay help <a href="https://essayhelpeth.com/#">help write my essay</a> write my essay help
bfniPalay replied on Permalink
ngbazgjfhfgnepshupletdi
cheap essay service [url=https://essaywritingservicehgv.com/]service essay[/url] mba essay service <a href="https://essaywritingservicehgv.com/#">online essay writing service</a> essay review service
bfniPalay replied on Permalink
ngbazgjfhfgnepshupleujp
online essay services [url=https://essaywritingservicehgv.com/]usa essay writing services[/url] essays on service <a href="https://essaywritingservicehgv.com/#">write my essay service</a> essay writers service
bfniPalay replied on Permalink
ngbazgjfhfgnepshuplepqw
essay service [url=https://essaywritingservicehgv.com/]top essay writing service[/url] essay review service <a href="https://essaywritingservicehgv.com/#">custom essay service</a> essays service
bfniPalay replied on Permalink
ngbazgjfhfgnepshuplelmw
essay on social service [url=https://essaywritingservicehgv.com/]cheap essay service[/url] custom essay service <a href="https://essaywritingservicehgv.com/#">service essay</a> custom essay services
bhyhPoeta replied on Permalink
cheap essay help svrddxRascabsbcm
buy essays [url=https://essayhelpeth.com/]essayhelp[/url] buy essays cheap <a href="https://essayhelpeth.com/#">urgent essay help</a> buy an essay
bhyhPoeta replied on Permalink
the help essay svrddxRascabsuht
help write my essay [url=https://essayhelpeth.com/]essay helper[/url] mba essay help <a href="https://essayhelpeth.com/#">buy essay papers</a> essay help sites
bhyhPoeta replied on Permalink
college essay help nyc svrddxRascabskdv
help me write my essay [url=https://essayhelpeth.com/]buy custom essays[/url] help with writing essays <a href="https://essayhelpeth.com/#">essay online help</a> essay help sydney
bfniPalay replied on Permalink
ngbazgjfhfgnepshuplebyj
writing essays services [url=https://essaywritingservicehgv.com/]mba essay services[/url] services essay <a href="https://essaywritingservicehgv.com/#">essay writing service ratings</a> essays service
bfniPalay replied on Permalink
ngbazgjfhfgnepshuplercd
essaywriting service [url=https://essaywritingservicehgv.com/]essaywriting service[/url] mba essay writing service <a href="https://essaywritingservicehgv.com/#">essay writer service</a> п»їessay community service
bhyhPoeta replied on Permalink
college essay help nyc svrddxRascabslao
buying essays [url=https://essayhelpeth.com/]essay online help[/url] act essay help <a href="https://essayhelpeth.com/#">essay help sites</a> where to buy essays
bhyhPoeta replied on Permalink
write my essay help svrddxRascabsqnf
tok essay help [url=https://essayhelpeth.com/]buying essays[/url] essay help live chat <a href="https://essayhelpeth.com/#">write my essay help</a> help essay 123
bfniPalay replied on Permalink
ngbazgjfhfgnepshuplewdj
essays on service [url=https://essaywritingservicehgv.com/]customer service essays[/url] services essay <a href="https://essaywritingservicehgv.com/#">mba essay services</a> essay writer service
bfniPalay replied on Permalink
ngbazgjfhfgnepshupleilc
write essay service [url=https://essaywritingservicehgv.com/]essay writing service us[/url] п»їessay community service <a href="https://essaywritingservicehgv.com/#">customer service essays</a> essay on customer service
bfniPalay replied on Permalink
ngbazgjfhfgnepshuplengg
usa essay writing services [url=https://essaywritingservicehgv.com/]essay service review[/url] customer service essays <a href="https://essaywritingservicehgv.com/#">essay writers service</a> essay writer services
bfniPalay replied on Permalink
ngbazgjfhfgnepshuplegsu
usa essay writing services [url=https://essaywritingservicehgv.com/]online essay editing service[/url] customer service essays <a href="https://essaywritingservicehgv.com/#">mba essay services</a> п»їessay community service
bhyhPoeta replied on Permalink
where to buy essays svrddxRascabsrrk
essay help live chat [url=https://essayhelpeth.com/]buying essays[/url] mba essay help <a href="https://essayhelpeth.com/#">п»їhelp essay</a> essay buy
bhyhPoeta replied on Permalink
help me essays svrddxRascabscky
cheap essay help [url=https://essayhelpeth.com/]uc essay help[/url] easy essay help <a href="https://essayhelpeth.com/#">essay help sydney</a> help write essay
bfniPalay replied on Permalink
ngbazgjfhfgnepshuplefji
essay writing service best [url=https://essaywritingservicehgv.com/]essay writing service ratings[/url] essay writing service ratings <a href="https://essaywritingservicehgv.com/#">essay about service</a> essay proofreading service
bfniPalay replied on Permalink
ngbazgjfhfgnepshupleglx
top essay writing services [url=https://essaywritingservicehgv.com/]write my essay service[/url] essays services <a href="https://essaywritingservicehgv.com/#">cheap essay writer service</a> essay editor service
bfniPalay replied on Permalink
ngbazgjfhfgnepshupleohk
online essay services [url=https://essaywritingservicehgv.com/]write essay service[/url] mba essay writing service <a href="https://essaywritingservicehgv.com/#">writing essay services</a> essaywriting service
bfniPalay replied on Permalink
ngbazgjfhfgnepshupleyhp
usa essay writing services [url=https://essaywritingservicehgv.com/]essay on service[/url] college essay service <a href="https://essaywritingservicehgv.com/#">writing essays services</a> essay editor service
bhyhPoeta replied on Permalink
critical essay help svrddxRascabssyb
help essays [url=https://essayhelpeth.com/]essay help forum[/url] act essay help <a href="https://essayhelpeth.com/#">buy essays</a> urgent essay help
bhyhPoeta replied on Permalink
act essay help svrddxRascabsssq
buy essay writing [url=https://essayhelpeth.com/]help my essay[/url] buying an essay <a href="https://essayhelpeth.com/#">п»їhelp essay</a> help on essay
bhyhPoeta replied on Permalink
essay helper app svrddxRascabswwn
help my essay [url=https://essayhelpeth.com/]buying essay[/url] live essay help <a href="https://essayhelpeth.com/#">argument essay help</a> essay help 123
bhyhPoeta replied on Permalink
buy essay papers svrddxRascabswdc
essay helpers [url=https://essayhelpeth.com/]online essay helper[/url] help my essay <a href="https://essayhelpeth.com/#">buy essay papers</a> essay help sydney
bfniPalay replied on Permalink
ngbazgjfhfgnepshupledbg
essay writer service [url=https://essaywritingservicehgv.com/]essays on service[/url] services essay <a href="https://essaywritingservicehgv.com/#">essay service</a> essay writers service
bhyhPoeta replied on Permalink
buy essay papers svrddxRascabspac
help on essays [url=https://essayhelpeth.com/]college essay help nyc[/url] live essay help <a href="https://essayhelpeth.com/#">tok essay help</a> buy essays cheap
bhyhPoeta replied on Permalink
urgent essay help svrddxRascabsuut
essays help [url=https://essayhelpeth.com/]help essays[/url] essay help 123 <a href="https://essayhelpeth.com/#">help essay 123</a> help writing a essay
bhyhPoeta replied on Permalink
buying essay svrddxRascabseyp
п»їhelp essay [url=https://essayhelpeth.com/]essay helper[/url] help with an essay <a href="https://essayhelpeth.com/#">student essay help</a> essay buy
bfniPalay replied on Permalink
ngbazgjfhfgnepshupleikl
custom essay services [url=https://essaywritingservicehgv.com/]custom essay service[/url] essay on service <a href="https://essaywritingservicehgv.com/#">essay about service</a> write essay service
bfniPalay replied on Permalink
ngbazgjfhfgnepshuplelbi
essays service [url=https://essaywritingservicehgv.com/]write essay service[/url] customer service essays <a href="https://essaywritingservicehgv.com/#">best essay service</a> essays services
bfniPalay replied on Permalink
ngbazgjfhfgnepshuplezwz
writing essays services [url=https://essaywritingservicehgv.com/]customer service essays[/url] essay writer services <a href="https://essaywritingservicehgv.com/#">essay service review</a> essay service
bhyhPoeta replied on Permalink
essay help live chat svrddxRascabsfvv
essay 123 help [url=https://essayhelpeth.com/]tok essay help[/url] buy essay papers <a href="https://essayhelpeth.com/#">п»їhelp essay</a> buying essay
bfniPalay replied on Permalink
ngbazgjfhfgnepshupleknz
customer service essays [url=https://essaywritingservicehgv.com/]essay writing service best[/url] cheap essay writer service <a href="https://essaywritingservicehgv.com/#">write essay service</a> usa essay writing services
bfniPalay replied on Permalink
ngbazgjfhfgnepshuplefqs
writing essays services [url=https://essaywritingservicehgv.com/]essay on service[/url] essay writing service best <a href="https://essaywritingservicehgv.com/#">write essay service</a> service essays
bfniPalay replied on Permalink
ngbazgjfhfgnepshuplebpm
civil service essay [url=https://essaywritingservicehgv.com/]cheap essay service[/url] writing essay service <a href="https://essaywritingservicehgv.com/#">mba essay service</a> mba essay review service
bfniPalay replied on Permalink
ngbazgjfhfgnepshupledyq
essay on social service [url=https://essaywritingservicehgv.com/]customer service essays[/url] online essay writing service <a href="https://essaywritingservicehgv.com/#">college essay service</a> write my essay service
bfniPalay replied on Permalink
ngbazgjfhfgnepshupleiei
writing essays services [url=https://essaywritingservicehgv.com/]essay service review[/url] essay service review <a href="https://essaywritingservicehgv.com/#">service essays</a> essay editor service
bhyhPoeta replied on Permalink
help me write essay svrddxRascabswup
buy essay writing [url=https://essayhelpeth.com/]essay helpers[/url] essay on help <a href="https://essayhelpeth.com/#">essay buy</a> essays to buy
bfniPalay replied on Permalink
ngbazgjfhfgnepshuplezbk
essay writing service [url=https://essaywritingservicehgv.com/]write essay service[/url] top essay writing service <a href="https://essaywritingservicehgv.com/#">essays about service</a> service essay
Pages
Add new comment