- Product Bulletin
- Service Overview
-
User Guide
- Usage Overview
- Selecting HCE as the Public Image When Creating an ECS
- Changing an OS to HCE
- Migrating an OS
- Upgrading HCE and RPM Packages
- Security Updates for HCE
- Obtaining the openEuler Extended Software Packages
- Creating a Docker Image and Starting a Container
- Tools
- Kernel Functions and Interfaces
- xGPU
- Configuring the Repositories and Installing Software for HCE
-
FAQs
- What Do I Do If CentOS Linux Is No Longer Maintained?
- Does Huawei Cloud Have a Migration Solution for CentOS?
- How Do I Install the MLNX Driver?
- How Do I Enable SELinux on an ECS Running HCE?
- How Do I Change the OS Name on the Console After the OS Is Migrated?
- How Are Huawei Cloud EulerOS, EulerOS, and openEuler Different from One Another?
- How Do I Enable WireGuard in Kernel and Install wireguard-tools?
- How Do I Save the User Credential Information for Logging In to Docker Like What Docker CE Does?
- What Is OOM? Why Does OOM Occur?
- How Do I Handle IPVS Errors?
- Why Can't HCE Obtain an IPv6 Address After IPv6 Is Enabled for an ECS?
- How Do I Set Auto Log Using TMOUT?
- Best Practices
- General Reference
Show all
Copied.
Installing x2hce-ca
- Confirm that the repository is configured correctly.
Check whether the parameters in the /etc/yum.repos.d/hce.repo file are configured correctly. The correct configuration is as follows:
[base] name=HCE $releasever base baseurl=https://repo.huaweicloud.com/hce/$releasever/os/$basearch/ enabled=1 gpgcheck=1 gpgkey=https://repo.huaweicloud.com/hce/$releasever/os/RPM-GPG-KEY-HCE-2 [updates] name=HCE $releasever updates baseurl=https://repo.huaweicloud.com/hce/$releasever/updates/$basearch/ ......
- Install x2hce-ca.
Run yum install -y x2hce-ca-hce.x86_64 to install the x2hce-ca tool. After the installation is complete, the directories listed in Table 1 are generated.
Table 1 Directories generated after x2hce-ca is installed Directory
Description
/var/log/x2hce-ca
Stores log files of the x2hce-ca tool.
/var/log/aparser
Stores log files of the parser.
/opt/x2hce-ca/output
Stores the reports generated by the x2hce-ca tool.
/opt/x2hce-ca/scan
Stores the application software packages to be scanned.
/opt/x2hce-ca/update
Stores the update packages and the corresponding license files.
/etc/x2hce-ca/config
Stores static configuration files.
/etc/x2hce-ca/database_2.0.0.630
Stores database files.
/usr/local/x2hce-ca
Stores program files.
- Restart the OS or run alias x2hce-ca="x2hce_python39 /usr/local/x2hce-ca/x2hce-ca.pyc" for the x2hce-ca command to take effect.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot