1

Install Jumpserver_wemux的技术博客_51CTO博客

 1 year ago
source link: https://blog.51cto.com/wemux/5366371
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Install Jumpserver

推荐 原创

wemux 2022-06-08 10:37:15 博主文章分类:Linux ©著作权

文章标签 nginx jumpserver 文章分类 Linux 系统/运维 阅读数337

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 [email protected]
sftp -P2222 [email protected]

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
  • 打赏
  • 收藏
  • 评论
  • 分享
  • 举报

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK