{"id":40604,"date":"2020-11-02T00:55:12","date_gmt":"2020-11-02T06:55:12","guid":{"rendered":"https:\/\/webirix.com\/?p=40604"},"modified":"2020-11-02T00:56:28","modified_gmt":"2020-11-02T06:56:28","slug":"instalar-lemp","status":"publish","type":"post","link":"https:\/\/webirix.com\/en\/instalar-lemp\/","title":{"rendered":"Install LEMP"},"content":{"rendered":"<p>Currently having a high performance server is essential, which is why VPS are the best options.<\/p>\n<p>Although having a VPS is extremely easy, sometimes companies do not have a specialist to perform the necessary configuration.<\/p>\n<p>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.<\/p>\n<p>&nbsp;<\/p>\n<p>Requirements:<br \/>\nUbuntu or Debian server.<\/p>\n<p>&nbsp;<\/p>\n<p><em>Step 1: Update server packages.<\/em><br \/>\n<strong>apt-get update<\/strong><br \/>\n<strong>apt update<\/strong><br \/>\n<strong>apt dist-upgrade<\/strong><br \/>\n<strong>reboot<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><em>Step 2: install Nginx:<\/em><br \/>\nNginx is one of the most widely used web server software, besides being open source, it is listed as one of the fastest.<\/p>\n<p>To install it you will only need to execute a command, the command is:<br \/>\n<strong>apt install nginx<\/strong><\/p>\n<p>After installation you can access your server from any browser, you just have to enter the URL http: \/\/ ip_de_your_servidor<\/p>\n<p><em>Step 3: install PHP<\/em><br \/>\nPHP is a general-purpose programming language that is especially suited to web development.<br \/>\nTo install php run the following:<br \/>\n<strong>apt install php-fpm php-mysql<\/strong><\/p>\n<p>This will install the basic php functions, you may want to install some additional libraries.<br \/>\n<strong>apt install -y php-cli php-common php-mbstring php-intl php-xml php-mysql php-mcrypt<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Step 4: install MySQL<br \/>\nMySQL is an open source relational database management system (RDBMS), based on structured query language (SQL).<br \/>\nMySQL installation is simple, just run:<br \/>\n<strong>apt install mysql-server<\/strong><\/p>\n<p>Ready, you at this moment have a fully functional VPS to mount your web application.<\/p>","protected":false},"excerpt":{"rendered":"<p>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 use ...<\/p>","protected":false},"author":27,"featured_media":40607,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-40604","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry"],"jetpack_featured_media_url":"https:\/\/webirix.com\/wp-content\/uploads\/2020\/11\/LEMP-banner-750x410-1.png","_links":{"self":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/40604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/comments?post=40604"}],"version-history":[{"count":4,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/40604\/revisions"}],"predecessor-version":[{"id":40610,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/40604\/revisions\/40610"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/media\/40607"}],"wp:attachment":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/media?parent=40604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/categories?post=40604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/tags?post=40604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}