步骤一:系统需求
操作系统
操作系统 架构 Linux 内核 软件要求 最小化硬件配置 linux/amd64 x86_64 >= 4.0 wget curl tar gettext iptables python 2Core/8GB RAM/60G HDD linux/arm64 aarch64 >= 4.0 curl tar gettext iptables python 2Core/8GB RAM/60G yum update yum install -y wget curl tar gettext iptables
容器环境
步骤二:下载离线包
cd /opt tar -xf jumpserver-ce-v4.10.14-x86_64.tar.gz cd jumpserver-ce-v4.10.14-x86_64 # 根据需要修改配置文件模板, 如果不清楚用途可以跳过修改
步骤三:# 安装
./jmsctl.sh install
步骤四:# 启动
安装完成后 JumpServer 配置文件路径为: /opt/jumpserver/config/config.txt cd jumpserver-ce-v4.10.14-x86_64 # 启动 ./jmsctl.sh start # 停止 ./jmsctl.sh down # 卸载 ./jmsctl.sh uninstall # 帮助 ./jmsctl.sh -h
步骤五:访问
地址: http://<JumpServer服务器IP地址>:<服务运行端口> 用户名: admin 密码: ChangeMe
###新建Windows主机:
选windows-或windows2016
####录像回放
1、所有上传成功的录像都保存在这里:/opt/jumpserver/core/data/media/replay2在线播放(会很慢) 录像文件的在线查看地址位于 “审计台” → “会话审计” → “会话记录” → ”历史会话“。3离线播放 下载播放器: https://github.com/jumpserver/VideoPlayer/releases/download/v0.1.5/JumpServer.Video.Player.Setup.0.1.5.exe http://jumpserver/core/download/
####上传和下载文件
上传下载的操作都是分成二个阶段,首是都是将文件上传下载到堡垒机,然后从堡垒上传到服务器或者下载到本地
步骤1:登录堡垒机
步骤2:连接资产
步骤3:点击右边的“齿轮”按钮
步骤四:点击文件管理---选择需要的文件上传
步骤五:目标服务器上,双击“我的电脑”,可以看到多了一个挂载盘,双击打开,将文件复制到本地硬盘
注意:需修改上传下载配置文件大小:
[root@localhost config]# vim config.txt [root@localhost config]# pwd /opt/jumpserver/config [root@localhost config]# more config.txt | grep 40960 CLIENT_MAX_BODY_SIZE=409600m
修改超时时间:
Linux 超时时间 #进入web容器 docker exec -it jms_web /bin/bash #修改路由文件 vi /etc/nginx/conf.d/default.conf #修改location /koko/中的以上内容 proxy_connect_timeout 600; proxy_send_time 600; proxy_read_timeout 600; send_timeout 6000;(以上单位均为秒,根据需求设置即可) #保存修改内容 #检查nginx语法 nginx -t #重新加载配置生效 nginx -s reload
超时时间修改完成。测试无误后,可将该文件映射到宿主机上做持久化
参考链接:
https://docs.jumpserver.org/zh/v4/installation/setup_linux_standalone/offline_install/#1 https://kb.fit2cloud.com/?p=61