Drupal is a is database driven (MySQL and PostgreSQL) content management
system, which supports pluggable modules that enable additional behaviors.
It is considered to be an excellent platform for developers due to its clean code and
extensibility, and it can also be used as a Web application framework.
The modules available for Drupal provide a wide assortment of features, for example:
- locale support
- workflow
- theme support
- content rating
- taxonomy support
- mailing list management
- error logging
- discussion forums
- photo galleries
- web based administration
- user management
- content versioning
- page caching for high performance websites
More information about Drupal can be found at:
http://drupal.org
The latest Drupal version can be downloaded from:
http://drupal.org/project
Drupal forum can be found at:
http://drupal.org/forum
Installing Drupal 4.6.4
Information
Overview of Drupal 4.6.4 requirements:
Operating system
|
- Windows (95/98/2000/2003/ME/NT/XP)
- Linux
- Sun Solaris
- HP-UX
|
Web server
|
- Apache (1.3.0 or higher) or (2.0 or higher)
- MS Internet Information Server (5.0 or higher)
|
PHP
|
- 4.3.3 or greater
- 5.0 or greater
|
Database
|
- MySQL (3.23.17 or higher)
- Postgres
|
Operating system used
Windows XP Home Edition Version 5.1 SP 2
Software prerequisites
Apache 1.3 or higher.
MySQL 3.23.55 or higher.
PHP 4.3.3 or higher or PHP 5.
Procedure
- Download and unzip drupal-4.6.4.tar.gz.
For example: C:\drupal-4.6.4
Note:
The size of the zipped file is 446 KB and unzipped it is 1,38 MB.
- Create a directory, for example: C:\mobilefish_drupal
- Copy the content of C:\drupal-4.6.4 into C:\mobilefish_drupal
- Update the C:\Tools\Apache Group\Apache2\conf\httpd.conf file.
Add the following lines below the httpd.conf file:
<VirtualHost 192.168.1.100:80>
ServerAdmin [email protected]
DocumentRoot c:/mobilefish_drupal
ServerName drupal.mobilefish.com
ErrorLog logs/drupal.mobilefish.com-error_log
#TransferLog logs/drupal.mobilefish.com-access_log
CustomLog "|c:/weblogs/rotatelogs.exe
c:/weblogs/drupal.mobilefish.com-access_%y%m%d.log 86400" combined
<Directory "c:/mobilefish_drupal">
Options +Includes
AddType text/html shtm
AddOutputFilter Includes shtm
AllowOverride All
</Directory>
</VirtualHost>
See an example of an httpd.conf file.
Note: AllowOverride All needs to be set if you want to display clean URLs.
Instead of the following URL http://drupal.mobilefish.com/?q=admin you will see:
http://drupal.mobilefish.com/admin
Admin | administer | settings: Enable Clean URLs
- Update the C:\WINDOWS\system32\drivers\etc\hosts file.
Add the following line:
127.0.0.1 drupal.mobilefish.com
- Start MySQL
- Create the Drupal database:
C:\Tools\mysql\bin>mysqladmin -uroot -pmysecret create drupal
where:
username = root
password = mysecret
database = drupal
- Load the Drupal database schema:
C:\Tools\mysql\bin>mysql -uroot -pmysecret drupal < C:\mobilefish_drupal\database\database.mysql
where:
username = root
password = mysecret
database = drupal
- Update file C:\mobilefish_drupal\sites\default\settings.php
and change the database connection:
$db_url = 'mysql://root:mysecret@localhost/drupal'
where:
username = root
password = mysecret
host = localhost
database = drupal
- Set $base_url to match the address to your Drupal site:
$base_url = 'http://drupal.mobilefish.com';
Note: Never add a forward slash at the end.
- Create subdirectory: C:\mobilefish_drupal\files
This subdirectory stores files such as
custom logos, user avatars, and other media associated with your
new site. The sub-directory requires "read and write" permission.
- (Re)start Apache.
- You can now launch your browser and point it to your Drupal site.
Type in browser:
http://drupal.mobilefish.com
- Create an account and login. The first account will automatically
become the main administrator account with total control.
- When an account is created you will see the following:
- Login and change your user account.
|
|