June 13, 2016 tim

Like any other software it’s important to apply security updates as they are released, Drupal is no different. In this tutorial we will use a bash script and cron to auto apply Drupal security patches on a daily basis. This tutorial assumes you have Drupal 7 or 8 and drush installed on your FreeBSD server. I like to keep all of my scripts in /root/scripts, create this directory if you don’t already have a location for your bash scripts. # mkdir /root/scripts Create a script for automating Drupal updates # nano drupal_security_updates.sh Add this to the empty script file (where…

June 5, 2016 tim

In this brief tutorial I will cover a quick and simple method for mounting folders on your FreeBSD host machine to a jail. I am writing this because I remember having the need to do this for the first time and my google-foo returned a variety of posts with complex and overkill methods. I wanted to mount my host’s /var/music folder within a jail to setup Subsonic. In the host machines /etc folder exists a fstab file for each jail runing on the system.     Example: # cd /etc/ # ls fstab.timstunz_noip_me fstab.debarbora_com fstab.subsonic_org So to mount /var/music to…

June 5, 2016 tim

In this tutorial we will be replacing sendmail with ssmtp to use an AOL email account for sending outgoing email via SSL. You can also use these instructions to do the same with Gmail, Yahoo, or any other SMTP account. Reference: When performing this setup on my FreeBSD servers I have always used http://btt.red/b/2/0/freebsd-use-gmail-for-outgoing-mail for reference, however I am creating this tutorial to add additional steps that I find work best for my setups. Security: DO NOT USE your primary SMTP account with ssmtp, since the configuration requires storing the SMTP account password in plain text, you really want to…

June 2, 2016 tim

Subsonic is a host-it-yourself media streaming service. It allows you to take your entire music & video library (MP3, OGG, AAC and other stream able audio and video formats & stream them to your devices from a centralized server, it also makes for a very nice podcast client. Subsonic is available under GNU General Public License with a Premium license model that enabled additional features and allows you to take advantage of tons of mobile & desktop apps that are available. I would strongly suggest supporting this project by purchasing a Subsonic premium license; either way once installed you’ll get…