Currently having a high performance server is essential, which is why VPS are the best options.
Although having a VPS is extremely easy, sometimes companies do not have a specialist to perform the necessary configuration.
In this tutorial we will show you how to install LEMP (Linux, Engine-X, MySQL, PHP) for the use of a website like worpress, joomla or any CMS or webapp.
Requirements:
Ubuntu or Debian server.
Step 1: Update server packages.
apt-get update
apt update
apt dist-upgrade
reboot
Step 2: install Nginx:
Nginx is one of the most widely used web server software, besides being open source, it is listed as one of the fastest.
To install it you will only need to execute a command, the command is:
apt install nginx
After installation you can access your server from any browser, you just have to enter the URL http: // ip_de_your_servidor
Step 3: install PHP
PHP is a general-purpose programming language that is especially suited to web development.
To install php run the following:
apt install php-fpm php-mysql
This will install the basic php functions, you may want to install some additional libraries.
apt install -y php-cli php-common php-mbstring php-intl php-xml php-mysql php-mcrypt
Step 4: install MySQL
MySQL is an open source relational database management system (RDBMS), based on structured query language (SQL).
MySQL installation is simple, just run:
apt install mysql-server
Ready, you at this moment have a fully functional VPS to mount your web application.
No Comment