Deployment and Maintenance / System Requirements
Before installing DataFlux Func, please make sure the environment meets the following conditions.
1. System Requirements
The host running DataFlux Func must meet the following conditions:
- CPU cores >= 2
- Memory capacity >= 4GB
- Disk space >= 20GB
- Network bandwidth >= 10Mbps
- Operating system is Ubuntu 16.04 LTS / CentOS 7.2 or later, macOS and Windows are not supported
- A clean system (after installing the operating system, no other operations have been performed except network configuration)
- Open
8088
port (this system defaults to using the8088
port, please ensure that firewall, security groups, etc., allow inbound access to8088
) - When using an external MySQL, the MySQL version must be 5.7 or higher, enable the
innodb_large_prefix
parameter and the database encoding must beutf8mb4
- When using an external Redis, the Redis version must be 5.0 or higher, with at least 1 GB of available memory, non-cluster edition
Alibaba Cloud ECS CloudShield plugin
The Alibaba Cloud ECS CloudShield plugin consumes a significant amount of resources, so system configurations should be appropriately increased.
Detailed Operating System Compatibility
For detailed tested operating system compatibility results, refer to Tested OS Compatibility
If you wish to install on a Raspberry Pi, please refer to the following articles:
- Maintenance and Deployment / Installation Deployment / Official Raspberry Pi System Deployment
- Maintenance and Deployment / Installation Deployment / Raspberry Pi Ubuntu Deployment
2. Software Preparation
This system runs based on Docker Stack, and the installation package itself already includes Docker installation files which will be automatically installed during setup.
Users can also manually install Docker and initialize Docker Swarm, then run the installation script. The installation script will automatically skip this step if it detects Docker is already installed.
- Docker Swarm initialization command:
sudo docker swarm init
If there are multiple network cards on the machine, you need to specify the network card in the above initialization command.
- It is recommended for users with multiple network cards to manually install Docker and initialize Docker Swarm.
- Docker Swarm network card specification initialization command:
sudo docker swarm init --advertise-addr={network_card_name} --default-addr-pool={default_address_pool}
- The list of local network cards can be queried through
ifconfig
orip addr
- Make sure the default address pool does not conflict with your local network subnet
Snap Edition of Docker Not Supported
DataFlux Func does not support running on the Snap edition of Docker
Automatic Installation Script's docker swarm init
During automatic installation, the parameters --advertise-addr
and --default-addr-pool
will be set to 127.0.0.1 and 10.255.0.0/16 respectively by the installation script.
Bash | |
---|---|
1 |
|
3. Tested Operating System Compatibility
This system relies on Docker Swarm to run, and some older Linux distributions may not support newer versions of Docker, making it impossible to install this system.
For "Test Environments":
- Virtual Machines: All use official ISO images, deploying DataFlux Func immediately after installation.
- Alibaba Cloud: All use ECS public images, deploying DataFlux Func directly after starting the ECS.
- Raspberry Pi: All use official ISO images from the website (running ARM 64-bit), deploying DataFlux Func immediately after startup.
For "Test Results":
- Compatible: After creating/installing the host, simply running the installation script completes the installation without any additional operations required.
- Conditionally Compatible: After creating/installing the host, the installation script cannot be run directly; additional operations are needed before executing the installation script.
- Not Compatible: The installation script cannot be correctly executed in this environment, but you can handle it using image files.
Test Results
The listed operating systems below indicate actual installations and successful tests on cloud platforms or virtual machines. Unlisted ones do not necessarily mean they are incompatible.
Requires a 64-bit System
DataFlux Func needs to run on a 64-bit system. The official Raspberry Pi OS also requires enabling ARM 64-bit mode.
Windows and macOS Not Supported
DataFlux Func does not support Windows or macOS. You can choose to install it in a virtual machine or cloud server.
x86 Architecture
Operating System | Test Environment | Tested 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 |
Operating System | Test Environment | Tested 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 |
Due to new Docker feature requirements, cannot use newer Docker versions |
Operating System | Test Environment | Tested 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 version is too low to use overlay2 , defaults to non-union file system vfs , which could cause excessive disk usageHowever, the upgraded kernel in the Alibaba Cloud public image allows normal use of overlay2 |
|
CentOS 6.10 | Alibaba Cloud | 2.x |
Due to new Docker feature requirements, cannot use newer Docker versions |
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
CentOS 7.9 | VirtualBox | 5.0.5 |
Image source Alibaba Cloud Open Source Image Station / CentOS 7.9.2009 / CentOS-7-x86_64-Minimal-2009.iso |
Operating System | 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 |
Operating System | Test Environment | Tested 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 |
Operating System | Test Environment | Tested 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 |
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
OpenSUSE 15.4 64-bit | Alibaba Cloud | 2.x |
Needs Docker installed beforehand and Docker Swarm configured Refer to SUSE / Docker Open Source Engine Installation |
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
SUSE Linux Enterprise Server 15 SP3 64-bit | Alibaba Cloud | 2.x |
Needs Docker installed beforehand and Docker Swarm configured Refer to SUSE / Docker Open Source Engine Installation |
Operating System | Test Environment | Tested 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)
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
LongXiang Anolis OS 8.8 ANCK 64-bit Security Protection Level 3 Edition | Alibaba Cloud | 5.0.5 |
Please perform installation under the root user accountRunning /root/cybersecurity.sh does not affect compatibility |
|
LongXiang Anolis OS 8.8 ANCK 64-bit | Alibaba Cloud | 5.0.5 |
||
LongXiang Anolis OS 8.8 RHCK 64-bit | Alibaba Cloud | 5.0.5 |
||
LongXiang Anolis OS 8.6 ANCK 64-bit | Alibaba Cloud | 5.0.5 |
||
LongXiang Anolis OS 8.6 RHCK 64-bit | Alibaba Cloud | 5.0.5 |
||
LongXiang Anolis OS 8.4 ANCK 64-bit | Alibaba Cloud | 2.x |
||
LongXiang Anolis OS 8.4 RHCK 64-bit | Alibaba Cloud | 2.x |
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
Alibaba Cloud Linux 3.2104 LTS 64-bit Security Protection Level 3 Edition | Alibaba Cloud | 2.x |
Please perform installation under the root user accountRunning /root/cybersecurity.sh does not affect compatibility |
|
Alibaba Cloud Linux 2.1903 LTS 64-bit Security Protection Level 3 Edition | Alibaba Cloud | 2.x |
Please perform installation under the root user accountRunning /root/cybersecurity.sh does not affect compatibility |
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
openEuler 24.03 LTS | VirtualBox | 5.0.5 |
Original system needs tar installed before deployment |
|
openEuler 23.09 | VirtualBox | 5.0.5 |
Original system needs tar installed before deployment |
|
openEuler 22.03 LTS | VirtualBox | 5.0.5 |
Original system needs tar installed before deployment |
|
openEuler 20.03 LTS | VirtualBox | 5.0.5 |
Original system needs tar installed before deployment |
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
Ubuntu Kylin 20.04 LTS Pro | VirtualBox | 2.x |
System already has Docker, manual Docker Swarm initialization required |
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
Kylin Galaxy Advanced Server Operating System (X86 Edition) V10 | Alibaba Cloud | 5.0.5 |
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
Kylin Galaxy Advanced Server Operating System V10 (Zhaoxin Edition) | Physical Machine Specific hardware and configuration unknown |
5.0.5 |
Due to operating system and Docker compatibility issues, the bundled Docker 23.0.6 cannot run, but Docker 24.0.7 works fine |
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
NeoKylin Advanced Server Operating System | Alibaba Cloud | 5.0.5 |
This operating system's Linux kernel version is only 2.6, which is too old |
ARM Architecture
Operating System | Test Environment | Tested 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 |
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
Ubuntu 20.04 LTS | Raspberry Pi 4B 8GB Edition |
2.x |
Refer to Maintenance and Deployment / Installation Deployment / Raspberry Pi Ubuntu Deployment |
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
CentOS 8.3 | Alibaba Cloud | 2.x |
Redis reports Unsupported system page size error and cannot startRefer to Troubleshooting / Containers Cannot Run Normally / Redis Does Not Support Current System Page Size |
|
CentOS 7.9 | Alibaba Cloud | 2.x |
Redis reports Unsupported system page size error and cannot startRefer to Troubleshooting / Containers Cannot Run Normally / Redis Does Not Support Current System Page Size |
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
Debian 10.9 "buster" | Alibaba Cloud | 2.x |
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
Raspberry Pi OS (Debain 10 "buster") | Raspberry Pi 4B 8GB Edition |
2.x |
Need to enable arm64_bit mode on Raspberry PiRefer to Maintenance and Deployment / Installation Deployment / Raspberry Pi Official System Deployment |
ARM Architecture (Domestic)
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
LongXiang Anolis OS 8.8 ANCK 64-bit Security Protection Level 3 Edition | Alibaba Cloud | 5.0.5 |
Please perform installation under the root user accountRunning /root/cybersecurity.sh does not affect compatibility |
|
LongXiang Anolis OS 8.8 ANCK 64-bit | Alibaba Cloud | 5.0.5 |
||
LongXiang 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 Cannot Run Normally / Redis Does Not Support Current System Page Size |
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
Alibaba Cloud Linux 3.2104 LTS 64-bit Security Protection Level 3 Edition | Alibaba Cloud | 5.0.5 |
Please perform installation under the root user accountRunning /root/cybersecurity.sh does not affect compatibility |
|
Alibaba Cloud Linux 3.2104 LTS 64-bit | Alibaba Cloud | 5.0.5 |
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
Kylin Galaxy Advanced Server Operating System (ARM Edition) V10 | Alibaba Cloud | 5.0.5 |
Redis reports Unsupported system page size error and cannot startRefer to Troubleshooting / Containers Cannot Run Normally / Redis Does Not Support Current System Page Size |
Operating System | Test Environment | Tested Version | Test Result | Notes |
---|---|---|---|---|
UnionTech Server Operating System V20 (1050u1a) ARM64 Edition | Alibaba Cloud | 5.0.5 |
Redis reports Unsupported system page size error and cannot startRefer to Troubleshooting / Containers Cannot Run Normally / Redis Does Not Support Current 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 Extreme Browser (Extreme Mode, i.e., Chrome Mode) | |
360 Extreme Browser (Compatibility Mode, i.e., IE Mode) | |
Internet Explorer |
X. Appendix
Kernel Version Too Low to Use Overlay
Overlay storage engine requires Linux kernel 4.0+ or RHEL/CentOS version 3.10.0-514+, see:
- Docker Docs: Use the OverlayFS Storage Driver
- Docker Docs: Use the VFS Storage Driver
- Wikipedia: CentOS Version 7
Excerpt of Docker Installation Commands for OpenSUSE / SUSE Linux
Please ensure sufficient familiarity with OpenSUSE / SUSE Linux and understand the meaning of the following code before proceeding.
Bash | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|