Pre-requisites :
• It is must to have server running version 7.2 or greater of PHP and MySQL version 5.6.
Steps to install WORDPRESS:
1. Downloading WordPress:
visit to https://wordpress.org/download/ and download the zip file.
- Now once you have downloaded the zip file. Go to your cPanel /var/www/html and extract the file here.
- Once you have extracted now create a new folder with any name for .eg wordpress.
- Now go to the extracted folder wordpress-5.0.1/wordpress/ copy all the files and folders and paste them into the our created folder .eg wordpress.
- Delete the extracted folder.
2. Create table in database:
- Open browser and type localhost/phpmyadmin/
- Type username and password by default it is (root, root).
- After login you will come to the Dashboard of phpMyAdmin.
- Now click on new and give name [ .eg wordpress ] under create database and click on create button.
3. Installing WordPress :
- Open a browser and type localhost/wordpress and hit enter. [Note: you need to provide the same name as you have given to new folder under /var/www/html/].
- Then you will see the language selection page. You can choose a language here so that rest of the installation is displayed in your own language. You can also use English for now and then later change the language.
- Click on the continue button to process.
- You will now see some installation instructions. Basically WordPress will now tell you that it will need your database name, password, and MySQL host information.
- Click on ‘Lets’s go’ button to continue.
- Now a form will display. You need to enter the name of the database you created earlier.
- Fill the information and click on Submit button. WordPress will now connect to your database and will show you a success message.
- Now, Click on the “Run the Install” button to continue.
- WordPress will now create tables in your database and then send you to the next step of installation.
- Here, it is going to ask you some information so that the WordPress can setup your site.
- You need to give Site Name, Username, Password, and admin email address.
- Now you need to copy the password and save it temporary some where.
- Click on the “Install WordPress” button to continue. WordPress will setup your website and finish the installation.
- It will give you a success message showing username. You can now click on the Log in button to sign in your WordPress site.
- Here you have to paste the password that we have copied earlier.
- Close every thing and open the browser and type localhost/wordpress/ [Note : instead of wordpress you can have to give your folder name which you have given. ( /var/www/html/ )].
- Now you will come on to the dash board of my-site.
- Here you can change your Themes, Edit your profile … etc.
Leave a Reply