CentOS7 安装OpenXXX

XXX==你晓得啦

CentOS7 安装OpenXXX
1.下载一键安装脚本(无需操作)

2.解压缩(无需操作)
unzip master.zip
3.卸载epel
yum remove epel-release
4.安装阿里云提供的epel
wget -O /etc/yum.repos.d/epel-7.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum clean all && yum makecache
5.执行一键安装脚本安装XXX服务
将openXXX-install.sh上传到服务器。
cd openXXX-install-master/
chmod +x openXXX-install.sh
./openXXX-install.sh
6.配置服务端允许多终端共享配置
cd /etc/openXXX/server
vim server.conf
添加下面一行到文件末尾
duplicate-cn
7.重启服务器,测试。
查看状态:
systemctl status openXXX-server@*.service

注:本文所使用的代码主要来源于 https://github.com/Nyr/openXXX-install 本人做了一定的修改,以适用本文的测试环境。

启动openXXX的命令:

/usr/sbin/openXXX --status /run/openXXX-server/status-server.log --status-version 2 --suppress-timestamps --config server.conf

脚本下载地址:点此下载openXXX-install.sh

revoke 用户后,需要重启openXXX服务,以使得操作生效。

posted on 2019-09-25 10:40  sixiiweb  阅读(214)  评论(0编辑  收藏  举报

导航