1. Download the latest compatible copy of XAMPP and install it on your C:\ (or main) drive. It is really easy to install XAMPP.
2. Open the c:\xampp\htdocs folder and create a subfolder. For this example, we'll call it "drupal" (C:\xampp\htdocs\drupal). Download the latest copy of Drupal, and extract it into this folder. Make sure the unpacked Drupal folders and files are in the directory called "drupal" as above and are not in something like C:\xampp\htdocs\drupal\drupal-6.4.
3. Decide on a password for your administrator (root) account. Let's say you choose "sumit" (but pick something else!).
4. Copy the file "c:\xampp\htdocs\drupal\sites\default\default.settings.php" file to the same directory, and name it "settings.php". You should now have two identical files in your "c:\xampp\htdocs\drupal\sites\default" folder: one called "settings.php" and one called "default.settings.php".
5. Open the file "c:\xampp\htdocs\drupal\sites\default\settings.php" in a favorite editor such as Notepad++ or Dreamweaver (don't use Notepad or Wordpad) and modify two lines as below (but use your own password and not "sumit"). For the second line, you will have to delete the "#" (comment mark) at the beginning of the line.
....................
$db_url = 'mysql://root:sumit@localhost/drupal';
....................
$base_url = 'http://localhost/drupal';
....................
6. Browse to http://localhost/security and enter the MySQL user and passsword "root" and "sumit" (but your password, of course). Stop and restart MySQL in the XAMPP control panel (takes ten seconds).
7. Browse to http://localhost/phpmyadmin. Log in with "root" and your password. Don't do anything except create a new database, for this example we'll call it "drupal". Type "drupal" (without the " marks!) in the box marked "Create new database" and click on the button "Create" just to the right of it. You should get a screen confirming the database has been created.
8. Browse to http://localhost/drupal/install.php and follow the simple instructions and you will have installed Drupal.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment