Changing MongoDB storage engine from Mmapv1 to WiredTiger

Changing the storage engine for a standalone MongoDB server from Mmapv1 to WiredTiger is relatively painless. Here’s how I did it. Backup the database Stop monbodb service Update mongodb.conf Here’s my /etc/mongodb.conf file: Start monbodb service Restore the database from backup That’s it. ...

November 3, 2015 · 1 min · 62 words · kenno

GDM Doesn’t Start on Fedora 23 Beta and VirtualBox

I just finished upgrading Fedora 22 to Fedora 23 Beta and upon rebooting, gdm no longer started. I tried to reinstall the VirtualBox Guest Additions; unfortunately it still didn’t fix. To cut the story short, someone has given a working tip at this forum. The solution is to downgrade xorg-x11-server-Xorg package. # dnf --showduplicates --allowerasing --releasever=22 downgrade xorg-x11-server-Xorg # mount /dev/cdrom /mnt; cd /mnt # ./VBoxLinuxAdditions.run # reboot After rebooting, I was able to login again. ...

October 27, 2015 · 1 min · 78 words · kenno

Kinetis Design Studio crashes on Kubuntu 14.04

On Kubuntu 14.04, Kinetis Design Studio (KDS) could be started, but when I tried to create a new project, it’d crash with the following message displayed in the terminal: $ kinetis-design-studio java: /build/buildd/gtk2-engines-oxygen-1.4.5/src/animations/oxygencomboboxdata.cpp:87: void Oxygen::ComboBoxData::setButton(GtkWidget*): Assertion `!_button._widget' failed. KDS is a Eclipse-based IDE. So I suspect the issue is related to Eclipse IDE itself. (I can’t confirm this as I’m not running the Eclipse IDE on this machine. I know I could have just downloaded and test it; but I don’t have time.) ...

August 3, 2015 · 2 min · 277 words · kenno

Updating Kinetis Design Studio on Linux

For Linux users who want to update Kinetis Design Studio (DKS), if you launch KDS as a non-privileged user, you’d have to relaunch KDS with sudo for update to go ahead. $ sudo /opt/Freescale/KDS_3.0.0/eclipse/kinetis-design-studio Then to update it, just click on Help -> Check for Updates from the menu.

July 28, 2015 · 1 min · 49 words · kenno

PF firewall rule for DNS server

A reminder to readers, most of these blog posts are to remind me what I have done or fixed some problems. What works for me may not work for you. Most of the time, they aren’t even the best practice. Here’s a snippet of the PF firewall rule on my FreeBSD box which acts as a DNS server. Basically, the firewall opens up UDP port 53 to allow LAN access it. ...

July 9, 2015 · 1 min · 131 words · kenno