For AI agents: the complete documentation index is available at https://docs.fit2cloud.com/jumpserver/llms.txt, the full documentation bundle is available at https://docs.fit2cloud.com/jumpserver/llms-full.txt, and this page is available as Markdown at https://docs.fit2cloud.com/jumpserver/installation/setup_linux_standalone/requirements.md.

环境要求

1. 操作系统

支持主流 Linux 发行版本(基于 Debian / RedHat,包括国产操作系统)

表 1 操作系统要求
操作系统架构Linux 内核软件要求最小化硬件配置
linux/amd64x86_64>= 4.0wget curl tar gettext iptables python34Core/8GB RAM/100G HDD
linux/arm64aarch64>= 4.0wget curl tar gettext iptables python34Core/8GB RAM/100G HDD

Debian / Ubuntu

Debian / Ubuntu 系统安装所需软件:

apt-get update
apt-get install -y wget curl tar gettext iptables python3

RedHat / CentOS

RedHat / CentOS 系统安装所需软件:

yum update
yum install -y wget curl tar gettext iptables python3

2 数据库

JumpServer 运行依赖数据库和 Redis,安装时默认使用内置的 PostgreSQL 与 Redis;如需使用外部服务,请提前准备并满足下表版本要求,安装时通过配置项指定外部地址。

表 2 数据库要求
名称版本默认字符集默认字符编码TLS/SSL
PostgreSQL>= 16UTF8en_US.utf8✓
MySQL>= 8.0utf8utf8_general_ci✓
MariaDB>= 10.6utf8mb3utf8mb3_general_ci✓

JumpServer 缓存依赖 Redis,版本要求如下:

表 3 Redis 要求
名称版本SentinelClusterTLS/SSL
Redis>= 7.0✓✗✓

PostgreSQL

创建 jumpserver 数据库并确认字符集:

create database jumpserver with encoding='UTF8';
postgres=# \l
                                                         List of databases
    Name      |   Owner    | Encoding | Locale Provider |  Collate   |   Ctype    | ICU Locale | ICU Rules |   Access privileges   
--------------+------------+----------+-----------------+------------+------------+------------+-----------+-----------------------
jumpserver    | postgres   | UTF8     | libc            | en_US.utf8 | en_US.utf8 |            |           | 
(1 rows)

MySQL

创建 jumpserver 数据库并确认字符集:

create database jumpserver default charset 'utf8';
mysql> show create database jumpserver;
+------------+---------------------------------------------------------------------+
| Database   | Create Database                                                     |
+------------+---------------------------------------------------------------------+
| jumpserver | CREATE DATABASE `jumpserver` /*!40100 DEFAULT CHARACTER SET utf8 */ |
+------------+---------------------------------------------------------------------+
1 row in set (0.00 sec)

MariaDB

创建 jumpserver 数据库并确认字符集:

create database jumpserver default charset 'utf8';
MariaDB> show create database jumpserver;
+------------+-----------------------------------------------------------------------+
| Database   | Create Database                                                       |
+------------+-----------------------------------------------------------------------+
| jumpserver | CREATE DATABASE `jumpserver` /*!40100 DEFAULT CHARACTER SET utf8mb3*/ |
+------------+-----------------------------------------------------------------------+
1 row in set (0.001 sec)