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

Upgrading from Fedora 18 to 19

I know Fedora 19 is officially released tomorrow; but if you can’t wait to upgrade your machine to the latest release like me, here is the command to do it: $ sudo fedup --network 19 One thing I noticed after the upgrade is that, the bottom status bar can’t be found when you hit the system key. The good news is it’s still there; you just need to hit system key + m to have it showed up.

July 2, 2013 · 1 min · 78 words · kenno

Install crontab on CentOS 6

When you install CentOS 6 using minimal CD, a lot of packages aren’t installed by default; cron included. To install it, # yum install cronie After the installation, you can verify that crond is running: # chkconfig --list crond crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off

May 27, 2013 · 1 min · 47 words · kenno