There are several ways to installing a WordPress from scratch. It can be installed on the production site, or on the local computer.
In this tutorial, we will only talk about manual installation.
To read about installing WordPress from cpanel through Softaculous, you can read this article.
To install WordPress on your local computer, you can read this article.
Manual installation of a WordPress from scratch
1) Download the WordPress archive
To be able to install WordPress, we must initially download its archive, and this is done from the official website. Download the WordPress archive.
2) Copy WordPress files
The next step is to download the archive downloaded above, and copy everything contained in the “wordpress” directory to the hosting server.

After copying, the directory should look similar to the one below. To contain the directories “wp-admin”, “wp-content”, “wp-includes” and other files. Their permissions must be 755 for directories and 644 for files.

3) Creating the database and assigning a user to it
From the hosting administration account, a new database can be created. In my case, from cpanel I will create a new database MySQL, using the MySQL® Database Wizard.

From a security point of view, I recommend you to create a database with names that do not make sense, using random numbers and letters.

As well as for the user name of the database, random numbers and letters will be used. And for the password, it is recommended to use “Password Generator”, but not before copying the password into a file. This will be requested later.

The next step is to assign rights to the new user based on the created database. I chose the “ALL PRIVILEGES” option.

4) WordPress installation
After completing the steps above, the actual installation of WordPress follows.
This will be done by accessing the website, in my case site-wordpress.ro, where an area will be displayed where you can add the following:
- Database name (set in previous steps)
- Database username (set in previous steps)
- Database password (set in previous steps)
- Database host (usually localhost is used, depending on the database server)
- Table prefix (for safety, I recommend changing the prefix with 2 other letters, apart from wp)

5) Completion of WordPress installation
In this step, the last of the Wordress installation, you must set the website title, a user who will also be the administrator and the password assigned to him.

6) Login to the site’s administration panel
To be able to log in to the site’s administration panel, you must access the site followed by “/wp-admin”. In my case “https://site-wordpress.ro/wp-admin”.
After entering the credentials, you have access to the administration panel of your WordPress site, where you will be greeted by a welcome screen.

Congratulations! You have successfully installing a WordPress from scratch.
If you have encountered problems, do not hesitate to contact us or write in the comments section below.
To read about installing WordPress from cpanel through Softaculous, you can read this article.
To install WordPress on your local computer, you can read this article.