Thursday, January 8, 2015

Installing WordPress on Localhost

Before we do the WordPress installation, we must first install on the computer or server localhost us. Localhost is a application that is installed on a computer or server to provide facilities to its users access the Local Hosting. Software used to build a localhost namely, XAMPP. The software is a basic application in the development of web-based applications.
XAMPP is a free software that acts as a server to build a localhost. XAMPP consists of Compilation of various programs in one package, namely: Apache HTTP Server, MySQL database, and interpreters for scripts written in PHP and Perl programming languages.
If you do not have XAMPP installer, you can download the software free of charge hereIn this article I use xampp-
win32-1.7.3. Here is a step by step to install XAMPP:
Run XAMPP intaller, then your computer will show the following picture:
Then click install, the install process will run until the following display appears
Type "y" to continue, it will display the following:
Type "n" to put XAMPP applications remain on the C drive, then the process will run as shown below:
Then press "enter" to continue, it will display the time zone information as shown below:
Press "enter" to continue, it will display a menu of options such as the following:
Select the number 1 to run XAMPP. You see the XAMPP Control Panel Application window. There are several items of XAMPP applications: Apache, MySql, FileZilla and Mercury. Click "Start" all these items until everything is "Running" as shown below:
Then open your browser page such as: Mozilla, Google Chrome, and so on. Then type in the browser "localhost"
Then the browser will display the home page of the application XAMPP as follows:
Next is to create a database that we will use for the creation of websites with WordPress. You see on the left hand column XAMPP application's home page. Then click "phpMyAdmin", After the phpMyAdmin page opens, look at the tabs on the top menu, then click on "Databases", the page will appear as below:
Then on the "Create new database" type the name of the database that we will create. In this article I use "myblog". Then click "Create".
Then we create a database user by clicking the "Privileges". Then look at the Add a new user, type the user name in the "User name". In this article I use the name "administrator" and in the "Host" type localhost and fill up your password in the "Password" and "Re-type" column.
Then on the Global Privilege click "Check All".
Then click "Go".

The next step is to install WordPres. To install this application, we must have the installer wordpress files on our computer. In this article, I use wordpress-4.0 which can be downloaded for free here.
Please follow the steps below to install WordPres:
Ekstak wordpress-4.0.zip file with WinZip or WinRar application to be a folder called "wordpress"
Change the folder name as you wish. Here I use the name "myblog". Then move the folder to folder xampp >>htdocs located on drive C on your computer.
Then open your browser page, and then type localhost/myblog, or customize to have your wordpress folder name change earlier.
Then the browser page will appear as below:
Then click on "Let's go" will appear as below:
Fill in the "Database Name" with the name of the database you created above. Followed by user name and password. For "Database-Host" filled with localhost. Then click "Submit". Then will appear the following page:
Then click "Run the install", will appear the following page:
Fill in the "Site Title" with the blog title to your liking. Then the "Username" and "Password" in accordance with your wishes. Followed by filling the "Your email" with your email address. Also worth noting is that you should always remember your username and password. Then click "Install WordPress", the install process will run.
If the process is installed successfully, it will appear below:

Then click "Log in", it will appear below:

Then fill out the "Username" and "Password" that you created earlier, and then click "Login" will appear wordpress dashboard as below:

With the advent of the view of the above, then install wordpress on localhost process has been completed. For then, you can set a variety of things from the website that you create through the display above, and you act as an admin on the website.
Do not forget if you want to get out of the dashboard, point the mouse pointer to the top right corner of the dashboard, and then click "Log Out".
If at any time you wish to re-enter as admin, first run the application XAMPP, then open your browser. Then type: localhost/your_site_name/wp-admin. For example, see the following picture:
For writing "myblog" can be changed according to the name of the site that you created. Good Luck !

No comments:

Post a Comment