Index
- I want to install EPEL repository
- How to mount 'ntfs' partition in CentOS?
- How do I create CentOS local repository?
- Create local yum repository
- Setting up passwordless SSH
- Install firefox 15 on CentOS
- Download rpm packages locally to a directory to setup local repo
- Install VirtualBox on CentOS
1. I want to install EPEL repository
For the impatient
I am using CentOS 6
-
- Go to http://ftp.riken.jp/Linux/fedora/epel/6/i386/repoview/epel-release.html
- Download RPM and install the package (yum install /path/to/rpm) from su
For the rest
Go to http://wiki.centos.org/AdditionalResources/Repositories it contains the additional repositories.
Find your favourite repository/EPEL and follow the links, they should have updated information over time.
2. How to mount 'ntfs' partition in CentOS?
Read the guide here - http://wiki.centos.org/TipsAndTricks/NTFS
3. How do I create CentOS local repository?
For the impatient
I am using CentOS 6
- yum install createrepo
- createrepo /path/to/rpms
4. Create local yum repository
For the impatient
I am using CentOS 6
- Should have createrepo package. If not then yum install createrepo
- Create a repository directory that will contain rpms (mkdir /media/repo)
- #createrepo /path/to/rpms (here /media/repo)
- #nano /etc/yum.repos.d/local.repo
- Contents of local.repo
[local]
Name=CentOS 6.3 $releasever $basearch local repository
baseurl=file:///media/repo
enabled=1
Follow the guide here - http://adhocshare.blogspot.in/2012/08/create-your-own-local-yum-repositories.html
5. Setting up passwordless SSH
For the impatient
I am using CentOS
- #ssh-keygen -t rsa
- #ssh-copy-id -i ~/.ssh/id_rsa.pub root@hostname
6. Install firefox 15 on CentOS
For the impatient
I am using CentOS
- rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
- yum --enablerepo=remi install firefox
For the rest
Follow here - http://adhocshare.blogspot.in/2012/09/install-firefox-15-on-fedora-1716.html
Follow here - http://adhocshare.blogspot.in/2012/09/install-firefox-15-on-fedora-1716.html
7. Download rpm packages locally to a directory to setup local repo
For the impatient
I am using CentOS
- Install yum-downloadonly plugin (#yum install yum-downloadonly)
- Only download -> #yum install firefox --downloadonly --downloaddir=/media/repo
- Download and install -> #yum install firefox --downloaddir=/media/repo
For setting up local repository go to section 4.
8. Install VirtualBox on CentOS
For the impatient
I am using CentOS
- from directory /etc/yum.repos.d run #wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
- #yum groupinstall "Development Tools"
- #yum install kernel-devel
- #yum install VirtualBox-4.2
- for a user who wants to run virtualbox run #usermod -a -G vboxusers username
For the rest - goto http://wiki.centos.org/HowTos/Virtualization/VirtualBox
No comments:
Post a Comment
I would be glad to know if this post helped you.