YUM what provides this file, huh?

This post is primarily written to remind myself, an Ubuntu user, to figure out how to find what RPM package provides a file — for example a header file. Today, I’m trying to compile and install R 3.1.3 on CentOS 6 from source code. This R installation is one of the requirements to install Tessera stack. The instruction from the installation page is: Unfortunately, the process failed with ./configure with the complain about missing readline library....

June 24, 2015 · 1 min · 136 words · kenno

Disable puppet-lint class inheriting from params class

I normally use Vim to edit Puppet modules and manifests codes. However, recently I just found out about Atom editor, and quite like it. Out of the box, Atom supports many programming languages by providing syntax highlight. There are hundreds of Packages available which provide more functionalities such as make Atom to behave like a Vi editor, support Puppet codes, etc. As mentioned earlier, Atom provides syntax highlighting for various programming languages; well except Puppet....

June 18, 2015 · 1 min · 179 words · kenno

របៀបលុបណូត​ចេញ​ពី Puppet master

នៅ​កន្លែង​ធ្វើ​ការ​ ខ្ញុំ​ប្រើ​ Puppet ដើម្បី​គ្រប់​គ្រង​ ម៉ាស៊ីន​ជា​ច្រើន។ ជួនកាល​ខ្ញុំ​ត្រូ​វការលុប​ម៉ាស៊ីន​ចេញ ពី Puppet master ដោយ​សារ​ម៉ាស៊ីន​នោះ​លែង​ត្រូវ​ការហើយ។ នេះ​ជា​ជំហាន​ដែល​ត្រូវ​ធ្វើ៖ ១. លុបមាស៊ីន​ ឬ ណូត​នោះ​ពី puppet dashboard ២. លុប certificate របស់ម៉ាស៊ីននោះ​ចេញពី puppet master ដោយវាយ ខំម៉ាន # puppet cert clean node123.example.com ៣. ដោយសារ​ខ្ញុំ​ប្រើ PuppetDB ខ្ញុំ​ត្រូវ​លុប​ ណូត​នោះ ចេញ​ពី PuppetDB ដែរ # puppet node deactivate node123.example.com ខ្ញុំ​សរសេរ អត្ថបទ​នេះ ដើម្បី​រំលឹក​ខ្លួន​ឯង​ពេល​ខ្ញុំ​ត្រូវ​ការ​ធ្វើ​វា​ម្តង​ទៀត។ បើ​សិន​ជា​លោកអ្នក​ មាន​សំណូម​ពរ​ ឬ​សំណួរ​ទាក់ទង​នឹង​ ការប្រើប្រាស់ Puppet អាចសួរ​ខ្ញុំ​បាន៕

May 22, 2015 · 1 min · 52 words · kenno

R-tip: List installed R packages

April 29, 2015 · 0 min · 0 words · kenno

Fixing “Starting version 219” bug in Kubuntu 15.04 Beta

After restarting my laptop which run Kubuntu 15.04 beta, it got stuck at a black screen with a message: Starting version 219. I tried to reboot it a few times, and it always displayed the same message. Fortunately, I found a solution from this page which fixed the problem. Here’s a recap on how to do it. When you see the above message, hit Ctrl + Alt + F2 Run sudo systemctl enable sddm....

March 27, 2015 · 1 min · 94 words · kenno