Enable mp3 in RhythmBox in Centos

Step 1:  Open linux console in root .

Step 2: Go to the yum directory by -

cd /etc/yum.repos.d/
Step 3: Get the yum repository for RhythmBox by the following command -

wget http://pkgrepo.linuxtech.net/el6/release/linuxtech.repo

Step 4: Now install by yum --

          yum install rhythmbox .

Step 5: Now install 2 plug-in for .mp3 extension.

yum install gstreamer-plugins-ugly 
yum install gstreamer-plugins-bad
You are done!

Install MPlayer in CentOs or Unix

Step 1:  Open linux console in root .

Step 2: Go to the yum directory by -

cd /etc/yum.repos.d/
Step 3: Get the yum repository for MPlayer by the following command -

wget http://pkgrepo.linuxtech.net/el6/release/linuxtech.repo

Step 4: Now install by yum --

          yum install mplayer .


You are done!

Install VLC in Centos or Unix

Step 1:  Open linux console in root .

Step 2: Go to the yum directory by -

cd /etc/yum.repos.d/
Step 3: Get the yum repository for VLC by the following command -

wget http://pkgrepo.linuxtech.net/el6/release/linuxtech.repo

Step 4: Now install by yum --

          yum install vlc .


You are done!


error:: sql.h: No such file or directory in Centos or Unix

This error arise when we want build an data base related class or function in our native project in centos or unix.


 error:: sql.h: No such file or directory

Solution: 

Install ODBC in your system.

Command:

yum install unixODBC*  --->>> for centos


How to copy file from and to remote PC in linux, centos

Case 1: How to downloading or copying file from remote PC?

Ans: Do it by the following  command --


scp -r user@remote_pc_ip:/path/to/downloadable/file  /your/pc/path

After that the command line will ask for password. Give it and download the file.


Case 2: How to upload or copy file to remote PC?

Ans: Do it by the following  command --


scp -r  /your/pc/path/for/file  user@remote_pc_ip:/path/to/upload/a/file

After that the command line will ask for password. Give it and upload the file.