What can I do with CentOS?
Index
1. I want to install EPEL repository
-
- 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
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
- 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
Follow the guide here – http://adhocshare.blogspot.in/2012/08/create-your-own-local-yum-repositories.html
5. Setting up passwordless SSH
- #ssh-keygen -t rsa
- #ssh-copy-id -i ~/.ssh/id_rsa.pub root@hostname
6. Install firefox 15 on CentOS
- rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
- yum –enablerepo=remi install firefox
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
- 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
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