Skip to Main Content
Linux System Administration
book

Linux System Administration

by Tom Adelstein, Bill Lubanovic
March 2007
Intermediate to advanced content levelIntermediate to advanced
304 pages
11h 12m
English
O'Reilly Media, Inc.
Content preview from Linux System Administration
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, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Linux System Administration

Mastering Linux System Administration

Christine Bresnahan, Richard Blum
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9780596009526Supplemental ContentCatalog PageErrata