Many webhosts now offering “One Click Install” of WordPress for your website. You don’t have to do anything here , only wait for some minutes after a simple click . It’s called automatic installation mode. This Guide is for “Installing WordPress ” Locally to your Computer using a localhost . Process of Installing WordPress locally is very much similar to Installing wordpress , Manually , on your website.
KNOW WHAT IS A WEBHOST:
To access your web all over the world, you need a Hosting Provider (Ex GoDaddy , BlueHost etc) who offers a Home for your website. You have to buy some space from their Public Server for doing the same. Some hosting companies offering “hosting” free . Ex . www.bytehost.com.Get Confirmed, If you using a free hosting service, you are losing many important services, offered in a Paid Hosting. Your own PC can act as a “server”, if it is connected to any network. In whole, A webhost solution provider helps you, publishing your website worldwide.
KNOW WHAT IS A LOCALHOST:
A localhost helps you to test “How your website/blog looks” without any access to internet. Testing your blog/website in offline mode is a better option to see the Result of your Scientific Research on your website. It gives you a Room and environment of Internet, though actually it’s not connected to. It is very much useful when you are using a server-side language in building your web.
WordPress uses PHP language. To run wordpress , our Host needs
1.PHP version 5.2.4 or greater
2.MySQL version 5.0 or greater
Hence we need , a localhost that supports PHP 5.2.4 or above and MySql v 5.0 or above. .Some of such popular localhosts are:
- XAMPP(For Linux , windows , Mac , solaris )
- WAMP(for Windows OS)
- MAMP (For MAC Operating System )
We are covering wordpress installation on xampp , here. For installation of Xampp on your PC , Refer “How to install xampp”.
INSTALLING WORDPRESS :
STEP1: Open your xampp control panel. Run Apache and My Sql module.
Step3: Click on “phpmyadmin”. . Its under “Tool” section.
Step4: Click on “Databases”. Give any name you want in “Create database” form. We have put “techriff” here. Click on “Create”option. Your Database will be created.
After Clicking on “create” option, your database name appears as follows.
Note your Database name
Step5: Click on “USERS” tab.
Click on “Add user”.
Under “Login Information”,
- Add a username . We have put “admin” . Give a name of your choice.
- Under Host , select local host from dropdown menu.
- Under “password” section, put your password. You can leave this field empty. But it’s not a best practice.
Note Username and Password.
Below “Database to user “ block , “Global priviledge” is there. Click on “Check all” . You will find all tiny boxs will be checked.
A “Go” option is present below. [Below right corner]. Click on that. A screen will appear as below. It shows the user overview that you have added recently.
So far, We have created a database and added a user .
Step6: Visit www.wordpress.org. Download wordpress soft in zip format. Extract “wordpress” file from it.
- Open C Drive. [Open the drive where you have installed xampp]
- Open Xampp folder.
- Open “htdocs” folder.
If you want to access your web via root directory i.e localhost/wordpress . You can directly paste the unzipped “wordpress” file to htdocs folder.
- Add a new folder and name it. We have named it “siteone”. Copy your “wordpress” folder and paste it in “siteone” folder.
Open this wordpress folder. Find wp-config-sample file. We will edit this file . adding database name , username , and password. For editing this file , An editor soft is needed . We are using “Notepad++” Here. Download this editor from here.
After installing this editor , open wp-config-sample in notepad++. Add database name , username and password that you have noted down.
Save it as “wp-config” file .
Step8: Open your Browser . Type “localhost/siteone/wordpress” . If you haven’t created siteone folder ,and directly pasted wordpress unzipped file into htdocs folder , Type , “localhost/wordpress”.
You will find a similar page below with a wordpress logo , if you have successfully configured “wp-config-sample” file.
Enter required datas and click “install wordpress”.
Voila ! Its Done . You will find a similar page as below. Click on Login .
A page will be shown as below. Put your username and password and login.
You will be redirected to your site Dashboard. Visit your site clicking on your “Site Title”
Its Done !. Here is your site ar its simple form.
To access your site dashboard from now onwards,
- Run your xampp .[apache and sql module]
- Open your browser
- Type “localhost/siteone(put the name of the folder where u pasted wordpress unzipped file)/wordpress/wp-login.php”
- Put username and password detail. You will have access to your dashboard.
- You can access your site putting below url
localhost/siteone(put the name of the folder where u pasted wordpress unzipped file)/wordpress/
If you like this article , Share it with your networks .
Latest posts by TechRiff (see all)
- Finally GitHub has a self-paced training course in its List - 3 November, 2015
- Back Up WhatsApp Messages, Photos And Videos To Google Drive - 9 October, 2015
- How to Disable Auto Play in Facebook - 30 September, 2015