Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,163,743 members, 7,855,144 topics. Date: Sunday, 09 June 2024 at 02:59 PM

How To Install Wordpress On your/a Local Host Server - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / How To Install Wordpress On your/a Local Host Server (2607 Views)

I Need A Webmail On Host Server. How To Install?? / Please, How Can I Install Wordpress On Ampps? / [tutorial] Install Wordpress In Your PC Using Wamp Server (2) (3) (4)

(1) (Reply) (Go Down)

How To Install Wordpress On your/a Local Host Server by FRInteractives: 7:39am On Nov 27, 2014
Hello NL users and Webmasters. I will show you an easy way to install wordpress on your local server. Here are the prerequisites for this tutorial to commerce:
1. A PC (a Computer)
2. A local server (I will be using Xampp get it from www.apachefriends.org available for Windows, Mac, Linux)

So let's begin

I will pause for now just want to know who is interested in this tutorial just drop a comment and I will continue with this wonderful tutorial.
Re: How To Install Wordpress On your/a Local Host Server by hilaryiwens05: 10:09am On Nov 27, 2014
ahhhhh embarassed embarassed undecided undecided undecided ...y do people always do dis. if u want to teach sometin....just go ahead and do dat instead of saying people should comment and show deir interest. as long as u get views to ur post, people are interested. so start ur tutorial and people will join

1 Like

Re: How To Install Wordpress On your/a Local Host Server by emmyvet(m): 11:43am On Nov 27, 2014
hilaryiwens05:
ahhhhh embarassed embarassed undecided undecided undecided ...y do people always do dis. if u want to teach sometin....just go ahead and do dat instead of saying people should comment and show deir interest. as long as u get views to ur post, people are interested. so start ur tutorial and people will join

Correct many people come and just follow the topic
Re: How To Install Wordpress On your/a Local Host Server by FRInteractives: 3:23pm On Nov 27, 2014
Thanks for the feedback I will continue the tutorial
Re: How To Install Wordpress On your/a Local Host Server by FRInteractives: 6:54pm On Nov 27, 2014
Guys below is my tutorial enjoy!!!

Step 1: Download and install the latest version of XAMPP
For this process to work, we are going to first have to download and install the latest version of XAMPP.
What is XAMPP?
Many people know from their own experience that it’s not easy to install an Apache web server and it gets harder if you want to add MySQL, PHP and Perl.
XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use – just download, extract and start.
Basically, XAMPP is the environment that allows us to install WordPress on a Windows computer.
Download the latest version of XAMPP for Windows
To download XAMPP you need to navigate to the Apache Friends website (http://www.apachefriends.org) and click the download link.
We want to install XAMPP for Windows

We want to install XAMPP for Windows
The easiest and least error free method of installing XAMPP is to download and install the XAMPP installer. XAMPP is available as three options.

Installer – Probably the most comfortable way to install XAMPP.
Zip – For purists: XAMPP as ordinary ZIP archive.
7zip – For purists with low bandwidth: XAMPP as 7zip archive.

Scroll down on the XAMPP download page and find the latest version of the XAMPP installer. Click to download and save to your computer.
Download the Installer version of XAMPP

Download the Installer version of XAMPP
Install XAMPP For Windows on localhost
Once the installer has downloaded double click the .exe file to begin installation. In my case I download xampp-win32-1.7.4-VC6-installer.exe.
The setup application will begin. First is to select the language you wish installed.
select the language you wish installed

select the language you wish installed
Next is to select the location of where you would like XAMPP installed. In my case and for ease of demonstration I want it installed on my C:\ drive so I will leave the preset location as it is.
Select location to install XAMPP

Select location to install XAMPP
After you have selected this step, the step step asked whether you want to install XAMPP as a Windows Service and if you want it added to the start menu and a desktop icon added. I selected “Yes” for the start menu item and desktop icon. I also what Apache and MySQL installed as a Windows Service.
Select the XAMPP Options

Select the XAMPP Options
Once you click the next button, XAMPP will begin installing onto your computer. Just before installation is complete you may be prompted to allow XAMPP through the Windows firewall.
You have successfully install XAMPP

You have successfully install XAMPP
Congratulations! You have successfully installed XAMPP For Windows. We now have development environment setup and installed. After the installation is complete, you will find XAMPP under Start | Programs | XAMPP. You can use the XAMPP Control Panel to start/stop all server and also install/uninstall services.
Now we need to make sure we have XAMPP running. Double click the XAMPP desktop icon or navigate to the art menu and start XAMPP from there. It must be running for us to install WordPress. Look at the below image for confirmation that the XAMPP server is running. The image displays the XAMPP control panel for start/stop Apache, MySQL, FilaZilla & Mercury or install these server as services.
The XAMMP control panel running on localhost

The XAMMP control panel running on localhost
Test XAMPP is running on localhost
Finally, we want to test to make sure that all went well and our XAMPP installation was successful. Open up your web browser and navigate to http://localhost. You should be automatically redirected to the XAMPP page. You should receive a message that states “Congratulations: You have successfully installed XAMPP on this system!“.


Now we Install WordPress



Step 2: Download the latest version of WordPress
Now we need to download and install the latest version of WordPress. Navigate to the WordPress website (http://www.wordpress.org) and download the latest version. For this article I am going to be using WordPress version 3.2.1 which is currently the latest version.
After you download WordPress extract the contents to a location on your computer that is easily assessable. I extracted the folder to my desktop. The folder is named “WordPress”.

Download the latest version of WordPress
Now that we have the development environment corrected installed and working, we are going to want to create our first website using localhost.
Locate the folder or location where you extracted the “WordPress” folder. Copy this folder ( Ctrl->C).
Navigate to the root of your XAMMP installation c:\xampp\htdocs. This is the location where we create our website using localhost. The default XAMPP folder should contain a few folders and a bunch of system files. As pictured below. Leave these files as they are.
XAMPP default htdocs folder after installation

XAMPP default htdocs folder after installation
Paste the folder that you just copied from your desktop. (Ctrl->V ). For ease of simplicity I have decided to keep the folder from the WordPress download as the default “WordPress” folder name, however you can name the folder anything your like.
If you do decide to rename the folder just be aware of the name as you will need to access the website by that name when viewing the site.
Move our WordPress folder into c:xampphtdocs

Move our WordPress folder into c:\xampp\htdocs
Create the WordPress MySQL database
We are well and truly into the swing of things now. At this point it is time to create our blank MySQL database for WordPress to use. When we installed XAMPP it also comes complete with phpMyAdmin.
What is phpMyAdmin?
phpMyAdmin is a free software tool written in PHP intended to handle the administration of MySQL over the World Wide Web. phpMyAdmin supports a wide range of operations with MySQL. The most frequently used operations are supported by the user interface (managing databases, tables, fields, relations, indexes, users, permissions, etc), while you still have the ability to directly execute any SQL statement.
OK, getting back to creating our localhost MySQL database. Open up your web browser and navigate to http://localhost/phpmyadmin/
If you went the step further when installing XAMPP and set up the security you will end up at the phpMyAdmin login page as pictured below. If you did not set up security yet, you will gain immediate access into the phpMySQL area. Enter your login credentials to access this area.
phpMyAdmin localhost main login page


Ok, now to create the database to hold the information and data for your WordPress site. Using the above picture as a guide half way down the page and under the header “MySQL localhost” you will see an area where you can “Create new database”. This is the area where we simple do that, create a new database. I am going to keep it simple and name my database “WordPress”. You can call the database anything you like. You just need to remember the database name as you will need it at a later stage.
Enter your database name and click the “Create” button. Your database will be created and you will be redirected to the new database page as pictured below.
MySQL database successfully created on localhost

MySQL database successfully created on localhost
At this point you have just created a blank database. Don’t be alarmed that there are no database tables as yet. This is normal. We are going to use the WordPress installation program and script to create these tables for us. You can now close down this page if you like or minimize it.
We are now moving down the home straight, It is time to run the WordPress installer script and install WordPress.
Installing WordPress
OK, now you have your “WordPress” folder sitting inside the website root C:\xampp\htdocs\wordpress.
Now we need to open up a web browser again and start the installation script. Navigate to http://localhost/wordpress
You should reach the default WordPress installation page. If you have not modified any of the files inside the folder you should see a screen stating that there is no WordPress config file. This is normal. The excact message states this:

There doesn’t seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.

Go ahead and click the “Create a Configuration File” button to continue.
Read the contents of the next page and click the “Lets Go” button. This page just explains that you will need to input some data and information over the next few step to set up the configuration file correctly.
Now we need start inputting some information for our setup. Go ahead and complete these details.
WordPress Setup Configuration File on localhost


These are the explanations for the various input fields

Database Name – This is the name that you gave the MySQL database when you created it earlier in PHPMyAdmin.
User Name – This is the User Name of the MySQL user to be able to read from the database.
Password – This is the User Name of the MySQL user to be able to read from the database.
Database Host – This is the location of the host that is hosting the MySQL database. In our case we simple leave it as default “localhost“.
Table Prefix – This field is convenient if you have multiple WordPress installations running on localhost. To keep it simple I am going to leave it as the default “wp_” however you can delete this or change it to anything you desire.

If all go wells and the script was able to communicate with MySQL you should be moved onto the next step that states that you have made it through this part of the installation. You will also see the button: “Run the install”. Go ahead and click this button to continue.
At this point, is is time to personalize your WordPress installation. You will now be presented with another forms that asks you for information and data relevant to the website you are setting up.
Personalize your WordPress installation

Personalize your WordPress installation
Here is an explanation of the various fields:

Site Title
– This is the name of the website you want to create. In my case I am going to input “WPInsite”. You cane change this later on through the WordPress dashboard.
Username – This is the admin username you will use to access your WordPress dashboard. For security reasons I highly advise that you change this username to something that is relevant to you. Try not to use the default “admin” username.
Password – Enter a secure password that you can remember. This is the password you will use along with the Username to gain access into the localhost WordPress dashboard. There is a strength indicator that changes as you type your password. Use this as a guide as to how secure your password will be.
Your E-mail – Enter your email address here. This is the main email address WordPress will use to process email and so forth.
Allow my site to appear in search engines like Google and Technorati. – Place a check in this checkbox if you wish your website to be listed by Search Engines such as Google and Technorati. At this stage because we have installed WordPress on localhost as more of a sandbox account and development system we do not want anybody else accessing our site at this stage. When you move your website to a production server at a latter stage you should place a check in the checkbox as you want Search Engines and Robots to spider your website.

Fill out your details and click the “Install WordPress” button
You have successfully installation WordPress with XAMPP on localhost
Congratulations, you have just successfully installed WordPress with XAMPP on localhost. The screen you are now presented with informs you that your installation was successful. It also displays your username on the page. For security concerns your password it not displayed on the page.
There is one last button on this page. “Log In” Click this button to access you new WordPress dashboard. Use the username and password you entered earlier during installation.
Enter your WordPress credentials to access the Dashboard

Enter your WordPress credentials to access the Dashboard
Once you enter your login credentials you will be directed towards the main WordPress dashboard page. From this area you have the ability to totally modify your website details, themes, settings and content.
Main WordPress Admin Dashboard


Navigate your way around the dashboard so that you are familiar with where certain pages are and how to achieve certain tasks.

Finally
This was a fairly lengthy article and there were quite a few steps involved in setting WordPress up on localhost using XAMPP.
To some up the task. You downloaded and installed XAMPP on locahost. You created your MySQL database to use with WordPress and finally you setup and installed WordPress.
Setting WordPress up in this fashion is a great way to test and create your websites. Developing and deploying WordPress websites in this fashion is great for a couple of reasons

You do not have bandwidth lag as you are accessing the site and database from your server, not relying on a third party hosting provider on the other side of the world.
If you make any visual mistakes and are modifying or designing your theme, this is a great way as you are the only person see the site. You visitors do not have access to this area so they will not see your half designed site.

I hope you enjoyed this article and it has given you a good understanding of how to Install WordPress on localhost using XAMPP. In a future article I will demonstrate how to export your sandbox or development site over to a live production server i.e a remote Web Host.

Thanks


FR Interactives Team

2 Likes

Re: How To Install Wordpress On your/a Local Host Server by FRInteractives: 6:57pm On Nov 27, 2014
Please comment on your areas of difficulties and get your speedy answers
Re: How To Install Wordpress On your/a Local Host Server by fattbabakay(m): 8:04am On Nov 30, 2014
Coooooooooooooool
Re: How To Install Wordpress On your/a Local Host Server by iykepromotions: 9:29am On Nov 30, 2014
please op i don't know computer much. can you help me to install it even for a fee? my website is julanky.com
Re: How To Install Wordpress On your/a Local Host Server by Olaide1295: 12:27pm On Nov 30, 2014
been following...... i downloaded the installer xampp-win32-5.6.3-0-vc11-installer but its not opening
i am getting " xampp-win32-5.6.3-0-vc11-installer" is not a valid win32 application
Re: How To Install Wordpress On your/a Local Host Server by FRInteractives: 1:02pm On Nov 30, 2014
Thanks for the feedback. That error message ! What OS (Operating System) are you running Xampp on?
Re: How To Install Wordpress On your/a Local Host Server by Olaide1295: 1:12pm On Nov 30, 2014
FRInteractives:
Thanks for the feedback. That error message ! What OS (Operating System) are you running Xampp on?
windows 7.
Re: How To Install Wordpress On your/a Local Host Server by FRInteractives: 1:24pm On Nov 30, 2014
@Olaide1295 Wow that's weird! Ok are you installing Xampp with administrative Rights I.e Are you logged in as an administrator?? Check this

And secondly, the version of Xampp you downloaded is it compatable with your OS processor I.e is it the 32bit version or the 64bit version? If your Windows 7 operating system is 32bit, download the 32bit version of Xampp

Or if its 64bit, download the 64bit version too.

To know your operating processor (32bit or 64bit) click on start, then right click on computer and click on properties there you will see your system information.
Re: How To Install Wordpress On your/a Local Host Server by Olaide1295: 10:03pm On Nov 30, 2014
FRInteractives:
@Olaide1295 Wow that's weird! Ok are you installing Xampp with administrative Rights I.e Are you logged in as an administrator?? Check this

And secondly, the version of Xampp you downloaded is it compatable with your OS processor I.e is it the 32bit version or the 64bit version? If your Windows 7 operating system is 32bit, download the 32bit version of Xampp

Or if its 64bit, download the 64bit version too.

To know your operating processor (32bit or 64bit) click on start, then right click on computer and click on properties there you will see your system information.
my laptop is 32 bit os,i av tried running as admin but it is still d same problem.
do i av to download any other file aside the installer?
Re: How To Install Wordpress On your/a Local Host Server by FRInteractives: 10:11pm On Nov 30, 2014
Have you tried to install the 32bit version of Xampp for Windows? If you have and its still showing the same thing I will give a version I'm using now just text me your email or add me up via watsapp and I will send it to you as a zip file so you could run it on your system

Text, Call, Whatsapp: 2348072611343
Re: How To Install Wordpress On your/a Local Host Server by Besh1295: 12:18pm On Dec 01, 2014
FRInteractives:
Have you tried to install the 32bit version of Xampp for Windows? If you have and its still showing the same thing I will give a version I'm using now just text me your email or add me up via watsapp and I will send it to you as a zip file so you could run it on your system

Text, Call, Whatsapp: 2348072611343
Re: How To Install Wordpress On your/a Local Host Server by FRInteractives: 12:06am On Dec 02, 2014
Sorry for the delay
Files will be sent to you tomorrow 2nd December, 2014
Re: How To Install Wordpress On your/a Local Host Server by Olaide1295: 9:49pm On Dec 05, 2014
op.....pls continue with the tutorials
God bless you
Re: How To Install Wordpress On your/a Local Host Server by FRInteractives: 10:43pm On Dec 05, 2014
Before I go on to the next part of this tutorial, Post your areas of difficulties, questions and reviews.
Re: How To Install Wordpress On your/a Local Host Server by Nobody: 11:15pm On Dec 05, 2014
hilaryiwens05:
ahhhhh embarassed embarassed undecided undecided undecided ...y do people always do dis. if u want to teach sometin....just go ahead and do dat instead of saying people should comment and show deir interest. as long as u get views to ur post, people are interested. so start ur tutorial and people will join

So you yourself. Your interested?
Re: How To Install Wordpress On your/a Local Host Server by hilaryiwens05: 6:09am On Dec 06, 2014
abeg free me, am not a kid with wordpress
pureguide:


So you yourself. Your interested?
Re: How To Install Wordpress On your/a Local Host Server by Nobody: 7:36am On Dec 06, 2014
hilaryiwens05:
abeg free me, am not a kid with wordpress

Mr know all.
Re: How To Install Wordpress On your/a Local Host Server by hilaryiwens05: 8:41am On Dec 06, 2014
Yes ooo
pureguide:


Mr know all.
Re: How To Install Wordpress On your/a Local Host Server by debeginin(m): 9:33am On Dec 06, 2014
Great job Sir.Pls following 100%
Re: How To Install Wordpress On your/a Local Host Server by FRInteractives: 10:44pm On Dec 06, 2014
Thanks for the comments and being a Mr. Know all is not bad

Questions, comments, suggestions are welcomed

Part 2 of this tutorial "Moving Wordpress from Local Host to Remote Host" is in progress and will be published soon
Re: How To Install Wordpress On your/a Local Host Server by FRInteractives: 10:45pm On Dec 06, 2014
Thanks for the comments and being a Mr. Know all is not bad

Questions, comments, suggestions are welcomed

Part 2 of this tutorial "Moving Wordpress from Local Host to Remote Host" is in progress and will be published soon



#FR Interactives
Re: How To Install Wordpress On your/a Local Host Server by Samuelc7(m): 1:22am On Dec 11, 2014
This is wonderful, i tried it and i now have wordpress working offline in my computer. Thumbs up.
Re: How To Install Wordpress On your/a Local Host Server by FRInteractives: 1:59pm On Dec 11, 2014
We are happy this tutorial help you a lot @samuelc7

if you are based in Port Harcourt, we will be having a WordPress Workshop by January 2015 (if Jesus delays his coming) and its going to be a wonderful one.

for more info
Whatsapp or call: 2348072611343
BBM: 31076DE9


Regards,

FR Interactives

(1) (Reply)

Gurus In The House - I Think My Nairaland Account Have Been Hack. / Multiple content keywords to boost your SEO with yoast premium for just a token / .

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 56
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.