
上QQ阅读APP看书,第一时间看更新
Installing Drupal—The Quick Version
The following steps will get you up and running with your Drupal site. This quickstart version gives an overview of the steps required for most setups. A more detailed version follows immediately after this section.
Once you are familiar with the setup process, installing a Drupal site takes between 5 and 10 minutes.
- Download the core Drupal codebase from http://drupal.org/project/drupal.
- Extract the codebase on your local machine.
- In your extracted codebase, navigate to the
sites/default
directory. This directory contains one file:default.settings.php
. Make a copy of this file, and name the copysettings.php
. - Using phpMyAdmin, create a database on your server. Write down the name of the database.
- Using phpMyAdmin, create a user on the database using the following SQL statement:
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER,ON databasename.*TO 'username'@'localhost' IDENTIFIED BY 'password';
You will have created the databasename in Step 4; write down the username and password values, as you will need them to complete the install.
- Upload the Drupal codebase to your web folder.
- Navigate to the URL of your site. Follow the instructions of the Install Wizard. You will need your databasename (created in Step 4), as well as the username and password for your database user (created in Step 5).