0
点赞
收藏
分享

微信扫一扫

Install Jumpserver

嚯霍嚯 2022-06-08 阅读 116

Download jumpserver install shell

cd /opt
wget https://github.com/jumpserver/installer/releases/download/v2.21.2/jumpserver-installer-v2.21.2.tar.gz

Install Jumpserver

tar -zxvf jumpserver-installer-v2.21.2.tar.gz
cd jumpserver-installer-v2.21.2
./jmsctl.sh install

>>> The Installation is Complete
1. You can use the following command to start, and then visit
cd /opt/jumpserver-installer-v2.21.2
./jmsctl.sh start

2. Other management commands
./jmsctl.sh stop
./jmsctl.sh restart
./jmsctl.sh backup
./jmsctl.sh upgrade
For more commands, you can enter ./jmsctl.sh --help to understand

3. Web access
http://172.19.201.100:80
Default username: admin Default password: admin

4. SSH/SFTP access
ssh -p2222 admin@172.19.201.100
sftp -P2222 admin@172.19.201.100

5. More information
Official Website: https://www.jumpserver.org/
Documentation: https://docs.jumpserver.org/

Start Jumpserver

./jmsctl.sh start

Using SSL

#/opt/jumpserver/config/nginx/lb_http_server.conf

server_name jmp.sample.com jumpserver.sample.com; # 取消注释并自行修改成你自己的域名
server_tokens off;
ssl_certificate cert/sample.com.pem; # 修改 server.crt 为你的证书, 不要改路径 certs/
ssl_certificate_key cert/sample.com.key.pem; # 修改 server.key 为你的证书, 不要改路径 certs/
#/opt/jumpserver/config/config.txt

HTTP_PORT=80
SSH_PORT=2222
RDP_PORT=3389
USE_LB=1
HTTPS_PORT=443
LB_HTTP_PORT=80
LB_HTTPS_PORT=443

Restart Jumpserver

cd jumpserver-installer-v2.21.2/
./jmsctl.sh install

举报

相关推荐

0 条评论