Play all media formats on Ubuntu 14.04 LTS Desktop

Experiments, How to, Linux
I still remember the first time I test-drove Mandriva Linux (formerly known as Mandrake), I could run every other audio and video format out-of-the-box without downloading anything (it was a dialup modem era so downloading was a pain-in-the-rear). Many years after, I finally installed Ubuntu 14.04 LTS on my new laptop but it does not recognize some of my mp3 files and im like "Are you kidding me?" Im glad I found a solution, there is a package called ubuntu-restricted-extras (read the Wikipedia entry and Ubuntu documentation) that you can install and it support all major media formats, Codecs and even Flash Player. To install, you need to run [code lang="bash"]sudo apt-get install ubuntu-restricted-extras[/code] Legal Notice Patent and copyright laws operate differently depending on which country you are in. Please obtain legal advice…
Read More

Windows to Linux (Ubuntu 14.04 LTS) Migration

Experiments, Linux, OpenSource, Ubuntu
I have been a hardcore Linux user from a Server-OS point of view since many years. Have used CentOS, Ubuntu, Debian and Fedora extensively. I have always recommended and used Linux without hesitation since I knew this is one thing that I cannot be wrong about. One place where I was reluctant to use Linux iswas my Desktop. My PC, Laptop and Work-Laptop running Windows 7. Although I love the simple interface of Windows, now its time that I try to experiment with a Linux Desktop OS. I am sure that within a few weeks, if not days, I would get in love with my decision which I have been postponing since many years now. I have chosen Ubuntu 14.04 LTS for this purpose. What follows is my transition from…
Read More

Webalizer not working on Ubuntu

Linux, Tutorials, Ubuntu
One of my Ubuntu based VPS had Webalizer installed to collect stats from webserver but it was not working because I could see not stats at /webalizer/. If thats the case with you try the following 1) Try running the webalizer crontab [code]root@backups:~# /etc/cron.daily/webalizer Error Opening file /usr/share/GeoIP/GeoIP.dat[/code] So we have identified the culprit that geoip-database is not installed. 2) Fix this by installing geoip-database [code]root@backups:~# apt-get install geoip-database[/code] (more…)
Read More

Ubuntu – Unable to load dynamic library ‘/usr/lib/php5/20090626+lfs/sqlite.so’

Linux, Tips and Tricks, Tutorials, Ubuntu
The other day, I was getting this weird error [code]PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/sqlite.so' - /usr/lib/php5/20090626+lfs/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0[/code] Fix it by doing this [code]root@beta:~# rm -fr /etc/php5/conf.d/sqlite.ini[/code] Because this extension does not exist, you can verify it by running this, you will see that there is already sqlite3.ini file there [code]root@beta:~# ls -lh /usr/lib/php5/20090626+lfs/ | grep sqlite[/code]
Read More

vzfree utility to check memory usage in OpenVZ VPS

How to, Linux, OpenSource, Resources, Tips and Tricks, Tutorials, Ubuntu, Virtual Private Server
From the official blog post Gee. It has been a while since I’ve last written here, and it will be a while again for my next post as I will be on holidays from next Monday (visiting families in Hong Kong and Taiwan). Let me share one small utility program that I wrote quite a while ago. We all know that the Linux command free(1) is pretty useless inside an OpenVZ VE, even those with meminfo virtualised. So I basically wrote this little util to grab the data from the dreadful user_beancounters and format them into something useful. It’s written in C and only depends on libc so it’s pretty light weight. It also does a little bit of analysis instead of just dumping the data, which I will explain…
Read More

VPSLatch VPS Benchmark

Reviews, Virtual Private Server
Unix Benchmark results from VPSLatch (OpenVZ running Ubuntu 10.04 LTS 32bit on their Orlando, FL node) using unixbench v 5.1.2 Specs: 1024MB / 60GB OpenVZ running Ubuntu 10.04 LTS 32bit Note: This VPS has the best benchmark that I have ever seen, wow, no doubt Adam is having busy managing the best VPS+CPanel combination ever! (more…)
Read More

NAGIOS 3 with notifications on twitter

Experiments, How to, Linux, OpenSource, Resources, Social Networking, Tips and Tricks, Tutorials, Virtual Private Server
I have been experimenting with NAGIOS3 on Ubuntu (I will write a how-to-install on NAGIOS later) and it has served me very good in monitoring my 7 VPS from different providers in different part of the world. I have already recorded 3 hours of downtime from ThrustVPS which is a great deal for me. I now know which VPS has the best time and which ones have hiccups (e.g. my 2Host VPS gave me two unreachable notifications but the VPS was running and still reports the uptime as 4 days). Since I use twitter more, even when Im on the road, notifications via email is a bit slow for me. Luckily I found a great tutorial online to do that. (more…)
Read More

Spacerich VPS Benchmark

Reviews, Virtual Private Server
Update (26-Aug-2010): From my experience, they have very huge iowait and hence I/O problems on their VPS servers. You have to wait for like 10-15 seconds for a 'uptime' command to execute which is pretty pathetic. So in my opinion, it was useless for me. Unix Benchmark results from Spacerich (OpenVZ running Ubuntu 10.04 LTS 32bit on their Munich, Germany node) using unixbench v 5.1.2 Specs: 256MB / 25GB OpenVZ running Ubuntu 10.04 LTS 32bit Note: Being in Europe, it has the best response time to Asia especially Pakistan (more…)
Read More

ThrustVPS XEN HVM Benchmark

Reviews, Virtual Private Server
Update (25-Aug-2010): Rus Foster from ThrustVPS.com is a blackmailer and a person with low self-esteem. He actually blackmailed me to hand him over certain domain names which he thinks believes is breaching the AUP. My accounts, VPS and the $60 of affiliate commission was terminated. I will advise everyone to KEEP AWAY from Rus Foster and ThrustVPS.com (click here to read the full review) Unix Benchmark results from ThrustVPS (XEN HVM running Ubuntu 10.04 LTS on their West Coast (LA) node) using unixbench v 5.1.2 Specs: 512MB / 15GB XEN HVM running Ubuntu 10.04 LTS 32bit Note: Although the test results from the previous bechmark on their XEN PV is just average, this one is the best benchmark I had on a 512MB VPS ever! (more…)
Read More