linux semaphore,在CentOS 7操作系统上安装Semaphore的方法

本文介绍在CentOS 7操作系统上安装Semaphore的方法,安装完后就可以使用Semaphore来管理Ansible Web UI了。

一、安装MariaDB数据库和git 2.x参考文章

1、安装MariaDB数据库参考文章

2、安装git 2.x

确认git版本:

$ git --version

git version 2.16.5

二、安装Ansible的方法

在CentOS 7服务器上安装Ansible,运行以下命令:

sudo yum -y install epel-release

sudo yum -y install ansible

测试ansible命令,运行以下命令:

$ ansible --version

ansible 2.7.9

config file = /etc/ansible/ansible.cfg

configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']

ansible python module location = /usr/lib/python2.7/site-packages/ansible

executable location = /usr/bin/ansible

python version = 2.7.5 (default, Oct 30 2018, 23:45:53) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]

三、下载和安装Semaphore

可以到Semaphore下载页面下载Semaphore rpm软件包:

访问Semaphore Releases页面并复制操作系统的下载链接。

sudo yum -y install wget

wget https://github.com/ansible-semaphore/semaphore/releases/download/v2.5.1/semaphore_2.5.1_linux_amd64.rpm

安装Semaphore软件包:

$ sudo rpm -Uvh semaphore_2.5.1_linux_amd64.rpm

Preparing…   ######################### [100%]

Updating / installing…

1:semaphore-2.5.1-1   ######################### [100%]

检查$PATH中是否有semaphore二进制文件:

$ which semaphore

/usr/bin/semaphore

$ semaphore  -version

v2.5.1

从上面的信息可以知道,所安装的版本是2.5.1。

四、配置Semaphore的说明

请参考在Ubuntu/Debian上安装和设置Semaphore的方法,文章中讲到配置Semaphore的方法,你可以按文章介绍的操作。

3a60de4d4d0223204d6a6d1d77f46599.png

相关主题

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值