跳到主要内容

环境要求

1. 操作系统​

  • 支持主流 Linux 发行版本(基于 Debian / RedHat,包括国产操作系统)
操作系统架构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

Debian / Ubuntu​

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

RedHat / CentOS​

yum update
yum install -y wget curl tar gettext iptables

2 数据库​

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

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

名称版本默认字符集默认字符编码TLS/SSL
MySQL>= 5.7utf8utf8_general_ci✓
MariaDB>= 10.6utf8mb3utf8mb3_general_ci✓
名称版本SentinelClusterTLS/SSL
Redis>= 6.0✓✗✓

MySQL​

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​

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)