From bf862ac5917d23346d6013d447358af91428a0bf Mon Sep 17 00:00:00 2001 From: "shankailun.skl" Date: Wed, 27 Jul 2022 00:05:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E6=A8=A1=E7=89=88=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../KeenTune/auto-tuning/index.yaml | 14 +------------ anolis-courses/KeenTune/auto-tuning/step2.md | 3 ++- .../KeenTune/profile-setting/index.yaml | 10 +--------- .../KeenTune/sensitizing/index.yaml | 6 +----- anolis-courses/abs/create_package/step1.md | 2 ++ .../anolis_install_DDE/install_dde/step2.md | 2 ++ .../appliation-devel/java_web/step3.md | 3 ++- .../centos8_to_anolisos8/step4.md | 20 ++++++++++--------- .../cloud-native/compile_runD/step2.md | 2 ++ anolis-courses/t-one/tone_junior_doc/step1.md | 2 ++ 10 files changed, 26 insertions(+), 38 deletions(-) diff --git a/anolis-courses/KeenTune/auto-tuning/index.yaml b/anolis-courses/KeenTune/auto-tuning/index.yaml index b61843d..ad03475 100644 --- a/anolis-courses/KeenTune/auto-tuning/index.yaml +++ b/anolis-courses/KeenTune/auto-tuning/index.yaml @@ -9,16 +9,4 @@ details: - name: 启动KeenTune服务 content: step1.md - name: 获取baseline - content: step2.md - - name: 查询可调优的参数 - content: step3.md - - name: 查看参数内容 - content: step4.md - - name: 进行参数调优 - content: step5.md - - name: 查看调优日志 - content: step6.md - - name: 验证调优效果 - content: step7.md - - name: 恢复环境 - content: step8.md \ No newline at end of file + content: step2.md \ No newline at end of file diff --git a/anolis-courses/KeenTune/auto-tuning/step2.md b/anolis-courses/KeenTune/auto-tuning/step2.md index 30d8976..ac5ac8c 100644 --- a/anolis-courses/KeenTune/auto-tuning/step2.md +++ b/anolis-courses/KeenTune/auto-tuning/step2.md @@ -28,4 +28,5 @@ STEP 2. Parameters Auto-Tuning [[ python3 /etc/keentune/benchmark/wrk/wrk_http_long.py localhost ]] 8. 最后我们使用rollback命令恢复环境默认参数 -[[ keentune param rollback ]] \ No newline at end of file +[[ keentune param rollback ]] + diff --git a/anolis-courses/KeenTune/profile-setting/index.yaml b/anolis-courses/KeenTune/profile-setting/index.yaml index 91b3427..5529cc1 100644 --- a/anolis-courses/KeenTune/profile-setting/index.yaml +++ b/anolis-courses/KeenTune/profile-setting/index.yaml @@ -9,12 +9,4 @@ details: - name: 启动KeenTune服务 content: step1.md - name: 获取baseline - content: step2.md - - name: 查看可用profile - content: step3.md - - name: profile设置 - content: step4.md - - name: 确认优化效果 - content: step5.md - - name: 恢复环境 - content: step6.md \ No newline at end of file + content: step2.md \ No newline at end of file diff --git a/anolis-courses/KeenTune/sensitizing/index.yaml b/anolis-courses/KeenTune/sensitizing/index.yaml index 11c4759..1021faa 100644 --- a/anolis-courses/KeenTune/sensitizing/index.yaml +++ b/anolis-courses/KeenTune/sensitizing/index.yaml @@ -9,8 +9,4 @@ details: - name: 启动KeenTune服务 content: step1.md - name: 查看可用的数据列表 - content: step2.md - - name: 发起一次参数敏感性识别 - content: step3.md - - name: 查看日志和结果 - content: step4.md \ No newline at end of file + content: step2.md \ No newline at end of file diff --git a/anolis-courses/abs/create_package/step1.md b/anolis-courses/abs/create_package/step1.md index 542baf0..51ba5b1 100644 --- a/anolis-courses/abs/create_package/step1.md +++ b/anolis-courses/abs/create_package/step1.md @@ -9,3 +9,5 @@ 3. 登录以后,进入个人空间。 ![](./assets/abs-task-002.png) + + diff --git a/anolis-courses/anolis_install_DDE/install_dde/step2.md b/anolis-courses/anolis_install_DDE/install_dde/step2.md index a8faa25..47f0c19 100644 --- a/anolis-courses/anolis_install_DDE/install_dde/step2.md +++ b/anolis-courses/anolis_install_DDE/install_dde/step2.md @@ -6,3 +6,5 @@ [[ sudo yum groupinstall dde ]] + + diff --git a/anolis-courses/appliation-devel/java_web/step3.md b/anolis-courses/appliation-devel/java_web/step3.md index dcd1de5..790d092 100644 --- a/anolis-courses/appliation-devel/java_web/step3.md +++ b/anolis-courses/appliation-devel/java_web/step3.md @@ -22,4 +22,5 @@ 6. 启动Tomcat。 - [[ /usr/local/Tomcat8.5/bin/./startup.sh ]] \ No newline at end of file + [[ /usr/local/Tomcat8.5/bin/./startup.sh ]] + diff --git a/anolis-courses/centos2anolis/centos8_to_anolisos8/step4.md b/anolis-courses/centos2anolis/centos8_to_anolisos8/step4.md index e410dd5..429ec44 100644 --- a/anolis-courses/centos2anolis/centos8_to_anolisos8/step4.md +++ b/anolis-courses/centos2anolis/centos8_to_anolisos8/step4.md @@ -4,26 +4,28 @@ 1. 通过命令进行检查。 - [[ yum repolist ]] + [[ yum repolist ]] 2. 如上述结果所示,“CentOS-8.5.2111 - Base - mirrors.aliyun.com” 就是残留的 CentOS repo,需要删除,否则会出现 Anolis OS 和 CentOS 源共存的问题,一旦执行 `yum update` 可能会错误地安装CentOS的包。 - a. 查找提供 CentOS repo 的配置文件。 + a. 查找提供 CentOS repo 的配置文件。 - [[ grep -rn "CentOS-8.5.2111" /etc/yum.repos.d/*.repo ]] + [[ grep -rn "CentOS-8.5.2111" /etc/yum.repos.d/*.repo ]] - b. 重命名上述步骤中找到的配置文件。 + b. 重命名上述步骤中找到的配置文件。 - [[ mv /etc/yum.repos.d/Centos-vault-8.5.2111.repo /etc/yum.repos.d/Centos-vault-8.5.2111.repo.bak ]] + [[ mv /etc/yum.repos.d/Centos-vault-8.5.2111.repo /etc/yum.repos.d/Centos-vault-8.5.2111.repo.bak ]] 3. 迁移后验证。 - a. 查看OS版本,是否已经是 Anolis OS 。 + a. 查看OS版本,是否已经是 Anolis OS 。 - [[ cat /etc/os-release ]] + [[ cat /etc/os-release ]] + + b. 通过命令查看当前系统中是否有残留 CentOS 软件包,如果残留 kernel 包,为正常现象,kernel 包支持多版本共存。 + + [[ rpm -qa --qf "%{NAME} %{VENDOR}\n" | grep CentOS ]] - b. 通过命令查看当前系统中是否有残留 CentOS 软件包,如果残留 kernel 包,为正常现象,kernel 包支持多版本共存。 - [[ rpm -qa --qf "%{NAME} %{VENDOR}\n" | grep CentOS ]] diff --git a/anolis-courses/cloud-native/compile_runD/step2.md b/anolis-courses/cloud-native/compile_runD/step2.md index 1ef5c91..45944ef 100644 --- a/anolis-courses/cloud-native/compile_runD/step2.md +++ b/anolis-courses/cloud-native/compile_runD/step2.md @@ -4,3 +4,5 @@ 2. 下载runD的代码 [[ git clone https://github.com/openanolis/kata-containers.git ]] [[ cd kata-containers && git checkout preview ]] + + diff --git a/anolis-courses/t-one/tone_junior_doc/step1.md b/anolis-courses/t-one/tone_junior_doc/step1.md index d84dda9..32d9dd6 100644 --- a/anolis-courses/t-one/tone_junior_doc/step1.md +++ b/anolis-courses/t-one/tone_junior_doc/step1.md @@ -6,3 +6,5 @@ - **Project**:Job的集合,用于管理同一个产品下具有相同特征的Job - **Baseline**:测试基线,一组测试任务的标准数据 + + -- Gitee