Turn color on for git status

The following command will update the Git’s global configuration to set the color.ui to true. $ git config --global color.ui true Ref: https://ask.fedoraproject.org/question/10434

September 26, 2013 · 1 min · 23 words · kenno

Changing ZFS pool to use disk ID instead of disk assignment

This what I have: # zpool status pool: tank state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 sdb ONLINE 0 0 0 sdc ONLINE 0 0 0 sdd ONLINE 0 0 0 To convert the pool to use disk’s ID instead of device files such as /dev/sda, we need to export the storage pool. ...

September 20, 2013 · 1 min · 162 words · kenno

Install Python 3 on CentOS 6

The latest release of Python 3 is 3.3.2, and there’s no package available on CentOS repo via yum. The following steps explains how to manually get Python 3 onto a CentOS system: Install development tools # yum groupinstall "Development Tools" # yum install zlib-devel bzip2-devel openssl-devel \ ncurses-devel sqlite-devel readline-devel tk-devel Download and install Python $ wget http://python.org/ftp/python/3.3.2/Python-3.3.2.tar.bz2 $ tar xjf Python-3.3.2.tar.bz2 $ cd Python-3.3.2 $ ./configure --prefix=/opt/python3 $ make $ make install</pre> Test ...

September 4, 2013 · 1 min · 81 words · kenno

How to Fix a PuppetDB SSL Error

If you don’t know what PuppetDB is, this post probably will not be useful to you. But if you want to learn about it, you can visit the official documentation: http://docs.puppetlabs.com/puppetdb/latest/index.html. For PuppetDB to work, it needs SSL certificates generated by a Puppet master. In my case, I needed to reconfigure an existing PuppetDB instance to use a new Puppet master that was running on the same server. Here’s how I did it: ...

August 22, 2013 · 1 min · 166 words · kenno

FreeBSD configure: error: XML::Parser perl module is required for intltool

If you get this error message on a FreeBSD host, you may need to reinstall p5-XML-Parser. # portmaster textproc/p5-XML-Parser

July 24, 2013 · 1 min · 19 words · kenno