WordPress

How to Install WordPress on localhost, Bitnami, Easy Steps

How to Install WordPress on localhost Server using Bitnami WordPress.

WordPress is one of the best Content Management Systems (CMS) for Blogging, with a total of 63.5% share all around the internet. Install WordPress application on the localhost machine.

install-wordpress-localhost

First, we’ve to understand what environment WordPress required to run. WordPress is designed using PHP; its backend needs a MySQL database. So it needs the following

  • PHP
  • MySQL
  • PHPMyAdmin for easy UI.

So, we can install all these using WordPress Bitnami. You can install more than one WordPress or PHP program by using this application.

Install WordPress on Google Cloud using Bitnami NGINX.

Install WordPress on the localhost server in your machine

Setup for Downloading WordPress for Localhost: First, you’ve to download Bitnami Application for localhost WordPress.

Download and Install Bitnami WordPress for Localhost

Now, you will redirect to the following page provided.

Install WordPress on localhost
Install WordPress on localhost

Now download Select Win/Mac/Linux and then Choose your OS like Windows, Linus of OS X(Mac).

Here we’re guiding for Windows 10 64 bit. The process is nearly similar to other Operating Systems too.

  • Right-click on setup and select run as administration
  • An install window will pop-up – select YES.
  • Select your language now(default English).
  • On the Bitnami WordPress Stack page- click on Next.
  • Keep both PHPMyAdmin and WordPress marked
  • Select the custom installation folder(if you want to install it in a different folder, otherwise leave it as it is. I changed it to C:\Bitnami\wp-bitnami).
Bitnami WordPress Installation localhost folder
Bitnami WordPress Installation localhost folder

Now click on the next window to open

password-for-bitnami-wordpress
WordPress localhost Login username password Setup
  • On the next setup page, enter the name, email, and login username.
    1. Enter You name
    2. Your email address
    3. Enter the username for login(here we enter “root”)
    4. Enter the password and confirm it by re-entering the same. (for demo purposes, we’re choosing password 123123, you can choose a tough one.)
    5. Click on Next

From the above, you’ve to remember login details for WordPress and phpMyAdmin. Now click on next, and WordPress Bitnami will install on your computer.

It will take a few minutes to install the application on your machine, so you’ve to wait for it.

Access WordPress Bitnami from your localhost

Enter URL http://localhost/wordpress, and press enter. This will take you to the WordPress homepage. To make changes on this page. You’ve to log in using the URL http://localhost/wordpress/wp-login.php.

All Done. You can acess localhost wordpress on you machine.

Access PHPMyAdmin

And access PHPMyAdmin by entering the URL http://localhost/phpmyadmin/, and the login address will be the same as the 3rd and 4th steps above.

Log in credentials for PHPMyAdmin and WordPress application provided in steps 3 and 4 above in the login setup section. Now, all done, you can access and enjoy localhost WordPress, but if you like to install multiple WordPress sites, then follow the steps below.

For multiple WordPress sites (beginners).

After performing the above steps, you’ve to create a database for your new site. For this, login to phpMyAdmin http://localhost/phpmyadmin/ and provide your login details. In our case username is “root”, and the password is “123123”.

Here create a new database; suppose your new site name is mysite.com, then create a database naming mysite, follow the steps:

  1. Click on new on the left-hand side of the panel.
  2. Enter the database name
  3. Click on the create button.
create database on localhost using phpMyAdmin
create database on localhost using phpMyAdmin

Here I created a database with the name techaak. Now you’ve to download WordPress software that can be downloaded through the link provided below.

Download Latest version of WordPress

After downloading this zip file, extract the files. Now copy wordpress folder and place that folder in

C:\Bitnami\wp-bitnami\apache2\htdocs

Now rename this wordpress folder according to your database. Suppose the database name is techaak, then rename “wordpress” folder to “techaak”. (You are allowed to create a folder with any name, but to avoid mashup, please keep the same name for the database and folder).

Now access your new wordpress site installed here http://localhost/techaak/

Select WordPress Language
Select WordPress Language
WordPress Database Page
WordPress Database Page
Database Values localhost
Database Values localhost

On the above page, please enter the data required

  1. The name of the database you entered in phpMyAdmin, it is “techaak” here in this tutorial.
  2. The user name that you choose during the installation of the software, in our case, it is “root”.
  3. Enter the password for the username. In our case, it is 123123.
  4. Leave this as it is.
  5. Leave this as it is

Now you’ll be on final set-up page,

WordPress localhost Final set-up Page
WordPress localhost Final set-up Page
  1. Enter your website title.
  2. Choose a username for your site.
  3. Choose a password for your site.
  4. enter your email address
  5. leave it as it is
  6. Click on Install WordPress

If the button is not enabled, check whether your password is strong, or a pop-up will appear to choose a weak password.

Now its all done. You can now access this localhost WordPress.

For multiple WordPress sites on localhost (advance users).

If you don’t wanna use the copy and paste method described above, you can place your WordPress site under folder C:\Bitnami\wp-bitnami\apps. Suppose you want to create a site with Sitename testsite. Now copy config folder from C:\Bitnami\wp-bitnami\apps\wordpress and paste it to C:\Bitnami\wp-bitnami\apps\wordpress\testsite.

Now Edit bitnami-apps-prefix.conf file in the C:\Bitnami\wp-bitnami\apache2\conf\bitnami and add the new WordPress path. Finally, Restart the server using the Bitnami Stack Manager tool.

If you’ve any questions regarding the above article, you can ask freely in the comment section provided below.

Ashok Kumar

Ashok Kumar working in the Search Engine Optimization field since 2015. And worked on many successful projects since then. He shares the real-life experience of best SEO practices with his followers on seoneurons.com. You also can learn Advance level SEO for WordPress, Blogger, or any other blogging platform. Stay tuned.

Related Articles

2 Comments

Leave a Reply

Back to top button