I am having trouble running nginx webserver with Unbuntu 16.04
Running - sudo apt-get update
I get - Hit:1 https://repos.sonar.digitalocean.com/apt main InRelease Ign:2 https://download.serverpilot.io/ubuntu xenial InRelease Hit:3 https://download.serverpilot.io/ubuntu xenial Release Reading package lists… Done
Then running - sudo apt-get install nginx
I get - Note, selecting ‘sp-nginx’ instead of ‘nginx’ sp-nginx is already the newest version (1.15.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Then running - sudo netstat -plunt | grep nginx
I get -
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 15003/nginx
tcp6 0 0 :::80 :::* LISTEN 15003/nginx
Then - sudo service nginx start
sudo: start: command not found
Please can someone help!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!