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: 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 · 73 words · kenno

Install crontab on CentOS 6

When you install CentOS 6 using minimal CD, a lot of packages aren’t installed by default; <strong>cron</strong> included. To install it, After the installation, you can verify that crond is running:

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

Fix puppet-dashboard pending tasks

ផាប់ភិត​ដាសបត ឈប់​ដើរ​ ហើយ​ pending tasks មាន​ប្រ​ហែល​ជាង ២០០០។ មិន​ដឹង​ថា​ជាមាន​វិធី​ល្អ​ សំរាប់​ជួសជុល​បញ្ហា​នេះទេ ប៉ុន្តែខ្ញុំ​អាច ប្រើវិធីដូចនេះ អោយវារត់​ យ៉ាងយូរ​ បន្ទាប់​មក puppet-dashboard-worker ក៏ចាប់ផ្តើម​ដើរវិញ

April 30, 2013 · 1 min · 16 words · kenno

vmware: CD/DVD ROM drive is stuck in connecting mode

As the title says, if the CD/DVD device of your VM is stuck in connecting mode, one thing to try is to shutdown the vSphere client, and restarted it. I found this solution from http://communities.vmware.com/message/1784438, and it worked for me.

February 11, 2013 · 1 min · 40 words · kenno

PHP Fatal error: Call to undefined function utf8_decode()

This occurs on a FreeBSD server. According to this post[1], I need to install php5-xmlphp5-xml. [1] http://hi.baidu.com/ericyangbj/item/8289a32771e4171d09750856

December 25, 2012 · 1 min · 17 words · kenno

FreeBSD: Fatal error: Call to undefined function session_name()

I just setup Apache and PHP on FreeBSD 9, configured a vhost, then when I tried to access it, I got the following error: Fatal error: Call to undefined function session_name() in /srv/www/sugaku.domain.com/inc/init.php on line 144 so apparently, the “session” support is missiong from php5 installation. To fix it, I need to install php5-session port. Let’s do it. # whereis php5-session<br /> php5-session: /usr/ports/www/php5-session<br /> portmaster www/php5-session If the installation is successful, then we can restart apache....

December 25, 2012 · 1 min · 89 words · kenno

CentOS: lsb_release: command not found

First let me declare that I’m new to CentOS. The folowing is a note to self which demonstrates how we search for a package that provides some commands and intall it using yum on CentOS. When I ran ‘lsb_release -a’, the following message is returned: To fix it, we need to install the package which provides lsb_release command. So, let’s install redhat-lsb package: Wow, it needs to download 86M just to install that package?...

October 21, 2012 · 1 min · 82 words · kenno

Turn on puppet syntax highlight in vim

On Debian/Ubuntu: $ sudo apt-get install vim-puppet $ ln -s /usr/share/vim/addons/syntax/puppet.vim ~/.vim/plugin/

September 21, 2012 · 1 min · 12 words · kenno

Fix missing icons and ugly theme in Evolution on Kubuntu 11.10

This how Evolution looks like on Kubuntu 11.10 (Oneiric). To fix this, make sure this package is installed: “humanity-icon-theme”, then create $HOME/.config/gtk-3.0/settings.ini. [Settings] gtk-fallback-icon-theme = Humanity Restart Evolution, and it should be fixed. Credit: [solution] Evolution in Kubuntu 11.10

September 18, 2012 · 1 min · 39 words · kenno

Unknown Authn provider: ldap

Unknown Authn provider: ldap a2enmod authnz_ldap<br /> apache2ctl restart

September 12, 2012 · 1 min · 9 words · kenno