一键安装JumpServerV3版本
2024-01-03 12:54:06
一键安装
仅需两步快速安装 JumpServer:
准备一台 4核8G (最低)且可以访问互联网的 64 位 Linux 主机;
以 root 用户执行如下命令一键安装 JumpServer。
国内用户
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
等待安装即可,等待时间根据你的配置和网络而定。
[root@localhost ~]# curl -sSL https://resource.fit2cloud.com/jumpserver/jumpserver/releases/latest/download/quick_start.sh | bash
warning: /var/cache/yum/x86_64/7/base/packages/wget-1.14-18.el7_6.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for wget-1.14-18.el7_6.1.x86_64.rpm is not installed
Importing GPG key 0xF4A80EB5:
Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
Package : centos-release-7-9.2009.0.el7.centos.x86_64 (@anaconda)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
download install script to /opt/jumpserver-installer-v3.9.3
██╗██╗ ██╗███╗ ███╗██████╗ ███████╗███████╗██████╗ ██╗ ██╗███████╗██████╗
██║██║ ██║████╗ ████║██╔══██╗██╔════╝██╔════╝██╔══██╗██║ ██║██╔════╝██╔══██╗
██║██║ ██║██╔████╔██║██████╔╝███████╗█████╗ ██████╔╝██║ ██║█████╗ ██████╔╝
██ ██║██║ ██║██║╚██╔╝██║██╔═══╝ ╚════██║██╔══╝ ██╔══██╗╚██╗ ██╔╝██╔══╝ ██╔══██╗
╚█████╔╝╚██████╔╝██║ ╚═╝ ██║██║ ███████║███████╗██║ ██║ ╚████╔╝ ███████╗██║ ██║
╚════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝ ╚═══╝ ╚══════╝╚═╝ ╚═╝
Version: v3.9.3
1. Check Configuration File
Path to Configuration file: /opt/jumpserver/config
/opt/jumpserver/config/config.txt [ √ ]
/opt/jumpserver/config/nginx/cert/server.crt [ √ ]
/opt/jumpserver/config/nginx/cert/server.key [ √ ]
complete
>>> Install and Configure Docker
1. Install Docker
Starting to download Docker engine ...
Starting to download Docker Compose binary ...
complete
2. Configure Docker
Do you want to support IPv6? (y/n) (default n): complete
3. Start Docker
Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /etc/systemd/system/docker.service.
complete
>>> Loading Docker Image
[jumpserver/mariadb:10.6] pulling
[jumpserver/redis:6.2] pulling
[jumpserver/core-ce:v3.9.3] pulling
[jumpserver/koko:v3.9.3] pulling
[jumpserver/magnus:v3.9.3] pulling
[jumpserver/kael:v3.9.3] pulling
[jumpserver/web:v3.9.3] pulling
[jumpserver/chen:v3.9.3] pulling
[jumpserver/lion:v3.9.3] pulling
v3.9.3: Pulling from jumpserver/magnus
b7f91549542c: Pulling fs layer
760888ad5569: Pulling fs layer
4f4fb700ef54: Pulling fs layer
e62e7778e59c: Waiting
d50c6ffae952: Waiting
b09c83fa0b5f: Waiting
1beafe913922: Waiting
9efc73184cb4: Waiting
6.2: Pulling from jumpserver/redis
a603fa5e3b41: Waiting
77631c3ef092: Waiting
ed3847cf62b8: Waiting
c35fa6b24d23: Waiting
715a5ac967d7: Waiting
0a26dfd13d55: Waiting
v3.9.3: Pulling from jumpserver/kael
b7f91549542c: Pulling fs layer
8c3751104763: Waiting
4f4fb700ef54: Waiting
112f11606054: Waiting
678389569e7f: Waiting
24f93b8d1dc5: Waiting
5621be59c9fa: Waiting
822a67743a6d: Waiting
v3.9.3: Pulling from jumpserver/chen
0bc8ff246cb8: Waiting
fa43a15af40c: Waiting
46f104bc53d5: Waiting
6b10f159ee1b: Waiting
4f4fb700ef54: Waiting
31daa8e3f1f0: Waiting
07910945a330: Waiting
856bb6563dfa: Waiting
2171eecafb8b: Waiting
fa88e90e2dfb: Waiting
5ddc4447fce0: Waiting
v3.9.3: Pulling from jumpserver/lion
0bc8ff246cb8: Waiting
d0c35592470f: Waiting
6866af1fcbe1: Waiting
eb2bdca0c600: Waiting
2545ca49ffd2: Waiting
1826d0553aba: Waiting
98bad27ce577: Waiting
2469ede35754: Waiting
a81946c626c0: Waiting
b2f0b8018df6: Waiting
1c20701ee9a1: Waiting
v3.9.3: Pulling from jumpserver/web
b7f91549542c: Pulling fs layer
71892b7caf3b: Waiting
Extracting [=================> ] 11.14MB/31.42MB ] 11.14MB/31.42MB
Downloading [===============> ] 10.03MB/31.42MB ] 10.03MB/31.42MB
176023919c7f: Waiting
6d90fa3154e4: Waiting
74a6b375ecf9: Waiting
4f4fb700ef54: Waiting
a25b1055d751: Waiting
fa9825969d34: Waiting
Extracting [=============================================> ] 28.51MB/31.42MB====> ] 28.51MB/31.42MB
b7f91549542c: Extracting [==============================================> ] 29.49MB/31.42MB
b65d0436f967: Waiting
dfc420b736cc: Waiting
dc75f0cd5db3: Waiting
ce43a6a08708: Waiting
d7a4c32c1ced: Waiting
10.6: Pulling from jumpserver/mariadb
113c6ad47548: Waiting
b7f91549542c: Extracting [===============================================> ] 30.15MB/31.42MB
Extracting [==================================================>] 31.42MB/31.42MB1.42MB/31.42MB
Pull complete b7f91549542c: Pull complete
f09be6f83fff: Waiting
11731414bd80: Waiting
3d4f01b726a4: Waiting
14ea75fae142: Waiting
v3.9.3: Pulling from jumpserver/koko
b7f91549542c: Extracting [===============================================> ] 30.15MB/31.42MB
4f4fb700ef54: Download complete
736cc468041e: Waiting
0642c6926ebb: Waiting
fa1ba1793048: Waiting
60afe8e36fe1: Waiting
6fe7496b5bfa: Waiting
v3.9.3: Pulling from jumpserver/core-ce
Extracting [==================================================>] 31.42MB/31.42MB=========>] 31.42MB/31.42MB
b7f91549542c: Pull complete
760888ad5569: Pull complete
4f4fb700ef54: Pull complete
77631c3ef092: Download complete
d50c6ffae952: Pull complete
b09c83fa0b5f: Pull complete
1beafe913922: Pull complete
9efc73184cb4: Pull complete
8c3751104763: Downloading [=====================================> ] 34.17MB/45.09MB
a603fa5e3b41: Pull complete
0bc8ff246cb8: Pull complete
0bc8ff246cb8: Pull complete
fa43a15af40c: Pull complete 46f104bc53d5: Downloading [=============> ] 53.91MB/193.1MB
6b10f159ee1b: Downloading [==============================> ] 5.005MB/8.34MB
8c3751104763: Pull complete
46f104bc53d5: Downloading [==============> ] 57.15MB/193.1MB
112f11606054: Pull complete
d0c35592470f: Pull complete
6866af1fcbe1: Pull complete 71892b7caf3b: Downloading [===================================> ] 18.42MB/25.61MB
f324ba76bb16: Download complete
75f614a180a2: Download complete
176023919c7f: Download complete
6d90fa3154e4: Download complete
74a6b375ecf9: Downloading [====> ] 1.778MB/19.33MB
4f4fb700ef54: Download complete 71892b7caf3b: Pull complete
f324ba76bb16: Pull complete
75f614a180a2: Pull complete
176023919c7f: Pull complete
6d90fa3154e4: Pull complete
74a6b375ecf9: Pull complete
4f4fb700ef54: Pull complete a25b1055d751: Downloading [================> ] 407.7MB/1.245GB
a25b1055d751: Downloading [================> ] 420.1MB/1.245GB
a25b1055d751: Downloading [=================> ] 424.4MB/1.245GB
a25b1055d751: Downloading [==================> ] 459.9MB/1.245GB
Downloading [=======================> ] 597.1MB/1.245GB==> ] 140.2MB/162.3MB
f09be6f83fff: Pull complete
11731414bd80: Pull complete a25b1055d751: Downloading [=============================> ] 744MB/1.245GB
5da3ecefe565: Pull complete
2b60809ff881: Pull complete
a25b1055d751: Downloading [=============================> ] 744.5MB/1.245GB
b28c7e0eb33a: Pull complete
6bc03fe0e58d: Downloading [==============================> ] 45.79MB/76.18MB
dac60cb047a9: Downloading [====================> ] 69.42MB/167.3MBa25b1055d751: Pull complete
fa9825969d34: Pull complete
a1d1821bd2b1: Pull complete
c64920782998: Pull complete
b65d0436f967: Pull complete
dfc420b736cc: Pull complete
dc75f0cd5db3: Pull complete f1c1142fa494: Extracting [================> ] 26.74MB/78.88MB
d7a4c32c1ced: Pull complete
f1c1142fa494: Extracting [===================> ] 30.08MB/78.88MB
Status: Downloaded newer image for swr.cn-north-1.myhuaweicloud.com/jumpserver/web:v3.9.3
swr.cn-north-1.myhuaweicloud.com/jumpserver/web:v3.9.3
Untagged: swr.cn-north-1.myhuaweicloud.com/jumpserver/web:v3.9.3
Untagged: swr.cn-north-1.myhuaweicloud.com/jumpserver/web@sha256:854d7ba0c02314306953b8cd3189bf199a03f74df323eee982be160ca092565f1c1142fa494: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:6b0e58ae8a02bfa641239e703ff316f0cc4f118643c07dea9ac26bb3b2e7029b
Status: Downloaded newer image for swr.cn-north-1.myhuaweicloud.com/jumpserver/core-ce:v3.9.3
swr.cn-north-1.myhuaweicloud.com/jumpserver/core-ce:v3.9.3
Untagged: swr.cn-north-1.myhuaweicloud.com/jumpserver/core-ce:v3.9.3
Untagged: swr.cn-north-1.myhuaweicloud.com/jumpserver/core-ce@sha256:6b0e58ae8a02bfa641239e703ff316f0cc4f118643c07dea9ac26bb3b2e7029b
complete
>>> Install and Configure JumpServer
1. Configure Private Key
SECRETE_KEY: MzVjMTIzNDItNTU3Mi0xY2UwLTE4YmQtNDU5ZmVlNTQ5YjMw
BOOTSTRAP_TOKEN: MzVjMTIzNDItNTU3Mi0xY2Uw
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 Access
Do you need to customize the JumpServer external port? (y/n) (default n): complete
6. Init JumpServer Database
[+] Building 0.0s (0/0) docker:default
[+] Running 4/4
? Network jms_net Created 0.7s
? Container jms_core Started 15.0s
? Container jms_redis Started 15.0s
? Container jms_mysql Started 15.0s
2023-12-04 09:45:52 Collect static files
ALLOWED_HOSTS:
- localhost
- core:8080
- 127.0.0.1
- 127.0.0.1:8080
- 127.0.0.1:80
- localhost:8080
- localhost:80
- core:8080
- core:80
ALLOWED_HOSTS:
- localhost
- core:8080
- 127.0.0.1
- 127.0.0.1:8080
- 127.0.0.1:80
- localhost:8080
- localhost:80
- core:8080
- core:80
2023-12-04 09:45:52 Collect static files done
2023-12-04 09:45:52 Check database structure change ...
2023-12-04 09:45:52 Migrate model change to database ...
Operations to perform:
Apply all migrations: accounts, acls, admin, applications, assets, audits, auth, authentication, captcha, common, contenttypes, django_cas_ng, django_celery_beat, notifications, ops, orgs, perms, rbac, sessions, settings, terminal, tickets, users
Running migrations:
Applying contenttypes.0001_initial... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0001_initial... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying auth.0007_alter_validators_add_error_messages... OK
Applying auth.0008_alter_user_username_max_length... OK
Applying users.0001_initial... OK
Applying terminal.0001_initial... OK
Applying terminal.0002_auto_20171228_0025... OK
Applying terminal.0003_auto_20171230_0308... OK
Applying terminal.0004_session_remote_addr... OK
Applying terminal.0005_auto_20180122_1154... OK
Applying terminal.0006_auto_20180123_1037... OK
Applying terminal.0007_session_date_last_active... OK
Applying terminal.0008_auto_20180307_1603... OK
Applying terminal.0009_auto_20180326_0957... OK
Applying terminal.0010_auto_20180423_1140... OK
Applying terminal.0011_auto_20180807_1116... OK
Applying terminal.0012_auto_20180816_1652... OK
Applying terminal.0013_auto_20181123_1113... OK
Applying terminal.0014_auto_20181226_1441... OK
Applying terminal.0015_auto_20190923_1529... OK
Applying terminal.0016_commandstorage_replaystorage... OK
Applying common.0001_initial... OK
Applying common.0002_auto_20180111_1407... OK
Applying common.0003_setting_category... OK
Applying common.0004_setting_encrypted... OK
Applying common.0005_auto_20190221_1902... OK
Applying common.0006_auto_20190304_1515... OK
Applying settings.0001_initial... OK
Applying terminal.0017_auto_20191125_0931... OK
Applying terminal.0018_auto_20191202_1010... OK
Applying terminal.0019_auto_20191206_1000... OK
Applying terminal.0020_auto_20191218_1721... OK
Applying terminal.0021_auto_20200213_1316... OK
Applying terminal.0022_session_is_success... OK
Applying terminal.0023_command_risk_level... OK
Applying terminal.0024_auto_20200715_1713... OK
Applying terminal.0025_auto_20200810_1735... OK
Applying terminal.0026_auto_20201027_1905... OK
Applying terminal.0027_auto_20201102_1651... OK
Applying terminal.0028_auto_20201110_1918... OK
Applying terminal.0029_auto_20201116_1757... OK
Applying terminal.0030_terminal_type... OK
Applying terminal.0031_auto_20210113_1356... OK
Applying terminal.0032_auto_20210302_1853... OK
Applying terminal.0033_auto_20210324_1008... OK
Applying terminal.0034_auto_20210406_1434... OK
Applying terminal.0035_auto_20210517_1448... OK
Applying terminal.0036_auto_20210604_1124... OK
Applying terminal.0037_auto_20210623_1748... OK
Applying terminal.0038_task_kwargs... OK
Applying terminal.0039_auto_20210805_1552... OK
Applying terminal.0040_sessionjoinrecord_sessionsharing... OK
Applying terminal.0041_auto_20211105_1605... OK
Applying terminal.0042_auto_20211229_1619... OK
Applying terminal.0043_auto_20220217_2135... OK
Applying terminal.0044_auto_20220223_1539... OK
Applying terminal.0045_auto_20220228_1144... OK
Applying terminal.0046_auto_20220228_1744... OK
Applying terminal.0047_auto_20220302_1951... OK
Applying terminal.0048_endpoint_endpointrule... OK
Applying terminal.0049_endpoint_redis_port... OK
Applying terminal.0050_auto_20220606_1745... OK
Applying terminal.0051_sessionsharing_users... OK
Applying terminal.0052_auto_20220713_1417... OK
Applying terminal.0053_auto_20221009_1755... OK
Applying users.0002_auto_20171225_1157_squashed_0019_auto_20190304_1459... OK
Applying users.0020_auto_20190612_1825... OK
Applying users.0021_auto_20190625_1104... OK
Applying users.0022_auto_20190625_1105... OK
Applying users.0023_auto_20190724_1525... OK
Applying users.0024_auto_20191118_1612... OK
Applying users.0025_auto_20200206_1216... OK
Applying users.0026_auto_20200508_2105... OK
Applying users.0027_auto_20200616_1503... OK
Applying users.0028_auto_20200728_1805... OK
Applying users.0029_auto_20200814_1650... OK
Applying users.0030_auto_20200819_2041... OK
Applying users.0031_auto_20201118_1801... OK
Applying tickets.0001_initial... OK
Applying tickets.0002_auto_20200728_1146... OK
Applying tickets.0003_auto_20200804_1551... OK
Applying tickets.0004_ticket_comment... OK
Applying tickets.0005_ticket_meta_confirmed_system_users... OK
Applying tickets.0006_auto_20201023_1628... OK
Applying tickets.0007_auto_20201224_1821... OK
Applying assets.0001_initial... OK
Applying perms.0001_initial... OK
Applying assets.0002_auto_20180105_1807_squashed_0009_auto_20180307_1212... OK
Applying assets.0010_auto_20180307_1749_squashed_0019_auto_20180816_1320... OK
Applying perms.0002_auto_20171228_0025_squashed_0009_auto_20180903_1132... OK
Applying perms.0003_action... OK
Applying perms.0004_assetpermission_actions... OK
Applying assets.0020_auto_20180816_1652... OK
Applying assets.0021_auto_20180903_1132... OK
Applying assets.0022_auto_20181012_1717... OK
Applying assets.0023_auto_20181016_1650... OK
Applying assets.0024_auto_20181219_1614... OK
Applying assets.0025_auto_20190221_1902... OK
Applying assets.0026_auto_20190325_2035... OK
Applying applications.0001_initial... OK
Applying perms.0005_auto_20190521_1619... OK
Applying perms.0006_auto_20190628_1921... OK
Applying perms.0007_remove_assetpermission_actions... OK
Applying perms.0008_auto_20190911_1907... OK
Applying assets.0027_auto_20190521_1703... OK
Applying assets.0028_protocol... OK
Applying assets.0029_auto_20190522_1114... OK
Applying assets.0030_auto_20190619_1135... OK
Applying assets.0031_auto_20190621_1332... OK
Applying assets.0032_auto_20190624_2108... OK
Applying assets.0033_auto_20190624_2108... OK
Applying assets.0034_auto_20190705_1348... OK
Applying assets.0035_auto_20190711_2018... OK
Applying assets.0036_auto_20190716_1535... OK
Applying assets.0037_auto_20190724_2002... OK
Applying assets.0038_auto_20190911_1634... OK
Applying perms.0009_remoteapppermission_system_users... OK
Applying assets.0039_authbook_is_active... OK
Applying assets.0040_auto_20190917_2056... OK
Applying assets.0041_gathereduser... OK
Applying assets.0042_favoriteasset... OK
Applying assets.0043_auto_20191114_1111... OK
Applying assets.0044_platform... OK
Applying assets.0045_auto_20191206_1607... OK
Applying assets.0046_auto_20191218_1705... OK
Applying applications.0002_remove_remoteapp_system_user... OK
Applying applications.0003_auto_20191210_1659... OK
Applying applications.0004_auto_20191218_1705... OK
Applying perms.0010_auto_20191218_1705... OK
Applying perms.0011_auto_20200721_1739... OK
Applying assets.0047_assetuser... OK
Applying assets.0048_auto_20191230_1512... OK
Applying assets.0049_systemuser_sftp_root... OK
Applying assets.0050_auto_20200711_1740... OK
Applying assets.0051_auto_20200713_1143... OK
Applying assets.0052_auto_20200715_1535... OK
Applying assets.0053_auto_20200723_1232... OK
Applying assets.0054_auto_20200807_1032... OK
Applying applications.0005_k8sapp... OK
Applying perms.0012_k8sapppermission... OK
Applying assets.0055_auto_20200811_1845... OK
Applying assets.0056_auto_20200904_1751... OK
Applying assets.0057_fill_node_value_assets_amount_and_parent_key...
................................................................. OK
Applying perms.0013_rebuildusertreetask_usergrantedmappingnode... OK
Applying perms.0014_build_users_perm_tree... OK
Applying perms.0015_auto_20200929_1728... OK
Applying assets.0058_auto_20201023_1115... OK
Applying assets.0059_auto_20201027_1905... OK
Applying applications.0006_application... OK
Applying perms.0016_applicationpermission... OK
Applying perms.0017_auto_20210104_0435... OK
Applying assets.0060_node_full_value...
- Start migrate node value if has /
- Start migrate node full value
OK
Applying assets.0061_auto_20201116_1757... OK
Applying assets.0062_auto_20201117_1938... OK
Applying assets.0063_migrate_default_node_key...
Check old default node `key=0 value=Default` not exists
OK
Applying assets.0064_auto_20201203_1100... OK
Applying assets.0065_auto_20210121_1549... OK
Applying perms.0018_auto_20210208_1515... OK
Applying orgs.0001_initial... OK
Applying orgs.0002_auto_20180903_1132... OK
Applying orgs.0003_auto_20190916_1057... OK
Applying orgs.0004_organizationmember... OK
Applying orgs.0005_auto_20200721_1937... OK
Applying orgs.0006_auto_20200721_1937... OK
Applying orgs.0007_auto_20200728_1805... OK
Applying orgs.0008_auto_20200819_2041... OK
Applying orgs.0009_auto_20201023_1628... OK
Applying ops.0001_initial... OK
Applying ops.0002_celerytask... OK
Applying ops.0003_auto_20181207_1744... OK
Applying ops.0004_adhoc_run_as... OK
Applying ops.0005_auto_20181219_1807... OK
Applying ops.0006_auto_20190318_1023... OK
Applying ops.0007_auto_20190724_2002... OK
Applying ops.0008_auto_20190919_2100... OK
Applying ops.0009_auto_20191217_1713... OK
Applying ops.0010_auto_20191217_1758... OK
Applying ops.0011_auto_20200106_1534... OK
Applying ops.0012_auto_20200108_1659... OK
Applying ops.0013_auto_20200108_1706... OK
Applying ops.0014_auto_20200108_1749... OK
Applying ops.0015_auto_20200108_1809... OK
Applying ops.0016_commandexecution_org_id... OK
Applying ops.0017_auto_20200306_1747... OK
Applying ops.0018_auto_20200509_1434... OK
Applying ops.0019_adhocexecution_celery_task_id... OK
Applying audits.0001_initial... OK
Applying audits.0002_ftplog_org_id... OK
Applying audits.0003_auto_20180816_1652... OK
Applying audits.0004_operatelog_passwordchangelog_userloginlog... OK
Applying audits.0005_auto_20190228_1715... OK
Applying audits.0006_auto_20190726_1753... OK
Applying audits.0007_auto_20191202_1010... OK
Applying audits.0008_auto_20200508_2105... OK
Applying audits.0009_auto_20200624_1654... OK
Applying audits.0010_auto_20200811_1122... OK
Applying audits.0011_userloginlog_backend... OK
Applying assets.0066_auto_20210208_1802... OK
Applying applications.0007_auto_20201119_1110... OK
Applying applications.0008_auto_20210104_0435... OK
Applying orgs.0010_auto_20210219_1241...
Migrate model org id: Application done, use 1.1 ms
Migrate model org id: AdminUser done, use 0.75 ms
Migrate model org id: Asset done, use 0.7 ms
Migrate model org id: AuthBook done, use 0.62 ms
Migrate model org id: CommandFilter done, use 0.58 ms
Migrate model org id: CommandFilterRule done, use 0.55 ms
Migrate model org id: Domain done, use 0.57 ms
Migrate model org id: Gateway done, use 0.56 ms
Migrate model org id: GatheredUser done, use 0.58 ms
Migrate model org id: Label done, use 0.56 ms
Migrate model org id: Node done, use 0.54 ms
Migrate model org id: SystemUser done, use 0.66 ms
Migrate model org id: FTPLog done, use 0.79 ms
Migrate model org id: OperateLog done, use 0.7 ms
Migrate model org id: AdHoc done, use 0.6 ms
Migrate model org id: AdHocExecution done, use 0.73 ms
Migrate model org id: CommandExecution done, use 0.71 ms
Migrate model org id: Task done, use 2.69 ms
Migrate model org id: ApplicationPermission done, use 0.61 ms
Migrate model org id: AssetPermission done, use 0.54 ms
Migrate model org id: UserAssetGrantedTreeNodeRelation done, use 0.6 ms
Migrate model org id: Session done, use 0.64 ms
Migrate model org id: Command done, use 0.78 ms
Migrate model org id: Ticket done, use 0.6 ms
Migrate model org id: UserGroup done, use 0.65 ms
Will add users to default org: 1
Add users to default org: 1-1
done, use 2.99 ms
OK
Applying assets.0067_auto_20210311_1113... OK
Applying assets.0068_auto_20210312_1455... OK
Applying assets.0069_change_node_key0_to_key1...
--> Not exist key=0 nodes, do nothing.
OK
Applying assets.0070_auto_20210426_1515... OK
Applying assets.0071_systemuser_type...
OK
Applying assets.0072_historicalauthbook...
OK
Applying assets.0073_auto_20210606_1142...
OK
Applying assets.0074_remove_systemuser_assets... OK
Applying assets.0075_auto_20210705_1759... OK
Applying assets.0076_delete_assetuser... OK
Applying assets.0077_auto_20211012_1642... OK
Applying assets.0078_auto_20211014_2209... OK
Applying assets.0079_auto_20211102_1922... OK
Applying assets.0080_auto_20211104_1347... OK
Applying assets.0081_auto_20211105_1605... OK
Applying applications.0009_applicationuser... OK
Applying applications.0010_appaccount_historicalappaccount... OK
Applying applications.0011_auto_20210826_1759... OK
Applying applications.0012_auto_20211014_2209... OK
Applying applications.0013_auto_20211026_1711... OK
Applying applications.0014_auto_20211105_1605... OK
Applying assets.0082_auto_20211209_1440... OK
Applying assets.0083_auto_20211215_1436... OK
Applying assets.0084_auto_20220112_1959... OK
Applying assets.0085_commandfilterrule_ignore_case... OK
Applying assets.0086_auto_20220217_2135... OK
Applying assets.0087_auto_20220223_1539... OK
Applying assets.0088_auto_20220303_1612... OK
Applying assets.0089_auto_20220310_0616... OK
Applying assets.0090_auto_20220412_1145... OK
Applying assets.0091_auto_20220629_1826... OK
Applying assets.0092_commandfilter_nodes... OK
Applying assets.0093_auto_20220403_1627... OK
Applying assets.0094_auto_20220402_1736... OK
Applying assets.0095_auto_20220407_1726... OK
Applying assets.0096_auto_20220426_1550... OK
Applying assets.0097_auto_20220426_1558... - Update platform: Windows2016
- Update platform: Other
OK
Applying applications.0015_auto_20220112_2035... OK
Applying applications.0016_auto_20220118_1455... OK
Applying applications.0017_auto_20220217_2135... OK
Applying applications.0018_auto_20220223_1539... OK
Applying applications.0019_auto_20220310_1853... OK
Applying applications.0020_auto_20220316_2028... OK
Applying assets.0098_auto_20220430_2126...
- Migrate ori host to device: 0
OK
Applying assets.0099_auto_20220711_1409...
Start migrate asset protocols
OK
Applying accounts.0001_initial... OK
Applying assets.0100_auto_20220711_1413...
Start migrate asset accounts
Start migrate app accounts
OK
Applying assets.0101_auto_20220811_1511... OK
Applying terminal.0054_auto_20221027_1125... OK
Applying assets.0102_auto_20220816_1022...
Start migrate command filters to assets
OK
Applying assets.0103_auto_20220902_1021...>>> migrate gateway to asset
>>> migrate gateway to account
OK
Applying assets.0104_auto_20220817_1544... OK
Applying assets.0105_auto_20221220_1956... OK
Applying terminal.0055_auto_20221228_1804... OK
Applying terminal.0056_auto_20221228_1808... OK
Applying terminal.0057_auto_20230109_1447... OK
Applying terminal.0058_auto_20230110_1445... OK
Applying terminal.0059_session_account_id... OK
Applying terminal.0060_sessionsharing_action_permission... OK
Applying terminal.0061_applet_can_concurrent... OK
Applying terminal.0062_applet_edition... OK
Applying terminal.0063_auto_20230621_1133... OK
Applying terminal.0064_auto_20230728_1001... OK
Applying terminal.0065_session_error_reason... OK
Applying terminal.0066_applethost_using_same_account... OK
Applying terminal.0067_alter_replaystorage_type... OK
Applying tickets.0008_auto_20210311_1113... OK
Applying tickets.0009_auto_20210426_1720... OK
Applying tickets.0010_auto_20210812_1618... OK
Applying tickets.0011_remove_approvalrule_assignees_display... OK
Applying tickets.0012_ticketsession... OK
Applying tickets.0013_ticket_serial_num...
Fill ticket serial number ...
OK
Applying tickets.0014_auto_20220217_2135... OK
Applying tickets.0015_superticket... OK
Applying tickets.0016_auto_20220609_1758... OK
Applying tickets.0017_auto_20220623_1027... OK
Applying tickets.0018_applyapplicationticket_apply_actions... OK
Applying tickets.0019_delete_applyapplicationticket... OK
Applying tickets.0020_auto_20220817_1346...
Start migrate system user to account
- migrate 'ApplyAssetTicket'
- migrate 'ApplyCommandTicket'
- migrate 'ApplyLoginAssetTicket'
OK
Applying tickets.0021_auto_20220921_1814... OK
Applying tickets.0022_alter_applyassetticket_apply_actions... OK
Applying tickets.0023_alter_applyassetticket_apply_actions... OK
Applying tickets.0024_auto_20221121_1800... OK
Applying authentication.0001_initial... OK
Applying authentication.0002_auto_20190729_1423... OK
Applying authentication.0003_loginconfirmsetting... OK
Applying authentication.0004_ssotoken... OK
Applying acls.0001_initial... OK
Applying acls.0002_auto_20210926_1047... OK
Applying acls.0003_auto_20211130_1037... OK
Applying acls.0004_auto_20220831_1658... OK
Applying acls.0005_auto_20221201_1846... OK
Applying acls.0006_commandfilteracl_commandgroup... OK
Applying acls.0007_auto_20221202_1048... OK
Applying acls.0008_commandgroup_comment... OK
Applying tickets.0025_auto_20221206_1820... OK
Applying assets.0106_auto_20221228_1838... OK
Applying assets.0107_automation... OK
Applying assets.0108_alter_platform_charset... OK
Applying assets.0109_alter_asset_options... OK
Applying assets.0110_auto_20230315_1741... OK
Applying assets.0111_auto_20230321_1633... OK
Applying assets.0112_auto_20230404_1631... OK
Applying assets.0113_auto_20230411_1917...
Migrate platform su method: Cisco
Migrate platform su method: H3C
Migrate platform su method: Huawei
OK
Applying assets.0114_baseautomation_params... OK
Applying assets.0115_auto_20230417_1425... OK
Applying assets.0116_auto_20230418_1726... OK
Applying assets.0117_alter_baseautomation_params... OK
Applying assets.0118_auto_20230524_1647... OK
Applying assets.0119_assets_add_default_node... OK
Applying assets.0120_auto_20230630_1613... OK
Applying assets.0121_auto_20230725_1458...
Platform add sftp protocol:
- Linux
- Gateway
Asset add sftp protocol:
Not found telnet regex setting, skip
OK
Applying assets.0122_auto_20230803_1553... OK
Applying accounts.0002_auto_20220616_0021... OK
Applying accounts.0003_automation... OK
Applying accounts.0004_auto_20230106_1507... OK
Applying accounts.0005_alter_changesecretrecord_options... OK
Applying accounts.0006_gatheredaccount... OK
Applying accounts.0007_alter_account_options... OK
Applying accounts.0008_alter_gatheredaccount_options... OK
Applying accounts.0009_account_usernames_to_ids... OK
Applying accounts.0010_gatheraccountsautomation_is_sync_account... OK
Applying accounts.0011_auto_20230506_1443... OK
Applying accounts.0012_auto_20230621_1456... OK
Applying accounts.0013_account_backup_recipients... OK
Applying accounts.0014_virtualaccount... OK
Applying accounts.0015_auto_20230825_1120... OK
Applying accounts.0016_accounttemplate_password_rules... OK
Applying accounts.0017_alter_automationexecution_options... OK
Applying accounts.0018_accountbackupautomation_backup_type_and_more... OK
Applying accounts.0019_gatheraccountsautomation_recipients... OK
Applying accounts.0020_alter_accountbackupautomation_backup_type_and_more... OK
Applying acls.0009_auto_20221220_1956... OK
Applying acls.0010_alter_commandfilteracl_command_groups... OK
Applying acls.0011_auto_20230425_1704... OK
Applying acls.0012_auto_20230426_1111... OK
Applying acls.0013_auto_20230426_1759... OK
Applying acls.0014_loginassetacl_rules... OK
Applying acls.0015_connectmethodacl... OK
Applying acls.0016_auto_20230606_1857... OK
Applying acls.0017_alter_connectmethodacl_options... OK
Applying acls.0018_alter_commandfilteracl_command_groups... OK
Applying admin.0001_initial... OK
Applying admin.0002_logentry_remove_auto_add... OK
Applying admin.0003_logentry_add_action_flag_choices... OK
Applying perms.0019_auto_20210906_1044... OK
Applying perms.0020_auto_20210910_1103... OK
Applying perms.0021_auto_20211105_1605... OK
Applying perms.0022_applicationpermission_actions... OK
Applying perms.0023_auto_20220112_2035... OK
Applying perms.0024_auto_20220217_2135... OK
Applying perms.0025_auto_20220223_1539... OK
Applying perms.0026_auto_20220307_1500... OK
Applying perms.0027_auto_20220310_1802... OK
Applying perms.0028_auto_20220316_2028... OK
Applying perms.0029_auto_20220728_1728... OK
Applying perms.0030_auto_20220816_1132... OK
Applying perms.0031_auto_20220816_1600... OK
Applying ops.0020_adhoc_run_system_user... OK
Applying ops.0021_auto_20211130_1037... OK
Applying ops.0022_auto_20220817_1346... OK
Applying applications.0021_auto_20220629_1826... OK
Applying applications.0022_auto_20220714_1046... OK
Applying applications.0023_auto_20220715_1556... OK
Applying applications.0024_alter_application_type... OK
Applying applications.0025_auto_20220817_1346... OK
Applying applications.0026_auto_20220817_1716... OK
Applying applications.0027_auto_20221220_1956... OK
Applying assets.0123_device_automation_ansible_enabled... OK
Applying assets.0124_auto_20231007_1437... OK
Applying assets.0125_auto_20231011_1053... OK
Applying ops.0023_auto_20220912_0021... OK
Applying audits.0012_auto_20210414_1443... OK
Applying audits.0013_auto_20211130_1037... OK
Applying audits.0014_auto_20220505_1902... OK
Applying audits.0015_auto_20221011_1745... OK
Applying audits.0016_auto_20221111_1919... OK
Applying audits.0017_auto_20221220_1757... OK
Applying audits.0018_operatelog_resource_id... OK
Applying audits.0019_alter_operatelog_options... OK
Applying audits.0020_auto_20230117_1004... OK
Applying audits.0021_auto_20230207_0857... OK
Applying audits.0022_auto_20230605_1555... OK
Applying audits.0023_auto_20230906_1322... OK
Applying audits.0024_usersession... OK
Applying audits.0025_remove_usersession_date_expired... OK
Applying auth.0009_alter_user_last_name_max_length... OK
Applying auth.0010_alter_group_name_max_length... OK
Applying auth.0011_update_proxy_permissions... OK
Applying auth.0012_alter_user_first_name_max_length... OK
Applying tickets.0026_auto_20221220_1956... OK
Applying tickets.0027_alter_applycommandticket_apply_run_account... OK
Applying tickets.0028_remove_app_tickets... OK
Applying authentication.0005_delete_loginconfirmsetting... OK
Applying authentication.0006_auto_20211227_1059... OK
Applying authentication.0007_connectiontoken... OK
Applying authentication.0008_superconnectiontoken... OK
Applying authentication.0009_auto_20220310_0616... OK
Applying authentication.0010_temptoken... OK
Applying authentication.0011_auto_20220705_1940... OK
Applying authentication.0012_auto_20220816_1629... OK
Applying authentication.0013_connectiontoken_protocol... OK
Applying authentication.0014_auto_20221122_2152... OK
Applying authentication.0015_auto_20221205_1136... OK
Applying authentication.0016_auto_20221220_1956... OK
Applying authentication.0017_auto_20230105_1743... OK
Applying authentication.0018_alter_connectiontoken_input_secret... OK
Applying authentication.0019_connectiontoken_is_reusable... OK
Applying authentication.0020_connectiontoken_connect_options... OK
Applying authentication.0021_auto_20230713_1459... OK
Applying authentication.0022_passkey... OK
Applying authentication.0023_auto_20231010_1101... OK
Applying authentication.0024_accesskey_ip_group... OK
Applying captcha.0001_initial... OK
Applying captcha.0002_alter_captchastore_id... OK
Applying django_cas_ng.0001_initial... OK
Applying django_cas_ng.0002_auto_20201023_1400... OK
Applying django_cas_ng.0003_auto_20210813_1226... OK
Applying django_celery_beat.0001_initial... OK
Applying django_celery_beat.0002_auto_20161118_0346... OK
Applying django_celery_beat.0003_auto_20161209_0049... OK
Applying django_celery_beat.0004_auto_20170221_0000... OK
Applying django_celery_beat.0005_add_solarschedule_events_choices... OK
Applying django_celery_beat.0006_auto_20180322_0932... OK
Applying django_celery_beat.0007_auto_20180521_0826... OK
Applying django_celery_beat.0008_auto_20180914_1922... OK
Applying django_celery_beat.0006_auto_20180210_1226... OK
Applying django_celery_beat.0006_periodictask_priority... OK
Applying django_celery_beat.0009_periodictask_headers... OK
Applying django_celery_beat.0010_auto_20190429_0326... OK
Applying django_celery_beat.0011_auto_20190508_0153... OK
Applying django_celery_beat.0012_periodictask_expire_seconds... OK
Applying django_celery_beat.0013_auto_20200609_0727... OK
Applying django_celery_beat.0014_remove_clockedschedule_enabled... OK
Applying django_celery_beat.0015_edit_solarschedule_events_choices... OK
Applying django_celery_beat.0016_alter_crontabschedule_timezone... OK
Applying django_celery_beat.0017_alter_crontabschedule_month_of_year... OK
Applying django_celery_beat.0018_improve_crontab_helptext... OK
Applying users.0032_userpasswordhistory... OK
Applying users.0033_user_need_update_password... OK
Applying users.0034_auto_20210506_1448... OK
Applying users.0035_auto_20210526_1100... OK
Applying users.0036_user_feishu_id... OK
Applying users.0037_user_secret_key... OK
Applying users.0038_auto_20211209_1140... OK
Applying users.0039_auto_20211229_1852... OK
Applying users.0040_alter_user_source... OK
Applying users.0041_auto_20221220_1956... OK
Applying notifications.0001_initial... OK
Applying notifications.0002_auto_20210909_1946...
Init user message subscription: 1
OK
Applying notifications.0003_auto_20221220_1956... OK
Applying notifications.0004_auto_20230201_1614... OK
Applying ops.0024_alter_celerytask_date_last_publish... OK
Applying ops.0025_auto_20230413_1531... OK
Applying ops.0026_auto_20230810_1039... OK
Applying ops.0027_alter_celerytaskexecution_options... OK
Applying rbac.0001_initial... OK
Applying rbac.0002_auto_20210929_1409... OK
Applying rbac.0003_auto_20211130_1037... - Update builtin roles
- Update: SystemAdmin - True
- Update: SystemAuditor - True
- Update: SystemComponent - True
- Update: User - True
- Update: OrgAdmin - True
- Update: OrgAuditor - True
- Update: OrgUser - True
OK
Applying rbac.0004_auto_20211201_1901...
Create role binding: 0-1 using: 0.01s
Create role binding: 0-1 using: 0.00s
OK
Applying orgs.0011_auto_20211223_1913... OK
Applying orgs.0012_auto_20220118_1054... OK
Applying orgs.0013_alter_organization_options... OK
Applying orgs.0014_organization_builtin... OK
Applying orgs.0015_auto_20221220_1956... OK
Applying perms.0032_auto_20221111_1919... OK
Applying perms.0033_auto_20221220_1956... OK
Applying perms.0034_auto_20230525_1734... OK
Applying perms.0035_auto_20231125_1025... OK
Applying perms.0036_auto_20231108_1626... OK
Applying rbac.0005_auto_20220307_1524... OK
Applying rbac.0006_auto_20220310_0616... OK
Applying rbac.0007_auto_20220314_1525... OK
Applying rbac.0008_auto_20220411_1709... OK
Applying rbac.0009_auto_20220411_1724... OK
Applying rbac.0010_auto_20221220_1956... OK
Applying rbac.0011_remove_redundant_permission... OK
Applying rbac.0012_remove_add_changesecretexection_permission... OK
Applying rbac.0013_alter_menupermission_options... OK
Applying sessions.0001_initial... OK
Applying settings.0002_auto_20210729_1546... OK
Applying settings.0003_auto_20210901_1035... OK
Applying settings.0004_auto_20220211_1401... OK
Applying settings.0005_auto_20220310_0616... OK
Applying settings.0006_remove_setting_enabled... OK
Applying settings.0007_migrate_ldap_sync_org_ids... OK
Applying settings.0008_alter_setting_options... OK
Applying settings.0009_alter_cas_username_attribute... OK
Applying settings.0010_alter_setting_options... OK
Applying tickets.0029_auto_20230110_1445... OK
Applying users.0042_auto_20230203_1201... OK
Applying users.0043_remove_user_secret_key_preference... OK
Applying users.0044_usersession... OK
Applying users.0045_delete_usersession... OK
Applying users.0046_auto_20230927_1456... OK
Applying users.0047_user_date_api_key_last_used... OK
Applying users.0048_wechat_phone_encrypt... OK
After migration, update builtin role permissions
- Update builtin roles
complete
>>> The Installation is Complete
1. You can use the following command to start, and then visit
cd /opt/jumpserver-installer-v3.9.3
./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://192.168.170.26:80
Default username: admin Default password: admin
4. SSH/SFTP access
ssh -p2222 admin@192.168.170.26
sftp -P2222 admin@192.168.170.26
5. More information
Official Website: https://www.jumpserver.org/
Documentation: https://docs.jumpserver.org/
[+] Building 0.0s (0/0) docker:default
[+] Running 10/10
? Container jms_magnus Started 0.0s
? Container jms_kael Started 0.0s
? Container jms_koko Started 0.0s
? Container jms_chen Started 0.0s
? Container jms_web Started 0.0s
? Container jms_celery Started 0.0s
? Container jms_lion Started 0.0s
? Container jms_core Started 0.4s
? Container jms_redis Running 0.0s
? Container jms_mysql Running 0.0s
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# ad Docker Compose binary ...
complete
首次访问,默认账号密码都是admin
登录后会让你重置一下密码
设置好密码,点击登录下面就是V3版本控制台
文章来源:https://blog.csdn.net/qq_42259469/article/details/135359834
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。 如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:veading@qq.com进行投诉反馈,一经查实,立即删除!
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。 如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:veading@qq.com进行投诉反馈,一经查实,立即删除!