2 Star 1 Fork 1

ltfafei/shell_script

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Install_jumpserver.sh 743 Bytes
一键复制 编辑 原始数据 按行查看 历史
ltfafei 提交于 2020-08-31 08:53 . Add shell script
#!/bin/bash
# Evn perpare
systemctl stop firewalld && systemctl disable firewalld
sed -i 's/enforcing/disabled/' /etc/selinux/config
setenforce 0
# Install rely software
yum -y install wget sqlite-devel xz gcc automake autoconf python-devel vim sshpass lrzsz readline-devel zlib-devel openssl-devel epel-release git python3 python3-pip
# Upload and tar
cd /opt && tar -xzf jumpserver3.0.tar.gz
tar -xzf jumpserver2.0.tar.gz -C /opt
cd jumpserver/install/ && pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
sellp 1 && pip freeze
# Install configure database
yum -y install mariadb mariadb-server
systemctl start mariadb && systemctl enable mariadb && systemctl status mariadb
mysqladmin -uroot -p password 123456
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/afei00123/shell_script.git
git@gitee.com:afei00123/shell_script.git
afei00123
shell_script
shell_script
master

搜索帮助