drupalxamppxp2 1231342958532404 1

46
Installation of Drupal with XAMPP on Windows XP Rupesh Kumar A [email protected]

Upload: vijayraghav

Post on 15-Jan-2015

1.078 views

Category:

Technology


0 download

DESCRIPTION

about drupal software

TRANSCRIPT

Page 1: Drupalxamppxp2 1231342958532404 1

Installation of Drupal with XAMPP on Windows XP

Rupesh Kumar [email protected]

Page 2: Drupalxamppxp2 1231342958532404 1

DrupalAn open source web based content management system.Equipped with powerful blend of features.Supports a variety of websites ranging from personal blogs to large community-driven websites.

Page 3: Drupalxamppxp2 1231342958532404 1

XAMPPXAMPP is a bundle of Apache, MySQL, PHP, FileZilla and many other utilities. XAMPP is the ‘easiest’ way to test an AMP (Apache-MySQL-PHP) application.NOTE: XAMPP is only intended for use as a local test server which is available on your own computer. It has been created for ease-of-use, but not for production level security.

Page 4: Drupalxamppxp2 1231342958532404 1

Files Required for InstallationXAMPPDrupal

Page 5: Drupalxamppxp2 1231342958532404 1

Download LocationsXAMPP – www.apachefriends.org/en/xampp-windows.html Drupal – http://www.drupal.org

Page 6: Drupalxamppxp2 1231342958532404 1

Steps in Installation1. Extract XAMPP files.2. Setup XAMPP.3. Run XAMPP Services (Apache and MySQL).4. Create drupal database in MySQL.5. Set password for MySQL.6. Extract Drupal files.7. Enter database and server settings.8. Install Drupal Site and configure.

Page 7: Drupalxamppxp2 1231342958532404 1

Install XAMPPXAMPP may be installed in one of the following 3 ways:

Self-extracting zip archiveWindows MSI InstallerSource bundle

XAMPP Self-extracting zip archive has been used in this example.

Page 8: Drupalxamppxp2 1231342958532404 1

Extract XAMPP to a driveDouble click the XAMPP self-extracting zip archive.

Page 9: Drupalxamppxp2 1231342958532404 1

In the “Extract to:” column, type C:\ or click the button and select C: drive and click “Extract” button.

Page 10: Drupalxamppxp2 1231342958532404 1

Open the Extracted Folder C:\xamppRun setup_xampp.bat to setup XAMPP.

Page 11: Drupalxamppxp2 1231342958532404 1

Open XAMPP Control PanelDouble click xampp-control.exe to open XAMPP Control Panel Application.

Page 12: Drupalxamppxp2 1231342958532404 1

Start Apache and MySQL ServicesClick “Start” button next to Apache and MySQL.

Page 13: Drupalxamppxp2 1231342958532404 1

Test XAMPP installationOpen Web browser and type http://localhost or http://127.0.0.1 in the address bar. The pre-built XAMPP page appears. Under “Sprachen” (Language) section, click on “English”

Page 14: Drupalxamppxp2 1231342958532404 1

German Version

Page 15: Drupalxamppxp2 1231342958532404 1

English Version

Page 16: Drupalxamppxp2 1231342958532404 1

Create ‘drupal’ databaseOn XAMPP Page, click ‘PhpMyAdmin’ and create a new database ‘drupal’ with character set utf8 (unicode)

Page 17: Drupalxamppxp2 1231342958532404 1

Click phpMyAdmin

Page 18: Drupalxamppxp2 1231342958532404 1

Database name: drupalMySQL charset: UTF-8 Unicode

Click “Create” button

Page 19: Drupalxamppxp2 1231342958532404 1

New database ‘drupal’ createdClose phpMyAdmin.

Page 20: Drupalxamppxp2 1231342958532404 1

Set password for MySQLThe default user ‘root’ does not have password. Set password for the user ‘root’. In this example, password is admin.To set MySQL password, open Web browser, go to http://localhost/security, scroll down and click on http://localhost/security/xamppsecurity.php. This will open Security Console. Enter password for MySQL and click “Password Changing” button.

Page 21: Drupalxamppxp2 1231342958532404 1

Password changed. Restart MySQL.

Page 22: Drupalxamppxp2 1231342958532404 1

Restart MySQL in XAMPP Control Panel

Click “Stop” and “Start” button next to MySql.

Page 23: Drupalxamppxp2 1231342958532404 1

Extract drupal files to C:\xampp\htdocs folder

Page 24: Drupalxamppxp2 1231342958532404 1

Rename extracted folder to ‘drupal’ for simplicity

Page 25: Drupalxamppxp2 1231342958532404 1

Drupal settingsOpen ‘drupal’ folder, copy default.settings.php to the same folder and rename it to settings.php.Open settings.php with Wordpad and enter db_url and base_url.

Page 26: Drupalxamppxp2 1231342958532404 1

Copy default.settings.php and rename it to settings.php

Page 27: Drupalxamppxp2 1231342958532404 1

Open settings.php and enter $db_url and $base_url

Replace username by root, password by admin & databasename by drupal

Page 28: Drupalxamppxp2 1231342958532404 1

$db_url = ‘mysql://root:admin@localhost/drupal’;

Page 29: Drupalxamppxp2 1231342958532404 1

Now, scroll down and enter $base_url

Replace http://www.example.com by http://localhost/drupal NOTE: Remove the # sign at the beginning of the line.

Page 30: Drupalxamppxp2 1231342958532404 1

$base_url = ‘http://localhost/drupal’;

Save and Close settings.php file.

Page 31: Drupalxamppxp2 1231342958532404 1

NOTEThe settings shown in previously were entered directly in settings.php file. Alternatively, the same settings can be entered using the web form interface presented by Drupal.

Page 32: Drupalxamppxp2 1231342958532404 1

Install ‘Drupal’ siteOpen Web browser and enter http://localhost/drupal in the address barStep 1: Choose language. Click ‘Install Drupal in English’

Page 33: Drupalxamppxp2 1231342958532404 1

Step 2: Verify requirements – drupal will check for required settings.Step 3: Set up database

If database and URL settings have been entered in settings.php file, Drupal will jump to Step 4.If database and URL settings have not been entered in settings.php file, Drupal presents the following form (shown in the next slide). Enter the database and URL settings and click “Save and continue” button.

Page 34: Drupalxamppxp2 1231342958532404 1

Enter database name, database username, database password

Page 35: Drupalxamppxp2 1231342958532404 1

Click Advanced Options, enter Database Host, Database Port (enter only if other than standard port) and Table prefix (if multiple applications are sharing same database). Click Save and continue.

Page 36: Drupalxamppxp2 1231342958532404 1

Step 4: Install Site – drupal will install the site.

Page 37: Drupalxamppxp2 1231342958532404 1

Step 5: Configure Site – Drupal requires a few details for configuring the site. The following details are to be entered:

Site InformationAdministrator AccountServer Settings

Enter the details and click “Save and Continue” button.

Page 38: Drupalxamppxp2 1231342958532404 1

Site Information

Page 39: Drupalxamppxp2 1231342958532404 1

Administrator Account

Page 40: Drupalxamppxp2 1231342958532404 1

Server Settings

Page 41: Drupalxamppxp2 1231342958532404 1

Drupal Installation Complete!Drupal notifies about successful installation. Click on your new site to view your site

The mail server configuration warning may be ignored, as this is a local installation.

Page 42: Drupalxamppxp2 1231342958532404 1

New Drupal Site (http://localhost/drupal)

Page 43: Drupalxamppxp2 1231342958532404 1

Let’s change Site InformationGo to Administer > Site Configuration > Site InformationEnter Site Information and click “Save Configuration” button.

Page 44: Drupalxamppxp2 1231342958532404 1

Site Information

Page 45: Drupalxamppxp2 1231342958532404 1

NOTESPlease enter necessary parameters in settings.php before running drupal installation script.The settings.php should be writable, i.e., should not have ‘read only’ attribute. This is automatically taken care of by Windows when default.settings.php is copied as settings.php. In case the file is still read-only, right click on settings.php, go to Properties and uncheck the read-only attribute and click OK.Drupal will set back this file to read-only after installation.Set root password to MySQL.Remember Drupal Administrator Account password. It is needed for logging in to Drupal every time.

Page 46: Drupalxamppxp2 1231342958532404 1

Thanks ToDrupal TeamXAMPP Team

Please send comments & suggestions to [email protected]