Category: WordPress

How to install WordPress locally

In the last tutorial, we had learned how to create a database  This tutorial we will see how to download WordPress and install it on our local computer. So how to install WordPress locally? Very easy do not panic. 

Firstly, Download WordPress

To download WordPress, please visit WordPress official website or click the link It will take 1-2 min to download the zip file.

Secondly, Go to Your WWW Folder in Wamp Server

Follow this path to access the folder C:wamp64www once you inside this folder you can create a new directory for your website. For example, we will give our website name “kakfas" so we will create a folder name kakfas.

Once you create a folder name “kakfas" you can access it from your browser by typing the URL http://localhost/kakfas

please see the screenshot below.

Thirdly, Unzip your WordPress file

Remember we download the WordPress zip files from the WordPress website, so now unzip this folder and copy all the files. Once you copy all the files from the WordPress folder go to your wamp server www folder an open “kakfas" folder and paste.

Now refresh the URL again http://localhost/kakfas  please see the screenshot below. You will see the WordPress installation start http://localhost/kakfas/wp-admin/setup-config.php and it will ask you to choose a language. So select language English click continue button.

Important, Read this page very carefully

Welcome to WordPress. Before getting started, we need some information on the database. You will need to know the following items before proceeding.

  1. Database name
  2. Database username
  3. Database password
  4. Database host
  5. Table prefix (if you want to run more than one WordPress in a single database)

We’re going to use this information to create a wp-config.php file. If for any reason this automatic file creation doesn’t work, don’t worry. All this does is fill in the database information to a configuration file. You may also simply open wp-config-sample.php in a text editor, fill in your information, and save it as wp-config.phpNeed more help? We got it.

In all likelihood, these items were supplied to you by your Web Host. If you don’t have this information, then you will need to contact them before you can continue. If you’re all ready…

So How to install WordPress locally, we have everything to continue the installation. we have a database that we already created you can see our previous articles about how to create a database

Now put all database info to continue, what is our database name?

Database Name: ournewdatabase
Username: root
Password: " " [no password is null]

So I already filled up the filed with the info, screenshot attached below, have a look.

However, follow the below steps, Screenshot attached below, Write your site title, username, password, and email for WordPress admin.

What is the WordPress admin?
The WordPress admin dashboard, often called WP Admin or WP admin panel, is essentially the control panel for your entire WordPress website. It's where you create and manage content, add functionality in the form of plugins, change styling in the form of themes, and lots, lots more.

Conclusion, Once you put all the information correctly, you will be able to see the WordPress dashboard and you can visit the site by clicking the “View Site" Based on our information anyone can create a WordPress website within 5 min. 


Create Database in MySQL

Let's see how we can create a database, in phpMyAdmin from our localhost to access phpMyAdmin you have to visit http://localhost/phpmyadmin/ so that you can create a Database in MySQL.

Open your Chrome or Mozilla Firefox Web Browser.

What is phpMyAdmin

phpMyAdmin is a free and open-source administration tool for MySQL and MariaDB. As a portable web application written primarily in PHP, it has become one of the most popular MySQL administration tools, especially for web hosting services. If you want to how to know to install the server on your laptop or pc you can see my previous article How to Install Server 

Create a Database

When you will visit the link http://localhost/phpmyadmin/ you will see the below screen.

However, for login to this admin panel, you have to use a username and password, normally most of the servers used the default user name “root” as we are using wamp server this is also the same. So what is the password?

Access Info:

Username: root
Password: no need to put any password leave the field empty

If you want to use MariaDB, you can select it from Server Choice, As we are using MySQL for our project, so we will leave it as it is and click on the “Go” button. 

Finally, we manage to enter into the admin panel. Let's Create Database in MySQL, now you have to follow a few steps to create a database. Firstly we will click on “New” from the left side database list area. Please have a look at the below photo to understand what I said.

Secondly, Now click on the “New” and You will see a new window, here you can write your database name. For example, I will give my database name “ournewdatabase” and I will click on the “Create” button. It will reload the page and create a database on the list and you can see it left side. Picture added below, please have a look.

In conclusion, Maybe if have a question what is my database name, username, and password?

Database Name: ournewdatabase
Username: root
Password: ” ” [no password is null]

However, if anyone wants to create a database they have to follow the same steps. When we will deploy we will use a paid server that time we will get a database password.


How to Install a Local Server

How to Install a Local Server. To run a WordPress website on your computer you need to install a server on your local computer (PC). There is a lot of server on the market nowadays you can use any server list below.

Why do I need a local server?

A local server provides the same environment as your web host’s server, allows you to install/run WordPress trunk on your computer, and is an essential tool in contributing to the development of WordPress core. Your choice of a local server program will primarily depend on which operating system you run on your computer. There are a couple that works on multiple operating systems, and all will give you a solid local development environment.

What does AMP stand for?

Some local server programs have AMP in their name, which stands for Apache, MySQL (or MariaDB), and PHP. These are the same programs that are installed on your web host's server which allow you to run your WordPress site.

Steps to install a local server:

Download any server software online, most of the software companies providing the software free for use. We will install wamp server. Please click the link to visit wemp server website go to the download menu click on the download button to download the software.

Here is the little info about wamp sever feature, WampServer is available for free (under GPML license) in two distinct versions: 32 and 64 bits. Wampserver 2.5 is not compatible with Windows XP, neither with SP3 nor Windows Server 2003. Older WampServer versions are available on SourceForge.

wamp server

As soon as you will click on the download option, a pop-up will appear showing some warnings. Just don’t worry about these warnings rather simply click on the link “download directly” like shown below and move ahead with the download process.

wamp server

Initiate WAMP Server Install Process

When download will be completed you need to run the exe file to start installation, you will be asked to choose your preferred language and click the “Ok” button. As I’m choosing English here. You have to select the ok button to start the installation.

The next screen you will see is about the license agreement. Click on the “I accept the agreement” radio button and then the “Next” button to continue with the installation shown below.

Ready to Install WAMP

After Complete all the steps, Finally, you would see a ready-to-install wizard with a ready setup to begin the installation. Just hit the ‘Install’ button to begin the installation procedure.

WAMPInstallation Complete

The installation is almost done now simply click ‘Finish’ to exit the setup.

You have successfully installed the wamp server, so you can run the server and enjoy! For Learn WordPress and theme, also plugins, you can see our others post from the website. You can read about wordpress themes