Saturday, March 17, 2012

Post instalation of Centos 6

#######################

Installing Free and Nonfree Repositories

link: http://rpmfusion.org/Configuration/

We have two separate software repositories:
  • free for Open Source Software (as defined by the Fedora Licensing Guidelines) which the Fedora project cannot ship due to other reasons
  • nonfree for redistributable software that is not Open Source Software (as defined by the Fedora Licensing Guidelines); this includes software with publicly available source-code that has "no commercial use"-like restrictions
Installation can be done either using a web browser, or via the command line.

Graphical Setup via Firefox web browser


  1. First enable access to the free repository. For users of gpk (gnome package kit) or kpackagekit in Fedora that is easy and basically only one step: just click on one of the following files, depending on what distribution you use and then follow the default options that Firefox and Package Kit offer by clicking Enter a few times (¹):
  2. Once that succeeds, you can enable access to the nonfree repositories by clicking on one of the following files, depending on what distribution you use and then follow the default options that Firefox and Package Kit offer by clicking Enter a few times(¹):
(¹) Once you clicked on above link Firefox will ask you how to Open the file. Here you can simply use the default and open the file with the default application Package Installer. Then Firefox will call Package Kit, which asks Do you want to install this file ?. Click OK to begin install; Package Kit then will complain about a Missing security signature; once you tell Package Kit to install the package nevertheless it will move on and install it. That's all.

Command Line Setup using rpm


To enable access to both the free and the nonfree repository use the following command:
  • Fedora 15 and 16:
    su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
  • Fedora Rawhide and what will become Fedora 17 (Alpha, Beta and snapshots):
    su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-rawhide.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-rawhide.noarch.rpm'
  • RHEL 5 or compatible like CentOS:
    su -c 'rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/5/i386/rpmfusion-free-release-5-0.1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/testing/5/i386/rpmfusion-nonfree-release-5-0.1.noarch.rpm'
  • RHEL 6 or compatible like CentOS:
    su -c 'rpm -Uvh http://download1.rpmfusion.org/free/el/updates/testing/6/i386/rpmfusion-free-release-6-0.1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/testing/6/i386/rpmfusion-nonfree-release-6-0.1.noarch.rpm'

Important notes


  • You need to enable EPEL on RHEL 5 & 6 or compatible distributions like CentOS before you enable RPM Fusion for EL. See the fedoraproject wiki for instruction how to enable EPEL.
  • The RPM Fusion for EL repositories are still in the early testing stages; hence you (for now) need to enable epel-testing as well, as some of the RPM Fusion packages depend on packages that are currently in epel-testing.
  • All users that used Freshrpms or Livna installed properly (e.g. by installing one of their foo-release packages) got RPM Fusion free and nonfree repositories enabled automatically.

link for EPEL: http://fedoraproject.org/wiki/EPEL/FAQ#howtouse

##########################################

Installation on centos 32-bit
Install the Adobe YUM repository:

[mirandam@charon Download]$ sudo rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
[mirandam@charon Download]$ sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

Install the plugin:
[mirandam@charon Download]$ sudo yum install flash-plugin
 

Install Adobe Acrobat

 
[mirandam@charon Download]$ sudo yum install AdobeReader_enu
 

 ###########################################

YUM Plugins
While yum has many plugins available. Fedora 12 and newer enable yum-presto which should try to download only updated portions of packages instead of the full package during updates. Additionally many users use the fastestmirror plugin which (typically) speeds up downloads by attempting to find faster sources. To install:
[mirandam@charon ~]$ sudo yum install yum-plugin-fastestmirror

 

 

############################

How to Mount an NTFS Filesystem

link:http://wiki.centos.org/TipsAndTricks/NTFS

http://www.linuxquestions.org/questions/linux-desktop-74/how-to-centos-5-ntfs-621688/

Make sure you have the rpmforge repo installed. If not, refer to Repositories.
Install the following packages. 

yum install fuse fuse-ntfs-3g 

If the rpmforge repo is disabled by default,
yum --enablerepo=rpmforge install fuse fuse-ntfs-3g 

<!> Note for CentOS-5 users: If you are still running CentOS 5.3 or older, then you would need to install kmod-fuse from ELRepo

For CentOS-6 the EPEL repository is carrying later NTFS packages. EPEL is also usable for CentOS-5. To install, after enabling the repo per the Repositories page:
yum install ntfs-3g 

or if you prefer to leave EPEL disabled by default
yum --enablerepo epel install ntfs-3g 

You may also want to
yum install ntfsprogs ntfsprogs-gnomevfs 


#######################################################################3

Howto:Installing VLC Player on RHEL 6.x & CentOS 6.x | 32 bit | 64 bit ( x86_64) | Using Script

 

link:http://www.tejasbarot.com/2011/07/25/how-to-install-vlc-player-on-rhel-6-x-centos-6-x-32-bit-64-bit-x86_64-using-script/

Hello Guys,
I  got huge response from you guys for My Previous VLC installation script on RHEL 5.x, So Many Users requested me to post Same Kind of Script for RHEL 6 and I am done with it. I am Very thankful to each and every user who have given so nice response to my that post. I hope they will enjoy this post too
Previously I have written Script to Install VLC Player on RHEL 5.x 32 bit for Automatic Installation, You can say a script which i have designed to install VLC Player Very Quickly and without any dependecy problems.
This time I have written script to install VLC Player on RHEL 6.x and CentOS 6.x for Both Architecture ( 32bit and X86_64 (64Bit). I hope this script helps you.
To Make it more simple I have created Own RPM So This time there will be 1 additional step that You have to follow.

Note :- This script is tested in Local Environment, Think many times before you execute on Production/Local/Anywhere, Do it at your OWN RISK.
Following things must exist on your Computer/Linux to execute this script:-
=> Direct Working Internet Connection or Yum Should run from Terminal. If you are using Internet connection with Proxy then it will be problematic for you.
=> RHEL 6.x and CentOS 6.x must be installed with 32bit or X86_64 Arch.
This time couple of addition steps to make it more simple. So This time VLC Installation in 7 Steps.
Perform Following Steps to Install VLC Player on RHEL 6.x / Cent OS 6.x on 32 or 64Bit :-
1) You have to be root to execute this script.
2) Download RPM ( Auto VLC Redhat Centos6) which I have specially created for VLC Installation Script , You can use RPMs for CentOS 6 too.Click on Following link to Download RPM for Your Architecture :-
3) Execute Following Commands as per your Respective architecture :-
For 32 Bit Architecture :-
# rpm -ivh avrc6-tejas-barot-linux-0.1.0-1.el6.i386.rpm
For 64(X86_64) bit Architecture :-
# rpm -ivh avrc6-tejas-barot-linux-0.1.0-1.el6.x86_64.rpm
4) Download VLC Installation Script for RHEL6 and CentOS 6 , Click this link :- http://www.ask4itsolutions.com/RPMs/Scripts/vlc6-installation.sh
5) Execute following Command where you have downloaded the script.
[root@ask4itsolutions ~]# chmod +x vlc6-installation.sh
6). Now Execute your script by two ways mentioned below
[root@ask4itsolutions ~]# sh vlc6-installation.sh
OR
[root@ask4itsolutions ~]# ./vlc6-installation.sh
7) Once you Execute it will ask you 4 Options to Install as per your OS and Architecture and 5th Option for Exit Select Option as per your OS and Architecture
Press (R32) to Install VLC on RHEL 6.x on 32bit
Press (R64) to Install VLC on RHEL 6.x on 64bit
Press (C32) to Install VLC on CentOS 6.x on 32bit
Press (C64) to Install VLC on CentOS 6.x on 64bit
Press (E) to Exit anytime
Please Enter your Selection: <Put Your Option Here and Press Enter>

8) Remember you have to be normal user to run VLC Player, You cannot Run VLC Player as root.
Hope You like this.
Please Click on Google +1 button and Add your ratings if this works for you and you like it.
If this works for you then Show your support and encourage me to write some more howto’s by commenting on the same topic or by sending me mail on blog(at)tejasbarot(dot)com
If this doesn’t work for you then also please do let me know so i can helps you out to solve the issue, If you are facing the error then please send me mail on blog(at)tejasbarot(dot)com with Subject:- VLC Installation Issue
Enjoy VLC on Linux :)  Enjoy Linux :)  Enjoy Open Source :)  Enjoy Players on Linux :)
##########################################################################
Tejas Barot’s Latest Linux Quote :-
“I am Very much concern about Security & Stability, That’s the reason I am not using Insecure & Unstable WindowZ, Feel Secure, Be Stable, Use Linux and Open Source” – Tejas Barot
For More Linux quotes by Tejas Barot please visit :- http://goo.gl/xb0nZ

Read more: Howto:Installing VLC Player on RHEL 6.x & CentOS 6.x | 32 bit | 64 bit ( x86_64) | Using Script @ All Linux User's Blog http://www.tejasbarot.com/2011/07/25/how-to-install-vlc-player-on-rhel-6-x-centos-6-x-32-bit-64-bit-x86_64-using-script/#ixzz1pNPMkUR4
All Linux User's Blog | Tejas Barot | Ahmedabad | Gujarat | India | www.TejasBarot.com
Under Creative Commons License: Attribution Share Alike

 ###################################

Another method of killing a process is as follows:
# ps aux | grep name_of_process
At the command line type: kill -9 PID_Number_Here
You can also type:
# killall -9 name_of_process which will kill any process with that name.
##########################

Unrar

The unrar utility is a freeware program for extracting, testing and viewing the contents of archives created with the RAR archiver version 1.50 and above.

su -c 'yum install unrar'
 
#####################################################
#####


No comments:

Post a Comment