I have been asked recently what is involved in installing Drupal.
So what is involved in installing Drupal exactly?
Create MySQL and a user with full privileges to only that database. You can do this in one of three ways - using a control panel provided by your hosting company ( like cpanel ) , using phpMyAdmin ( recommended), or using the command line.
Download Drupal, and unpack the tarball. Again, you have several options for making this happen. You can use FTP, download it via the command line, or use CVS.
Make sure the settings file is filesystem-writable.
Point your browser at the Drupal installation.
Create your first users.
Creating a MYSQL Database
Using CPanel. These days CPanel offers a MySQL Database Wizard. Basically , you are going to provide a name for the database, a username , password , set all prviledges for the user just created,
Using phpMyAdmin. Goto PhpAdmin and click the priviledges link, Click "add a new user". Create database with same user name and grant all priviledges. Click on the Go button on the bottom of the page. On the following page you're informed that the new user has been added, and in the SQL query shown, which is the one phpMyAdmin used to create the database, you can see that the database has been created and that the user has full priviledges on that database.
Using the Command line. This assumes that you have access to ssh ( secure shell) on your hosting server. IF you don't have that , ask your hosting provider to grant you that access, and often they will. They may ask you for a reason, and you can simply say, "I want to download and install Drupal from the command line" and away you go ! Some people ask me why would anyone want to do that. Well I just find it plain easier and more straightforward to punch out a few commands at the prompt in a terminal window that going through a complex series of mouse strokes, especially with tasks that are repeated often.
Prepare database for drupal
Create a database called drupal. Create a user called drupal_user. Grant full access on drupal to drupal_user from localhost. Replace xxxxxx on the third line with a password.
mysql> create database drupal;
mysql> create user drupal_user;
mysql> grant all on drupal.* TO 'drupal_user'@'localhost' IDENTIFIED BY 'xxxxxx';
mysql> flush privileges;
mysql> quit
Download Latest Drupal code (zip file) from Drupal office web site
Extract the compress file, and upload them to web folder (could be the sub-folder)
Copy sites/default/default.settings.php to sites/default/settings.php
Run drupal installer, and then follow the on-screen instruction to finish the installation process. Drupal has an automated installation script that automatically populates database tables and sets the correct settings in settings.php file. And Drupal installer will be automatically launched when you first time visit your drupal directory via url.
Done! You have owned a Drupal site.
Bookmark/Search this post with: