How To Install WordPress On Localhost

How To Install WordPress On Localhost

 

Installing WordPress on Windows or Mac computer is the first step to begin the development of website in wordpress. There are lots of server available like wamp,xamp etc.But In this article we will show you how to properly install wordpress  using xamp server.

What is XAMPP?

XAMPP is open source cross-platform web server.it is maintained by apache.The acronym XAMPP stands for:

  • X – [cross platform operating systems] meaning it can run on any OS  Mac OX , Windows , Linux etc.
  • A – Apache – this is the web server software.
  • M – MySQL – Database.
  • P – PHP
  • P – Perl – scripting language

How To install XAMPP

Step 1: Download

So, to get started with XAMPP, head over to their official website to download it.

Step 2:Execute .exe File

Once the software bundle has been downloaded, you can start the installation by double clicking on the file with the ending .exe.

Step 3: Deactivate UAC

User Account Control (UAC) can interfere with the XAMPP installation because it limits writing access to the C: drive, so we recommend you deactivate this too for the duration of the installation process. To find out how to turn off your UAC, head to the Microsoft Windows support pages.

Step 4: Start the setup wizard

After you’ve opened the .exe file (after deactivating your antivirus program(s) and taken note of the User Account Control, the start screen of the XAMPP setup wizard should appear automatically. Click on ‘Next’ to configure the installation settings.

Step 5: Choose software components

Under ‘Select Components’, you have the option to exclude individual components of the XAMPP software bundle from the installation. But for a full local test server, we recommend you install using the standard setup and all available components. After making your choice, click ‘Next’.

Step 6: Choose the installation directory

In this next step, you have the chance to choose where you’d like the XAMPP software packet to be installed. If you opt for the standard setup, then a folder with the name XAMPP will be created under C:\ for you. After you’ve chosen a location, click ‘Next’.

Step 7: Start the installation process

Once all the aforementioned preferences have been decided, click to start the installation. The setup wizard will unpack and install the selected components and save them to the designated directory. This process can take several minutes in total. You can follow the progress of this installation by keeping an eye on the green loading bar in the middle of the screen.

Step 8: Complete installation

Once all the components are unpacked and installed, you can close the setup wizard by clicking on ‘Finish’. Click to tick the corresponding check box and open the XAMPP Control Panel once the installation process is finished.

The XAMPP Control Panel

Controls for the individual components of your test server can be reached through the XAMPP Control Panel. The clear user interface logs all actions and allows you to start or stop individual modules with a single. The XAMPP Control Panel also offers you various other buttons, including:

  • Config: allows you to configure the XAMPP as well as the individual components
  • Netstat: shows all running processes on the local computer
  • Shell: opens a UNIX shell
  • Explorer: opens the XAMPP folder in Windows Explorer
  • Services: shows all services currently running in the background
  • Help: offers links to user forums
  • Quit: closes the XAMPP Control Panel

Step-9 Starting modules

Individual modules can be started or stopped on the XAMPP Control Panel through the corresponding buttons under ‘Actions’. You can see which modules have been started because their names are highlighted green under the ‘Module’ title.

If a module can’t be started as a result of an error, you’ll be informed of this straight away in red font. A detailed error report can help you identify the cause of the issue

Step:10 phpMyAdmin

You can use the Admin button of your database module to open phpMyAdmin. Here, you can manage the databases of your web projects that you’re testing on your XAMPP. Alternatively, you can reach the administration section of your MySQL database via localhost/phpmyadmin/.

Step:11 Download WordPress Latest Version

Now is the time to create database and start installing wordpress on local host.So You need to download latest  version of wordpress

The download process might take a few moments to begin. You will get a zip file.

Step 11- Create a Database

To create a database, first you need to prepare a folder on your PC in which you want to save all the data of your local site.

  • Go to your local disk, where you saved the downloaded XAMPP file.
  • Select the htdocs folder and paste the WordPress latest version you have copied earlier.
  • Select Database
  • Write the same name you have written on your local disk. And finally, click on the Create button. Your database will be created within a few seconds.

 

You have successfully created your localhost database. Now, is the turn to install WordPress on the localhost.

Step 12- Install WordPress on Localhost

Open a new tab on your browser and write localhost/your given name  and hit on the Enter button. You will see a WordPress setup wizard like below.

  • Select your language and click on continue

  • You would see a welcome notice on behalf of WordPress. On the next step, WordPress will require
  1. A database Name
  2. A user name
  3. A password
  4. And a database host
  • Just click on the Let’s go button

  • These are the fields you can see in the below screenshot.
  • Provide your database name, you can write ‘root’ as user name, keep the password option blank- it’s better and you would find other fields filled up from earlier.
  • Click on Submit button

  • This is your final step of installation.
  • Give a name to your site. we named our site WordPress ERP here. You can also keep your database name as your site’s name.
  1. Write your user name
  2. Give a strong password
  3. Write your personal e-mail address
  4. Carefully check the search engine visibility button. Otherwise, Google would start indexing your local site too!
  • And, finally click on Install WordPress button!

  • Yes, you have completed you installation. You should see a notice like below.

Check out the Site You Have Built

This is the time to check out your local site. How would it look like or how would it work? Give a check.

  • This is your backend dashboard or admin panel, from where you would control everything.

  • And this is your front-end dashboard.

Leave a Reply

Close Menu