WordPress is a dominant CMS (content management system) that is designed to manage the contents. Due to its feature, WordPress is becoming more trendy these days. So, through this post, I will be diving you in WordPress development. That’s why I am going to start with the scrape. Hence, before starting with the development, we’ll require the WordPress setup in our system. WordPress can be configured on the webserver as well as the local server. So, in this post, I will be starting with the WordPress download and installation locally.
Before starting with WordPress installation, your system must be ready with the following –
- PHP version >=7.3
- MySQL >=5.6 OR Maria DB >= 10.1
- Server – Apache/Nginx
I prefer you most to use XAMPP or WAMP for Windows and Linux. MAC users can use MAMP. If you haven’t installed and configured the XAMPP then I recommend you to go through my below post.
WordPress Download and Installation
WordPress is open-source and free to use. The WordPress download and installation process is very simple and easy. You can install WordPress in your local system with the help of the XAMPP or WAMP server. You will have to download WordPress at the very first step. Go to the official website and click on the download button. Make sure to download the latest version.
After downloading the zip file of the WordPress setup, just extract it inside the xampp/htdocs/wordpress folder. Here, I have created a new folder with the name wordpress inside the htdocs.
Before starting the installation process of the WordPress please make sure you have installed the XAMPP or WAMP server. If not then please install it and then continue to this post.
After that open the XAMPP control panel. Then start the Apache and MySQL services over there.
Once, the Apache and MySQL services have started, let’s open the browser. In the browser URL section just type the below URL.
It will open the setup configuration screen that will look like this.
Select the appropriate language in the above-shown page. By default, the English language is selected. After selecting the language, click on the Continue to dive into the next step.
Database Configuration in WordPress
In this step, WordPress will require the following information before proceeding further.
Create a Database in MySQL
You will need to create a database in MySQL before proceeding further. So, just open the phpMyAdmin or MySQL command prompt. Now, create a database there. In my case, I am going to create a database with the name wordpress_demo.
CREATE DATABASE wordpress_demo;
Once, you have created the database, let’s change the database credentials in the WordPress configuration panel.
I have set the database details in the above configuration page. You can set it as per your details.
Now, click on submit to validate the database details.
If all the entered details will be correct, it will show you the below message. It means everything is correct and you are ready to install WordPress in the localhost.
Configure Website in WordPress
In the next step, you will have to configure the Site information like site title, username, password and so on. So, just follow the below guidelines and let’s click on install WordPress.
It will take a few minutes to install WordPress. So, please be patient.
Once, the installation has completed, you will see a success message as shown below.
WordPress Admin Login
Once the WordPress installation has completed and you got the success message. You will require to check whether everything is running correctly or not. So, in the next step, you will have to login into the WordPress admin dashboard.
You can open the admin dashboard by hitting the below URL in the browser. It will redirect you to the login page.
So just enter the username and password that you have set during the WordPress installation.
WordPress has secure authentication for the login system. It encrypts the password using the hash algorithm.
WordPress Admin Dashboard
After a successful login, you will be redirected to the WordPress admin dashboard page. Here in the below result, I am showing you the dashboard after the login.
In the dashboard section, there are lots of features for creating posts, pages, and categories. Also, we can create a custom post, custom taxonomy which I will cover in the upcoming tutorials.
Now, the WordPress website is ready to use. You can check it by entering the URL into the browser. In another way, you can visit the Website as shown below.
As far as I concerned, you have learned to install WordPress in the local system. In the upcoming posts, you will be learning the customization of the WordPress website, custom posts, custom taxonomy, custom blog, RESTful APIs, custom theme and other trendy stuff. So, I recommend you to stay tuned with us and enjoy coding. If you find any difficulty regarding the download and installation then please let me know in the comment section. Hope, this will be a great start for you.