Linux

Upgrade kernel in Ubuntu

Today I need to upgrade my Ubuntu box from kernel 2.6 to 3.13, here are my few notes: 1. Check the current kernel root@xxx:~# uname -r 2.6.32-042stab108.5 2. Update your box root@xxx:~# apt-get update 3. Search for the kernel image Shell root@xxx:~# apt-cache search linux-image alsa-base – ALSA driver configuration files linux-image-3.13.0-24-generic – Linux kernel

Upgrade kernel in Ubuntu Read More »

Fix GPG error NO_PUBKEY when apt-get update your Ubuntu

Some of you might encounter the following error when $apt-get update your Ubuntu system, like mine: Fetched 24.0 MB in 9s (2542 kB/s) Reading package lists… Done W: GPG error: <a href=”http://archive.canonical.com/” target=”_blank”>http://archive.canonical.com</a> trusty Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32 W: GPG error:

Fix GPG error NO_PUBKEY when apt-get update your Ubuntu Read More »

How to install Python 2.7 on BlueHost in 4 steps

1. DOWNLOAD wget http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tgz tar zxvf Python-2.7.2.tgz 2. INSTALL cd Python-2.7.2 ./configure –prefix=/home/<your account>/opt/python272 –enable-unicode=ucs4 make make install 3. TEST Now try to run: /home/<your account>/opt/python272/bin/python 4. MAKE IT YOUR DEFAULT PYTHON $vim ~/.bashrc add the following line export PATH=/home/<your account>/opt/python272/bin:$PATH reload the session $source ~/.bashrc

How to install Python 2.7 on BlueHost in 4 steps Read More »

Google Chrome on Slackware 13.37 Install Error

The problem Today I tried out Google Chrome on my Slackware 13.37 box, but it’s not that easy to start. I had a problem here /usr/bin/google-chrome: error while loading shared libraries: libpam.so.0: cannot open shared object file: No such file or directory The cure – You need to install libpam.so.0 from Slackware DVD (extra/googlechrome/google-chrome-pam-solibs-1.1.3-i486-1.txz) –

Google Chrome on Slackware 13.37 Install Error Read More »