By enso xyz
I’ve been trying to setup NGINX with freeBSD with no luck. I’m quite new to the platform and programming in general. I’m just a web designer but I’m trying to expand my skill set and knowledge base on the backend.
I’ve found a few tutorials on the web about setting up NGINX with freeBSD but none of them seem to work. I’ve spent all of last night trying to setup up NGINX and get it to serve my web pages.
Can anyone help me with this? I recently created a droplet and installed NGINX. Where do I go from here?
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!
Pay attention to permissions, users, and groups . Read the log files for error messages. Read the FreeBSD manual: https://www.freebsd.org/doc/handbook/
A 5. second Google search: “freebsd nginx” (w/o the quotes) gave me in the very 1st search result: A very promising web page on digitalocean.com “How To Install an Nginx, MySQL, and PHP (FEMP) Stack on FreeBSD 10.1” https://www.digitalocean.com/community/tutorials/how-to-install-an-nginx-mysql-and-php-femp-stack-on-freebsd-10-1
Learn how use a search engine, or use a search engine before you ask, please.
freeBSD+NGINX install
NGINX Port Step 1. cd /usr/ports/www/nginx
Pre-Install Configuration Step2. make config-recursive
Installation Step3. make install clean
Enable NGINX Step4. echo ‘nginx_enable=“YES”’ >> /etc/rc.conf
Start NGINX Step5. /usr/local/etc/rc.d/nginx start
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.