WordPress
To install the latest version of WordPress we must first install wget and zip. To do this we will use the following command:
Once we have installed the packages we must locate ourselves in the folder /var/www/ with the command cd we will access it:
Once we are in the path /var/www/ we must download the latest version of WordPress. As my native language is Spanish I will select the latest version in Spanish. We will use the following command:
I could be https://fr.wordpress.org/latest-fr_FR.zip
Unzip the file you just downloaded with the command:
We will rename the folder html and call it html_old:
Now we will rename the wordpress folder and call it html:
Finally we will set these permissions on the html folder. We will use the command
sudo chmod -R 755 html
. The number 7 indicates that the owner has read, write and execute permissions. The number 5 indicates that the group and others only have read and execute permissions.
Last updated
Was this helpful?