MikroTik – Backing Up Your MikroTik & Routerboard Config

Another great script that will email you a copy of your MikroTik/Routerboard device config. You can find the source on the MikroTik Wiki below. http://wiki.mikrotik.com/wiki/Send_Backup_email Some notes about the script on the MikroTik wiki and below. I had to modify the script on the MikroTik website, it had used /tool e-mail set address instead of /tool … Read more

MikroTik – Automatically creating DNS record for each DHCP lease/client

You’ll notice that when you first get your MikroTik router, that it doesn’t create DNS records for each DHCP client that successfully receives a lease. The below article provides the necessary script to create a DNS record for each DHCP Client. I’ve provided a link to the Mikrotik Wiki article so you can see the original source. http://wiki.mikrotik.com/wiki/Setting_static_DNS_record_for_each_DHCP_lease The … Read more

Upgrading Zen Theme Foundation (Confluence) Brand from 3 to 4.1.4

If you have a custom brand for your Zen Theme Foundation plugin, and upgraded the plugin from version 3 to 4.14. You might have noticed that some images are missing, or you might not even noticed them missing because no missing image is displayed. To fix this, I just copied over the missing images from … Read more

WordPress and Protecting Directories with .htaccess

You’ll find sometime that when you deploy WordPress in order for permalinks to work correctly you need a proper .htaccess file. This .htaccess also affects anything else you place within your web root when WordPress lives. For instance if you need to password protect a directory within the your webroot where WordPress lives. You’ll find … Read more

Ubuntu Squid 3 SSL Support PPA

If you’re looking for squid3 with SSL support in Ubuntu, you’re in luck! There’s a PPA that is providing squid3 with SSL support compiled in. Simple run the following command to add the mojocode PPA. add-apt-repository ppa:mojocode/ppa More information on the mojocode PPA. https://launchpad.net/~mojocode/+archive/ppa

Fix Ubuntu Apt error “public key is not available” GPG Keys

If you’ve ever used the a package or repository from the Ubuntu Personal Pakacge Archive, you may have receive an error when each time you use apt-get. The error looks something like this. W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY D8D75E403EBCE749   … Read more

Ubuntu apt-key not working? Behind a Firewall? Open port port 11371 or use http://:80

I was trying to get some Ubuntu PGP Key’s for some ppa.launchpad.net sources, and apt-key kept erroring out. All I had to do was open up 11371 on my firewall or just use http://keyserver.ubuntu.com:80 which would force the HTTP protocal instead of HKP. It’s that simple actually. http://superuser.com/questions/64922/how-to-work-around-blocked-outbound-hkp-port-for-apt-keys

Ubuntu PHP5-FPM NGINX

So I’ve been starting to deploy nginx on more systems, and working with php5-fpm and have had some great success. However a few issues have come to light, and it was hard to find information about these issues online. Lots of Google digging later I’ve found quite a bit about nginx and PHP5-FPM. Configuring nginx … Read more