<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Ubuntu on Kenno&#39;s Open Note</title>
    <link>https://blog.khmersite.net/tags/ubuntu/</link>
    <description>Recent content in Ubuntu on Kenno&#39;s Open Note</description>
    <image>
      <title>Kenno&#39;s Open Note</title>
      <url>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.154.0</generator>
    <language>en</language>
    <lastBuildDate>Wed, 22 Feb 2023 23:30:49 +1100</lastBuildDate>
    <atom:link href="https://blog.khmersite.net/tags/ubuntu/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to Run Redis in Podman Container</title>
      <link>https://blog.khmersite.net/p/how-to-run-redis-in-podman-container/</link>
      <pubDate>Wed, 22 Feb 2023 23:30:49 +1100</pubDate>
      <guid>https://blog.khmersite.net/p/how-to-run-redis-in-podman-container/</guid>
      <description>&lt;p&gt;This is just a quick note on how to run Redis as a container using Podman on Ubuntu 22.04 (i.e. there will be no mention about SELinux.)&lt;/p&gt;
&lt;h3 id=&#34;create-a-persistent-volume-for-the-redis-container&#34;&gt;Create a persistent volume for the Redis container&lt;/h3&gt;
&lt;p&gt;I like storing all data/volume for containers under &lt;code&gt;/srv/data&lt;/code&gt;. So I&amp;rsquo;ll create a sub-directory called &lt;code&gt;redis-data&lt;/code&gt; under the same location.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# mkdir -p /srv/data/redis-data
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;pull-the-redis-image&#34;&gt;Pull the Redis image&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# podman pull docker.io/redis
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;create-and-run-the-redis-container&#34;&gt;Create and run the Redis container&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# podman run -d --name redis_server \
    -v /srv/data/redis-data:/var/redis/data \
    -p 6379:6379 redis
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;create-systemd-service-for-the-redis-container&#34;&gt;Create systemd service for the Redis container&lt;/h3&gt;
&lt;p&gt;I like creating a systemd service to enable/start the container.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to check cpu temp on Debian and Ubuntu</title>
      <link>https://blog.khmersite.net/p/how-to-check-cpu-temp-on-debian-ubuntu/</link>
      <pubDate>Mon, 29 Aug 2022 21:08:50 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/how-to-check-cpu-temp-on-debian-ubuntu/</guid>
      <description>&lt;p&gt;This is just a quick note for me to display CPU temperature on one of my fanless device which runs Debian.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Install the required package &lt;code&gt;lm-sensors&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Run the &lt;code&gt;sensors&lt;/code&gt; command.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Here is a sample output:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;root@pve:~# sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +45.0°C  (high = +105.0°C, crit = +105.0°C)
Core 0:        +37.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:        +37.0°C  (high = +105.0°C, crit = +105.0°C)
Core 2:        +37.0°C  (high = +105.0°C, crit = +105.0°C)
Core 3:        +37.0°C  (high = +105.0°C, crit = +105.0°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +27.8°C  (crit = +119.0°C)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Reference:&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to Enable Persistent Logging for Systemd Journal</title>
      <link>https://blog.khmersite.net/p/how-to-enable-persistent-logging-for-systemd-journal/</link>
      <pubDate>Sat, 29 Aug 2020 11:01:31 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/how-to-enable-persistent-logging-for-systemd-journal/</guid>
      <description>&lt;p&gt;On RHEL 7/8, CentOS 7/8 and even Ubuntu (??), by default the journal log data is stored only in memory (&lt;code&gt;/run/log/journal/&lt;/code&gt; directory).&lt;/p&gt;
&lt;p&gt;There are 2 ways to retain the journal log messages. The first one is to set the variable &lt;code&gt;Storage&lt;/code&gt; to &lt;code&gt;persistent&lt;/code&gt; in the &lt;code&gt;/etc/systemd/journald.conf&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;[Journal]
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Storage=persistent
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Then restart the &lt;code&gt;systemd-journald&lt;/code&gt; service.&lt;/p&gt;
&lt;p&gt;Another solution is simpler and it looks like it&amp;rsquo;s the recommended way of achieving this. All we have to do is to create a directory, &lt;code&gt;/var/log/journal&lt;/code&gt; (with correct ownership and permission), and &lt;code&gt;journald&lt;/code&gt; will automatically store the log messages there.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Getting rid of old initrd files on Ubuntu</title>
      <link>https://blog.khmersite.net/p/getting-rid-of-old-initrd-files-on-ubuntu/</link>
      <pubDate>Tue, 21 Apr 2020 10:30:55 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/getting-rid-of-old-initrd-files-on-ubuntu/</guid>
      <description>&lt;p&gt;Occasionally I see some of our Ubuntu machines having /boot partition filled up by the initrd files generated from old kernels which no longer were no longer installed on the machines.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;root@matht232:/boot# uname -a
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Linux matht232 5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;root@matht232:/boot# dpkg -l linux-image-\* | grep ^ii
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ii  linux-image-5.3.0-40-generic           5.3.0-40.32~18.04.1  amd64        Signed kernel image generic
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ii  linux-image-generic-hwe-18.04-edge     5.3.0.46.102         amd64        Generic Linux kernel image
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;root@matht232:/boot# ls -1 /boot
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;config-5.3.0-40-generic
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;config-5.3.0-46-generic
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;grub
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;initrd.img-3.13.0-46-generic
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;initrd.img-4.15.0-88-generic
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;initrd.img-4.4.0-101-generic
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;initrd.img-4.4.0-122-generic
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;initrd.img-4.4.0-87-generic
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;initrd.img-5.3.0-40-generic
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;lost+found
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;System.map-5.3.0-40-generic
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;System.map-5.3.0-46-generic
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;vmlinuz-5.3.0-40-generic
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;vmlinuz-5.3.0-46-generic
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I tried to remove these &lt;code&gt;initrd&lt;/code&gt; files manually, and they were generated again when a new kernel is installed. I haven&amp;rsquo;t figured how did this happened, until today!&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to Label an XFS Filesystem</title>
      <link>https://blog.khmersite.net/p/how-to-label-xfs-filesystem/</link>
      <pubDate>Sun, 27 Oct 2019 23:49:40 +1100</pubDate>
      <guid>https://blog.khmersite.net/p/how-to-label-xfs-filesystem/</guid>
      <description>&lt;p&gt;When I plugged in an external drive to my laptop, the drive was displayed as a string consits random letters and numbers. Here is an example:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;❯❯❯ df -Th | grep sdb
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;/dev/sdb1               xfs       481M   26M  456M   6% /run/media/kenno/5428b182-c92e-466b-89d2-b5b31b80ba48
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Though the drive worked perfectly fine, I think it&amp;rsquo;s ugly, and I wanted to properly give it a good name. Let&amp;rsquo;s call it &lt;strong&gt;externo&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;But how to do this? You may not believe it, I forgot how to do this. In fact, I couldn&amp;rsquo;t rememer when the last time I had to (re)label a file system. Fear not,Google can come to the rescue!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Connect to a WPA2-Enterprise Connection Using nmcli</title>
      <link>https://blog.khmersite.net/p/connect-to-a-wpa2-enterprise-connection-using-nmcli/</link>
      <pubDate>Mon, 27 Aug 2018 14:11:38 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/connect-to-a-wpa2-enterprise-connection-using-nmcli/</guid>
      <description>&lt;p&gt;This is like a re-post of a question from &lt;a href=&#34;https://askubuntu.com/questions/262491/connect-to-a-wpa2-enterprise-connection-via-cli-no-desktop&#34;&gt;askubuntu.com&lt;/a&gt;. To get to that post, I usually had to google it. So, I’ll post it here so I know where to look for when I need it again.&lt;/p&gt;
&lt;p&gt;At work, we use WPA2-Enterprise for wireless connection. To create a new connection on my laptop with &lt;code&gt;wlp3s0&lt;/code&gt; as Wifi device, follow this step:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# nmcli con add type wifi ifname wlp3s0 con-name work-wifi ssid work-ssid

# nmcli con edit id work-wifi
nmcli&amp;gt; set ipv4.method auto
nmcli&amp;gt; set 802-1x.eap peap
nmcli&amp;gt; set 802-1x.phase2-auth mschapv2
nmcli&amp;gt; set 802-1x.identity myusername
nmcli&amp;gt; set 802-1x.password mypassword
nmcli&amp;gt; set wifi-sec.key-mgmt wpa-eap
nmcli&amp;gt; save
nmcli&amp;gt; activate
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;That’s it if you know how to do it.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to set system locale on Ubuntu 16.04</title>
      <link>https://blog.khmersite.net/p/how-to-set-system-locale-on-ubuntu-16-04/</link>
      <pubDate>Sun, 31 Dec 2017 12:03:48 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/how-to-set-system-locale-on-ubuntu-16-04/</guid>
      <description>&lt;p&gt;TLDR; just follow this &lt;a href=&#34;https://www.server-world.info/en/note?os=Ubuntu_16.04&amp;amp;p=locale&#34;&gt;guide&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;At home I run DHCP and DNS servers on Odroid U3, a system on a chip (SoC) computer. This allows me to have lots of control over my home network and most importantly – fun. I also run some web sites and Postgresql databases for testing purposes.&lt;/p&gt;
&lt;p&gt;The SoC computer runs Ubuntu 16.04 as the operating system. Recently, the Odroid U3 died.&lt;/p&gt;
&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;https://blog.khmersite.net/wp-content/uploads/2017/12/odroid_u3_20171225_230233.jpg&#34;&gt;&lt;/p&gt;
&lt;p&gt;A coworker also has an SoC, an Odroid XU4. But, he found no use of it so I bought it off him at a very good price. This new SoC will replace the Odroid U3.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Install Grub on GPT</title>
      <link>https://blog.khmersite.net/p/install-grub-on-gpt/</link>
      <pubDate>Mon, 25 Sep 2017 16:45:37 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/install-grub-on-gpt/</guid>
      <description>&lt;p&gt;I came across a problem with grub being broken recently on a system running Ubuntu 16.04. This happened after the grub2 package got upgraded. This post will explain how I solved the problem. If you have similar issues, please do not just copy and paste the commands and execute on your machine. First read on, and try to understand it.&lt;/p&gt;
&lt;p&gt;Usually, when this happened in the past, we just need to chroot into the system and reinstall grub. On Ubuntu, assuming you’ve chrooted into the system, and the boot disk is &lt;code&gt;/dev/sda&lt;/code&gt;, this could be done by running:&lt;/p&gt;</description>
    </item>
    <item>
      <title>របៀបប្តូរ​ time zone ពីខំម៉ាន​ឡាញ​ក្នុង​អ៊ូប៊ុនធូ</title>
      <link>https://blog.khmersite.net/p/how-to-change-timezone-on-ubuntu/</link>
      <pubDate>Fri, 11 Mar 2016 23:32:24 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/how-to-change-timezone-on-ubuntu/</guid>
      <description>&lt;p&gt;ថ្ងៃ​នេះ ខ្ញុំ​បានទទួល Odroid-C2 ដែល​បាន​ទិញ​ពី​ Hardkernel កាលពីអាទិត្យ​មុន។ OS ដែល​អាច​ដើរលើ​វាបាន ​ក្នុង​ពេលនេះ​​ មាន​តែ Ubuntu Mate 16.04 LTS ដែល​ជាបេតា នៅឡើយ។&lt;/p&gt;
&lt;p&gt;Time zone ដែល​មាន​ស្រាប់ជាដើម​គឺ EST (American Eastern Standard Time)។​ ខ្ញុំ​ត្រូវការ AEST (Australian Eastern Standard Time) ព្រោះខ្ញុំ​នៅ​ស៊ីដនី។ នេះ​ជាខំម៉ាន​ដែល​អាចប្តូរ Time zone បាន ដោយ​វាយ ពី ធើរមិណល់។&lt;/p&gt;
&lt;p&gt;មុន​ដំបូង ឆែក​មើលមុនសិន៖&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;odroid64:~# date
Fri Mar 11 08:13:04 EST 2016
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;ប្រើខំមាន នេះ​ដើម្បី​ប្តូរ​ time zone៖&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;odroid64:~# dpkg-reconfigure tzdata
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;ជ្រើសយក​ប្រទេស រួច​ទីក្រុង។​ នេះជាលទ្ធផល៖&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Current default time zone: &amp;#39;Australia/Sydney&amp;#39;
Local time is now:      Sat Mar 12 00:13:57 AEDT 2016.
Universal Time is now:  Fri Mar 11 13:13:57 UTC 2016.
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Reference:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Docker with OverlayFS on Ubuntu 15.10</title>
      <link>https://blog.khmersite.net/p/docker-with-overlayfs-on-ubuntu-15-10/</link>
      <pubDate>Sat, 26 Dec 2015 00:08:28 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/docker-with-overlayfs-on-ubuntu-15-10/</guid>
      <description>&lt;p&gt;As of today, the default storage for Docker on (K)Ubuntu 15.10 is AUFS. I want to switch it to OverlayFS. Personally, I’m still new to Docker, but I did hear that OverlayFS is better than AUFS. You can read more about OverlayFS &lt;a href=&#34;http://developerblog.redhat.com/2014/09/30/overview-storage-scalability-docker/&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Anyway, the purpose of this post is how to switch OverlayFS and avoid head-scratching.&lt;/p&gt;
&lt;p&gt;On Ubuntu 15.10 (wily), one can start/stop services either using Upstart or systemd. Since I want to get more accustomed to using systemd, I’ve been trying to use it anywhere possible. For example, here’s the command to start docker:&lt;/p&gt;</description>
    </item>
    <item>
      <title>ERROR: could not insert &amp;#8216;nvidia_352&amp;#8217;: Unknown symbol in module, or unknown parameter (see dmesg)</title>
      <link>https://blog.khmersite.net/p/error-could-not-insert-nvidia_352-unknown-symbol-in-module-or-unknown-parameter-see-dmesg/</link>
      <pubDate>Tue, 01 Dec 2015 13:15:02 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/error-could-not-insert-nvidia_352-unknown-symbol-in-module-or-unknown-parameter-see-dmesg/</guid>
      <description>&lt;p&gt;This is my third time having problem installing Nvidia drivers on Ubuntu (14.04). What’s worse is that I could not remember how I fixed them last time.&lt;/p&gt;
&lt;p&gt;Hope this blog post will prevent me from pulling my hair out for the 4th time.&lt;/p&gt;
&lt;p&gt;So, I installed Nvidia driver as usual:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# apt-get install nvidia_352
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;After it’s finished, I tried to load the module:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# modprobe nvidia
modprobe: ERROR: could not insert &amp;#39;nvidia_352&amp;#39;: Unknown symbol in module, or unknown parameter (see dmesg)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Well, it turned out that I need to also install another linux-image package: linux-image-extra-3.13.0-70-generic. If you try to install this package on your machine, ensure that you match the version of the kernel too; i.e. 3.13.0-70 in my case.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Installing Code Composer Studio 6 on Ubuntu 14.10 (64-bit)</title>
      <link>https://blog.khmersite.net/p/installing-code-composer-studio-6-on-ubuntu-14-10-64-bit/</link>
      <pubDate>Tue, 03 Mar 2015 22:48:55 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/installing-code-composer-studio-6-on-ubuntu-14-10-64-bit/</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;ccs6&#34; loading=&#34;lazy&#34; src=&#34;https://blog.khmersite.net/wp-content/uploads/2015/03/ccs6.png&#34;&gt;&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Issue 1:&lt;/p&gt;
&lt;p&gt;After the installation, when I ran the ccs, it produces some warning and error messages then quit.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Gtk-Message: Failed to load module &#34;overlay-scrollbar&#34;</title>
      <link>https://blog.khmersite.net/p/gtk-message-failed-to-load-module-overlay-scrollbar/</link>
      <pubDate>Tue, 09 Dec 2014 22:12:58 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/gtk-message-failed-to-load-module-overlay-scrollbar/</guid>
      <description>&lt;p&gt;On Ubuntu distro, if you see the error message below in console whenever you run a Gnome-based applications, chances are you had &lt;strong&gt;overlay-scrollbar&lt;/strong&gt; package previously installed but now removed. In addition, the configuration file which came with that package remained on your system.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Gtk-Message: Failed to load module &amp;#34;overlay-scrollbar&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To verify this, we can run the command:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ dpkg -l overlay-scrollbar
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                         Version             Architecture        Description
+++-============================-===================-===================-================
rc  overlay-scrollbar            0.2.16+r359+14.04.2 all                 Scrollbar overlay
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;rc&lt;/strong&gt; : remove but config file still presents.&lt;/p&gt;</description>
    </item>
    <item>
      <title>moserial - a serial terminal for Linux</title>
      <link>https://blog.khmersite.net/p/moserial-a-serial-terminal-for-linux/</link>
      <pubDate>Tue, 22 Apr 2014 21:38:06 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/moserial-a-serial-terminal-for-linux/</guid>
      <description>&lt;p&gt;The real tag line for moserial is &amp;ldquo;a serial terminal for the GNOME desktop&amp;rdquo;. However, since it&amp;rsquo;s installed just fine on my KDE desktop, I titled this post as &amp;ldquo;moserial - a serial terminal for &lt;strong&gt;Linux&lt;/strong&gt;&amp;rdquo;. (Well, it probably works on servers as well, not just &lt;em&gt;desktop&lt;/em&gt;.)&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;moserial&#34; loading=&#34;lazy&#34; src=&#34;https://blog.khmersite.net/wp-content/uploads/2014/04/moserial.png#center&#34;&gt;&lt;/p&gt;
&lt;p&gt;So what is this moserial? It&amp;rsquo;s a terminal which allows you to connect to view or send data to a serial port. For example, a lot of mbed device or micro controllers, such as Arduino, can be configured to send/receive data via serial port. Before I found out about this program, I normally open up Arduinio IDE and connect to the Arduino via Serial Monitor function. Now, I never look back after using moserial.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Puppet agent hangs after loading facts</title>
      <link>https://blog.khmersite.net/p/puppet-agent-hangs-after-loading-facts/</link>
      <pubDate>Tue, 22 Apr 2014 11:37:51 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/puppet-agent-hangs-after-loading-facts/</guid>
      <description>&lt;p&gt;At my current work place, we use Puppet to manage desktop machines. Recently, I need to prepare an new image based on Ubuntu 14.04 LTS.&lt;/p&gt;
&lt;p&gt;To prepare an image, in brief, first thing is to install a fresh Ubuntu on a machine, compile and package lots of applications, and make change to configuration such as look and feels, etc. As mentioned earlier, I use Puppet to manage machine, so I store all customed configuration on the Puppet server.&lt;/p&gt;</description>
    </item>
    <item>
      <title>E: Internal Error, No file name for libapt-pkg4.12</title>
      <link>https://blog.khmersite.net/p/e-internal-error-no-file-name-for-libapt-pkg4-12/</link>
      <pubDate>Thu, 03 Oct 2013 00:24:34 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/e-internal-error-no-file-name-for-libapt-pkg4-12/</guid>
      <description>&lt;p&gt;When I tried to update an Ubuntu (12.04) machine with the usual apt-get command, this error message came up:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Do you want to continue [Y/n]? Y
E: Internal Error, No file name for libapt-pkg4.12
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Reading this post (&lt;a href=&#34;http://ubuntuforums.org/showthread.php?t=2045321)&#34;&gt;http://ubuntuforums.org/showthread.php?t=2045321)&lt;/a&gt;, one way to fix it is to download liapt-pkg4.12 and re-install it:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# apt-get download libapt-pkg4.12/precise-security
# dpkg -i libapt-pkg4.12_0.8.16~exp12ubuntu10.10_amd64.deb
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This seems did the trick.&lt;/p&gt;</description>
    </item>
    <item>
      <title>បញ្ចូល​ Upstream Version នៃ Node.js ក្នុង Ubuntu 12.04</title>
      <link>https://blog.khmersite.net/p/install-upstream-version-of-node-js-on-ubuntu-12-04/</link>
      <pubDate>Tue, 01 Oct 2013 05:11:15 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/install-upstream-version-of-node-js-on-ubuntu-12-04/</guid>
      <description>&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo apt-get install python-software-properties
$ sudo apt-add-repository ppa:chris-lea/node.js
$ sudo apt-get update
$ sudo apt-get install nodejs
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;ឆែក​មើល:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ node -v
v0.10.20
&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>Turn on puppet syntax highlight in vim</title>
      <link>https://blog.khmersite.net/p/turn-on-puppet-syntax-highlight-in-vim/</link>
      <pubDate>Fri, 21 Sep 2012 02:01:47 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/turn-on-puppet-syntax-highlight-in-vim/</guid>
      <description>&lt;p&gt;On Debian/Ubuntu:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo apt-get install vim-puppet
$ ln -s /usr/share/vim/addons/syntax/puppet.vim ~/.vim/plugin/
&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>បញ្ចូល C/C&#43;&#43; plugin (or CDT) ក្នុង Eclipse</title>
      <link>https://blog.khmersite.net/p/%E1%9E%94%E1%9E%89%E1%9F%92%E1%9E%85%E1%9E%BC%E1%9E%9B-cc-plugin-or-cdt-%E1%9E%80%E1%9F%92%E1%9E%93%E1%9E%BB%E1%9E%84-eclipse/</link>
      <pubDate>Fri, 20 Jul 2012 00:39:36 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/%E1%9E%94%E1%9E%89%E1%9F%92%E1%9E%85%E1%9E%BC%E1%9E%9B-cc-plugin-or-cdt-%E1%9E%80%E1%9F%92%E1%9E%93%E1%9E%BB%E1%9E%84-eclipse/</guid>
      <description>&lt;p&gt;សំណាង​ល្អ អ៊ូប៊ុនធូ មាន​កញ្ចប់មួយ​ឈ្មោះ eclipse-cdt​ ។&lt;/p&gt;
&lt;p&gt;យើង​អាច​បញ្ចូល​វា​ដោយ ខំម៉ានដូច​នេះ&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ sudo apt-get install eclipse-cdt
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;ពេល​បើក​ Eclipse លើកក្រោយ​ ហើយ​បង្កើត project ថ្មី យើងនឹងឃើញ​ស្រដៀងនេះ&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;C/C++ project in Eclipse&#34; loading=&#34;lazy&#34; src=&#34;https://blog.khmersite.net/wp-content/uploads/2012/07/eclipse_new_project.png&#34;&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Fix: (K)ubuntu doesn&amp;#8217;t play Audio CD</title>
      <link>https://blog.khmersite.net/p/fix-kubuntu-doesnt-play-audio-cd/</link>
      <pubDate>Wed, 11 Jul 2012 01:49:55 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/fix-kubuntu-doesnt-play-audio-cd/</guid>
      <description>&lt;p&gt;On Kubuntu 11.10, we have KsCD program installed to play audio CD. The problem I’m having is that some machines could play audio cd and some couldn’t. All machines run Kubuntu 11.10.&lt;/p&gt;
&lt;p&gt;To fix this issue, check that &lt;code&gt;/dev/cdrom&lt;/code&gt; is a sym link to &lt;code&gt;/dev/sr0&lt;/code&gt; (credit [1]).&lt;/p&gt;
&lt;p&gt;In my case, machines which couldn&amp;rsquo;t play audio CD don&amp;rsquo;t have &amp;lsquo;/dev/cdrom&amp;rsquo;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# ls -l /dev/cd*
ls: cannot access /dev/cd*: No such file or directory
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Let’s create one:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Ubuntu 11.10: 32-bit applications do not run 64-bit</title>
      <link>https://blog.khmersite.net/p/ubuntu-11-10-32-bit-applications-do-not-run-64-bit/</link>
      <pubDate>Thu, 27 Oct 2011 11:47:05 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/ubuntu-11-10-32-bit-applications-do-not-run-64-bit/</guid>
      <description>&lt;p&gt;After upgrading from natty (11.04) to oneiric (11.10), some 32-bit applications don’t run anymore. I have ‘ia32-libs’ and ‘libc6-i386’ packages installed. For example, when I run Android adb,&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ ./adb
bash: ./adb: No such file or directory
$ file adb
adb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;After googling around, the fix is quite simple: re-install ‘libc6-i386’.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo apt-get install --reinstall libc6-i386
$ ./adb
Android Debug Bridge version 1.0.29
 -d                            - directs command to the only connected USB device
                                 returns an error if more than one USB device is present.
 -e                            - directs command to the only running emulator.
...
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Reference:&lt;/p&gt;</description>
    </item>
    <item>
      <title>PHP extension &#34;mcrypt&#34; must be loaded.</title>
      <link>https://blog.khmersite.net/p/php-extension-mcrypt-must-be-loaded/</link>
      <pubDate>Sun, 22 May 2011 05:12:54 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/php-extension-mcrypt-must-be-loaded/</guid>
      <description>&lt;p&gt;On Ubuntu or Debian:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo apt-cache search php|egrep ^php5-
$ sudo apt-get install php5-mcrypt
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Ref: &lt;a href=&#34;http://serverfault.com/questions/132551/install-php-extensions-on-ubuntu&#34;&gt;Install php extensions on ubuntu&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>[Fixed] K3b doesn&amp;#8217;t burn mp3 to CD</title>
      <link>https://blog.khmersite.net/p/fixed-k3b-doesnt-burn-mp3-to-cd/</link>
      <pubDate>Sat, 06 Nov 2010 13:41:03 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/fixed-k3b-doesnt-burn-mp3-to-cd/</guid>
      <description>&lt;p&gt;On Ubuntu 10.10, if you get an error message as the following when trying to create audio CD from mp3:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;“Unable to handle the following files due to an unsupported format:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;You may manually convert these audio files to wave using another application supporting the audio format and then add the wave files to the K3b project.”&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Check if you have &lt;strong&gt;&lt;code&gt;libk3b6-extracodecs&lt;/code&gt;&lt;/strong&gt; installed, if not just;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;$ sudo apt-get install libk3b6-extracodecs&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Banshee crashes: The database disk image is malformed</title>
      <link>https://blog.khmersite.net/p/banshee-crashes-the-database-disk-image-is-malformed/</link>
      <pubDate>Tue, 28 Sep 2010 11:46:02 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/banshee-crashes-the-database-disk-image-is-malformed/</guid>
      <description>&lt;p&gt;Banshee just crashed on me with the following error message:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;[Info  20:44:59.949] Running Banshee 1.6.1: [Ubuntu 10.04 LTS (linux-gnu, x86_64) @ 2010-06-18 18:47:49 UTC]
[Info  20:45:01.043] All services are started 0.949921
Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&amp;gt; Mono.Data.Sqlite.SqliteException: &amp;lt;strong&amp;gt;The database disk image is malformed&amp;lt;/strong&amp;gt;
database disk image is malformed
at Mono.Data.Sqlite.Sqlite3.Reset (Mono.Data.Sqlite.SqliteStatement stmt) [0x00000]
at Mono.Data.Sqlite.Sqlite3.Step (Mono.Data.Sqlite.SqliteStatement stmt) [0x00000]
at Mono.Data.Sqlite.SqliteCommand.ExecuteNonQuery () [0x00000]
at (wrapper remoting-invoke-with-check) Mono.Data.Sqlite.SqliteCommand:ExecuteNonQuery ()
at Hyena.Data.Sqlite.HyenaSqliteCommand.Execute (Hyena.Data.Sqlite.HyenaSqliteConnection hconnection, Mono.Data.Sqlite.SqliteConnection connection) [0x00000]
--- End of inner exception stack trace ---
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;I think this is how it happened. My computer hanged while Banshee was running, and I had to force reboot it.  Hence, the Banshee database file was corrupted. Thanks to &lt;strong&gt;boombox1387&lt;/strong&gt; from Ubuntu forum, this problem can be fixed as the following:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Amarok 2.3.0 and PulseAudio Problem</title>
      <link>https://blog.khmersite.net/p/amarok-2-3-0-and-pulseaudio/</link>
      <pubDate>Mon, 17 May 2010 09:13:32 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/amarok-2-3-0-and-pulseaudio/</guid>
      <description>&lt;p&gt;Ever since I upgraded my Ubuntu desktop from 9.04 to 10.4, I have been having problems with Amarok dropping sound randomly. For example, if Amarok is playing the music and another program requires to use sound, Amarok will become silence.&lt;/p&gt;
&lt;p&gt;One solution to restore sound in Amarok is to kill pulseaudio and restart Amarok. It works, but very annoying.&lt;/p&gt;
&lt;p&gt;Fortunately, installing libxine1-gnome and configure Amarok to use Esound (ESD) instead of PulseAudio fixed the problem.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Enable sudo insults</title>
      <link>https://blog.khmersite.net/p/enable-sudo-insults/</link>
      <pubDate>Thu, 15 Apr 2010 14:42:50 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/enable-sudo-insults/</guid>
      <description>&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo visudo
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Look for line begins with Defaults, and append insults to the end.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Defaults        env_reset,insults
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Save it, and clear the sudo session (sudo -K), and try sudo with a wrong password. 🙂&lt;/p&gt;
&lt;p&gt;Source: &lt;a href=&#34;http://www.ubuntu-unleashed.com/2007/09/enable-sudo-insults-for-some-laughs.html&#34;&gt;Enable sudo insults for some laughs&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Enable Japanese input on Debian/Ubuntu</title>
      <link>https://blog.khmersite.net/p/enable-japanese-input-on-debianubuntu/</link>
      <pubDate>Sun, 14 Mar 2010 07:59:34 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/enable-japanese-input-on-debianubuntu/</guid>
      <description>&lt;p&gt;Normally, I would install Scim and Anthy for Japanese input method on Debian. Recently, I found an easier way to achieve the same thing, which is to use IBus instead of Scim.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Install ibus: &lt;code&gt;sudo apt-get install ibus ibus-anthy ibus-gtk&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;From the menu, System -&amp;gt; Preferences -&amp;gt; IBus Preference. IBus Preference should detects that you have run IBus daemon yet, click “Yes” to run it.&lt;/li&gt;
&lt;li&gt;You’ll be asked to edit your &lt;code&gt;~/.bashrc&lt;/code&gt; and add the following 3 lines:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus&amp;lt;/pre&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;Click on “Input Method” tab, if you don’t see “Japanese – Anthy” listed under the Input Method list, select “Japanese -&amp;gt; Anthy” from the “Select an input method” drop down list, then click Add.&lt;/li&gt;
&lt;li&gt;You might want to restart X (logout and log back in)&lt;/li&gt;
&lt;li&gt;Open a text editor, and hit Ctrl + Space to toggle the Japanese input method&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Reference: &lt;a href=&#34;http://www.pubbs.net/ubuntu/200911/48640/&#34;&gt;Japanese Input with Karmic?&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Enable mp3 playback with Amarok on Ubuntu 9.10</title>
      <link>https://blog.khmersite.net/p/enable-mp3-playback-with-amarok-on-ubuntu-9-10/</link>
      <pubDate>Fri, 22 Jan 2010 10:07:13 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/enable-mp3-playback-with-amarok-on-ubuntu-9-10/</guid>
      <description>&lt;p&gt;I just installed Ubuntu 9.10 on my desktop. When I tried to play some mp3 files with Amarok 2.2.0, it didn’t make any sound though it played ogg without a problem.&lt;/p&gt;
&lt;p&gt;Thanks to this &lt;a href=&#34;http://mylinuxnotebook.blogspot.com/2009/05/how-to-play-mp3-files-amarok-ubuntu.html&#34;&gt;post&lt;/a&gt;, mp3 play back can be enabled by installing libxine1-ffmpeg.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo apt-get install libxine1-ffmpeg
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;img alt=&#34;Screenshot-Amarok&#34; loading=&#34;lazy&#34; src=&#34;https://blog.khmersite.net/wp-content/uploads/2010/01/screenshot-system-of-a-down-chop-suey-amarok.png&#34;&gt;&lt;/p&gt;
&lt;p&gt;Credit: &lt;a href=&#34;http://mylinuxnotebook.blogspot.com/2009/05/how-to-play-mp3-files-amarok-ubuntu.html&#34;&gt;How to Play mp3 files with amarok in Ubuntu Linux 9.04&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Stopping hard drive clicking noise on MSI U100</title>
      <link>https://blog.khmersite.net/p/stopping-hard-drive-clicking-noise-on-msi-u100/</link>
      <pubDate>Sat, 28 Nov 2009 04:14:27 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/stopping-hard-drive-clicking-noise-on-msi-u100/</guid>
      <description>&lt;p&gt;Finally, the OS X has been removed from MSI Wind U100, and completely replaced by Debian (testing).&lt;/p&gt;
&lt;p&gt;Whenever the computer is idle, the hdd makes this weird clicking noise. To stop it, we can use hdparm to turn it off.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;kenno@tora:~$ sudo hdparm -B 254 /dev/sda&amp;lt;/p&amp;gt;

/dev/sda:
 setting Advanced Power Management level to 0xfe (254)
 APM_level      = 254
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Source: &lt;a href=&#34;http://en.gentoo-wiki.com/wiki/MSI_Wind&#34;&gt;MSI Wind – Gentoo Linux Wiki&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>FIXED: extconf.rb:8:in &#39;require&#39;: no such file to load - mkmf (LoadError)</title>
      <link>https://blog.khmersite.net/p/fixed-extconf-rb8in-require-no-such-file-to-load-mkmf-loaderror/</link>
      <pubDate>Sat, 25 Jul 2009 11:20:28 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/fixed-extconf-rb8in-require-no-such-file-to-load-mkmf-loaderror/</guid>
      <description>&lt;p&gt;While reading Linux Journal Issue 181 today, I stumbled upon a section explaining about running Ruby on Rails on Apache using an Apache module called Phusion Passenger, also known as mod_rails.&lt;/p&gt;
&lt;p&gt;To install Passenger, I followed the instruction provided in the magazine:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo gem install passenger
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Unxpectedly, I got the following error:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Building native extensions.  This could take a while...
ERROR:  Error installing passenger:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb
extconf.rb:8:in `require&amp;#39;: no such file to load -- mkmf (LoadError)
from extconf.rb:8

Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/fastthread-1.0.7 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/fastthread-1.0.7/ext/fastthread/gem_make.out
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;What’s happening? What did I do wrong?&lt;/p&gt;</description>
    </item>
    <item>
      <title>Remove Universal Access Preference icon from Gnome panel</title>
      <link>https://blog.khmersite.net/p/remove-universal-access-icon-from-gnome-panel/</link>
      <pubDate>Tue, 23 Jun 2009 10:48:35 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/remove-universal-access-icon-from-gnome-panel/</guid>
      <description>&lt;p&gt;One of the advantages of using GNU/Linux operating system is that you hardly have to restart it. I have Debian on my laptop and it’s been running for months, until last night. It crashed and froze. Anyway, that’s not the main point this post was written.&lt;/p&gt;
&lt;p&gt;After restarting, I saw this new icon in the Gnome top panel (the third icon from the right):&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;universal_preference&#34; loading=&#34;lazy&#34; src=&#34;https://blog.khmersite.net/wp-content/uploads/2009/06/universal_preference.png&#34;&gt;&lt;/p&gt;
&lt;p&gt;Well, for the start, I don’t know what it is and I don’t think I will have a need for it either. So I wanted to remove it, but right click on this icon would do nothing. Left clicked on it would give me some setting option, but nowhere does it mention how to remove it.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Pidgin 2.5.5 &amp;#8211; cannot connect to Yahoo messenger</title>
      <link>https://blog.khmersite.net/p/pidgin-2-5-5-cannot-connect-to-yahoo-messenger/</link>
      <pubDate>Sat, 20 Jun 2009 15:52:25 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/pidgin-2-5-5-cannot-connect-to-yahoo-messenger/</guid>
      <description>&lt;p&gt;I just noticed the abnormality with Pidgin 2.5.5 (running on Debian) these few days — I couldn’t connect my Yahoo messenger account at all. According to the discussion of Bug #&lt;a href=&#34;https://bugs.launchpad.net/ubuntu/+source/pidgin/+bug/389278&#34;&gt;389278&lt;/a&gt; it appears that Yahoo was trying to change its protocol.&lt;/p&gt;
&lt;p&gt;A quick way to have Pidgin connecting to Yahoo messenger server again is to change the &lt;em&gt;Pager server&lt;/em&gt; setting for the Yahoo account in Pidgin.&lt;/p&gt;
&lt;p&gt;To do this, from Pidgin:&lt;/p&gt;</description>
    </item>
    <item>
      <title>HOWTO add user to sudoers list in Debian/Ubuntu</title>
      <link>https://blog.khmersite.net/p/howto-add-user-to-sudoers-list-in-debianubuntu/</link>
      <pubDate>Tue, 27 Jan 2009 01:26:48 +0000</pubDate>
      <guid>https://blog.khmersite.net/p/howto-add-user-to-sudoers-list-in-debianubuntu/</guid>
      <description>&lt;p&gt;You need to have root access to do that. So the first step to become root with the following command:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ken@debian:~$ su&amp;lt;br /&amp;gt; Password:&amp;lt;br /&amp;gt; debian:/home/ken# visudo&amp;lt;br /&amp;gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Now you can add a username to the list. For example:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;br /&amp;gt; ken ALL=(ALL) ALL&amp;lt;br /&amp;gt; &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Save the file to complete the process.&lt;/p&gt;
&lt;p&gt;Credit: &lt;a href=&#34;http://ubuntuforums.org/showthread.php?t=139243&#34;&gt;Ubuntu Forum&lt;/a&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
