Centos 7 安装Mesos 所需依赖

来源:互联网 发布:谷歌网络博物馆 编辑:程序博客网 时间:2024/05/27 16:42
# Install a few utility tools$ sudo yum install -y tar wget git# Fetch the Apache Maven repo file.$ sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo# Install the EPEL repo so that we can pull in 'libserf-1' as part of our# subversion install below.$ sudo yum install -y epel-release# 'Mesos > 0.21.0' requires 'subversion > 1.8' devel package,# which is not available in the default repositories.# Create a WANdisco SVN repo file to install the correct version:$ sudo bash -c 'cat > /etc/yum.repos.d/wandisco-svn.repo <<EOF[WANdiscoSVN]name=WANdisco SVN Repo 1.9enabled=1baseurl=http://opensource.wandisco.com/centos/7/svn-1.9/RPMS/$basearch/gpgcheck=1gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdiscoEOF'# Parts of Mesos require systemd in order to operate. However, Mesos# only supports versions of systemd that contain the 'Delegate' flag.# This flag was first introduced in 'systemd version 218', which is# lower than the default version installed by centos. Luckily, centos# 7.1 has a patched 'systemd < 218' that contains the 'Delegate' flag.# Explicity update systemd to this patched version.$ sudo yum update systemd# Install essential development tools.$ sudo yum groupinstall -y "Development Tools"# Install other Mesos dependencies.$ sudo yum install -y apache-maven python-devel java-1.8.0-openjdk-devel zlib-devel libcurl-devel openssl-devel cyrus-sasl-devel cyrus-sasl-md5 apr-devel subversion-devel apr-util-devel
0 0
原创粉丝点击