Thursday, December 11, 2014

Install ffmpeg on CentOS 7

Install ffmpeg on CentOS 7.0 X86_64

If you have tried to install ffmpeg on CentOS 7.0, you are not able to install it.
It shows message, "No package ffmpeg found."
It doesn't mean, you can not install this package on your CentOS 7.0.
Here is the solution for you.

Run following command on terminal to download the package.
wget ftp://rpmfind.net/linux/centos/6.5/os/x86_64/Packages/libdc1394-2.1.2-3.4.el6.x86_64.rpm
Now install this downloaded package
yum -y localinstall libdc1394-2.1.2-3.4.el6.x86_64.rpm
Now you need to install the repo atrpms
rpm -ivh http://dl.atrpms.net/el7-x86_64/atrpms/stable/atrpms-repo-7-7.el7.x86_64.rpm
Now install ffmpeg, it will not show the message "No package found."
yum -y install ffmpeg
I hope, it will work for you.

Friday, November 7, 2014

/usr/lib/apache2/modules/libphp5.so: cannot open shared object file

If you facing this error on your ubuntu system while operating apache2, here is solution for you.

Install following package on your ubuntu system.
sudo apt-get install libapache2-mod-php5
Now try again.

Ubuntu Login Error : failed to start session

Ubuntu Login Error : failed to start session

If you are not able to log into your account and it shows above error. Here is a solution for you.

Press ctrl+alt+f1 to open command prompt.

Now install following packages.
sudo apt-get install ubuntu-desktop
and
sudo apt-get install gnome-shell ubuntu-gnome-desktop
Now try to Login again.