How Do I Start Nginx on Amazon Linux?
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...
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 г.
Must Read
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.