Contents
How do I enable Nginx?
To install NGINX Open Source, follow these steps:
- Access your terminal.
- Add the key: $ sudo apt-key add nginx_signing.key.
- Change directory to /etc/apt. …
- Update the NGINX software: $ sudo apt-get update.
- Install NGINX: $ sudo apt-get install nginx.
- Type Y when prompted.
- Start NGINX: $ sudo service nginx start.
31 авг. 2016 г.
How do I run nginx on Ubuntu?
Installation
- Log into your (ve) Server via SSH as the root user. ssh [email protected]
- Use apt-get to update your (ve) Server. …
- Install nginx. …
- By default, nginx will not start automatically, so you need to use the following command. …
- Test nginx by pointing your web browser at your domain name or IP address.