环境要求

1 操作系统

JumpServer 的操作系统环境要求如下:

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

Debian / UbuntuRedHat / CentOS

  1. apt-get update
  2. apt-get install -y wget curl tar gettext iptables
  1. yum update
  2. yum install -y wget curl tar gettext iptables

2 数据库

JumpServer 需要使用 MySQL 或 MariaDB 存储数据,使用 Redis 缓存数据,如果有自建数据库或云数据库的使用需求请参考下列的数据库环境要求:

我们支持数据库 SSL 连接Redis SSL 连接

名称版本默认字符集默认字符编码TLS/SSL
MySQL>= 5.7utf8utf8_general_ci环境要求 - 图1
MariaDB>= 10.2utf8mb3utf8mb3_general_ci环境要求 - 图2
名称版本SentinelClusterTLS/SSL
Redis>= 6.0环境要求 - 图3环境要求 - 图4环境要求 - 图5

数据库建库语句参考

MySQLMariaDB

  1. create database jumpserver default charset 'utf8';
  1. mysql> show create database jumpserver;
  2. +------------+---------------------------------------------------------------------+
  3. | Database | Create Database |
  4. +------------+---------------------------------------------------------------------+
  5. | jumpserver | CREATE DATABASE `jumpserver` /*!40100 DEFAULT CHARACTER SET utf8 */ |
  6. +------------+---------------------------------------------------------------------+
  7. 1 row in set (0.00 sec)
  1. create database jumpserver default charset 'utf8';
  1. MariaDB> show create database jumpserver;
  2. +------------+-----------------------------------------------------------------------+
  3. | Database | Create Database |
  4. +------------+-----------------------------------------------------------------------+
  5. | jumpserver | CREATE DATABASE `jumpserver` /*!40100 DEFAULT CHARACTER SET utf8mb3*/ |
  6. +------------+-----------------------------------------------------------------------+
  7. 1 row in set (0.001 sec)