Month: February 2016

FreeBSD: make install – Accept default config

Using FreeBSD ports means compiling software by executing make install clean. This is great since it automatically fetches the dependencies then compile them. using make install clean, most of the packages have configuration options in which I have to manually choose the options. So if I install packageA with a lot of dependencies, those dependencies […]

Install NGINX on FreeBSD

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 block http { server { } } Add a location into the server block location / { root /data/www; } […]

Installing VMware tools on Freebsd 10

Installing VMware tools on Freebsd 10 When installing OS, add kernel src Once installed, start the tools installer Player, Manage, Install VMware tools Mount the tools cd in the OS # mount -t cd9660 -o -e /dev/cd0 /cdrom Assumes /dev/cd0 is your cdrom and that /cdrom exits Copy install from cd to local file system […]

pkg ‘hidden’ switch

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 -f I assume that stands for “force” and will force a download of the index from the repository. Thanks, Malcolm.