Output: nginx version: nginx/1.17.9 (Ubuntu) If the above command doesn’t immediately quit after running. You can also see how much RAM Nginx is using from the output. “ Enabled” indicates that auto-start at boot time is enabled and we can see that Nginx is running. ├─8549 nginx: master process /usr/sbin/nginx -g daemon on master_process on Process: 8545 ExecStart=/usr/sbin/nginx -g daemon on master_process on (code=exited, status=0/SUCCESS) Process: 8533 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on master_process on (code=exited, status=0/SUCCESS) Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Fri 14:11:43 UTC 3s ago rvice - A high performance web server and a reverse proxy server.Then start Nginx with this command: sudo systemctl start nginx sudo apt install nginxĪfter it’s installed, we can enable Nginx to auto-start at boot time by running the following command. Enter the following command to install Nginx Web server. It also can be used as a reverse proxy and caching server. Nginx is a high-performance web server and very popular these days. Sudo apt upgrade Step 2: Install Nginx Web Server Step 1: Update Software Packagesīefore we install the LEMP stack, it’s a good practice to update repository and software packages by running the following commands on your Ubuntu 20.04 OS. Once you have a VPS running Ubuntu 20.04, follow the instructions below.Īnd if you need to set up LEMP stack with a domain name, I recommend buying domain names from NameCheap because the price is low and they give whois privacy protection free for life. How to Create a Linux VPS Server on Kamatera.9 data centers around the world, including United States, Canada, UK, Germany, The Netherlands, Hong Kong, and Isreal.įollow the tutorial linked below to create your Linux VPS server at Kamatera. If you are looking for a virtual private server (VPS), I recommend Kamatera VPS, which features: To follow this tutorial, you need an Ubuntu 20.04 OS running on your local computer or on a remote server. Linux is the operating system Nginx is the web server MariaDB/MySQL is the database server and PHP is the server-side scripting language responsible for generating dynamic web pages. It is the most common software stack that powers dynamic websites and web applications. LEMP stands for Linux, Nginx (Engine-X), MariaDB/MySQL, and PHP, all of which are open source and free to use. A software stack is a set of software tools bundled together. This tutorial is going to show you how to install LEMP stack (Nginx, MariaDB, and PHP7.4) on Ubuntu 20.04.
0 Comments
Leave a Reply. |