Upgrading my nas from FreeBSD 11.1-RELEASE to 11.2-RELEASE

FreeBSD 11.2-RELEASE was released a few days ago. This means it’s time to upgrade the FreeBSD running on my nas. For the most part, this was all what I did: # freebsd-update -r 11.2-RELEASE upgrade # freebsd-update install # reboot # freebsd-update install After it’s been upgraded, I also need to update the Zpool. root@nas:~ # zpool status pool: zroot state: ONLINE status: Some supported features are not enabled on the pool....

June 30, 2018 · 2 min · 353 words · kenno

Playing movie with Dragon player on Fedora 28

With fresh installation of Fedora 28 I wasn’t able to play any downloaded Japanese animations with the default movie player – Dragon player. My other machine which also runs Fedora 28 could play the movie fine. Without any doubts I must have installed some additional codecs on that machine. But which codecs? Like last time, Google I must search. I’m going to write this post so I wouldn’t have to repeatedly search for the same solution....

June 24, 2018 · 1 min · 188 words · kenno

How to reload tmux config

To reload tmux’s config without quitting and starting it again, we can hit Ctrl + B then :. Once the we get the prompt just run: :source-file ~/.tmux.conf Ref: https://sanctum.geek.nz/arabesque/reloading-tmux-config/

June 22, 2018 · 1 min · 30 words · kenno

Install MATE Desktop on CentOS 7

Tonight I started to review the learning material for Red Hat System Administration III to prepare for RHCSE exam. I need a machine with GUI, and all my CentOS 7 VMs are headless. So let’s install the GUI on it, shall I? First install epel repo, if it’s not yet installed: Then install the 2 groups: Tip, if “I” can’t remember the names of the groups, I can run this command to list all available groups:...

June 13, 2018 · 1 min · 141 words · kenno

How to set timezone in FreeBSD 12.0

FreeBSD 12.0 install media :20180208 misses a lot of timezone file. E.g. it doesn’t have /usr/share/zoneinfo/Australia/Sydney. Ensure: zoneinfo package is installed. Then run: And confirm: Fri Feb 16 00:19:48 AEDT 2018

May 28, 2018 · 1 min · 31 words · kenno

Where is the Startup folder in Windows 10?

Here’s one way to locate it: Click on the Windows Start Menu icon. Type “Run”, and click on Run (Desktop App). Then, when the Run dialog box presents, just enter shell:common startup and hit the Enter key Ref: http://www.thewindowsclub.com/startup-folder-in-windows-8

May 23, 2018 · 1 min · 39 words · kenno

Fix: VirtualBox installation fails on macOS High Sierra 10.13.4

Just a quick note to remind myself how I fixed the problem installing VirtualBox 5.2.10 on a Mac laptop running 10.13.4. The installation seemed to go well until it reached the end and reported failing to install. I’ve had this issues for a few weeks already and Google for solution seems to have hit and missed until today. I finally found a solution posted here: https://github.com/docksal/docksal/issues/417. Basically, I need to go the System Preferences and tick the box to allow ‘System software from developer “Oracle America, Inc....

May 8, 2018 · 1 min · 91 words · kenno

Make Github code viewer more pleasant on Firefox on FreeBSD

Ever since I have FreeBSD 12 installed on a spare laptop, I notice that this is the most frequently used portable machine at home. (Of course, I still use my main desktop, which runs Fedoda 27, for everything.) I think one of the main reasons is that I like the experiences when I started using Linux years ago – not everything works out of the box, and sometimes I’m forced to learn and understand better about an issue before it can be fixed....

April 22, 2018 · 2 min · 304 words · kenno

Ansible 2.5.0 { "changed": false, "cmd": "None -s system-product-name", "msg": "[Errno 2] No such file or directory

I just updated Ansible to version 2.5.0 tonight, and I came across this issue when I tried to run a playbook for an Ubuntu 16.04 machine: PLAY [Ansible Playbook for configuring odroid.***.com] *************************************************************************************** TASK [Gathering Facts] ***************************************************************************************************************************** fatal: [odroid.***.com]: FAILED! => {"changed": false, "cmd": "None -s system-product-name", "msg": "[Errno 2] No such file or directory: 'None'", "rc": 2} According to the issue #37911, the remote system doesn’t have the dmidecode package installed....

March 31, 2018 · 1 min · 150 words · kenno

Automount External Drive on OS X

At work, we want to backup an external disk that’s connected to the Mac machine using rsnapshot. In order to do that, the external drive needs to be mounted, and this happens when a user logs in to the Mac. The problem is that when nobody logs in, the external drive is not mounted and rsnapshot will fail. The fix should be easy if there is away to mount the external drive without a user logs in....

March 22, 2018 · 1 min · 162 words · kenno