文档地址:JumpServer 文档
操作系统 | 架构 | Linux 内核 | 软件要求 | 最小化硬件配置 |
---|
linux/amd64 | x86_64 | >= 4.0 | wget curl tar gettext iptables python | 2Core/8GB RAM/60G HDD |
linux/arm64 | aarch64 | >= 4.0 | wget curl tar gettext iptables python | 2Core/8GB RAM/60G HDD |
linux/loong64 | loongarch64 | == 4.19 | wget curl tar gettext iptables python | 2Core/8GB RAM/60G HDD |
Debian / Ubuntu
| apt-get update |
| apt-get install -y wget curl tar gettext iptables |
RedHat / CentOS
| yum update |
| yum install -y wget curl tar gettext iptables |
#安装 docker
#国内
| curl -sSL https://resource.fit2cloud.com/jumpserver/jumpserver/releases/latest/download/quick_start.sh | bash |
#国外
| curl -sSL https://github.com/jumpserver/jumpserver/releases/latest/download/quick_start.sh | bash |
#以下是详细过程
| >>> Install and Configure Docker |
| 1. Install Docker |
| complete |
| 2. Configure Docker |
| complete |
| 3. Start Docker |
| complete |
| >>> Loading Docker Image #可以手动拉下面的十个镜像 |
| docker pull jumpserver/redis:6.2 jumpserver/mariadb:10.6 jumpserver/core:v3.5.2 jumpserver/koko:v3.5.2 jumpserver/lion:v3.5.2 jumpserver/magnus:v3.5.2 jumpserver/chen:v3.5.2 jumpserver/kael:v3.5.2 jumpserver/web:v3.5.2 |
| -bash-4.2 |
| REPOSITORY TAG IMAGE ID CREATED SIZE |
| jumpserver/web v3.5.2 667fb8e77b22 44 hours ago 1.04GB |
| jumpserver/chen v3.5.2 a539278a3501 44 hours ago 560MB |
| jumpserver/core v3.5.2 db424857bb4f 44 hours ago 1.7GB |
| jumpserver/koko v3.5.2 9c58b690bed9 44 hours ago 1.15GB |
| jumpserver/magnus v3.5.2 29f479c7b26c 44 hours ago 152MB |
| jumpserver/kael v3.5.2 9bad3c90ba8f 44 hours ago 315MB |
| jumpserver/lion v3.5.2 02a66df099d0 44 hours ago 236MB |
| jumpserver/redis 6.2 cdce48b062ac 3 weeks ago 105MB |
| jumpserver/mariadb 10.6 aac2cf878de9 8 months ago 405MB |
| >>> Install and Configure JumpServer |
| 1. Configure Private Key |
| SECRETE_KEY: wCsTDoL1dDt6tp1XKjQcf85N1LB9hFK6pFPxBZ7nQffhlapO |
| BOOTSTRAP_TOKEN: eF3lD1GXJa0XohqbBI0vf77Y |
| complete |
| 2. Configure Persistent Directory |
| Do you need custom persistent store, will use the default directory /data/jumpserver? (y/n) (default n): complete |
| 3. Configure MySQL |
| Do you want to use external MySQL? (y/n) (default n): complete |
| 4. Configure Redis |
| Do you want to use external Redis? (y/n) (default n): complete |
| 5. Configure External Port |
| Do you need to customize the JumpServer external port? (y/n) (default n): complete |
| 6. Init JumpServer Database |
| [+] Running 4/4 |
| Network jms_net Created 0.0s |
| Container jms_redis Healthy 11.2s |
| Container jms_mysql Healthy 11.2s |
| Container jms_core Started 11.5s |
#安装完成
| >>> The Installation is Complete |
| 1. You can use the following command to start, and then visit |
| cd /opt/jumpserver-installer-v3.5.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.18.0.1:80 |
| Default username: admin Default password: admin |
| 4. SSH/SFTP access |
| ssh -p2222 admin@172.18.0.1 |
| sftp -P2222 admin@172.18.0.1 |
| 5. More information |
| Official Website: https://www.jumpserver.org/ |
| Documentation: https://docs.jumpserver.org/ |
| [+] Running 10/10 |
| Container jms_redis Healthy 0.6s |
| Container jms_mysql Healthy 0.6s |
| Container jms_core Healthy 11.4s |
| Container jms_koko Started 12.6s |
| Container jms_web Started 13.2s |
| Container jms_lion Started 12.4s |
| Container jms_chen Started 11.9s |
| Container jms_kael Started 12.9s |
| Container jms_magnus Started 13.0s |
| Container jms_celery Started 12.5s |
#安装完成后 JumpServer 配置文件路径为: /opt/jumpserver/config/config.txt
| cd /opt/jumpserver-installer-v3.5.2 |
| |
| |
| ./jmsctl.sh start |
| |
| |
| ./jmsctl.sh down |
| |
| |
| ./jmsctl.sh uninstall |
| |
| |
| ./jmsctl.sh -h |
#安装成功后,通过浏览器访问登录 JumpServer
| 地址: http://<JumpServer服务器IP地址>:<服务运行端口> |
| 用户名: admin |
| 密码: admin |
#下载对应安装包并上传到部署服务器的 /opt 目录
OS/Arch | Architecture | Linux Kernel | Offline Name |
---|
linux/amd64 | x86_64 | >= 4.0 | jumpserver-offline-installer-v3.5.2-amd64.tar.gz |
linux/arm64 | aarch64 | >= 4.0 | jumpserver-offline-installer-v3.5.2-arm64.tar.gz |
linux/loong64 | loongarch64 | == 4.19 | jumpserver-offline-installer-v3.5.2-loong64.tar.gz |
开源社区 – FIT2CLOUD 飞致云
linux/amd64
| cd /opt |
| tar -xf jumpserver-offline-installer-v3.5.2-amd64.tar.gz |
| cd jumpserver-offline-installer-v3.5.2-amd64 |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| VOLUME_DIR=/data/jumpserver |
| |
| |
| |
| |
| |
| SECRET_KEY= |
| |
| |
| |
| |
| |
| |
| BOOTSTRAP_TOKEN= |
| |
| |
| |
| LOG_LEVEL=ERROR |
| |
| |
| |
| DOCKER_SUBNET=192.168.250.0/24 |
| |
| |
| |
| |
| USE_IPV6=0 |
| DOCKER_SUBNET_IPV6=fc00:1010:1111:200::/64 |
| |
| |
| |
| |
| DB_HOST=mysql |
| DB_PORT=3306 |
| DB_USER=root |
| DB_PASSWORD= |
| DB_NAME=jumpserver |
| |
| |
| |
| |
| |
| |
| |
| |
| REDIS_HOST=redis |
| REDIS_PORT=6379 |
| REDIS_PASSWORD= |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| HTTP_PORT=80 |
| SSH_PORT=2222 |
| MAGNUS_MYSQL_PORT=33061 |
| MAGNUS_MARIADB_PORT=33062 |
| MAGNUS_REDIS_PORT=63790 |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| CLIENT_MAX_BODY_SIZE=4096m |
| |
| |
| |
| |
| CORE_HOST=http://core:8080 |
| PERIOD_TASK_ENABLED=True |
| |
| |
| |
| |
| |
| |
| SESSION_EXPIRE_AT_BROWSER_CLOSE=True |
| |
| |
| |
| JUMPSERVER_ENABLE_FONT_SMOOTHING=True |
| |
| |
| |
| |
| RDP_PORT=3389 |
| MAGNUS_POSTGRESQL_PORT=54320 |
| MAGNUS_ORACLE_PORTS=30000-30030 |
| |
| |
| |
| |
| SERVER_HOSTNAME=${HOSTNAME} |
| |
| |
| |
| CURRENT_VERSION= |
| |
| ./jmsctl.sh install |
| |
| |
| ./jmsctl.sh start |
#安装完成后配置文件 /opt/jumpserver/config/config.txt
| cd jumpserver-offline-release-v3.5.2-amd64 |
| |
| |
| ./jmsctl.sh start |
| |
| |
| ./jmsctl.sh down |
| |
| |
| ./jmsctl.sh uninstall |
| |
| |
| ./jmsctl.sh -h |
#其他参考文档
网络端口说明 – JumpServer 文档