1. Download Drupal 6.x form http://drupal.org/.
2. tar -zxvpf drupal-x.x.tar.gz
3. put this folder into /var/www/
4. mv drupal-x.x/* drupal-x.x/.htaccess /var/www/html
5. Change the permission for setting.php chmod a+w sites/default/settings.php or chmod 777 sites/default/settings.php
6. Create the database using Mysql
* apt-get install mysql
* mysqladmin -u username -p create databasename (where username and password can get from /etc/mysql/debian.cnf)
* GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON databasename.* TO 'username'@'localhost' IDENTIFIED BY 'password';
where
'databasename' is the name of your database
'username@localhost' is the username of your MySQL account
'password' is the password required for that username
7. Then run the script using : http://localhost/drupal-6.6/
8. And you get the welcome page of drupal
9. Then do all settings and congiguration like (site name,logo,feature,database name,another user etc)
2. tar -zxvpf drupal-x.x.tar.gz
3. put this folder into /var/www/
4. mv drupal-x.x/* drupal-x.x/.htaccess /var/www/html
5. Change the permission for setting.php chmod a+w sites/default/settings.php or chmod 777 sites/default/settings.php
6. Create the database using Mysql
* apt-get install mysql
* mysqladmin -u username -p create databasename (where username and password can get from /etc/mysql/debian.cnf)
* GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON databasename.* TO 'username'@'localhost' IDENTIFIED BY 'password';
where
'databasename' is the name of your database
'username@localhost' is the username of your MySQL account
'password' is the password required for that username
7. Then run the script using : http://localhost/drupal-6.6/
8. And you get the welcome page of drupal
9. Then do all settings and congiguration like (site name,logo,feature,database name,another user etc)
Comments