2026-11-01

文档 · 2026-11-01

ubuntu安装jumpserver

ubuntu安装jumpserver

#解压压缩包后进入文件夹
./jmsctl.sh install
./jmsctl.sh start
./jmsctl.sh status
#配置systemd
vim /etc/systemd/system/jms.service

[Unit]
Description=JumpServer Core Service
Documentation=https://docs.jumpserver.org
After=network.target docker.service
Requires=docker.service
Wants=network-online.target

[Service]
Type=oneshot
RemainAfterExit=yes
WorkingDirectory=/data/jms
ExecStart=/data/jms/jmsctl.sh start
ExecStop=/data/jms/jmsctl.sh stop
ExecReload=/data/jms/jmsctl.sh restart
TimeoutStartSec=300
TimeoutStopSec=120

[Install]
WantedBy=multi-user.target