【jumpserver-02】离线安装jumpserver

news2024/11/24 9:18:53

https://docs.jumpserver.org/zh/v3/installation/setup_linux_standalone/offline_install/#1

环境准备

mysql数据库

 create database jumpserver default character set utf8mb4;
 create user jumpserver@'%' identified by 'jumpserver';
 grant all on jumpserver.* to jumpserver@'%';

redis

redis-cli -a 123456

下载jumpserver

wget https://cdn0-download-offline-installer.fit2cloud.com/jumpserver/jumpserver-offline-installer-v3.10.7-amd64.tar.gz?Expires=1712978119&OSSAccessKeyId=LTAI5tNm6eCXpZo6cgoJet2h&Signature=6o4Lpo3fo5mov6a76dvCauV5aI8%3D
cd /opt
tar -xf jumpserver-offline-installer-v3.10.7-amd64.tar.gz
cd jumpserver-offline-installer-v3.10.7-amd64

修改配置

config-example.txt

DOCKER_IMAGE_MIRROR=1

SECRET_KEY=abc123456

DB_HOST=127.0.0.1
DB_PORT=3306
DB_USER=jumpserver
DB_PASSWORD=jumpserver
DB_NAME=jumpserve

REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=123456


HTTP_PORT=7080

DOMAINS=jumpserver.joyhour.fun

安装

./jmsctl.sh install
  • 安装日志
[root@monitor jumpserver-offline-installer-v3.10.7-amd64]# ./jmsctl.sh install


       ██╗██╗   ██╗███╗   ███╗██████╗ ███████╗███████╗██████╗ ██╗   ██╗███████╗██████╗
       ██║██║   ██║████╗ ████║██╔══██╗██╔════╝██╔════╝██╔══██╗██║   ██║██╔════╝██╔══██╗
       ██║██║   ██║██╔████╔██║██████╔╝███████╗█████╗  ██████╔╝██║   ██║█████╗  ██████╔╝
  ██   ██║██║   ██║██║╚██╔╝██║██╔═══╝ ╚════██║██╔══╝  ██╔══██╗╚██╗ ██╔╝██╔══╝  ██╔══██╗
  ╚█████╔╝╚██████╔╝██║ ╚═╝ ██║██║     ███████║███████╗██║  ██║ ╚████╔╝ ███████╗██║  ██║
   ╚════╝  ╚═════╝ ╚═╝     ╚═╝╚═╝     ╚══════╝╚══════╝╚═╝  ╚═╝  ╚═══╝  ╚══════╝╚═╝  ╚═╝

                                                                   Version:  v3.10.7  

1. 检查配置文件
配置文件位置: /opt/jumpserver/config
/opt/jumpserver/config/config.txt        [ √ ]
/opt/jumpserver/config/mariadb/mariadb.cnf       [ √ ]
/opt/jumpserver/config/mysql/my.cnf      [ √ ]
/opt/jumpserver/config/nginx/lb_http_server.conf         [ √ ]
/opt/jumpserver/config/redis/redis.conf          [ √ ]
/opt/jumpserver/config/nginx/cert/server.crt     [ √ ]
/opt/jumpserver/config/nginx/cert/server.key     [ √ ]
完成

>>> 安装配置 Docker
1. 安装 Docker
完成

2. 配置 Docker
完成

3. 启动 Docker
完成

>>> 加载 Docker 镜像
jumpserver/redis:6.2 <= images/redis:6.2.tar 镜像已加载, 跳过
jumpserver/mariadb:10.6 <= images/mariadb:10.6.tar 镜像已加载, 跳过
jumpserver/core-ce:v3.10.7 <= images/core-ce:v3.10.7.tar 镜像已加载, 跳过
jumpserver/koko:v3.10.7 <= images/koko:v3.10.7.tar 镜像已加载, 跳过
jumpserver/lion:v3.10.7 <= images/lion:v3.10.7.tar 镜像已加载, 跳过
jumpserver/magnus:v3.10.7 <= images/magnus:v3.10.7.tar 镜像已加载, 跳过
jumpserver/chen:v3.10.7 <= images/chen:v3.10.7.tar 镜像已加载, 跳过
jumpserver/kael:v3.10.7 <= images/kael:v3.10.7.tar 镜像已加载, 跳过
jumpserver/web:v3.10.7 <= images/web:v3.10.7.tar 镜像已加载, 跳过
完成

>>> 安装配置 JumpServer
1. 配置加密密钥
完成

2. 配置持久化目录
是否需要自定义持久化存储, 默认将使用目录 /data/jumpserver? (y/n)  (默认为 n): 
完成

3. 配置 MySQL
是否使用外部 MySQL? (y/n)  (默认为 y): y
请输入 mysql 的主机地址 (默认为 192.168.0.118): 127.0.0.1
请输入 mysql 的端口 (默认为 3306): 
请输入 mysql 的数据库 (默认为 jumpserver): 
请输入 mysql 的用户名 (默认为 jumpserver): 
请输入 mysql 的密码 (默认为 jumpserver): 
完成

4. 配置 Redis
是否使用外部 Redis? (y/n)  (默认为 y): 
请输入 Redis 的主机地址 (默认为 192.168.0.118): 
请输入 Redis 的端口 (默认为 6379): 
请输入 Redis 的密码 (默认为 123456): 
完成

5. 配置外部访问
是否需要配置 JumpServer 对外访问端口? (y/n)  (默认为 n): y
JumpServer web 端口 (默认为 7080): 
JumpServer ssh 端口 (默认为 2222): 
完成

6. 初始化数据库
[+] Running 1/0
 ✔ Container jms_core  Running                                                                                                               0.0s 
2024-04-12 16:41:14 Collect static files
2024-04-12 16:41:15 Collect static files done
ALLOWED_HOSTS: 
  - jumpserver.joyhour.fun
  - jumpserver.bluemoon.ltd
  - 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: 
  - jumpserver.joyhour.fun
  - jumpserver.bluemoon.ltd
  - core:8080
  - 127.0.0.1
  - 127.0.0.1:8080
  - 127.0.0.1:80
  - localhost:8080
  - localhost:80
  - core:8080
  - core:80
2024-04-12 16:41:15 Check database structure change ...
2024-04-12 16:41:15 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, labels, 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.47 ms
        Migrate model org id: AdminUser done, use 1.49 ms
        Migrate model org id: Asset     done, use 0.97 ms
        Migrate model org id: AuthBook  done, use 1.29 ms
        Migrate model org id: CommandFilter     done, use 2.62 ms
        Migrate model org id: CommandFilterRule done, use 0.97 ms
        Migrate model org id: Domain    done, use 0.99 ms
        Migrate model org id: Gateway   done, use 1.0 ms
        Migrate model org id: GatheredUser      done, use 0.97 ms
        Migrate model org id: Label     done, use 0.94 ms
        Migrate model org id: Node      done, use 0.95 ms
        Migrate model org id: SystemUser        done, use 1.03 ms
        Migrate model org id: FTPLog    done, use 1.78 ms
        Migrate model org id: OperateLog        done, use 0.81 ms
        Migrate model org id: AdHoc     done, use 0.95 ms
        Migrate model org id: AdHocExecution    done, use 0.95 ms
        Migrate model org id: CommandExecution  done, use 0.96 ms
        Migrate model org id: Task      done, use 1.21 ms
        Migrate model org id: ApplicationPermission     done, use 0.86 ms
        Migrate model org id: AssetPermission   done, use 0.89 ms
        Migrate model org id: UserAssetGrantedTreeNodeRelation  done, use 0.96 ms
        Migrate model org id: Session   done, use 0.96 ms
        Migrate model org id: Command   done, use 0.96 ms
        Migrate model org id: Ticket    done, use 1.07 ms
        Migrate model org id: UserGroup done, use 1.12 ms
        Will add users to default org: 1
          Add users to default org: 1-1
        done, use 4.17 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 labels.0001_initial... OK
  Applying assets.0123_device_automation_ansible_enabled... OK
  Applying assets.0124_auto_20231007_1437... OK
  Applying assets.0125_auto_20231011_1053... OK
  Applying labels.0002_auto_20231103_1659... OK
  Applying assets.0126_remove_asset_labels... OK
  Applying assets.0127_automation_remove_account... 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 labels.0003_alter_labeledresource_options_and_more... 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 rbac.0014_auto_20231208_1548... 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 settings.0011_chatprompt... OK
  Applying settings.0012_alter_setting_options... OK
  Applying terminal.0068_virtualapp... OK
  Applying terminal.0069_endpoint_sqlserver_port_alter_appprovider_apps_and_more... 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
  Applying users.0049_alter_user_unique_together_user_slack_id_and_more... OK

After migration, update builtin role permissions
  - Update builtin roles
完成

>>> 安装完成了
1. 可以使用如下命令启动, 然后访问
cd /opt/jumpserver-offline-installer-v3.10.7-amd64
./jmsctl.sh start

2. 其它一些管理命令
./jmsctl.sh stop
./jmsctl.sh restart
./jmsctl.sh backup
./jmsctl.sh upgrade
更多还有一些命令, 你可以 ./jmsctl.sh --help 来了解

3. Web 访问
http://192.168.0.118:7080
默认用户: admin  默认密码: admin

4. SSH/SFTP 访问
ssh -p2222 admin@192.168.0.118
sftp -P2222 admin@192.168.0.118

5. 更多信息
我们的官网: https://www.jumpserver.org/
我们的文档: https://docs.jumpserver.org/

启动

[root@monitor jumpserver-offline-installer-v3.10.7-amd64]# ./jmsctl.sh start
[+] Running 8/8
 ✔ Container jms_celery  Started                                                                                                             1.5s 
 ✔ Container jms_kael    Started                                                                                                             1.5s 
 ✔ Container jms_koko    Started                                                                                                             1.4s 
 ✔ Container jms_lion    Started                                                                                                             1.1s 
 ✔ Container jms_web     Started                                                                                                             1.2s 
 ✔ Container jms_magnus  Started                                                                                                             1.6s 
 ✔ Container jms_chen    Started                                                                                                             1.3s 
 ✔ Container jms_core    Started  

docker 启动结果

最后一个grafana不是,其他的都是jumpserver的组件

[root@monitor jumpserver-offline-installer-v3.10.7-amd64]# docker ps -a
CONTAINER ID   IMAGE                        COMMAND                   CREATED              STATUS                    PORTS                                                                                                                                                  NAMES
335ee316064e   jumpserver/web:v3.10.7       "/docker-entrypoint.…"   About a minute ago   Up 59 seconds (healthy)   80/tcp, 0.0.0.0:7080->7080/tcp, :::7080->7080/tcp                                                                                                      jms_web
bb221eb6cbbe   jumpserver/lion:v3.10.7      "./entrypoint.sh"         About a minute ago   Up 59 seconds (healthy)   4822/tcp, 8081/tcp                                                                                                                                     jms_lion
255e12ae9506   jumpserver/kael:v3.10.7      "./entrypoint.sh"         About a minute ago   Up 58 seconds (healthy)   8083/tcp                                                                                                                                               jms_kael
2c848b31fba9   jumpserver/chen:v3.10.7      "./entrypoint.sh"         About a minute ago   Up 59 seconds (healthy)   8082/tcp                                                                                                                                               jms_chen
abf7956b2be4   jumpserver/core-ce:v3.10.7   "./entrypoint.sh sta…"   About a minute ago   Up 58 seconds (healthy)   8080/tcp                                                                                                                                               jms_celery
3a88854c64a9   jumpserver/core-ce:v3.10.7   "./entrypoint.sh sta…"   About a minute ago   Up 59 seconds (healthy)   8080/tcp                                                                                                                                               jms_core
4752f97c6c73   jumpserver/koko:v3.10.7      "./entrypoint.sh"         About a minute ago   Up 58 seconds (healthy)   0.0.0.0:2222->2222/tcp, :::2222->2222/tcp, 5000/tcp                                                                                                    jms_koko
96dfbff3c652   jumpserver/magnus:v3.10.7    "./entrypoint.sh"         About a minute ago   Up 58 seconds (healthy)   8088/tcp, 14330/tcp, 0.0.0.0:33061-33062->33061-33062/tcp, :::33061-33062->33061-33062/tcp, 54320/tcp, 0.0.0.0:63790->63790/tcp, :::63790->63790/tcp   jms_magnus
8ed5081d528e   grafana/grafana:latest       "/run.sh"                 2 months ago         Exited (0) 5 weeks ago                                                                                                                                                           grafana

启动报错

image-20240412165006385

  • 修改
/opt/jumpserver/config/config.txt
DOMAINS=192.168.0.118:7080
  • 重启后
[root@monitor jumpserver-offline-installer-v3.10.7-amd64]# ./jmsctl.sh down
[+] Running 9/9
 ✔ Container jms_magnus  Removed                                                                                                            10.7s 
 ✔ Container jms_chen    Removed                                                                                                            10.6s 
 ✔ Container jms_kael    Removed                                                                                                            10.6s 
 ✔ Container jms_lion    Removed                                                                                                            10.4s 
 ✔ Container jms_koko    Removed                                                                                                            10.4s 
 ✔ Container jms_web     Removed                                                                                                             0.4s 
 ✔ Container jms_core    Removed                                                                                                             0.3s 
 ✔ Container jms_celery  Removed                                                                                                             0.4s 
 ✔ Network jms_net       Removed                                                                                                             0.1s 
[root@monitor jumpserver-offline-installer-v3.10.7-amd64]# docker ps -a
CONTAINER ID   IMAGE                    COMMAND     CREATED        STATUS                   PORTS     NAMES
8ed5081d528e   grafana/grafana:latest   "/run.sh"   2 months ago   Exited (0) 5 weeks ago             grafana
[root@monitor jumpserver-offline-installer-v3.10.7-amd64]# ./jmsctl.sh start
[+] Running 8/9
 ⠹ Network jms_net       Created                                                                                                             1.2s 
 ✔ Container jms_celery  Started                                                                                                             0.5s 
 ✔ Container jms_koko    Started                                                                                                             0.7s 
 ✔ Container jms_lion    Started                                                                                                             0.7s 
 ✔ Container jms_web     Started                                                                                                             1.2s 
 ✔ Container jms_chen    Started                                                                                                             1.0s 
 ✔ Container jms_kael    Started                                                                                                             1.1s 
 ✔ Container jms_magnus  Started                                                                                                             0.8s 
 ✔ Container jms_core    Started      
  • 修改密码

Abc123##

image-20240412165424559

image-20240412165513431

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1588971.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

Arrow Path (DFS BFS)

//新生训练 #include <iostream> #include <algorithm> #include <cstring> #include <queue> using namespace std; using PII pair<int, int>;const int N 2e5 5; const int inf 0x3f3f3f3f; int n, m; int l; string s[2]; int dx[] {0,…

CorelDRAW苹果版提示请重新连接具有文件位置的设备...的解决方法

今天小编想更新一下CorelDRAW2024苹果版&#xff0c;但升级完成依次提示“请重新连接具有文件位置的设备&#xff0c;或选择新文件夹。同时&#xff0c;内容将保存在Corel 默认位置。您可以在恢复文件位置之后移动内容”和“尝试重新启动计算机和应用程序。如果这些操作还是不能…

LeetCode-64. 最小路径和【数组 动态规划 矩阵】

LeetCode-64. 最小路径和【数组 动态规划 矩阵】 题目描述&#xff1a;解题思路一&#xff1a;动态规划五部曲。定推初遍举解题思路二&#xff1a;动态规划优化空间&#xff0c;直接改grid解题思路三&#xff1a;dfs 题目描述&#xff1a; 给定一个包含非负整数的 m x n 网格 …

SpringBoot入门(Hello World 项目)

SpringBoot关键结构 1.2.1 Core Container The Core Container consists of the Core, Beans, Context, and Expression Language modules. The Core and Beans modules provide the fundamental parts of the framework, including the IoC and Dependency Injection featur…

掌握JMeter HTTP 请求头:简单易懂

在深入研究 JMeter 的过程中&#xff0c;任何涉及性能测试或接口验证的专业人员都会认识到&#xff0c;合理配置HTTP请求头部信息是实现精确测试的关键步骤之一。不同情景下&#xff0c;如数据提交形式的不同&#xff08;例如 JSON、XML 等&#xff09;&#xff0c;或是需要通过…

第二十六周代码(总结 + 查缺补漏)

蓝桥云课&#xff1a;刷题数量通过139题&#xff0c;尝试解决&#xff08;未做出&#xff09;18题。 其中蓝桥杯往年真题74题&#xff0c;尝试解决&#xff08;未做出&#xff09;6题算法模板题5题经典算法题20题&#xff0c;尝试解决&#xff08;未做出&#xff09;1题算法赛…

05—面向对象(上)

一、面向对象编程 1、类和对象 &#xff08;1&#xff09;什么是类 类是一类具有相同特性的事物的抽象描述&#xff0c;是一组相关属性和行为的集合。 属性&#xff1a;就是该事物的状态信息。行为&#xff1a;就是在你这个程序中&#xff0c;该状态信息要做什么操作&#x…

PolarDB for PostgreSQL 有意思吗? 有意思呀

开头还是介绍一下群&#xff0c;如果感兴趣PolarDB ,MongoDB ,MySQL ,PostgreSQL ,Redis, Oceanbase, Sql Server等有问题&#xff0c;有需求都可以加群群内有各大数据库行业大咖&#xff0c;CTO&#xff0c;可以解决你的问题。加群请联系 liuaustin3 &#xff0c;&#xff08;…

未佩戴厨师帽识别检测 厨房管理系统 自动监测未佩戴厨师帽行为 实时报警

在厨房环境中&#xff0c;佩戴厨师帽对于食品安全和卫生至关重要。厨师帽能够有效地防止头发、皮屑等杂质掉入食物中&#xff0c;减少了食品受到污染的可能性&#xff0c;从而保障了食品安全。特别是在学校、餐厅等场景中&#xff0c;对于未佩戴厨师帽的检测更是必不可少。相关…

《哈迪斯》自带的Lua解释器是哪个版本?

玩过《哈迪斯》&#xff08;英文名&#xff1a;Hades&#xff09;吗&#xff1f;最近在研究怎么给这款游戏做MOD&#xff0c;想把它的振动体验升级到更高品质的RichTap。N站下载了一些别人做的MOD&#xff0c;发现很多都基于相同的格式&#xff0c;均是对游戏.sjon文件或.lua文…

洛谷-P1036 [NOIP2002 普及组] 选数

P1036 [NOIP2002 普及组] 选数 - 洛谷 | 计算机科学教育新生态 (luogu.com.cn) #include<bits/stdc.h> using namespace std; const int N30; int n,r; int g[N]; //存用户输入的数 int arr[N]; //存答案 int res0; //存种类数bool is_prime(int y){ //求素数if(y<2){…

DC-2渗透测试复现

DC-2渗透测试复现 目的&#xff1a; 获取最高权限以及5个flag 过程&#xff1a; 信息打点-ssh连接-git提权 环境&#xff1a; 攻击机&#xff1a;kali(192.168.85.136) 靶机&#xff1a;DC_2(192.168.85.132) 复现&#xff1a; 一.信息收集 nmap -sP 192.168.85.0/24 …

人工智能时代创作者的抗议!

创造力作为人类智力结构中的璀璨瑰宝&#xff0c;一直以来被视为推动文明进步和社会演进不可或缺的关键要素。难以设想一个没有创造力的世界会是怎样一番景象——那或许是一个机械单调的社会&#xff0c;科技创新止步不前&#xff0c;文化艺术枯竭凋零&#xff0c;人们的精神世…

蓝桥杯 子串简写(暴力)

题目&#xff1a;子串简写 代码1&#xff1a; #include<algorithm> #include<iostream> #include<cstring> #include<queue> #include<cmath>using namespace std;char c1,c2; int k; char s[100010]; int a[100010]; int b[100010]; int cnt; …

【YOLOv9改进[损失函数]】使用结合InnerIoU和Focaler的各种损失函数助力YOLOv9更优秀

目录 一 回归损失函数&#xff08;Bounding Box Regression Loss&#xff09; 1 Inner-IoU 2 Focaler-IoU&#xff1a;更聚焦的IoU损失 二 改进YOLOv9的损失函数 1 总体修改 ① utils/metrics.py文件 ② utils/loss_tal_dual.py文件 2 各种机制的使用 ① 使用结合Inn…

Java算法小练习——五道经典算法题

练习一&#xff1a;按照要求进行排序 定义数组并存储一些朋友对象&#xff0c;利用Arrays中sort方法进行排序 要求1&#xff1a;属性有姓名、年龄、身高。 要求2&#xff1a;按照年龄的大小进行排序&#xff0c;年龄一样&#xff0c;按身高排序&#xff0c;身高一样安姓名的字母…

MES对接日常:MES对接单据上下游关联怎么处理?

很多制造企业的信息化过程中&#xff0c;金蝶云星空作为企业资源规划&#xff08;ERP&#xff09;系统的核心&#xff0c;与制造执行系统&#xff08;MES&#xff09;的有效对接&#xff0c;对于实现生产管理的精细化、智能化至关重要。其中&#xff0c;单据关联作为打通ERP与M…

小程序地理位置权限申请+uniapp调用uni.getLocation

文章目录 一、小程序地理位置权限申请二、uniapp调用uni.getLocation 一、小程序地理位置权限申请 需要确保小程序类目已经填写 点击左侧导航栏找到最后的“设置”——“基本设置”——“前往填写” 在开发管理——接口设置——地理位置中可以看到&#xff1a; 即可点击想要申…

基于Springboot的二手交易平台

基于SpringbootVue的二手交易平台的设计与实现 开发语言&#xff1a;Java数据库&#xff1a;MySQL技术&#xff1a;SpringbootMybatis工具&#xff1a;IDEA、Maven、Navicat 系统展示 用户登录页 首页 商品信息 商品求购 网站公告 留言反馈 个人中心 后台管理 后台首页 用户…

cephfs部署与使用

一、前言 CephFS&#xff08;Ceph File System&#xff09;是Ceph存储解决方案中的一个组件&#xff0c;它提供了一个分布式文件系统&#xff0c;允许用户在多个节点上访问和管理文件数据&#xff0c;相当于是共享文件系统&#xff0c;可应用于k8s的存储&#xff0c;linux系统的…