របៀបលុបណូត​ចេញ​ពី 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

> rownames(installed.packages()) [1] "bitops" "manipulate" "RCurl" "rgl" "rstudio" [6] "scrapeR" "XML" "base" "boot" "class" [11] "cluster" "codetools" "compiler" "datasets" "foreign" [16] "graphics" "grDevices" "grid" "KernSmooth" "lattice" [21] "MASS" "Matrix" "methods" "mgcv" "nlme" [26] "nnet" "parallel" "rpart" "spatial" "splines" [31] "stats" "stats4" "survival" "tcltk" "tools" [36] "utils" >

April 29, 2015 · 1 min · 47 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.service -f ...

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

Installing Code Composer Studio 6 on Ubuntu 14.10 (64-bit)

As of today, Code Composer Studio (ccs) 6 is only available for 32-bit Linux platform. The good news is that it can be installed on a 64-bit version of Ubuntu and Fedora. In this blog post, I’m going to show a few issues I came across and how to fix them on Ubuntu 14.10 64-bit. Issue 1: After the installation, when I ran the ccs, it produces some warning and error messages then quit. ...

March 3, 2015 · 2 min · 289 words · kenno

Mounting qcow2 VM disk images

From time to time, after applying Windows updates on my Windows 7 kvm-based virtual machine, the machine won’t boot after restarting. In the past, I was lucky to be able to fix it. Last night, I could not say the same thing. Instead of stressing out losing my hair on how to get it working again, it’s decided to just restore the whole Windows image. First, I need to get some updated data from it though. ...

February 19, 2015 · 1 min · 116 words · kenno