Installation xampp and WordPress on localhost

39
Install WordPress with Xampp - Luzan Baral - Twitter/luzanb

description

Install XAMPP on your home computer and use WordPress on XAMPP. Create Database using phpMyAdmin on XAMPP and use it for WordPress

Transcript of Installation xampp and WordPress on localhost

Page 1: Installation xampp and WordPress on localhost

Install WordPress with Xampp

- Luzan Baral- Twitter/luzanb

Page 2: Installation xampp and WordPress on localhost

What You Need

Xampp for Windows WordPress Browser (Mozilla/Chrome would be good)

Page 3: Installation xampp and WordPress on localhost

What is Xampp?

A Xampp (Apache, MySQL, PHP and …) bundle

A suite of the following software Apache MySQL PHP phpMyAdmin

Download from http://apachefriends.org/en/xampp-windows.h

tml

Page 4: Installation xampp and WordPress on localhost

What is WordPress?

A blog publishing system programmed in PHP

Uses MySQL as the backend (database) A free software to set up blogs Download from

http://wordpress.org/download/

Page 5: Installation xampp and WordPress on localhost

How To Do

Install Xampp

Create a database in MySQL with PhpMyAdmin

Install WordPress Software

Set up your blog

Page 6: Installation xampp and WordPress on localhost

Step 1: Install Xampp

Double Click xampp-win32-?.?.?-installer.exe

to launch the installer

Page 7: Installation xampp and WordPress on localhost

Click “Next” to Continue

Page 8: Installation xampp and WordPress on localhost

Set Destination Folder and click “Next”

Page 9: Installation xampp and WordPress on localhost

Select the Apache & MySQL as Service And Click “Install”

Page 10: Installation xampp and WordPress on localhost

Installation in Progress…

Page 11: Installation xampp and WordPress on localhost

Installation Complete

Page 12: Installation xampp and WordPress on localhost

Allow Access

Page 13: Installation xampp and WordPress on localhost

You Must See This MessageThen Click “OK”

Page 14: Installation xampp and WordPress on localhost

The Apache & MySql must be Startedif not, You must Click “Start”

Page 15: Installation xampp and WordPress on localhost

Services Started

Page 16: Installation xampp and WordPress on localhost

Xampp Icon on System Tray

Page 17: Installation xampp and WordPress on localhost

Checking the Xampp Installation

Type http://localhost on the address bar of your web browser. The following screen appears…

Page 18: Installation xampp and WordPress on localhost
Page 19: Installation xampp and WordPress on localhost

Step 2: Create a database

Launch PhpMyAdmin Create a database named “wordpress_db” Create a user named “wordpress” Grant all privileges to the user “wordpress”

on the database “wordpress_db”

Page 20: Installation xampp and WordPress on localhost

Select “phpMyadmin” in Tools

Page 21: Installation xampp and WordPress on localhost

Create a new database by name “wordpress_db” (or any other name)

Page 22: Installation xampp and WordPress on localhost

Now Click Here Now, Click Here

Page 23: Installation xampp and WordPress on localhost

Click “Privileges”

Click Here

Page 24: Installation xampp and WordPress on localhost

Add a New User

Click Here

Page 25: Installation xampp and WordPress on localhost

Click “Go”

Enter “wordpress” for user name and “localhost” for Host.

Type your passwordSelect “Use text field” for all

Click “Check All”

Page 26: Installation xampp and WordPress on localhost

Select wordpress\_db

Page 27: Installation xampp and WordPress on localhost

Click “Check All”

Click “Go”

Page 28: Installation xampp and WordPress on localhost

Step 3: Install WordPress

Extract WordPress files to the “htdocs” folder in Xampp installation folder

Rename “wp-config-sample.php” to

“wp-config.php” Open “wp-config.php” and fill in the database

information Run “install.php” from the Web Browser to install

WordPress Software

Page 29: Installation xampp and WordPress on localhost

Extract WordPress files

C:\xampp\htdocsC:\xampp\htdocs

Page 30: Installation xampp and WordPress on localhost

Browse to the “htdocs” folder

Page 31: Installation xampp and WordPress on localhost

Open “wordpress” folder

Open this file withNotepad

Page 32: Installation xampp and WordPress on localhost

Open wp-config-sample.php with any text editor (like Notepad)

Page 33: Installation xampp and WordPress on localhost

Fill in the database information

Enter ‘wordpress_db’ for DB_NAME and DB_USEREnter the password for DB_PASSWORD

which you provided while creating the user and also the hostname

Page 34: Installation xampp and WordPress on localhost

Save the file as wp-config.php

Page 35: Installation xampp and WordPress on localhost

Now Open: http://localhost/wordpress

Now you can see “wordpress” Installation.Type your Blog Title, username & Your Mail

Click “Install WordPress”

Page 36: Installation xampp and WordPress on localhost

The Second Step

Note usernameand password

Click Here to log in

Page 37: Installation xampp and WordPress on localhost

WordPress Admin Login

Enter Username and Password. Click Login

Page 38: Installation xampp and WordPress on localhost

Your Blog Dashboard

Click on “Visit site” to view your blog

Page 39: Installation xampp and WordPress on localhost

Your Blog is ready !