You can install WordPress on your local computer using a local server. You can use XAMPP WAMP or any other local server to install WordPress on the local computer. you do have or can install easily.
Get started with the setup you have to download the XAMPP software from the internet. Download setup from any of the trusted website. then you have to just click on the setup.
Download XAMPP for windows from apachefriends.org. Then, run the installer to get started with the XAMPP setup.
In the component wizard, all the components are by default selected. You can uncheck the components that you don’t plan to use.
Let’s quickly go through these components.
- Apache– It is the HTTP web server, and essential to run the website.
- MySQL– It is the database server.
- FileZilla FTP server – It is used for setting up an FTP server.
- Mercury Mail Server– It is used for setting up a mail transport system.
- Tomcat– It is an application server, which runs Java based web applications.
- PHP– It is a server side scripting language used for making dynamic web pages.
- Perl– This language is widely used by the programmers for writing CGI scripts.
- PhpMyAdmin– It is a necessary component to handle the administration of MySQL.
- Webalizer– It is a web log file analyzer, which generates statistical reports about how many people visit a website and what do they look for in the websit
- Fake Sendmail- For testing email transfer on localhost, Fake Sendmail is used. If you are going to work on such a project which involves sending emails, then this component will come in your use.
We have chosen the Apache, MySQL, PHP, and phpMyAdmin since these are necessarily required for installation. As we don’t have any plan to use the rest components, we have unchecked them all.
After selecting the components, you will be prompted to specify a location where you want to install XAMPP. Once you specify the location, the setup will be ready to install.
Start Apache and MySQL
xamppcontrol.exe inside the XAMPP folder and launch it. The default location of XAMPP folder is C: \xampp
Having to open the control panel, start the Apache and MySQL components. As you will start these components, their Admin links will become clickable. Then, select MySQL “Admin” for moving ahead to phpMyAdmin or you can open it from here http://localhost/phpmyadmin.
Create MySQL Database
- On phpMyAdmin interface, find the “Databases” tool on the top-left side and create the database. For example, we have created the database by the name WordPress.
- Unzip the WordPress zip file.
- After creating the database, we are set to start the installation of WordPress. Now, we are going to download WordPress.
- Once the download is complete, extract the zip file to C:\xampp\htdocs\. If you’ve extracted the package correctly, you will see the “WordPress” folder inside hotdogs.
Next step is to browse this URL – http://localhost/wordress in your browser for initializing the actual installation of WordPress.
Select language on the screen and continue.
Fill database information
Fill out the name of the database which you have created in the above step. In our case, it is’ WordPress’. Fill “root” in the username field and leave the password field blank, and fill localhost the database host field.
In the last field, you may define a prefix to all the database tables and submit.
Fill in the website information
In the next step, you are prompted to set the title of your site and fill up user information, like site title, username, password, and Email.
Fill up the required fields, and press “Install WordPress”.
That’s it. You have installed WordPress. Now, you are in business.
Log in to the dashboard
Now, you have installed WordPress locally. You can move on to the dashboard by clicking on the Log in button.
- WordPress Administration
- WordPress Admin Dashboard and Bar
- The dashboard might be the first thing you see, once you logged in. You can start customizing your website from here only. Even it keeps you reporting about new updates,