Tag Archives: yum

Home »  Tag: yum

This is nothing really new, but definitely worth tracking because it just make sense and works fine. If you either virtualise or have otherwise many Debian / Ubuntu / Centos / Fedora based servers and workstations and want to keep them updated regularly, you do this over the internet for each and every instance. This utilises bandwidth and takes time to download particularly if you don’t have a some big internet connectivity. The principle is that you setup a proxy server for apt or yum which caches and serves on duplicate request the packages and therefore you will save time and bandwidth. The first device fetching the package will trigger the proxy to cache it and the next instance will receive the cache package from the proxy. This will reduce the used bandwidth and volume of the internet line and speed up the update due to using a local available cache. […]

Update 09.09.2014: Updated to epel release 7-2 Update 06.12.2014: Updated the Epel 7-2 location Update 31.07.2015: Updated to Epel 7-5 location CentOS 7 is out and based on CentOS 6.X: How To Install The EPEL Repository here is EPEL for Centos 7.x All commands are to be executed as root. rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm There is also an update for a repo called remi which is also providing some bleeding edge packages and updates. This is highly optional and not related to EPEL. If you like to install that one, here we go. rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm To enable certain remi repositories use vi and set enabled=1 where it applies vi /etc/yum.repos.d/remi.repo Related posts: CentOS 6.x: How to install the EPEL repository CentOS 6.x: VMware Repo for VMware tools x86_64 RedHat 6.x / CentOS 6.x: How to Install ZFS native Linux: Howto show the Servers IP address at the login console RedHat 6.x/CentOS 6.x: Rename RHN Satellite (Spacewalk) […]

If you need to install the vmware tools for CentOS 6.x as a repo then: rpm –import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub vi /etc/yum.repos.d/VMWare-Tools.repo insert [vmware-tools] name=VMware Tools baseurl=http://packages.vmware.com/tools/esx/latest/rhel6/x86_64 #baseurl=http://packages.vmware.com/tools/esx/4.1latest/rhel6/i686 enabled=1 gpgcheck=1 gpgkey=http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub This will point to the latest release for Centos 6.X_X64 then: To select a specific version of ESX you can browse the path to select different directories. yum -y install vmware-tools-services vmware-tools-esx-nox vmware-tools-pvscsi-common vmware-tools-plugins-autoUpgrade vmware-tools-plugins-guestInfo vmware-tools-plugins-powerOps vmware-tools-plugins-timeSync Now this might be a quick and dirty solution to get the latest tools from the repo. However, ESX doesn’t like it and will show them as (?) Running (3rd-party/Independent)” which means it won’t auto-update the tools. it might be better to mount the vmware tools from the ESX Server and after unpacking them to run vmware-install.pl -d to install unattended with the defaults.   Related posts: Linux / VMware: Howto Increase a / (Root) LVM partition on a single vmdk without adding another […]

Here we go again. After installing ZFS on a Debian based Proxmox Node I now need some bang on a CentOS Server. To remind you all: ZFS on Linux is considerably stable and matured, but you put it in place on your own risk. ZFS Native comes from http://zfsonlinux.org/ I use a Centos 6.3 minimal installation and I have a 2GB disk configured to it for demo. fdisk -l Disk /dev/sdb: 2147 MB, 2147483648 bytes Updated (26.04.2013) And a Russian fellow describes his way to install it which I used and improved. http://habrahabr.ru/post/152853/ He build his own repo under http://yum.aclub.net/pub/linux/centos/6/umask-zfsonlinux/x86_64/ which is maintained as per 05.03.2013 So we start with: cd /etc/yum.repos.d/ wget http://yum.aclub.net/pub/linux/centos/6/umask-zfsonlinux/umask-zfsonlinux.repo rpm –import http://yum.aclub.net/pub/linux/centos/5/umask/RPM-GPG-KEY-umask There is an original repo from zfs on Linux now which we are going to use since it has the latest version 0.6.1 of ZFS http://zfsonlinux.org/epel.html yum localinstall –nogpgcheck If you don’t have […]

It is from time to time useful to have the EPEL repository from Fedora enabled under CentOS in order to get the additional and latest and greatest packages and updates. Here is how to do so. All commands are to be executed as root. Firstly we install wget in case its not yet installed and then we get the packages and apply them to the system. rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm There is another repo called remi also providing some bleeding edge packages and updates. This is highly optional and not related to EPEL. If you like to install that one, here we go. rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm We need to enable the repo now. vi /etc/yum.repos.d/remi.repo feel free to enabled=1 the remi and the remi testing channels [remi] name=Les RPM de remi pour Enterprise Linux 6 – $basearch #baseurl=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/ mirrorlist=http://rpms.famillecollet.com/enterprise/6/remi/mirror enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi [remi-test] name=Les RPM de remi en test pour Enterprise Linux 6 – $basearch #baseurl=http://rpms.famillecollet.com/enterprise/6/test/$basearch/ mirrorlist=http://rpms.famillecollet.com/enterprise/6/test/mirror enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi Related posts: CentOS 7.X: […]

%d bloggers like this: