Рейтинг@Mail.ru

Available versions:

  1.7 (stable)   1.8 (alpha)  

Tarantool - RHEL/CentOS 6 and 7

RHEL/CentOS 6 and 7

We maintain an always up-to-date package repository for the derivatives of RHEL 6 and 7. You may need to enable the EPEL repository for some packages.

Copy and paste the script below to the root terminal prompt:

  • For RHEL/CentOS 6:

    # Clean up yum cache
    yum clean all
    
    # Enable EPEL repository
    yum -y install http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
    sed 's/enabled=.*/enabled=1/g' -i /etc/yum.repos.d/epel.repo
    
    # Add Tarantool repository
    rm -f /etc/yum.repos.d/*tarantool*.repo
    tee /etc/yum.repos.d/tarantool_1_7.repo <<- EOF
    [tarantool_1_7]
    name=EnterpriseLinux-6 - Tarantool
    baseurl=http://download.tarantool.org/tarantool/1.7/el/6/x86_64/
    gpgkey=http://download.tarantool.org/tarantool/1.7/gpgkey
    repo_gpgcheck=1
    gpgcheck=0
    enabled=1
    
    [tarantool_1_7-source]
    name=EnterpriseLinux-6 - Tarantool Sources
    baseurl=http://download.tarantool.org/tarantool/1.7/el/6/SRPMS
    gpgkey=http://download.tarantool.org/tarantool/1.7/gpgkey
    repo_gpgcheck=1
    gpgcheck=0
    EOF
    
    # Update metadata
    yum makecache -y --disablerepo='*' --enablerepo='tarantool_1_7' --enablerepo='epel'
    
    # Install Tarantool
    yum -y install tarantool
    
  • For RHEL/CentOS 7:

    # Clean up yum cache
    yum clean all
    
    # Enable EPEL repository
    yum -y install http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    sed 's/enabled=.*/enabled=1/g' -i /etc/yum.repos.d/epel.repo
    
    # Add Tarantool repository
    rm -f /etc/yum.repos.d/*tarantool*.repo
    tee /etc/yum.repos.d/tarantool_1_7.repo <<- EOF
    [tarantool_1_7]
    name=EnterpriseLinux-7 - Tarantool
    baseurl=http://download.tarantool.org/tarantool/1.7/el/7/x86_64/
    gpgkey=http://download.tarantool.org/tarantool/1.7/gpgkey
    repo_gpgcheck=1
    gpgcheck=0
    enabled=1
    
    [tarantool_1_7-source]
    name=EnterpriseLinux-7 - Tarantool Sources
    baseurl=http://download.tarantool.org/tarantool/1.7/el/7/SRPMS
    gpgkey=http://download.tarantool.org/tarantool/1.7/gpgkey
    repo_gpgcheck=1
    gpgcheck=0
    EOF
    
    # Update metadata
    yum makecache -y --disablerepo='*' --enablerepo='tarantool_1_7' --enablerepo='epel'
    
    # Install Tarantool
    yum -y install tarantool