Skip to main content

Posts

Enable mp3 playback in RhythmBox player in CentOS

Playing mp3 in centos is easier with RhythmBox player. Here how it is - Step 1:  Open Linux console as a 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!

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.

Samba Centos root share error - You do not have permission to access in windows

Description: You have a Centos PC and trying to access the root user's Desktop from a Windows PC. You can see the shared folder in the \Network\Centos_PC_IP, but can't access the folder when you double click. The pop window arise with a error - You do not have permission to access in windows \\CENTOS_IP\\root. Contact your network administrator to request access.   Solution:   First you need to check you samba settings in your centos pc by command -   testparm   After that you need to do a little change o your /etc/samba/smb.conf file. Find the folder you shared from root in this file. It will be like -- [root] path = /root/Desktop read only = No Change it to - [root]   force user = root force group = root  path = /root/Desktop read only = No  And restart the samba by -- /sbin/service smb restart   And you are d...

How to share (read/write) any folder with root permissions in centos 6 or linux

Question: Now a days many people like software developers uses 2 or more OS. So the people who have multiple PC's with different OS need to share the files or folder between them. So how? Solution: Requirement: i.  Samba ii. LAN connection Step 1. Install samba by giving command in centos console -    yum install samba Step 2. Configure samba by opening smb.conf  vi /etc/samba/smb.conf i. Create a workgroup in which you are going to share the files/folders. by default it is like - workgroup = MYGROUP change it to -                                  netbios name = your_host_name workgroup = workgroup because windows system has default group named as WORKGROUP . ii. Now create a shared resource , wher...