当前位置 : 主页 > 操作系统 > centos >

Install Jumpserver

来源:互联网 收集:自由互联 发布时间:2022-06-20
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

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

上一篇:#云原生征文#Kubernetes集群部署
下一篇:没有了
网友评论