Monthly Archives For February 2016

Install NGINX on FreeBSD

, , No Comment

Installing NGINX Install NGINX $ pkg install nginx Create folder $ mkdir /data/www Find configuration file nginx.conf It’s either in /usr/local/nginx/conf, /etc/nginx or /usr/local/etc/nginx Edit conf file, comment out everything then add a new server…

Read Post →

How to use cURL

, , No Comment

CURL is used to download a file from the web In this case the file jquery-2.2.0.min.js # curl -# -o jquery-2.2.0.min.js http://code.jquery.com/jquery-2.2.0.min.js

Read Post →

pkg 'hidden' switch

, , No Comment

Pkg on FreeBSD 10 seems to have a “hidden” switch/option. If you’re getting the “failed checksum from repository” when trying to install a package, try doing and update with the -f switch. # pkg update…

Read Post →