16
Setting Up WordPress Offline ~ The Development Environment in 15 Easy Steps by Amol Dhir © www.mintyrich.com

Setting Up Wordpress Offline

Embed Size (px)

DESCRIPTION

Tutorial on How to set Up Wordpress for offline development.

Citation preview

Page 1: Setting Up Wordpress Offline

Setting Up WordPress Offline~

The Development Environment in 15 Easy Steps

by

Amol Dhir

© www.mintyrich.com

Page 2: Setting Up Wordpress Offline

A Brief Look at the Technologies Involved

• PHP: PHP Hypertext Preprocessor, is the language in which WordPress is written

• Apache: It is a web server, that we are going to use during the development phase.

• MySql: This is the database, which stores all the information.

The pleasant part is that we do not need to have a deep knowledge of any of the above in order to build a

website using WordPress.

©www.mintyrich.com

Page 3: Setting Up Wordpress Offline

Download XAMPP

XAMPP is a package installation which provides us with all the recourses discussed with one installation and

requires no genius skills (as in case if you try and install PHP, Apache and MySql each manually)

XAMPP distribution is available as a free download at http://www.apachefriends.org/en/xampp.html

©www.mintyrich.com

Page 4: Setting Up Wordpress Offline

Install XAMPP

The installation process is easy, once the setup file is downloaded all you need to do is keep on clicking

through the process.

©www.mintyrich.com

Page 5: Setting Up Wordpress Offline

Choose the install location and select Apache and MySql as the services to be installed by XAMPP

©www.mintyrich.com

The Installation Process

Page 6: Setting Up Wordpress Offline

Completing the Installation

©www.mintyrich.com

Page 7: Setting Up Wordpress Offline

XAMPP Control Panel

Start Apache and MySql, if running in green (as above)appears then the installation is working fine and you

have completed half the task.

©www.mintyrich.com

Page 8: Setting Up Wordpress Offline

Configuring MySql User Details

Open XAMPP interface by accessing localhost (http://localhost).

The screen should look like in the picture above.

©www.mintyrich.com

Page 9: Setting Up Wordpress Offline

MySql & XAMPP Setting Up Directory Passwords

1. Access XAMPP security console fron the navigation panel on the main page (pic. as shown in previous slide) or alternatively typing http://localhost/security/xamppsecurity.php in your address bar and set the passwords of your choice as in the picture shown left.

2. Note down the passwords somewhere.

© www.mintyrich.com

Page 10: Setting Up Wordpress Offline

*Here you are required to enter the password set by you previously.©www.mintyrich.com

Creating Database for WordPress

Step 1: Login to phpMyAdmin, by clicking the phpMyAdmin link in the navigation panel on XAMPP main page , alternatively you may typehttp://localhost/phpmyadmin in the address bar of your browser.

Page 11: Setting Up Wordpress Offline

©ww.mintyrich.com

Creating Database for WordPress

Step 2: Setting up the database.

Page 12: Setting Up Wordpress Offline

Download & Unzip WordPress from www.wordpress.org

Unzip WordPress folder in htdocs folder of your XAMPP’s installation path.

©www.mintyrich.com

Page 13: Setting Up Wordpress Offline

Modifying “wp-config-sample.php” Step -1

Open wp-config-sample.php with notepad in Windows.

(from wordpress directory you have just installed.)

©www.mintyrich.com

Page 14: Setting Up Wordpress Offline

Modifying “wp-config-sample.php” Step -2

You need to modify the above underlined items here, the DB_NAME,DB_USER, and DB_PASSWORD which are wordpress, root &

the password you set respectively.

Once done save it as wp-config.php.

©www.mintyrich.com

Page 15: Setting Up Wordpress Offline

Access Your WordPress

Go to http://localhost/wordpress/wp-admin/install.php , fill in the simple information (as above) and access your

blog/website.©www.mintyrich.com

Page 16: Setting Up Wordpress Offline

Like everyone I also long for little appreciation and nice comments.I hope the tutorial was helpful.

Thank You - Amol

MintyRich | Simplistic eDesigns

©www.mintyrich.com

WordPress is an AUTOMATTIC invention.

Shared under: “Creative Commons Attribution-No Derivative Works 2.5 India License”<http://creativecommons.org/licenses/by-nd/2.5/in/>