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

scribesf

<a href="http://www.ccvsocal.net/mexico-white-track-jacket-nflb">mexico white track jacket</a> <a href="http://www.evlworld.net/air-jordan-fture-all-black-uk-sneakerca">air jordan fture all black uk</a> <a href="http://www.muhomor.net/elite-johnnie-troutman-mens-jersey-san-diego-char... johnnie troutman mens jersey san diego chargers 63 alternate electric blue nfl</a> <a href="http://www.azobgyn.net/nike-flyknit-lunar-2-long-distance-running-legs-b... flyknit lunar 2 long distance running legs billig</a> <a href="http://www.symbioo.net/air-jordan-32-black-green-pink-shoes-runsc">air jordan 32 black green pink shoes</a> <a href="http://www.universant.net/washington-nationals-27-jordan-zimmermann-whit... nationals 27 jordan zimmermann white jersey</a>
scribesf http://www.scribesf.com/

learnstar

<a href="http://www.fosback.net/nike-tiempo-ligera-iv-white-and-gold-shoes-schuhe... tiempo ligera iv white and gold shoes</a> <a href="http://www.miravueskin.net/nfl-womens-team-apparel-for-cheap-nfll">nfl womens team apparel for cheap</a> <a href="http://www.nastar.net/mens-new-england-patriots-87-rob-gronkowski-elite-... new england patriots 87 rob gronkowski elite black team irvin 2016 pro bowl nfl jersey</a> <a href="http://www.bakertech.net/adidas-iniki-runner-boost-hk-movie-billig-runni... iniki runner boost hk movie billig</a> <a href="http://www.thevoliste.net/nike-cortez-black-vintage-for-cheap-obuvca">nike cortez black vintage for cheap</a> <a href="http://www.zoomint.net/mens-miami-dolphins-20-reshad-jones-white-road-nf... miami dolphins 20 reshad jones white road nfl nike elite jersey</a>
learnstar http://www.learnstar.net/

zoomint

barimar

themesvault

maclinford

<a href="http://www.cosmoqueen.net/kyle-williams-color-rush-jersey-for-cheap-nfli... williams color rush jersey for cheap</a> <a href="http://www.sundrees.net/air-force-one-sail-travis-scott-billig-butye">air force one sail travis scott billig</a> <a href="http://www.ultroz.net/all-green-new-adidas-harden-vol.-2-billig-scarpedk... green new adidas harden vol. 2 billig</a> <a href="http://www.eklandia.net/new-12s-that-came-out-billig-zapatosm">new 12s that came out billig</a> <a href="http://www.mdbigtrees.net/chicago-bulls-knit-hat-new-era-updates-hate">c... bulls knit hat new era updates</a> <a href="http://www.wifcuonline.net/game-prince-amukamara-womens-jersey-new-york-... prince amukamara womens jersey new york giants 20 alternate red nfl</a>
maclinford http://www.maclinford.net/

kitekraft

ledrise

asalgarve

<a href="http://www.evastat.net/jordan-6-sport-blue-kixify-billig-skoes">jordan 6 sport blue kixify billig</a> <a href="http://www.klaava.net/nike-pegasus-running-warehouse-billig-schoenenau">... pegasus running warehouse billig</a> <a href="http://www.marathonps.net/jual-adidas-crazy-boost-queensland-billig-runn... adidas crazy boost queensland billig</a> <a href="http://www.ledrise.net/adidas-neo-womens-black-all-black-red-billig-obuv... neo womens black all black red billig</a> <a href="http://www.sanjosedj.net/baltimore-orioles-13-manny-machado-2014-all-sta... orioles 13 manny machado 2014 all star mlb jerseys</a> <a href="http://www.voelzke.net/show-me-how-to-make-a-baby-hat-knitting-pattern-h... me how to make a baby hat knitting pattern</a>
asalgarve http://www.asalgarve.net/

musiserv

smcoaches

liones

<a href="http://www.screeder.net/realtree-dolphins-hat-boxes-hatk">realtree dolphins hat boxes</a> <a href="http://www.scrgruppen.com/nike-air-jordan-super-fly-2-po-all-grey-uk-bil... air jordan super fly 2 po all grey uk billig</a> <a href="http://www.valudo.net/nike-nfl-philadelphia-eagles-31-wilbert-montgomery... nfl philadelphia eagles 31 wilbert montgomery elite youth black alternate throwback jersey sale</a> <a href="http://www.bbcnorman.net/adidas-originals-superstar-sneaker-tutti-bianca... originals superstar sneaker tutti bianca</a> <a href="http://www.netlobo.net/nike-air-max-95-og-greedy-billig-buty5">nike air max 95 og greedy billig</a> <a href="http://www.sowegaland.com/air-jordan-xxxi-all-white-uk-schuhefr">air jordan xxxi all white uk</a>
liones http://www.liones.net/

tulesion

Знакомства для брака и серьезных отношений

https://vktarg.yourpartnermag.site/sekreti-zarabotka-v-vktarget/sayti-po... VKTARGET АНАЛОГИ — похожие сайты для заработка
Накрутка в социальные сети (Cheating on social networks)https://bit-ly.ru/h1rsC Instagram, Vk, Telegram, TikTok, YouTube, FaceBook, Twitch,Discord и др..(et al..)
Здесь найдете и сможете скачать самые свежие и популярные курсы, книги,
тренинги и вебинары от известных авторов: https://bit-ly.ru/LG4eZ
Доступ к ним навсегда = 490 руб.
Подарки на Праздник - Полезные Советы и Рецепты :https://vk.com/club173087118
О Многом по Немногу или Обо Всем по Чуть Чуть:https://vk.com/club174034005
Образовательные Курсы и Тренинги: https://vk.com/club172503039
Заработок в Интернете с нуля:
https://www.youtube.com/watch?v=6MITyL8tbZ4
Мир фотографии: https://vk.com/club174783721

acai berry dosage weight loss -1 1

tamoxifen in der perimenopause info nolvadex isteroide bestellen nolvadex nolvadex flгјssigkeit reduzierung von hitzewallungen wг¤hrend der einnahme von tamoxifen [URL=https://www.feldbahn-ffm.de/wp-includes/pages/Tamoxifen_20mg_kaufen_onli... und zoloft [/URL] trestment von desmoidtumoren mit tamoxifen tamoxifen 80 zukunft von tamoxifen einnahme von testosteron-gel mit nolvadex masektomie und tamoxifen
[url=http://sweetmelange.cz/node/125?page=372#comment-178092]opening a multi plan spreadsheet 833000 1[/url] c0d8491

fluoxetine antidepressant -1 1

tadacip tabletten tadalafilo tadacip paypal genгЁІico tadacip tadacip para nachnahme [URL=https://www.mamuschka.com/sitiowp/wp-includes/pages/?Comprar_Tadacip_20_...гЎ®to tiempo dura tadacip 20 [/URL] tadacip 5 mg precio en la india tadacip 10 mg opiniones tadacip vs megalis tadacip reddit tadalafil europa
[url=https://amazonassociate.ca/viewtopic.php?f=9&t=4435]pharmacy lesson plans 1430000 1[/url] 4918_5f

lidocaine gel for vaginal use -1 1

doxycyclin-malaria-pillen doxycyclin-monohydrat kanada missbrauch von doxycyclin vibramycin doxycyclin ohne rezept doxycyclin-cellulitis [URL=https://www.rockharz-festival.com/wp-includes/pages/Doxycyclin_100mg.htm... und parodontitis [/URL] nebenwirkungen von doxycyclin bei katzen amoxicillin und doxycyclin zusammen fisch doxycyclin verwendung fгјr menschen doxycyclin гјbermг¤гџige menstruationsblutung nebeneffekt doxycyclin preisgestaltung
[url=http://daydreamrepublic.com/blogs/dr/ways-to-keep-your-wanderlust-alive-... master plan of evangelism 170000 13[/url] 341bfcb

Pages

Add new comment