Jumpserver一键部署

部署条件

新装CentOS7,关闭防火墙和SELinux,部署完成后再开启防火墙

  • CPU最少2核
  • 内存最少4G
[root@localhost ~]# cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)
[root@localhost ~]# uname -r
3.10.0-1160.62.1.el7.x86_64######CPU最少2核
[root@localhost ~]# cat /proc/cpuinfo | grep "physical id"
physical id : 0
physical id : 2   ######内存最少4G
[root@localhost ~]# free -mtotal        used        free      shared  buff/cache   available
Mem:           3789         721         343           8        2724        2776
Swap:          2047           0        2047

官方提示说不建议部署在生产环境中,但是我觉得还可以。挺稳的,反正我们需求不是很大,奔了再重新部署

自动化部署

curl -sSL https://github.com/jumpserver/jumpserver/releases/download/v2.21.3/quick_start.sh | bash

脚本执行过程附在文章最后

默认安装目录 /opt/jumpserver-installer-v2.21.3/

[root@localhost ~]# cd /opt/jumpserver
jumpserver/                   jumpserver-installer-v2.21.3/

启动jumpserver

[root@localhost jumpserver-installer-v2.21.3]# pwd
/opt/jumpserver-installer-v2.21.3[root@localhost jumpserver-installer-v2.21.3]# ls
compose  config-example.txt  config_init  jmsctl.sh  LICENSE  locale  quick_start.sh  README.md  scripts  static.env  utils
[root@localhost jumpserver-installer-v2.21.3]# ./jmsctl.sh start
jms_redis is up-to-date
jms_mysql is up-to-date
Creating jms_core ... done
Creating jms_lion   ... done
Creating jms_web    ... done
Creating jms_celery ... done
Creating jms_koko   ... done
Creating jms_magnus ... done

管理命令

cd /opt/jumpserver-installer-v2.21.3./jmsctl.sh start
./jmsctl.sh stop
./jmsctl.sh restart
./jmsctl.sh backup
./jmsctl.sh upgrade

jumpserver添加域名

jumpserver官方自带了配置nginx,可以添加自己想用的域名,打开下面的文件即可。

官方还是很贴心的,里面全是中文的注释

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

[root@localhost opt]# ls
containerd  jumpserver  jumpserver-installer-v2.21.3
[root@localhost opt]# cd jumpserver
[root@localhost jumpserver]# ls
config  core  koko  lion  magnus  mysql  nginx  redis
[root@localhost jumpserver]# vim /opt/jumpserver/config/nginx/lb_http_server.conf# Todo: May be can auto discovery
upstream http_server {ip_hash;server web:80;  # 这个是可以通过容器访问, 外部访问是 80端口# server HOST2:80;  # 另外的要写真实IP
}server {listen 80;# listen [::]:80;# server_name demo.jumpserver.org;  # 取消注释并自行修改成你自己的域名return 301 https://$server_name$request_uri;
}listen 443 ssl;# listen [::]:443 ssl;# server_name demo.jumpserver.org;      # 取消注释并自行修改成你自己的域名server_tokens off;ssl_certificate cert/server.crt;        # 修改 server.crt 为你的证书, 不要改路径 certs/ssl_certificate_key cert/server.key;    # 修改 server.key 为你的证书, 不要改路径 certs/ssl_session_timeout 1d;ssl_session_cache shared:MozSSL:10m;ssl_session_tickets off;ssl_protocols TLSv1.1 TLSv1.2;ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4:!DH:!DHE:!DES:!ECDHE-RSA-DES-CBC3-SHA;add_header Strict-Transport-Security "max-age=31536000" always;ssl_prefer_server_ciphers off;client_max_body_size 5000m;location / {proxy_pass http://http_server;proxy_buffering off;proxy_request_buffering off;proxy_http_version 1.1;proxy_set_header Host $host;proxy_set_header Upgrade $http_upgrade;proxy_set_header Connection $http_connection;proxy_set_header X-Forwarded-For $remote_addr;# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;  # 如果上层还有其他 slb 需要使用 $proxy_add_x_forwarded_for 获取真实 ipproxy_ignore_client_abort on;proxy_connect_timeout 600;proxy_send_timeout 600;proxy_read_timeout 600;send_timeout 6000;}
}

我是虚拟机环境,先就不改了。我们登录看看

验证结果

默认用户名密码:admin/admin

首次登陆强制修改密码

附:脚本执行过程

[root@localhost ~]# curl -sSL https://github.com/jumpserver/jumpserver/releases/download/v2.8.2/quick_start.sh | bash
download install script to /opt/jumpserver-installe (开始下载安装脚本到 /opt/jumpserver-installe)██╗██╗   ██╗███╗   ███╗██████╗ ███████╗███████╗██████╗ ██╗   ██╗███████╗██████╗██║██║   ██║████╗ ████║██╔══██╗██╔════╝██╔════╝██╔══██╗██║   ██║██╔════╝██╔══██╗██║██║   ██║██╔████╔██║██████╔╝███████╗█████╗  ██████╔╝██║   ██║█████╗  ██████╔╝██   ██║██║   ██║██║╚██╔╝██║██╔═══╝ ╚════██║██╔══╝  ██╔══██╗╚██╗ ██╔╝██╔══╝  ██╔══██╗╚█████╔╝╚██████╔╝██║ ╚═╝ ██║██║     ███████║███████╗██║  ██║ ╚████╔╝ ███████╗██║  ██║╚════╝  ╚═════╝ ╚═╝     ╚═╝╚═╝     ╚══════╝╚══════╝╚═╝  ╚═╝  ╚═══╝  ╚══════╝╚═╝  ╚═╝Version:  v2.21.3  1. 检查配置文件
配置文件位置: /opt/jumpserver/config
/opt/jumpserver/config/config.txt  [ √ ]
/opt/jumpserver/config/nginx/cert/server.crt   [ √ ]
/opt/jumpserver/config/nginx/cert/server.key   [ √ ]
完成>>> 安装配置 Docker
1. 安装 Docker
开始下载 Docker 程序 ...
开始下载 Docker Compose 程序 ...
完成2. 配置 Docker
是否需要支持 IPv6? (y/n)  (默认为 n): 完成3. 启动 Docker
Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /etc/systemd/system/docker.service.
完成>>> 加载 Docker 镜像
[jumpserver/redis:6-alpine]
6-alpine: Pulling from jumpserver/redis
5843afab3874: Pull complete
f2c041a97bd6: Pull complete
2ab181d61f92: Pull complete
0e735c6f0308: Pull complete
3494533ff85c: Pull complete
09ce5e93ca58: Pull complete
Digest: sha256:8300b885570faad626e569e7b8cfef3407c87050d705ff26e243200cb3f84da8
Status: Downloaded newer image for jumpserver/redis:6-alpine
docker.io/jumpserver/redis:6-alpine[jumpserver/mysql:5]
5: Pulling from jumpserver/mysql
6ec7b7d162b2: Pull complete
fedd960d3481: Pull complete
7ab947313861: Pull complete
64f92f19e638: Pull complete
3e80b17bff96: Pull complete
014e976799f9: Pull complete
59ae84fee1b3: Pull complete
7d1da2a18e2e: Pull complete
301a28b700b9: Pull complete
979b389fc71f: Pull complete
403f729b1bad: Pull complete
Digest: sha256:b3b2703de646600b008cbb2de36b70b21e51e7e93a7fca450d2b08151658b2dd
Status: Downloaded newer image for jumpserver/mysql:5
docker.io/jumpserver/mysql:5[jumpserver/web:v2.21.3]
v2.21.3: Pulling from jumpserver/web
a2abf6c4d29d: Downloading
da03644a1293: Download complete
dcbfc6badd70: Download complete
3f7ccff97047: Download complete
49e31097680b: Download complete
c423e1dacb26: Download complete
b99d5d996654: Download complete
cc7313c9de23: Download complete
24a16806ba0c: Download complete
e45be6294d04: Download complete
1031225a2523: Download complete
16bd93408191: Download complete
v2.21.3: Pulling from jumpserver/web
a2abf6c4d29d: Pull complete
da03644a1293: Pull complete
dcbfc6badd70: Pull complete
3f7ccff97047: Pull complete
49e31097680b: Pull complete
c423e1dacb26: Pull complete
b99d5d996654: Pull complete
cc7313c9de23: Pull complete
24a16806ba0c: Pull complete
e45be6294d04: Pull complete
1031225a2523: Pull complete
16bd93408191: Pull complete
Digest: sha256:db1885afcb408df344c4e9981dfa093475b99cb8ecf59da8796f0299667685fb
Status: Downloaded newer image for jumpserver/web:v2.21.3
docker.io/jumpserver/web:v2.21.3[jumpserver/core:v2.21.3]
v2.21.3: Pulling from jumpserver/core
a2abf6c4d29d: Already exists
625294dad115: Pull complete
08df3e6c0bde: Pull complete
7e941b2681b0: Pull complete
8ca822cf3e83: Pull complete
3d9727b97be2: Pull complete
9e38c8594861: Pull complete
7cbc9447a8f4: Pull complete
ab532f013756: Pull complete
f09538e377a9: Pull complete
Digest: sha256:9e69ee8ffc359a4ee0d0e9c94c81b5fc0eded0a18aefbda9bb780414e1627787
Status: Downloaded newer image for jumpserver/core:v2.21.3
docker.io/jumpserver/core:v2.21.3[jumpserver/koko:v2.21.3]
v2.21.3: Pulling from jumpserver/koko
a2abf6c4d29d: Already exists
2c1a7e91d4e4: Pull complete
96de146d0b8c: Pull complete
03dd6aed8c1e: Pull complete
91b8840f8e6e: Pull complete
ba55b25bc461: Pull complete
2168e211b761: Pull complete
3d2cb44035da: Pull complete
cfc53f2e1ba2: Pull complete
2311c94cb1cd: Pull complete
caee78407526: Pull complete
05afe0ab097c: Pull complete
Digest: sha256:4b1175123b68076c23e8b37096f7bf16293e3de065ed58ebe947eadc4b2cbaed
Status: Downloaded newer image for jumpserver/koko:v2.21.3
docker.io/jumpserver/koko:v2.21.3[jumpserver/lion:v2.21.3]
v2.21.3: Pulling from jumpserver/lion
72a69066d2fe: Downloading
01971ece8edb: Download complete
00efad7f1f86: Download complete
ac262804a75a: Download complete
0688de3fd063: Download complete
2e94ff443643: Download complete
d4b1196ea6e9: Download complete
c9ec7b715f2a: Download complete
2e73730e3d84: Download complete
b8cb7dfe7af9: Download complete
9d875f6d7272: Download complete
0b54bdce5460: Download complete
ff6e0699eeb9: Download complete
91d5fc659785: Download complete
7d652fd39339: Download complete
v2.21.3: Pulling from jumpserver/lion
72a69066d2fe: Pull complete
01971ece8edb: Pull complete
00efad7f1f86: Pull complete
ac262804a75a: Pull complete
0688de3fd063: Pull complete
2e94ff443643: Pull complete
d4b1196ea6e9: Pull complete
c9ec7b715f2a: Pull complete
2e73730e3d84: Pull complete
b8cb7dfe7af9: Pull complete
9d875f6d7272: Pull complete
0b54bdce5460: Pull complete
ff6e0699eeb9: Pull complete
91d5fc659785: Pull complete
7d652fd39339: Pull complete
Digest: sha256:392b6eaa0e86e6524ac374602f9a1370d4fc8b1118810139528b332cccd28bcd
Status: Downloaded newer image for jumpserver/lion:v2.21.3
docker.io/jumpserver/lion:v2.21.3[jumpserver/magnus:v2.21.3]
v2.21.3: Pulling from jumpserver/magnus
a2abf6c4d29d: Already exists
fbacd524939e: Pull complete
b6a6371ff2d8: Pull complete
9ea96861c420: Pull complete
b0a1aa352238: Pull complete
d35fd332b45a: Pull complete
Digest: sha256:cb17df1dbc4e809ef69bdb1a6ac53473e560e769f5c7037abcb41782cd7fb282
Status: Downloaded newer image for jumpserver/magnus:v2.21.3
docker.io/jumpserver/magnus:v2.21.3完成>>> 安装配置 JumpServer
1. 配置加密密钥
SECRETE_KEY:     MTc4ZjRkNTYtMzNlNi0yNjhjLWU5YzQtMzMwZmQyMDJiMGZi
BOOTSTRAP_TOKEN: MTc4ZjRkNTYtMzNlNi0yNjhj
完成2. 配置持久化目录
是否需要自定义持久化存储, 默认将使用目录 /opt/jumpserver? (y/n)  (默认为 n): 完成3. 配置 MySQL
是否使用外部 MySQL? (y/n)  (默认为 n): 完成4. 配置 Redis
是否使用外部 Redis? (y/n)  (默认为 n): 完成5. 配置对外端口
是否需要配置 JumpServer 对外访问端口? (y/n)  (默认为 n): 完成6. 初始化数据库
Creating network "jms_net" with driver "bridge"
Creating jms_mysql ... done
Creating jms_redis ... done
Creating jms_core  ... done
2022-05-08 11:12:53 Collect static files
2022-05-08 11:12:54 Collect static files done
2022-05-08 11:12:54 Check database structure change ...
2022-05-08 11:12:54 Migrate model change to database ...
Operations to perform:Apply all migrations: acls, admin, applications, assets, audits, auth, authentication, captcha, common, contenttypes, django_cas_ng, django_celery_beat, jms_oidc_rp, notifications, ops, orgs, perms, rbac, sessions, settings, terminal, tickets, users
Running migrations:Applying contenttypes.0001_initial... OKApplying contenttypes.0002_remove_content_type_name... OKApplying auth.0001_initial... OKApplying auth.0002_alter_permission_name_max_length... OKApplying auth.0003_alter_user_email_max_length... OKApplying auth.0004_alter_user_username_opts... OKApplying auth.0005_alter_user_last_login_null... OKApplying auth.0006_require_contenttypes_0002... OKApplying auth.0007_alter_validators_add_error_messages... OKApplying auth.0008_alter_user_username_max_length... OKApplying users.0001_initial... OKApplying users.0002_auto_20171225_1157_squashed_0019_auto_20190304_1459... OKApplying authentication.0001_initial... OKApplying authentication.0002_auto_20190729_1423... OKApplying authentication.0003_loginconfirmsetting... OKApplying authentication.0004_ssotoken... OKApplying acls.0001_initial... OKApplying acls.0002_auto_20210926_1047... OKApplying acls.0003_auto_20211130_1037... OKApplying admin.0001_initial... OKApplying admin.0002_logentry_remove_auto_add... OKApplying admin.0003_logentry_add_action_flag_choices... OKApplying users.0020_auto_20190612_1825... OKApplying users.0021_auto_20190625_1104... OKApplying users.0022_auto_20190625_1105... OKApplying users.0023_auto_20190724_1525... OKApplying users.0024_auto_20191118_1612... OKApplying users.0025_auto_20200206_1216... OKApplying users.0026_auto_20200508_2105... OKApplying users.0027_auto_20200616_1503... OKApplying users.0028_auto_20200728_1805... OKApplying users.0029_auto_20200814_1650... OKApplying users.0030_auto_20200819_2041... OKApplying users.0031_auto_20201118_1801... OKApplying tickets.0001_initial... OKApplying tickets.0002_auto_20200728_1146... OKApplying tickets.0003_auto_20200804_1551... OKApplying tickets.0004_ticket_comment... OKApplying tickets.0005_ticket_meta_confirmed_system_users... OKApplying tickets.0006_auto_20201023_1628... OKApplying tickets.0007_auto_20201224_1821... OKApplying terminal.0001_initial... OKApplying terminal.0002_auto_20171228_0025_squashed_0009_auto_20180326_0957... OKApplying terminal.0010_auto_20180423_1140... OKApplying terminal.0011_auto_20180807_1116... OKApplying terminal.0012_auto_20180816_1652... OKApplying terminal.0013_auto_20181123_1113... OKApplying terminal.0014_auto_20181226_1441... OKApplying terminal.0015_auto_20190923_1529... OKApplying terminal.0016_commandstorage_replaystorage... OKApplying common.0001_initial... OKApplying common.0002_auto_20180111_1407... OKApplying common.0003_setting_category... OKApplying common.0004_setting_encrypted... OKApplying common.0005_auto_20190221_1902... OKApplying common.0006_auto_20190304_1515... OKApplying settings.0001_initial... OKApplying terminal.0017_auto_20191125_0931... OKApplying terminal.0018_auto_20191202_1010... OKApplying terminal.0019_auto_20191206_1000... OKApplying terminal.0020_auto_20191218_1721... OKApplying terminal.0021_auto_20200213_1316... OKApplying terminal.0022_session_is_success... OKApplying terminal.0023_command_risk_level... OKApplying terminal.0024_auto_20200715_1713... OKApplying terminal.0025_auto_20200810_1735... OKApplying terminal.0026_auto_20201027_1905... OKApplying terminal.0027_auto_20201102_1651... OKApplying terminal.0028_auto_20201110_1918... OKApplying terminal.0029_auto_20201116_1757... OKApplying terminal.0030_terminal_type... OKApplying terminal.0031_auto_20210113_1356... OKApplying assets.0001_initial... OKApplying perms.0001_initial... OKApplying assets.0002_auto_20180105_1807_squashed_0009_auto_20180307_1212... OKApplying assets.0010_auto_20180307_1749_squashed_0019_auto_20180816_1320... OKApplying perms.0002_auto_20171228_0025_squashed_0009_auto_20180903_1132... OKApplying perms.0003_action... OKApplying perms.0004_assetpermission_actions... OKApplying assets.0020_auto_20180816_1652... OKApplying assets.0021_auto_20180903_1132... OKApplying assets.0022_auto_20181012_1717... OKApplying assets.0023_auto_20181016_1650... OKApplying assets.0024_auto_20181219_1614... OKApplying assets.0025_auto_20190221_1902... OKApplying assets.0026_auto_20190325_2035... OKApplying applications.0001_initial... OKApplying perms.0005_auto_20190521_1619... OKApplying perms.0006_auto_20190628_1921... OKApplying perms.0007_remove_assetpermission_actions... OKApplying perms.0008_auto_20190911_1907... OKApplying assets.0027_auto_20190521_1703... OKApplying assets.0028_protocol... OKApplying assets.0029_auto_20190522_1114... OKApplying assets.0030_auto_20190619_1135... OKApplying assets.0031_auto_20190621_1332... OKApplying assets.0032_auto_20190624_2108... OKApplying assets.0033_auto_20190624_2108... OKApplying assets.0034_auto_20190705_1348... OKApplying assets.0035_auto_20190711_2018... OKApplying assets.0036_auto_20190716_1535... OKApplying assets.0037_auto_20190724_2002... OKApplying assets.0038_auto_20190911_1634... OKApplying perms.0009_remoteapppermission_system_users... OKApplying assets.0039_authbook_is_active... OKApplying assets.0040_auto_20190917_2056... OKApplying assets.0041_gathereduser... OKApplying assets.0042_favoriteasset... OKApplying assets.0043_auto_20191114_1111... OKApplying assets.0044_platform... OKApplying assets.0045_auto_20191206_1607... OKApplying assets.0046_auto_20191218_1705... OKApplying applications.0002_remove_remoteapp_system_user... OKApplying applications.0003_auto_20191210_1659... OKApplying applications.0004_auto_20191218_1705... OKApplying perms.0010_auto_20191218_1705... OKApplying perms.0011_auto_20200721_1739... OKApplying assets.0047_assetuser... OKApplying assets.0048_auto_20191230_1512... OKApplying assets.0049_systemuser_sftp_root... OKApplying assets.0050_auto_20200711_1740... OKApplying assets.0051_auto_20200713_1143... OKApplying assets.0052_auto_20200715_1535... OKApplying assets.0053_auto_20200723_1232... OKApplying assets.0054_auto_20200807_1032... OKApplying applications.0005_k8sapp... OKApplying perms.0012_k8sapppermission... OKApplying assets.0055_auto_20200811_1845... OKApplying assets.0056_auto_20200904_1751... OKApplying assets.0057_fill_node_value_assets_amount_and_parent_key.................................................................... OKApplying perms.0013_rebuildusertreetask_usergrantedmappingnode... OKApplying perms.0014_build_users_perm_tree... OKApplying perms.0015_auto_20200929_1728... OKApplying assets.0058_auto_20201023_1115... OKApplying assets.0059_auto_20201027_1905... OKApplying applications.0006_application... OKApplying perms.0016_applicationpermission... OKApplying perms.0017_auto_20210104_0435... OKApplying assets.0060_node_full_value...
- Start migrate node value if has /
- Start migrate node full valueOKApplying assets.0061_auto_20201116_1757... OKApplying assets.0062_auto_20201117_1938... OKApplying assets.0063_migrate_default_node_key...
Check old default node `key=0 value=Default` not existsOKApplying assets.0064_auto_20201203_1100... OKApplying assets.0065_auto_20210121_1549... OKApplying perms.0018_auto_20210208_1515... OKApplying orgs.0001_initial... OKApplying orgs.0002_auto_20180903_1132... OKApplying orgs.0003_auto_20190916_1057... OKApplying orgs.0004_organizationmember... OKApplying orgs.0005_auto_20200721_1937... OKApplying orgs.0006_auto_20200721_1937... OKApplying orgs.0007_auto_20200728_1805... OKApplying orgs.0008_auto_20200819_2041... OKApplying orgs.0009_auto_20201023_1628... OKApplying ops.0001_initial... OKApplying ops.0002_celerytask... OKApplying ops.0003_auto_20181207_1744... OKApplying ops.0004_adhoc_run_as... OKApplying ops.0005_auto_20181219_1807... OKApplying ops.0006_auto_20190318_1023... OKApplying ops.0007_auto_20190724_2002... OKApplying ops.0008_auto_20190919_2100... OKApplying ops.0009_auto_20191217_1713... OKApplying ops.0010_auto_20191217_1758... OKApplying ops.0011_auto_20200106_1534... OKApplying ops.0012_auto_20200108_1659... OKApplying ops.0013_auto_20200108_1706... OKApplying ops.0014_auto_20200108_1749... OKApplying ops.0015_auto_20200108_1809... OKApplying ops.0016_commandexecution_org_id... OKApplying ops.0017_auto_20200306_1747... OKApplying ops.0018_auto_20200509_1434... OKApplying ops.0019_adhocexecution_celery_task_id... OKApplying audits.0001_initial... OKApplying audits.0002_ftplog_org_id... OKApplying audits.0003_auto_20180816_1652... OKApplying audits.0004_operatelog_passwordchangelog_userloginlog... OKApplying audits.0005_auto_20190228_1715... OKApplying audits.0006_auto_20190726_1753... OKApplying audits.0007_auto_20191202_1010... OKApplying audits.0008_auto_20200508_2105... OKApplying audits.0009_auto_20200624_1654... OKApplying audits.0010_auto_20200811_1122... OKApplying audits.0011_userloginlog_backend... OKApplying assets.0066_auto_20210208_1802... OKApplying applications.0007_auto_20201119_1110... OKApplying applications.0008_auto_20210104_0435... OKApplying orgs.0010_auto_20210219_1241...
Migrate model org id: Application done, use 1.44 ms
Migrate model org id: AdminUser done, use 1.55 ms
Migrate model org id: Asset done, use 1.44 ms
Migrate model org id: AuthBook done, use 1.37 ms
Migrate model org id: CommandFilter done, use 1.1 ms
Migrate model org id: CommandFilterRule done, use 1.05 ms
Migrate model org id: Domain done, use 1.1 ms
Migrate model org id: Gateway done, use 1.37 ms
Migrate model org id: GatheredUser done, use 1.11 ms
Migrate model org id: Label done, use 1.05 ms
Migrate model org id: Node done, use 1.08 ms
Migrate model org id: SystemUser done, use 1.08 ms
Migrate model org id: FTPLog done, use 1.33 ms
Migrate model org id: OperateLog done, use 1.03 ms
Migrate model org id: AdHoc done, use 1.11 ms
Migrate model org id: AdHocExecution done, use 1.08 ms
Migrate model org id: CommandExecution done, use 1.12 ms
Migrate model org id: Task done, use 1.33 ms
Migrate model org id: ApplicationPermission done, use 1.11 ms
Migrate model org id: AssetPermission done, use 1.06 ms
Migrate model org id: UserAssetGrantedTreeNodeRelation done, use 1.1 ms
Migrate model org id: Session done, use 1.07 ms
Migrate model org id: Command done, use 1.09 ms
Migrate model org id: Ticket done, use 1.08 ms
Migrate model org id: UserGroup done, use 1.24 ms
Will add users to default org: 1
Add users to default org: 1-1
done, use 5.82 msOKApplying assets.0067_auto_20210311_1113... OKApplying assets.0068_auto_20210312_1455... OKApplying assets.0069_change_node_key0_to_key1...
--> Not exist key=0 nodes, do nothing.OKApplying assets.0070_auto_20210426_1515... OKApplying assets.0071_systemuser_type...OKApplying assets.0072_historicalauthbook...OKApplying assets.0073_auto_20210606_1142...OKApplying assets.0074_remove_systemuser_assets... OKApplying assets.0075_auto_20210705_1759... OKApplying assets.0076_delete_assetuser... OKApplying applications.0009_applicationuser... OKApplying applications.0010_appaccount_historicalappaccount... OKApplying applications.0011_auto_20210826_1759... OKApplying applications.0012_auto_20211014_2209... OKApplying applications.0013_auto_20211026_1711... OKApplying applications.0014_auto_20211105_1605... OKApplying applications.0015_auto_20220112_2035... OKApplying applications.0016_auto_20220118_1455... OKApplying applications.0017_auto_20220217_2135... OKApplying applications.0018_auto_20220223_1539... OKApplying applications.0019_auto_20220310_1853... OKApplying applications.0020_auto_20220316_2028... OKApplying assets.0077_auto_20211012_1642... OKApplying assets.0078_auto_20211014_2209... OKApplying assets.0079_auto_20211102_1922... OKApplying assets.0080_auto_20211104_1347... OKApplying assets.0081_auto_20211105_1605... OKApplying assets.0082_auto_20211209_1440... OKApplying assets.0083_auto_20211215_1436... OKApplying assets.0084_auto_20220112_1959... OKApplying assets.0085_commandfilterrule_ignore_case... OKApplying assets.0086_auto_20220217_2135... OKApplying assets.0087_auto_20220223_1539... OKApplying assets.0088_auto_20220303_1612... OKApplying assets.0089_auto_20220310_0616... OKApplying assets.0090_auto_20220412_1145... OKApplying audits.0012_auto_20210414_1443... OKApplying audits.0013_auto_20211130_1037... OKApplying auth.0009_alter_user_last_name_max_length... OKApplying auth.0010_alter_group_name_max_length... OKApplying auth.0011_update_proxy_permissions... OKApplying auth.0012_alter_user_first_name_max_length... OKApplying authentication.0005_delete_loginconfirmsetting... OKApplying authentication.0006_auto_20211227_1059... OKApplying authentication.0007_connectiontoken... OKApplying authentication.0008_superconnectiontoken... OKApplying authentication.0009_auto_20220310_0616... OKApplying authentication.0010_temptoken... OKApplying captcha.0001_initial... OKApplying django_cas_ng.0001_initial... OKApplying django_celery_beat.0001_initial... OKApplying django_celery_beat.0002_auto_20161118_0346... OKApplying django_celery_beat.0003_auto_20161209_0049... OKApplying django_celery_beat.0004_auto_20170221_0000... OKApplying django_celery_beat.0005_add_solarschedule_events_choices... OKApplying django_celery_beat.0006_auto_20180322_0932... OKApplying django_celery_beat.0007_auto_20180521_0826... OKApplying django_celery_beat.0008_auto_20180914_1922... OKApplying django_celery_beat.0006_auto_20180210_1226... OKApplying django_celery_beat.0006_periodictask_priority... OKApplying django_celery_beat.0009_periodictask_headers... OKApplying django_celery_beat.0010_auto_20190429_0326... OKApplying django_celery_beat.0011_auto_20190508_0153... OKApplying django_celery_beat.0012_periodictask_expire_seconds... OKApplying django_celery_beat.0013_auto_20200609_0727... OKApplying django_celery_beat.0014_remove_clockedschedule_enabled... OKApplying django_celery_beat.0015_edit_solarschedule_events_choices... OKApplying jms_oidc_rp.0001_initial... OKApplying users.0032_userpasswordhistory... OKApplying users.0033_user_need_update_password... OKApplying users.0034_auto_20210506_1448... OKApplying users.0035_auto_20210526_1100... OKApplying users.0036_user_feishu_id... OKApplying notifications.0001_initial... OKApplying notifications.0002_auto_20210909_1946...Init user message subscription: 1OKApplying ops.0020_adhoc_run_system_user... OKApplying ops.0021_auto_20211130_1037... OKApplying rbac.0001_initial... OKApplying rbac.0002_auto_20210929_1409... OKApplying rbac.0003_auto_20211130_1037...Update builtin Role: SystemAdmin - True
Update builtin Role: SystemAuditor - True
Update builtin Role: SystemComponent - True
Update builtin Role: User - True
Update builtin Role: OrgAdmin - True
Update builtin Role: OrgAuditor - True
Update builtin Role: OrgUser - TrueOKApplying rbac.0004_auto_20211201_1901... OKApplying orgs.0011_auto_20211223_1913... OKApplying orgs.0012_auto_20220118_1054... OKApplying perms.0019_auto_20210906_1044... OKApplying perms.0020_auto_20210910_1103... OKApplying perms.0021_auto_20211105_1605... OKApplying perms.0022_applicationpermission_actions... OKApplying perms.0023_auto_20220112_2035... OKApplying perms.0024_auto_20220217_2135... OKApplying perms.0025_auto_20220223_1539... OKApplying perms.0026_auto_20220307_1500... OKApplying perms.0027_auto_20220310_1802... OKApplying perms.0028_auto_20220316_2028... OKApplying rbac.0005_auto_20220307_1524... OKApplying rbac.0006_auto_20220310_0616... OKApplying rbac.0007_auto_20220314_1525... OKApplying rbac.0008_auto_20220411_1709... OKApplying rbac.0009_auto_20220411_1724... OKApplying sessions.0001_initial... OKApplying settings.0002_auto_20210729_1546... OKApplying settings.0003_auto_20210901_1035... OKApplying settings.0004_auto_20220211_1401... OKApplying settings.0005_auto_20220310_0616... OKApplying terminal.0032_auto_20210302_1853... OKApplying terminal.0033_auto_20210324_1008... OKApplying terminal.0034_auto_20210406_1434... OKApplying terminal.0035_auto_20210517_1448... OKApplying terminal.0036_auto_20210604_1124... OKApplying terminal.0037_auto_20210623_1748... OKApplying terminal.0038_task_kwargs... OKApplying terminal.0039_auto_20210805_1552... OKApplying terminal.0040_sessionjoinrecord_sessionsharing... OKApplying terminal.0041_auto_20211105_1605... OKApplying terminal.0042_auto_20211229_1619... OKApplying terminal.0043_auto_20220217_2135... OKApplying terminal.0044_auto_20220223_1539... OKApplying terminal.0045_auto_20220228_1144... OKApplying terminal.0046_auto_20220228_1744... OKApplying terminal.0047_auto_20220302_1951... OKApplying terminal.0048_endpoint_endpointrule... OKApplying tickets.0008_auto_20210311_1113... OKApplying tickets.0009_auto_20210426_1720... OKApplying tickets.0010_auto_20210812_1618... OKApplying tickets.0011_remove_approvalrule_assignees_display... OKApplying tickets.0012_ticketsession... OKApplying tickets.0013_ticket_serial_num...
Fill ticket serial number ... 0 OKApplying tickets.0014_auto_20220217_2135... OKApplying tickets.0015_superticket... OKApplying users.0037_user_secret_key... OKApplying users.0038_auto_20211209_1140... OKApplying users.0039_auto_20211229_1852... OK
After migration, update builtin role permissions
完成>>> 安装完成了
1. 可以使用如下命令启动, 然后访问
cd /opt/jumpserver-installer-v2.21.3
./jmsctl.sh start2. 其它一些管理命令
./jmsctl.sh stop
./jmsctl.sh restart
./jmsctl.sh backup
./jmsctl.sh upgrade
更多还有一些命令, 你可以 ./jmsctl.sh --help 来了解3. Web 访问
http://10.5.6.62:80
默认用户: admin  默认密码: admin4. SSH/SFTP 访问
ssh -p2222 admin@10.5.6.62
sftp -P2222 admin@10.5.6.625. 更多信息
我们的官网: https://www.jumpserver.org/
我们的文档: https://docs.jumpserver.org/

Jumpserver一键部署v2.21.3相关推荐

  1. K8S二进制单节点 一键部署K8S_V1.21.x

    1.安装前注意事项 安装shell脚本在文章最后位置 1.提前配置静态IP 把脚本的IP 192.168.1.31 换成你的IP 2.创建安装包路径 /home/software/shell 所有的t ...

  2. 部署支持使用Redis哨兵模式,支持纳管ClickHouse数据库,JumpServer堡垒机v2.28.0发布

    2022年11月21日,JumpServer开源堡垒机正式发布v2.28.0版本.在这一版本中,JumpServer的部署支持使用Redis哨兵集群作为后端缓存数据库,从而使系统更加健壮和高可用.操作 ...

  3. 支持国产ARM64架构部署,支持使用rz、sz命令上传下载文件,JumpServer堡垒机v2.12.0发布

    支持国产ARM64架构部署,JumpServer堡垒机v2.12.0发布 7月19日,JumpServer开源堡垒机正式发布v2.12.0版本.在这一版本中,JumpServer新增支持ARM64架构 ...

  4. jumpserver堡垒机V2.2.2 详细部署

    环境 版本 Centos 7.6 python 3.6.1(虚拟环境) redis 3.2.12 MariaDB 5.5.65 jumpserver v2.2.2 koko+kubectl v2.2. ...

  5. Kubespray v2.21.0 离线部署 Kubernetes v1.25.6 集群

    文章目录 1. 前言 2. 预备条件 3. 配置代理 4. 下载介质 5. 初始化配置 6. 安装部署工具 6.1 配置 venv 部署环境 6.2 配置容器部署环境 7. 配置互信 8. 编写 in ...

  6. kubespray v2.21.0 部署 kubernetes v1.24.0 集群

    文章目录 1. 前言 2. 创建7台虚拟机 3. 部署 git 3.1 dnf 安装 3.2 tar 安装 4. 下载 kubespray 介质 5. 配置 zsh 终端 6. 配置互信 7. 安装 ...

  7. kubespray v2.21.0 在线定制部署升级 kubernetes v1.24.0 集群【2】

    文章目录 简介 创建 虚拟机模板 虚拟机名称 配置静态地址 配置代理 yum 配置 配置主机名 安装 git 安装 docker 安装 ansible 配置内核参数 安装 k8s 定制安装 kuber ...

  8. kubeasz一键部署containerd运行时、高可用k8s(1.26.x)集群-Day 02

    1. 生产环境部署架构 (1)多master节点,实现master节点的高可用和高性能. (2)单独的etcd分布式集群(生产使用SSD盘),高可用持久化k8s资源对象数据,并实现高可用. (3)多n ...

  9. php项目自动布署mysql_如何自动化一键部署PHP项目

    1.技能需求 完成自动化一键部署PHP需要:PHP(略懂),Shell(略懂),git(略懂) 2.最终效果 输入密码,回车,5~20秒后(一般一天一次持续交付,部署的代码量和sql脚本都不会很大) ...

最新文章

  1. uva 1416 (SPFA) **月赛第E题的原题**
  2. 对计算属性中get和set的理解
  3. 简化软件操作,提升用户体验
  4. 可能是最好理解的二叉树的层序遍历
  5. matlab打开笔记本摄像头_matlab窗口调用摄像头
  6. sun工作站linux,LINUX SUN Solaris 8操作系统安装指导书.doc
  7. 《在近端对回传音频的检测和抑制》笔记
  8. SQL Server从入门到精通(三)
  9. 极域电子教室破解控制---万能密码、查找密码
  10. 12V转3.3V稳压芯片7.4v转5V
  11. 高速公路综合运行监测与管控平台(HOCC)
  12. 一个迅雷480M,是搞笑的吗?
  13. 免费FTP解决方案之FileZilla
  14. es where_阿水出现在eStar二队,ES.JackeyLove正在连接?
  15. Unity如何调整天空盒子
  16. 分享一个免费好用的pdf转word工具
  17. 2017中国IP指数盛典:一场IP界的“华山论剑”,你敢赴约吗?
  18. Spring security 学习 (自助者,天助之!)
  19. Python的布尔类型和True/False的各种形式
  20. 实验十二 团队项目用户验收评审

热门文章

  1. 关于JAVA网络编程UDP和TCP(上)
  2. linux的ps 分页显示,技术|5 个最酷的终端分页器
  3. UIImageView 等比缩放显示
  4. Flash网游开发经验和框架
  5. C语言中‘a‘和“a“有什么区别?
  6. python爬虫练习1:通过python爬取糗事百科的搞笑图片
  7. 两个不同notch方向的wafermap合并技术探讨
  8. python实现批量下载视频_利用Python实现批量下载腾讯视频!
  9. 在复杂场景下基于VIO辅助的运动恢复结构方案
  10. 智能制造时代如何把好产品质量关