日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

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

發布時間:2023/12/13 linux 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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的方法,你可以按文章介紹的操作。

相關主題

總結

以上是生活随笔為你收集整理的linux semaphore,在CentOS 7操作系统上安装Semaphore的方法的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。