Category Archives: Linux

Missing Dependency: libjpeg.so.62 is needed by package xulrunner-1.9.2.22-1.el5_7.i386 (updates)

On a cpanel sever, when running yum update, i get following error xulrunner-1.9.2.22-1.el5_7.i386 from updates has depsolving problems –> Missing Dependency: libjpeg.so.62 is needed by package xulrunner-1.9.2.22-1.el5_7.i386 (updates) ghostscript-8.70-6.el5_7.3.i386 from updates has depsolving problems –> Missing Dependency: libjpeg.so.62 is needed … Continue reading

Posted in CentOS | Tagged , , | Leave a comment

Installing Git on CentOS

Git is a distributed version control created by Linus torvalds for managing Linux kernal. Now many large projects use git for version control. You can download latest version of git from http://git-scm.com/download To install version 1.7.5.2, run cd /usr/local/src wget … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

Install Unrar on CentOS

To install Unrar on CentOS, run cd /usr/local/src wget http://www.rarlab.com/rar/rarlinux-3.8.0.tar.gz tar zxvf rarlinux-3.8.0.tar.gz cd rar make make install We installed older version of unrar as Latest unrar will not work on CentOS 5.x To check where unrar installed, run which … Continue reading

Posted in CentOS | Tagged , , | Leave a comment

Install Sun Java on CentOS

Download Java JDK or JRE from http://www.oracle.com/technetwork/java/javase/index-137561.html JRE is only for running Java Programs. JDK can compile Java Source code and run it. So if you plan to make Java Program, download JDK. Download Link for 32 Bit JDK on … Continue reading

Posted in CentOS | Tagged , , , , , | 1 Comment

Change ls color in bash CentOS/RHEL/Fedora

By default CentOS/RHEL show directorys in ls listing in dark green. With dark color, i found it difficult to read directory names. To change directory color, do cp /etc/DIR_COLORS ~/.dir_colors Edit ~/.dir_colors vi ~/.dir_colors Find DIR 01;34 # directory Replace … Continue reading

Posted in Linux | Tagged , , , , , , | 4 Comments

Install software with RPM

To install rpm file, run [code lang="bash"] rpm -ivh package.rpm [/code] Here -i = install -v = verify -h = show progress with # To upgrade an existing rpm package, run [code lang="bash"] rpm -Uvh package.rpm [/code] -U = Upgrade … Continue reading

Posted in Linux | Tagged , , | Leave a comment

TextAloud on Ubuntu

I use TTS to read web pages. Switching to Ubuntu i miss the Text to Speech. Default text to speech on ubuntu is too difficult to understand. You can listen to it only if you get used to its bad … Continue reading

Posted in ubuntu | Tagged , , , | 2 Comments

Google Chrome TTS

Google Chrome have Text to Speech extension, that make it easy to listen to web pages instead of reading the page. You can install the extension from. https://chrome.google.com/extensions/detail/jbldhmenlfmbooleglopeplanhpmhmje tts use web based google tts, so it is little slow, you … Continue reading

Posted in ubuntu | Tagged , , | Leave a comment

How to find out which program is using a port

You can use netstat or fuser commands to find out which program is using a port. You can find used ports with command nmap [root@server52 ~]# nmap localhost Starting Nmap 4.20 ( http://insecure.org ) at 2010-03-24 07:14 EDT Interesting ports … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

ffmpeg-php undefined symbol php_gd_gdImageSetPixel

When i install ffmpeg-php on a plesk server, i got following error PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/modules/ffmpeg.so’ – /usr/lib/php/modules/ffmpeg.so: undefined symbol: php_gd_gdImageSetPixel in Unknown on line 0 This is caused by loading ffmpeg.so before gd.so … Continue reading

Posted in Linux | Tagged , , , , | 2 Comments