Deployment and Maintenance / System Requirements
Before installing DataFlux Func, please ensure that the environment meets the following conditions.
1. System Requirements
The host running DataFlux Func must meet the following conditions:
- CPU cores >= 2
- Memory >= 4GB
- Disk space >= 20GB
- Network bandwidth >= 10Mbps
- Operating system: Ubuntu 16.04 LTS / CentOS 7.2 or above, macOS and Windows are not supported
- Clean system (no operations performed after installing the operating system except configuring the network)
- Port
8088
open (the system uses port8088
by default, ensure that the firewall, security group, etc., allow inbound access to8088
) - When using an external MySQL, MySQL version must be 5.7 or above, with
innodb_large_prefix
parameter enabled, and database encoding set toutf8mb4
- When using an external Redis, Redis version must be 5.0 or above, with at least 1 GB of available memory, non-cluster version
Note on certain cloud platform plugins
Some plugins automatically installed by cloud platforms may consume significant resources, so system configurations should be appropriately increased.
Detailed OS compatibility
For detailed OS compatibility test results, refer to Tested OS Compatibility
For installation on Raspberry Pi, refer to the following articles:
- Maintenance and Deployment / Installation Guide / Raspberry Pi Official OS Deployment
- Maintenance and Deployment / Installation Guide / Raspberry Pi Ubuntu Deployment
2. Software Preparation
This system runs based on Docker Stack, and the installation package includes Docker and will automatically install it during setup.
Users can also manually install Docker and initialize Docker Swarm, then run the installation script. The installation script will skip this part if Docker is already installed.
- Docker Swarm initialization command:
sudo docker swarm init
If the machine has multiple network cards, specify the network card in the initialization command.
- For machines with multiple network cards, it is recommended to manually install Docker and initialize Docker Swarm.
- Docker Swarm initialization command with specified network card:
sudo docker swarm init --advertise-addr={network card name} --default-addr-pool={default address pool}
- List network cards using
ifconfig
orip addr
- Ensure the default address pool does not conflict with the local network subnet.
Snap version of Docker not supported
DataFlux Func does not support running on the Snap version of Docker.
docker swarm init in the automatic installation script
The automatic installation script uses the following parameters for docker swarm init
: --advertise-addr=127.0.0.1
and --default-addr-pool=10.255.0.0/16
.
Bash | |
---|---|
1 |
|
3. Tested OS Compatibility
This system relies on Docker Swarm, and some older Linux distributions may not support the latest Docker version, making it impossible to install this system.
For "tested environments":
- Virtual machines: Official ISO images were used, and DataFlux Func was deployed directly after installation.
- Alibaba Cloud: ECS public images were used, and DataFlux Func was deployed directly after ECS startup.
- Raspberry Pi: Official ISO images (ARM 64-bit) were used, and DataFlux Func was deployed directly after startup.
For "tested results":
- Compatible: Indicates that the installation script can be run directly after the host is installed/created, without any additional steps.
- Conditionally compatible: Indicates that additional steps are required before running the installation script after the host is installed/created.
- Incompatible: Indicates that the installation script cannot be executed correctly in this environment, but you can handle it manually using the image file.
Test results
The listed operating systems were tested on cloud platforms or virtual machines, and passed the tests. Unlisted systems are not necessarily incompatible.
64-bit system required
DataFlux Func requires a 64-bit system. Official Raspberry Pi OS also needs to run in ARM 64-bit mode.
Windows and macOS not supported
DataFlux Func does not support Windows and macOS. You can choose to install it in a virtual machine or cloud host.
x86 Architecture
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
Ubuntu 22.04 | Alibaba Cloud | 5.1.0 5.0.5 |
||
Ubuntu 20.04 | Alibaba Cloud | 5.0.5 |
||
Ubuntu 18.04 | Alibaba Cloud | 5.0.5 |
||
Ubuntu 16.04 | Alibaba Cloud | 5.0.5 |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
Ubuntu 20.04 LTS | VirtualBox | 2.x |
||
Ubuntu 18.04 LTS | VirtualBox | 2.x |
||
Ubuntu 16.04 LTS | VirtualBox | 2.x |
||
Ubuntu 14.04 LTS | VirtualBox | 2.x |
New Docker features require a newer kernel |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
CentOS 8.5 | Alibaba Cloud | 2.x |
||
CentOS 8.4 | Alibaba Cloud | 2.x |
||
CentOS 8.3 | Alibaba Cloud | 2.x |
||
CentOS 8.2 | Alibaba Cloud | 2.x |
||
CentOS 8.1 | Alibaba Cloud | 2.x |
||
CentOS 8.0 | Alibaba Cloud | 2.x |
||
CentOS 7.9 | Alibaba Cloud | 2.x |
||
CentOS 7.8 | Alibaba Cloud | 2.x |
||
CentOS 7.7 | Alibaba Cloud | 2.x |
||
CentOS 7.6 | Alibaba Cloud | 2.x |
||
CentOS 7.5 | Alibaba Cloud | 2.x |
||
CentOS 7.4 | Alibaba Cloud | 2.x |
||
CentOS 7.3 | Alibaba Cloud | 2.x |
||
CentOS 7.2 | Alibaba Cloud | 2.x |
Original CentOS 7.2 image is too old to use overlay2 , defaults to vfs , which consumes too much disk spaceAlibaba Cloud public image CentOS 7.2 has an updated kernel and can use overlay2 |
|
CentOS 6.10 | Alibaba Cloud | 2.x |
New Docker features require a newer kernel |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
CentOS 7.9 | VirtualBox | 5.0.5 |
Image from Alibaba Cloud Open Source Mirror / CentOS 7.9.2009 / CentOS-7-x86_64-Minimal-2009.iso |
OS | Test Version | Test Result | Notes |
---|---|---|---|
Debian 10.2 "buster" | Alibaba Cloud | 2.x |
|
Debian 9.6 "stretch" | Alibaba Cloud | 2.x |
|
Debian 8.11 "jessie" | Alibaba Cloud | 2.x |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
AlmaLinux 9.0 64-bit | Alibaba Cloud | 2.x |
||
AlmaLinux 8.6 64-bit | Alibaba Cloud | 2.x |
||
AlmaLinux 8.5 64-bit | Alibaba Cloud | 2.x |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
Fedora 35 64-bit | Alibaba Cloud | 2.x |
||
Fedora 34 64-bit | Alibaba Cloud | 2.x |
||
Fedora 33 64-bit | Alibaba Cloud | 2.x |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
OpenSUSE 15.4 64-bit | Alibaba Cloud | 2.x |
Docker must be installed and Docker Swarm configured beforehand Refer to SUSE / Docker Open Source Engine Installation |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
SUSE Linux Enterprise Server 15 SP3 64-bit | Alibaba Cloud | 2.x |
Docker must be installed and Docker Swarm configured beforehand Refer to SUSE / Docker Open Source Engine Installation |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
Rocky Linux 9.5 64-bit | Alibaba Cloud | 6.2.8 |
||
Rocky Linux 8.6 64-bit | Alibaba Cloud | 2.x |
||
Rocky Linux 8.5 64-bit | Alibaba Cloud | 2.x |
x86 Architecture (Domestic)
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
Anolis OS 8.8 ANCK 64-bit Level 3 | Alibaba Cloud | 5.0.5 |
Install under root userRunning /root/cybersecurity.sh does not affect compatibility |
|
Anolis OS 8.8 ANCK 64-bit | Alibaba Cloud | 5.0.5 |
||
Anolis OS 8.8 RHCK 64-bit | Alibaba Cloud | 5.0.5 |
||
Anolis OS 8.6 ANCK 64-bit | Alibaba Cloud | 5.0.5 |
||
Anolis OS 8.6 RHCK 64-bit | Alibaba Cloud | 5.0.5 |
||
Anolis OS 8.4 ANCK 64-bit | Alibaba Cloud | 2.x |
||
Anolis OS 8.4 RHCK 64-bit | Alibaba Cloud | 2.x |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
Alibaba Cloud Linux 3.2104 LTS 64-bit Level 3 | Alibaba Cloud | 2.x |
Install under root userRunning /root/cybersecurity.sh does not affect compatibility |
|
Alibaba Cloud Linux 2.1903 LTS 64-bit Level 3 | Alibaba Cloud | 2.x |
Install under root userRunning /root/cybersecurity.sh does not affect compatibility |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
openEuler 24.03 LTS | VirtualBox | 5.0.5 |
Original system requires tar installation before deployment |
|
openEuler 23.09 | VirtualBox | 5.0.5 |
Original system requires tar installation before deployment |
|
openEuler 22.03 LTS | VirtualBox | 5.0.5 |
Original system requires tar installation before deployment |
|
openEuler 20.03 LTS | VirtualBox | 5.0.5 |
Original system requires tar installation before deployment |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
Ubuntu Kylin 20.04 LTS Pro | VirtualBox | 2.x |
System comes with Docker, manual Docker Swarm initialization required |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
Kylin Advanced Server OS (X86) V10 | Alibaba Cloud | 5.0.5 |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
Kylin Advanced Server OS V10 (Zhaoxin) | Physical machine Specific hardware and configuration unknown |
5.0.5 |
Due to OS and Docker compatibility issues, the Docker 23.0.6 included in the package cannot run, but Docker 24.0.7 works |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
NeoKylin Advanced Server OS | Alibaba Cloud | 5.0.5 |
This OS Linux kernel version is only 2.6, too old |
ARM Architecture
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
Ubuntu 22.04 | Alibaba Cloud | 5.0.5 |
||
Ubuntu 20.04 | Alibaba Cloud | 5.0.5 |
||
Ubuntu 18.04 | Alibaba Cloud | 2.x |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
Ubuntu 20.04 LTS | Raspberry Pi 4B 8GB version |
2.x |
Refer to Maintenance and Deployment / Installation Guide / Raspberry Pi Ubuntu Deployment |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
CentOS 8.3 | Alibaba Cloud | 2.x |
Redis reports Unsupported system page size error and cannot startRefer to Troubleshooting / Containers Not Running / Redis Unsupported System Page Size |
|
CentOS 7.9 | Alibaba Cloud | 2.x |
Redis reports Unsupported system page size error and cannot startRefer to Troubleshooting / Containers Not Running / Redis Unsupported System Page Size |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
Debian 10.9 "buster" | Alibaba Cloud | 2.x |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
Raspberry Pi OS (Debian 10 "buster") | Raspberry Pi 4B 8GB version |
2.x |
Raspberry Pi must be in arm64_bit modeRefer to Maintenance and Deployment / Installation Guide / Raspberry Pi Official OS Deployment |
ARM Architecture (Domestic)
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
Anolis OS 8.8 ANCK 64-bit Level 3 | Alibaba Cloud | 5.0.5 |
Install under root userRunning /root/cybersecurity.sh does not affect compatibility |
|
Anolis OS 8.8 ANCK 64-bit | Alibaba Cloud | 5.0.5 |
||
Anolis OS 8.8 RHCK 64-bit | Alibaba Cloud | 5.0.5 |
Redis reports Unsupported system page size error and cannot startRefer to Troubleshooting / Containers Not Running / Redis Unsupported System Page Size |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
Alibaba Cloud Linux 3.2104 LTS 64-bit Level 3 | Alibaba Cloud | 5.0.5 |
Install under root userRunning /root/cybersecurity.sh does not affect compatibility |
|
Alibaba Cloud Linux 3.2104 LTS 64-bit | Alibaba Cloud | 5.0.5 |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
Kylin Advanced Server OS (ARM) V10 | Alibaba Cloud | 5.0.5 |
Redis reports Unsupported system page size error and cannot startRefer to Troubleshooting / Containers Not Running / Redis Unsupported System Page Size |
OS | Test Environment | Test Version | Test Result | Notes |
---|---|---|---|---|
UOS Server OS V20 (1050u1a) ARM64 | Alibaba Cloud | 5.0.5 |
Redis reports Unsupported system page size error and cannot startRefer to Troubleshooting / Containers Not Running / Redis Unsupported System Page Size |
4. Browser Compatibility
This system is a web application, and some browsers may have compatibility issues.
Browser | Test Result |
---|---|
Chrome | |
Safari | |
Firefox | |
Microsoft Edge (webkit) | |
Opera | |
Maxthon Browser | |
Sogou Browser | |
QQ Browser | |
360 Speed Browser (Speed Mode, Chrome) | |
360 Speed Browser (Compatibility Mode, IE) | |
Internet Explorer |
X. Appendix
Kernel Version Too Low to Use Overlay
Overlay storage engine requires Linux 4.0+ kernel, or RHEL/CentOS 3.10.0-514+, see:
- Docker Docs: Use the OverlayFS storage driver
- Docker Docs: Use the VFS storage driver
- Wikipedia: CentOS version 7
OpenSUSE / SUSE Linux Docker Installation Commands Excerpt
Ensure you are familiar with OpenSUSE / SUSE Linux and understand the following code before proceeding
Bash | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|