Want to install WordPress on Linux? Don’t worry we are here to provide you with the best way to download and install WordPress on Linux easily. Just you have to follow the steps in order to use WordPress on Linux. Having made the correct installation of XAMPP, we will now take advantage of installing WordPress on our computers. To be able to perform our relevant tests either of the creation or modification of themes or plugins for this CMS.
With WordPress, we have the possibility to create almost any type of website. Thanks to its flexibility and a large number of accessories that exist for it. Now let’s jump into the process of downloading and installing WordPress on Linux servers.
Install WordPress on Linux:
The first step is to download WordPress from its official website, so we just have to go to the following link.
After downloading the latest version of Wodpress available. It is recommended to place the downloaded file in the XAMPP folder before decompressing it.
If you want wordpress to be the main one in localhost we just have to move all the files in the following way.
Unzip the file:
We position ourselves inside the folder unzip:
And we move all the files to the main XAMPP route:
Starting With The Installation Of WordPress In Linux:
At this point we must verify that all XAMPP processes run without problems, they must be running, php, Apache and mariadb. We can perform the installation graphically from the browser just go to localhost.
The installation and configuration wizard of WordPress will appear. As the first step, we will be asked to create a database. Or we can perform the process from the terminal. To do this on the terminal we execute :
Where the database is wordpress and the user is WordPress user and the password is password.
Now we can or not install the private keys that WordPress offers us to have a more secure installation, this depends on each one. For this we type:
We will arrogate some values which we will copy as such in a blog of separate notes. We rename the following file that is inside the WordPress folder:
Done this we must edit the following file and place the information of the DB:
Look for the following lines and replace the corresponding lines should be as follows:
You should also look for the section of:Where they will place the previously obtained private keys.
Save and close the file.
Now we just have to go to our browser and when writing and going to localhost, we will be asked to finish the installation process.
- It will ask us to select a language, as well as assign a username and password which will help us to enter the WordPress dashboard.
- The user and password will be created as an administrator, and if they wish to use any other type of user. Then create in the options offered by WordPress.
Sometimes it arrives to request the data of the configuration of the database, you can replace them. This happens due to cache issues, you can clean it and reload your browser to avoid this.
With this, you have installed WordPress on your system. So you can perform your tests.
The installation is quite simple, I did not want to get any deeper since the configurations of this CMS are enough and also depend on the user.
You can play with the PHP.ini values to adjust them to your WordPress needs as well as add configurations to the .htaccess file that is inside the main WordPress folder.
As I comment this depends on your needs and there is too much information on the net about these. You can support the WordPress codex to know more about it.
This is how we can install WordPress on Linux with few lines of commands. Easy to install and easy to use the WordPress on Linux servers. Just follow the steps which we mentioned in the article and install WordPress on Linux easily. Like the article, if you got the solution. Share the article with your friends at social networking sites.