Installing Drupal on Linux with Apache Webserver
To install and run Drupal, your web server must meet certain minimum requirements.
SYSTEM REQUIREMENTS
WEB SERVER
Apache
DATABASE
Drupal 6: MySQL 4.1 or higher, PostgreSQL 7.1,
Drupal 7: MySQL 5.0.15 or higher with PDO, PostgreSQL 8.3 or higher with PDO, SQLite 3.3.7 or higher
PHP
Drupal 6: PHP 4.4.0 or higher (5.2 recommended).
Drupal 7: PHP 5.2.5 or higher (5.3 recommended).
Drupal 8: PHP 5.4 or higher.
Phpmyadmin
The user interface for creating a database
STEP 1: DOWNLOAD AND EXTRACT DRUPAL
Download the needed version of Drupal from https://drupal.org/download.
Move the downloads into the web server’s document root or your public HTML directory and extract it
STEP 2: CREATE THE DATABASE
Browse the URL localhost/phpmyadmin
- Sign in to phpMyAdmin as the root user.
- Create database forex:-drupal6
STEP 3: CREATE THE SETTINGS.PHP FILE
Your Drupal download comes with a sample configuration file at sites/default /default.settings.php.
Copy the default.settings.php file and save the new file as settings.php in the same directory.
-change file permission settings.php to read/write with chmod 644 settings.php
-continue the installation.
-after all, installation finished, change file permission settings.php to read-only with chmod 755 settings.php
Create a directory named ‘files’ to includes all uploaded files in sites/default/files
-chmod 777 sites/default/files
to make files directory readable and writeable
STEP 4: RUN THE INSTALLATION SCRIPT
To run the install script point your browser to the base URL of your website.
The base URL is defined in your Web server configuration file and is specific to the document root where you placed your Drupal files. If you have installed Drupal on a Web server this will likely be a domain name, such as http://example.com. If you have installed Drupal on your local computer, this URL might be http://localhost.
Drupal 6
http://localhost/example.com
1. Choose the preferred language
2. You will be guided through several screens to set up the database and create tables.
Next, add the user account and provide basic web site settings.
After successful installation, you will be directed to the home page of a drupal site




Post a Comment