Rate This Document
Findability
Accuracy
Completeness
Readability

Installing x86 Applications

Do not install the x86 and Arm versions of the same service on the same server. In addition, it is strongly recommended that you do not run the host service on the guest system because this operation is not tested and is not supported.

x86 or x86_64 applications and dependency libraries must be installed in the guest environment. You are advised to use the yum tool to install x86 applications. You need to enter the guest environment and configure the yum repo first. Related operations are the same as those on the x86 server.

If you use the proxy configuration in the local network through /etc/environment, ensure that you have copied the configuration to the guest system by running the following command (for details, see Configuring ExaGear for Server on CentOS).

1
sudo cp /etc/environment /opt/exagear/images/centos-<os_version>-x86_64/etc/environment

Use the x86 Nginx as an example. Run the exagear command to enter the guest environment:

1
exagear

Command output: Starting /bin/bash in the guest image /opt/exagear/images/centos-<os_version>-x86_64

Run yum to perform installation.

1
2
3
sudo yum update
sudo yum install epel-release
sudo yum install nginx

When you install an x86 application in a guest environment and find that the path is /path/to/binary, the actual path is /opt/exagear/images/centos-<os_version>-x86_64/path/to/binary.

For example, if the Nginx path in the guest environment is /usr/sbin/nginx, the actual path in the host environment is /opt/exagear/images/centos-<os_version>-x86_64/usr/sbin/nginx.

If an x86 application is installed through the .rpm package, copy the installation package to a directory visible to the guest system. The home directory ~/ is recommended. Go to the guest environment and run yum to install the package. The following uses the x86 xxx.rpm package as an example:

1
exagear

Command output: Starting /bin/bash in the guest image /opt/exagear/images/centos-<os_version>-x86_64

Run yum to perform installation.

1
sudo yum install xxx.rpm