Lý Thành
04/02/2026, 7:34 AMRocky
04/02/2026, 7:35 AMcentos package (e.g., StarRocks-3.x.x-centos-amd64.tar.gz).
* Supported OS: StarRocks officially supports Red Hat Enterprise Linux 7.9 and CentOS 7.9.
* Naming Convention: When downloading, look for the package format: StarRocks-{Version}-centos-amd64.tar.gz.
Example Download Command:
If you are installing StarRocks v3.3.3, you would use:
bash
wget <https://releases.starrocks.io/starrocks/StarRocks-3.3.3-centos-amd64.tar.gz>
Note: Ensure your RedHat server meets the other prerequisites, such as having JDK 11 or later (for v3.3+) and a CPU that supports the AVX2 instruction set for optimal performance.
References
• developers/build-starrocks/build_starrocks_on_ubuntu.md
• deployment/deployment_prerequisites.md
• deployment/prepare_deployment_files.md
• developers/build-starrocks/Build_in_docker.mdLý Thành
04/02/2026, 7:36 AMRocky
04/02/2026, 7:36 AMbash
cat /proc/cpuinfo | grep avx2
*2. Java Requirements*
Make sure you have the correct JDK installed (StarRocks requires a JDK, not just a JRE):
* StarRocks v3.3 & v3.4: JDK 11 or later.
* StarRocks v3.5+: JDK 17 or later.
* StarRocks v3.1 & v3.2: JDK 8 or 11.
*3. System Configurations*
For the best performance on Ubuntu, it is recommended to adjust a few kernel settings:
* Disable Swap: Performance can drop significantly if the system starts swapping.
bash
sudo swapoff -a
* Set Overcommit Memory:
bash
echo 1 | sudo tee /proc/sys/vm/overcommit_memory
* Disable Transparent Huge Pages (THP): THP can sometimes cause memory allocation delays. It is usually recommended to set it to madvise or never.
*4. File System*
Using ext4 or xfs is recommended for the data partitions.
If you ever need to build StarRocks from source on Ubuntu, there is also a specific guide for Compiling StarRocks on Ubuntu in the official documentation.
Glad to hear it's working well for you! Let me know if you have any other questions as you set things up.
References
• developers/build-starrocks/build_starrocks_on_ubuntu.md
• deployment/deployment_prerequisites.md
• deployment/environment_configurations.md
• deployment/shared_data/feature-support-shared-data.md
• release_notes/release-2.2.md
• data_source/feature-support-data-lake-analytics.md
• developers/build-starrocks/Build_in_docker.mdLý Thành
04/02/2026, 7:37 AMRocky
04/02/2026, 7:37 AM.tar.gz) rather than distribution-specific packages (like .deb or .rpm). These binaries are compiled to be compatible with most modern Linux distributions that use standard libraries.
2. Standard Library Compatibility (glibc)
The StarRocks Backend (BE) is written in C++. It relies on the GNU C Library (glibc). As long as your Red Hat server has a version of glibc that is equal to or newer than the version used to compile the binary, it will run successfully.
* Note: If you compiled StarRocks yourself on a very new version of Ubuntu and moved it to an older version of Red Hat (like RHEL 7), you might encounter library version conflicts. However, official releases are built for broad compatibility.
3. Java Platform Independence
The StarRocks Frontend (FE) is written in Java. Because Java runs on a Virtual Machine (JVM), the FE code is platform-independent. As long as you have a supported JDK (like JDK 11 or 17) installed on your Red Hat server, the FE will run exactly as it does on Ubuntu.
4. Shared System Requirements
Both Ubuntu and Red Hat provide the underlying infrastructure StarRocks needs:
* Instruction Sets: Both OSs allow StarRocks to access the AVX2 instruction set on the CPU, which is required for its vectorized execution engine.
* Kernel Features: Both support the necessary kernel parameters (like max_map_count and ulimit settings) required for high-performance database operations.
Official Support
According to the StarRocks documentation, the following operating systems are officially supported:
* Red Hat Enterprise Linux (RHEL) / CentOS: 7.9 or higher.
* Ubuntu: 22.04 or higher.
Recommendation:
Even though the binaries are compatible, ensure your Red Hat environment is tuned correctly by checking the ulimit and vm.max_map_count settings as recommended in the StarRocks Deployment Prerequisites.
References
• deployment/deployment_prerequisites.md
• developers/build-starrocks/build_starrocks_on_ubuntu.md
• developers/build-starrocks/Build_in_docker.md
• deployment/environment_configurations.md
• faq/Deploy_faq.mdKevin Cai
04/02/2026, 7:51 AMpeter pang
04/02/2026, 6:42 PM