用docker安裝jumpserver

安裝docker

https://blog.csdn.net/weixin_44882388/article/details/104939941

極速安裝-jumpserver

[root@localhost ~]# cd /opt/
[root@localhost opt]# yum -y install wget
已加載插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.huaweicloud.com
[root@localhost opt]# wget -O /opt/jms_install.sh https://demo.jumpserver.org/download/jms_install.sh
[root@localhost opt]# ls
containerd  jms_install.sh  rh
[root@localhost opt]# 
[root@localhost opt]# sh jms_install.sh 
 請勿在任何已經部署了其他服務的生產服務器上面運行此腳本 
 如果你有已經配置好的 數據庫 和 redis , 請先編輯此腳本修改對應的變量, 後再繼續安裝 
任意鍵回車繼續安裝, 按 q 退出 :
 檢測到 Centos7 系統 
 設置 防火牆 
 設置 Selinux 
//得到賬號密碼
 請打開瀏覽器訪問 http://192.168.148.33 用戶名:admin 密碼:admin 
[root@localhost opt]# 

在瀏覽器打開

![在這裏插入圖片描述](https://img-blog.csdnimg.cn/20200318120038792.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDg4MjM4OA==,size_16,color_FFFFFF,t_70在這裏插入圖片描述

//後續重啓服務器後啓動異常, 可以使用下面的命令進行啓動
[root@localhost ~]# systemctl stop firewalld.service 
[root@localhost ~]# setenforce 0
[root@localhost ~]# cd /opt/
[root@localhost opt]# ls
containerd  jms_install.sh  jumpserver  luna  py3  rh
[root@localhost opt]# systemctl start jms_core  # 注意先啓動 jms_core 後再啓動其他組件
[root@localhost opt]# docker start jms_koko
jms_koko
[root@localhost opt]# docker start jms_guacamole
jms_guacamole
[root@localhost opt]# 

在這裏插入圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章