
148
|
Chapter 6: Administering Apache
Query OK, 0 rows affected (0.01 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
mysql> quit;
Bye
Next, load the Drupal database definitions into MySQL:
# mysql -u root -p drupal < database/database.4.0.mysql
Enter password:
#
Then edit the file sites/default/config.php and change the line:
$db_url = 'mysql://username:password@localhost/databasename';
to:
$db_url = 'mysql://drupal:drupalpw@localhost/drupal';
Configuring Drupal
In your web browser, go to http://server1.centralsoft.org/drupal. The first page (in the
version we tested) says:
Welcome to your new Drupal website!
Please follow these steps to set up and start using your website:
Create your administrator account
To begin, create the first account. This account will have full administration rights
and will allow you to configure your website.
Click on the “create the first account” link. On this second page, type your desired
account name (or your full name) in the “Username” text field and your email
address in the “E-mail address” field. Then press the “Create new account” button.
You’ll be sent back to the first page, which now says at the top:
Your password and further instructions have been sent to your e-mail address.
Check your email for the generated one-time password, and log into Drupal in the
“User login” area. You’ll be sent to a page to specify a permanent password. After
setting this, ...