Question

no package nginx available

Trying to install Nginx on my new droplet and I’m getting the following error: “no package nginx available”. How can I fix this?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.

…now all I have to do is learn to configure and I should be set for a little bit.

@Matteo that worked man. Thanks! <br> <br>@everyone…thank you for your help. <br> <br>

-> Gavin, you’re giving wrong tips about CentOS <- <br> <br>No, don’t remove Apache: uncorrect, you can have problems with PHP & Co in the future <br> <br>Correct: <br>$ service httpd stop <br>$ service nginx start <br> <br>If you receive following response: <br>[ok] <br> <br>Do that: <br>$ chkconfig httpd off <br>