As a lot of users, I got tired of the SSL certificate error page every time I visit the controller’s page. Unfortunately, Ubiquiti doesn’t provide an “easy” upload functionality through the web interface. But they do provide some documentation, which seems easy and quick enough. Or so I thought. Ubiquiti documentation You can find the … Continue reading SSL certificate installation on the Ubiquiti Unifi controller
Tag: linux
If you don’t know what Let’s Encrypt is, let me briefly explain. Let’s Encrypt is a free, automated and open Certificate Authority (CA) that provides an easy way to obtain and install free TLS/SSL certificates. As mentioned on their website, the key principles behind Let’s Encrypt are: Free: Anyone who owns a domain name can … Continue reading Setup Let’s Encrypt to Secure Your Website
NOTE: This article was initialy written for the SemaphoreCi community page. Introduction In a previous article, we wrote about testing Ansible roles directly against Semaphore. This is great when you are targeting the same operating system as your continuous integration server, but what to do if you you need to target other operating systems as … Continue reading Testing Ansible Roles on Multiple Operating Systems with Docker and Semaphore
Ever had your Linux /boot partition fill up? Well, unfortunately I have. Normally, you would just remove the kernels you don’t need anymore. Best way to do this is to first check what kernel version you are currently using: $ uname -r Next up is to list all available linux images: $ sudo dpkg –list ‘linux-image*’ … Continue reading Safely clean your /boot partition
NOTE: a rewritten version is available on the SemaphoreCi community page. It contains some more details on how to setup your environment. In my previous post, I explained how you could easily test your Ansible roles by using Travis CI. One of the down sides of Travis for me is that it’s still running on … Continue reading Testing Ansible roles with Semaphore
Ansible is a great config management tool. Unfortunately I lacked the time of writing a bit more about minding, except of my 2 previous posts (Getting started with configuration management: Ansible and Configuration management with Ansible: Playbooks & Execution ) Not that I haven’t done anything new on that front. I’m currently using / maintaining some … Continue reading Testing Ansible Roles with Travis CI
Ever found yourself changing permissions recursively and then realise you used the wrong permissions? Unfortunately, I have. Don’t know if it was due to lack of sleep or caffeine but it just did. Due to my bad handling, I had a few folders where the permissions got screwed up. The folders that I needed to … Continue reading Recursively fix bad file permissions
Every ruby developer will probably use some kind of ruby version manager. As far as I know, it all started with rvm. Rvm has a ton of features, but I never really was fan. Most of the features that are available where not necessary for me. So since I wanted a minimal tool to manage … Continue reading Chruby: ruby version manager
Having a dynamic IP-address at home, I sometimes need to lookup what my public IP is. There plenty of choices in sites that will display your remote IP. But it’s always such a hassle. I never remember one specific site, so I always pass Google and most of the time, I don’t have a browser … Continue reading Show your public IP from the command line
Changing permissions can be tricky, because either way, permissions are on of the corner stones of security. It could be that you want to change permissions recursively on all folders, but not on files, and vice versa. Unfortunately, a lot of people don’t take that into account. So here’s a quick tip on how to achieve … Continue reading Set recursive permissions on only files or directories