From 133610e28b9742fa36b567d520b3844e5aed6a86 Mon Sep 17 00:00:00 2001 From: hemiao Date: Tue, 24 Jun 2025 14:36:26 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9toc=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en/server/security/secharden/_toc.yaml | 4 ++-- docs/zh/server/security/secharden/_toc.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/server/security/secharden/_toc.yaml b/docs/en/server/security/secharden/_toc.yaml index 5c6c8e51..521880d6 100644 --- a/docs/en/server/security/secharden/_toc.yaml +++ b/docs/en/server/security/secharden/_toc.yaml @@ -23,7 +23,7 @@ sections: href: ./selinux_configuration.md - label: Security Hardening Tools href: ./security_hardening_tools.md - - label: Appendix - href: ./appendix.md - label: Security Configuration Hardening Tool href: ./security_configuration_hardening_tool.md + - label: Appendix + href: ./appendix.md \ No newline at end of file diff --git a/docs/zh/server/security/secharden/_toc.yaml b/docs/zh/server/security/secharden/_toc.yaml index 9c0a77dd..669fb344 100644 --- a/docs/zh/server/security/secharden/_toc.yaml +++ b/docs/zh/server/security/secharden/_toc.yaml @@ -23,7 +23,7 @@ sections: href: ./selinux_configuration.md - label: 安全加固工具 href: ./security_hardening_tools.md - - label: 附录 - href: ./appendix.md - label: 安全配置加固工具 href: ./security_configuration_hardening_tool.md + - label: 附录 + href: ./appendix.md -- Gitee From 003499619761ab632349aacf0cdaa9e169e0d4db Mon Sep 17 00:00:00 2001 From: hemiao Date: Tue, 24 Jun 2025 15:12:23 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=B8=B8=E8=A7=81?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=B8=8E=E8=A7=A3=E5=86=B3=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system_optimization/atune/_toc.yaml | 2 - .../atune/faqs_and_solutions.md | 52 ------------------- 2 files changed, 54 deletions(-) delete mode 100644 docs/en/server/performance/system_optimization/atune/faqs_and_solutions.md diff --git a/docs/en/server/performance/system_optimization/atune/_toc.yaml b/docs/en/server/performance/system_optimization/atune/_toc.yaml index 571a4d42..0de72ab9 100644 --- a/docs/en/server/performance/system_optimization/atune/_toc.yaml +++ b/docs/en/server/performance/system_optimization/atune/_toc.yaml @@ -15,5 +15,3 @@ sections: href: ./native_turbo.md - label: Appendix href: ./appendix.md - - label: Common Issues and Solutions - href: ./faqs_and_solutions.md diff --git a/docs/en/server/performance/system_optimization/atune/faqs_and_solutions.md b/docs/en/server/performance/system_optimization/atune/faqs_and_solutions.md deleted file mode 100644 index 38a9d934..00000000 --- a/docs/en/server/performance/system_optimization/atune/faqs_and_solutions.md +++ /dev/null @@ -1,52 +0,0 @@ -# Common Issues and Solutions - -## Issue 1: An error occurs when the **train** command is used to train a model, and the message "training data failed" is displayed - -Cause: Only one type of data is collected by using the **collection**command. - -Solution: Collect data of at least two data types for training. - -## Issue 2: atune-adm cannot connect to the atuned service - -Possible cause: - -1. Check whether the atuned service is started and check the atuned listening address. - - ```shell - systemctl status atuned - netstat -nap | grep atuned - ``` - -2. The firewall blocks the atuned listening port. -3. The HTTP proxy is configured in the system. As a result, the connection fails. - -Solution: - -1. If the atuned service is not started, run the following command to start the service: - - ```shell - systemctl start atuned - ``` - -2. Run the following command on the atuned and atune-adm servers to allow the listening port to receive network packets. In the command, **60001** is the listening port number of the atuned server. - - ```shell - iptables -I INPUT -p tcp --dport 60001 -j ACCEPT - iptables -I INPUT -p tcp --sport 60001 -j ACCEPT - ``` - -3. Run the following command to delete the HTTP proxy or disable the HTTP proxy for the listening IP address without affecting services: - - ```shell - no_proxy=$no_proxy, Listening_IP_address - ``` - -## Issue 3: The atuned service cannot be started, and the message "Job for atuned.service failed because a timeout was exceeded." is displayed - -Cause: The hosts file does not contain the localhost information. - -Solution: Add localhost to the line starting with **127.0.0.1** in the **/etc/hosts** file. - -```text -127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 -``` -- Gitee From 99c6b05e8eeb4b4449479d66e36a8eb41b0b8160 Mon Sep 17 00:00:00 2001 From: hemiao Date: Tue, 24 Jun 2025 15:13:49 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=A7=E5=86=99?= =?UTF-8?q?=E5=AD=97=E6=AF=8D=E6=96=87=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sysboost => archive}/getting_to_know_sysBoost.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {docs/en/server/performance/cpu_optimization/sysboost => archive}/getting_to_know_sysBoost.md (100%) diff --git a/docs/en/server/performance/cpu_optimization/sysboost/getting_to_know_sysBoost.md b/archive/getting_to_know_sysBoost.md similarity index 100% rename from docs/en/server/performance/cpu_optimization/sysboost/getting_to_know_sysBoost.md rename to archive/getting_to_know_sysBoost.md -- Gitee From 2be7d9a5f83f56aa981b35839e85eaa0e53ea794 Mon Sep 17 00:00:00 2001 From: hemiao Date: Tue, 24 Jun 2025 15:14:31 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=B0=8F=E5=86=99?= =?UTF-8?q?=E5=AD=97=E6=AF=8D=E6=96=87=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en/server/performance/cpu_optimization/sysboost/_toc.yaml | 2 +- .../cpu_optimization/sysboost/getting_to_know_sysboost.md | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename archive/getting_to_know_sysBoost.md => docs/en/server/performance/cpu_optimization/sysboost/getting_to_know_sysboost.md (100%) diff --git a/docs/en/server/performance/cpu_optimization/sysboost/_toc.yaml b/docs/en/server/performance/cpu_optimization/sysboost/_toc.yaml index b690d380..1afb39b2 100644 --- a/docs/en/server/performance/cpu_optimization/sysboost/_toc.yaml +++ b/docs/en/server/performance/cpu_optimization/sysboost/_toc.yaml @@ -6,7 +6,7 @@ sections: href: ./sysboost.md sections: - label: Getting to Know sysBoost - href: ./getting_to_know_sysBoost.md + href: ./getting_to_know_sysboost.md - label: Installation and Deployment href: ./installation_and_deployment.md - label: Usage Instructions diff --git a/archive/getting_to_know_sysBoost.md b/docs/en/server/performance/cpu_optimization/sysboost/getting_to_know_sysboost.md similarity index 100% rename from archive/getting_to_know_sysBoost.md rename to docs/en/server/performance/cpu_optimization/sysboost/getting_to_know_sysboost.md -- Gitee From 896b35faa7253ab4036460468b619403c2d9d4cc Mon Sep 17 00:00:00 2001 From: hemiao Date: Tue, 24 Jun 2025 15:20:29 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=B8=B8=E8=A7=81?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=B8=8E=E8=A7=A3=E5=86=B3=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../development/application_dev/_toc.yaml | 2 -- .../application_dev/faqs_and_solutions.md | 19 ------------------- 2 files changed, 21 deletions(-) delete mode 100644 docs/en/server/development/application_dev/faqs_and_solutions.md diff --git a/docs/en/server/development/application_dev/_toc.yaml b/docs/en/server/development/application_dev/_toc.yaml index 6a00c41d..735e20d3 100644 --- a/docs/en/server/development/application_dev/_toc.yaml +++ b/docs/en/server/development/application_dev/_toc.yaml @@ -16,5 +16,3 @@ sections: href: ./using_jdk_for_compilation.md - label: Building an RPM Package href: ./building_an_rpm_package.md - - label: Common Issues and Solutions - href: ./faqs_and_solutions.md diff --git a/docs/en/server/development/application_dev/faqs_and_solutions.md b/docs/en/server/development/application_dev/faqs_and_solutions.md deleted file mode 100644 index 9a409dd8..00000000 --- a/docs/en/server/development/application_dev/faqs_and_solutions.md +++ /dev/null @@ -1,19 +0,0 @@ -# Common Issues and Solutions - -## Issue 1: Self-compilation of Some Applications Depending on the java-devel Package Fails - -### Symptom - -The self-compilation of some applications that depend on java-devel fails when the rpmbuild command is executed. - -### Cause Analysis - -To provide OpenJDK features that are updated and compatible with Java applications, the openEuler provides OpenJDK of multiple versions, such as OpenJDK 1.8.0 and OpenJDK 11. The compilation of some applications depends on the java-devel package. When the java-devel package is installed, the system installs java-11-openjdk of a later version by default. As a result, the compilation of these applications fails. - -### Solution - -You need to run the following command to install java-1.8.0-openjdk and then run the `rpmbuild` command to perform self-compilation: - -```shell -# yum install java-1.8.0-openjdk -``` -- Gitee