Set Timezone in Fedora 20

While looking at the log file on my Raspberry Pi (running Fedora 20 Remix), I noticed that the date/time didn’t look right. EDT is a North American Eastern Daylight Time, which is 4 hours behind UTC. You can read more about it here. In my case, I prefer the time zone set to AEST (Australian Eastern Standard Time), which is 10 hour ahead of UTC. Here’s how it can be done....

July 21, 2014 · 1 min · 93 words · kenno

systemd - start, status, enable example

This is just a quick note to remind myself how to enable or disable services using Systemd. In this example, I’m using denyhosts service. Check if a service is running. # systemctl status denyhosts denyhosts.service - SSH log watcher Loaded: loaded (/usr/lib/systemd/system/denyhosts.service; disabled) Active: inactive (dead) Start a service and verify its running status: # systemctl start denyhosts # systemctl status denyhosts denyhosts.service - SSH log watcher Loaded: loaded (/usr/lib/systemd/system/denyhosts.service; disabled) Active: active (running) since Thu 2014-07-17 01:44:29 EDT; 1min 25s ago Process: 15722 ExecStart=/usr/bin/denyhosts....

July 17, 2014 · 1 min · 162 words · kenno

Managing LVM

LVM stands for Logical Volume Manager. It is a tool for logical volume management allowing us to allocate disks, strip, mirror and resize logical volumes. With LVM, we can manage partitions dynamically. Recently at work, we opted to use LVM to create logical partitions instead of physical partition on Linux desktop. This post is just a note to remind me of some common used commands. If you want to learn more about LVM, hit this link instead....

July 4, 2014 · 2 min · 394 words · kenno

Running Kompare from command line

Recently I started to use Kompare a lot to compare the differences between two files. The way I compare two files is to open both files from the menu (File -> Compare Files). This is annoying and how I wish there were a way to just run Kompare from the command line passing 2 files as options. Well, it looks like my wish has been granted. I found the information here on how to do just that:...

June 11, 2014 · 1 min · 79 words · kenno

FreeBSD 10: Shared object 'libstdc++.so.6' not found

Today while I was updating py27-m2crypto package on FreeBSD 10 using portmaster, the following error message was displayed: Shared object "libstdc++.so.6" not found, required by "swig" Fortunately, someone else has found the problem and solution before me. According this blog post, FreeBSD 10 includes a new C++ stack and gcc, including libstdc++, is not installed by default. Therefore, to fix the missing this libstdc++.so.6 issue, we need to install lang/gcc....

April 25, 2014 · 1 min · 85 words · kenno