In the previous post, we saw how to download and upload wordpress to our lodging. Now let's see how to install it.
1. Create the database
For this, in Cpanel, we select MySQL Databases. Here, we indicate the name of the database, in this case I will use Smokes and hit the create button. See how a message is displayed saying that a database called Geo_fuma, This is because it adds to my Cpanel user the name of the new database created.
2. Create a user
Now, I select the created database, and I indicate that I want to create a new user. I will call you blog And password, when pressing the create option, see as it indicates that a called user has been created Geo_blog With the indicated password, we will assume that it is called Tinmarin. I suggest that you write it down while we do this process, because later you may forget it.
3. Assign user rights
Now, I indicate that I am going to assign the rights to this user. I select the database Geo_fuma, the user Geo_blog and I assign all the rights to be able to install and access from Wordpress.
4. Rename the configuration file.
With the data that we uploaded, in the directory public_html Is a file called wp-config-sample.php, To this we publish the name, calling it wp-config.php
4. Edit the settings.
Now we edit this file, in the following zone:
// ** MySQL settings - You can get this info from your web host ** //
/ ** The name of the database for WordPress * /
define ('DB_NAME', 'Putyourdbnamehere');
/ ** MySQL database username * /
define ('DB_USER', 'Usernamehere');
/ ** MySQL database password * /
define ('DB_PASSWORD', 'Yourpasswordhere');
See, it's not much, but here several times I've been confused myself. The texts in bold are the ones to be modified:
The database is called Geo_Fuma
The user is called Geo_blog
The password, in this case Tinmarin (Of course these data are imaginary)
Then you have to save the file. If we edit it locally, we must upload it to the remote server.
Just by running the Geofumadas.com domain, the panel that says everything is ready should appear, that I enter the blog name and email to install.
Subsequently, the user and temporary password are received with which it can be accessed.
If a message exits that the database can not be accessed, the 4 step data is probably bad.
Once inside, you have to change the self-generated password for one of our preference. We must not forget that from the wp-admin folder we must remove the install.php, upgrade.php, and install-helper.php folder.