Skip to Content
Linux System Administration
book

Linux System Administration

by Tom Adelstein, Bill Lubanovic
March 2007
Intermediate 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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Practical Linux System Administration

Practical Linux System Administration

Kenneth Hess
Mastering Linux System Administration

Mastering Linux System Administration

Christine Bresnahan, Richard Blum

Publisher Resources

ISBN: 9780596009526Catalog PageErrata