我要评分
获取效率
正确性
完整性
易理解

Installing ExaGear for Server on CentOS

CentOS Arm systems support multiple page sizes, that is, 4 KB and 64 KB (usually called "huge pages"). Run the getconf command to query the system page size.

1
getconf PAGE_SIZE
  • If the command output is 4096, the page size of the current operating system is 4 KB. In this case, use the release package of ExaGear for Server on CentOS with 4 KB.
  • If the command output is 65536, the page size of the current operating system is 64 KB. ExaGear does not support the 64-KB page size.

Before the installation, check whether the /opt/exagear directory exists on the host system. If it exists, you can upgrade the current version based on the actual situation. For details, see Upgrading ExaGear for Server on CentOS. You can also uninstall the current version by referring to Uninstalling ExaGear for Server on CentOS, and then install the target version. For details about how to install the target version, see the following sections.

ExaGear for Server on CentOS with 4 KB

This release package consists of the following installation packages:

  1. exagear-core-x32a64-<package_version>-1.aarch64.rpm
  2. exagear-core-x64a64-<package_version>-1.aarch64.rpm
  3. exagear-integration-<package_version>-1.noarch.rpm
  4. exagear-utils-<package_version>-1.noarch.rpm
  5. exagear-guest-for-centos-<os_version>-x86_64-<package_version>-1.noarch.rpm

The exagear-guest-for-centos-<os_version>-x86_64-<package_version>-1.noarch.rpm can be created by referring to the Building a CentOS-Linux Guest OS Installation Package.

Run the following commands to install ExaGear:

1
sudo rpm -ivh exagear-utils-<package_version>-1.noarch.rpm exagear-core-x64a64-<package_version>-1.aarch64.rpm exagear-core-x32a64-<package_version>-1.aarch64.rpm exagear-guest-for-centos-<os_version>-x86_64-<package_version>-1.noarch.rpm exagear-integration-<package_version>-1.noarch.rpm

<package_version> indicates the version number of the ExaGear package, for example, 3213.

<os_version> indicates the version number of the guest system. For example, if the guest system is CentOS 7, <os_version> is 7.

The ExaGear instruction translation engine, x86 operating environment, and toolkit have been deployed and installed. You can use the x86 operating environment provided by ExaGear for Server on CentOS to install and run x86 applications.