udiniqgeek
Thinks about OS Linux Ubuntu | Ubuntu Tutorials
HOW TO MAKE MONEY by INTERNET
sfi

Install Drupal on Ubuntu




Drupal is a CMS (Content mangement System) is reliable. I like Drupal for my ease in loading the website, we just write on the Create Content and choose Page or Story and ready dionlinekan our writing. Drupal CMS provides easy solution for us who likes to create a website but do not understand the language of html and PHP, and I know Drupal after finding this link by searching on google.

Following steps to install Drupal on our ubuntu machine, First we have to install a local web server on our computer, with the command :

root@server:/# aptitude updatee && aptitude install apache2 php5-mysql php5-gd libapache2-mod-php5 mysql-server

When installing mysql-server we usually are prompted for the password, please use the password as you want and for the default user is root.


If completed then we downloaded the package and the current drupal version I use is drupal 6:10 :

root@server:/# wget http://ftp.drupal.org/files/projects/drupal-6.10.tar.gz

Then we must extract the file drupal, with step :

root@server:/# tar -xzf drupal-6.10.tar.gz

Then make a folder that will be a place to install drupal in the folder /var/www, let's give the folder a name udiniq and we have to put this drupal extract files in the folder /var/www/udiniq :

root@server:/# mkdir /var/www/udiniq
root@server:/# drupal-6.10/* drupal-6.10/.htaccess /var/www/udiniq

Next we create a file folder in a folder udiniq, where we will put the drupal files in the folder, and folder must be changed ownership to a group :

root@server:/# cp /var/www/udiniq/sites/default/default.settings.php /var/www/udiniq/sites/default/settings.php
root@server:/# chown www-data:www-data /var/www/udiniq/sites/default/settings.php

Be sure to make drupal in mysql database that will be used to memanagement our web database, the following steps and I suppose that database named drupal :

root@server:/# mysqladmin -u root -p create udiniq
(Enter the password mysql)

After the database is created we need to determine what wrote that column will be created in the database file, with the steps to login to the mysql database :

root@server:/# mysql -u root -p
(Enter the password mysql)



mysql>

And to see if the database that we have made it had been ok, then type the following command :

mysql>show databases;

If the database is ok, the next step we need to create a column that contained in the database and make udiniq username password for the database drupal :

mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,INDEX,ALTER,CREATE TEMPORARY TABLES,LOCK TABLES ON udiniq.*TO'drupalusername'@'localhost'IDENTIFIED BY 'drupalpassword';

Furthermore do not forget to activate the new permissions with the command as follows :

mysql> FLUSH PRIVILEGES;

Then out of the mysql with the command :

mysql>\q

Do not forget also that the memory limit for php in drupal is the minimum standard 32M of default is 8M. you need to change the memory limits in php.ini file with this 32 mega with the command :

root@server:/# vim /etc/php5/apache2/php.ini

By pressing the letter writing i please search memory_limit = 8M or 16M and please converted to memory_limit = 32M

save by pressing Esc:wq and Enter

Finally, 90% drupal installation on the server computer is over and the next is to install drupal on the web page, the following steps :

  • Open your browse and type in the address: http://localhost/udiniq and then you'll be guided through a wizard to install drupal.
SITE ARCHIVE
udiniqgeek
Thinks about OS Linux Ubuntu | Ubuntu Tutorials
Copyright©2009 | UdiniqGeek.com - Thinks about OS Linux Ubuntu - Ubuntu Tutorials | Contact Us | :: RSS | [Valid RSS]