diff --git a/anolis-courses/KeenTune/auto-tuning/finish.md b/anolis-courses/KeenTune/auto-tuning/finish.md new file mode 100644 index 0000000000000000000000000000000000000000..2149e0a0e2c62646b56afad3a9127098981a4447 --- /dev/null +++ b/anolis-courses/KeenTune/auto-tuning/finish.md @@ -0,0 +1 @@ +恭喜您完成了profile的设置和回退实验 \ No newline at end of file diff --git a/anolis-courses/KeenTune/auto-tuning/index.yaml b/anolis-courses/KeenTune/auto-tuning/index.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b61843d0aeed564e54cf7e00e6d8bbf7eeb1b6b2 --- /dev/null +++ b/anolis-courses/KeenTune/auto-tuning/index.yaml @@ -0,0 +1,24 @@ +name: Parameters Auto-Tuning in KeenTune +desc: 学习如何使用KeenTune进行参数智能优化 +image: "Anolis OS 8.4 ANCK 64位" +live_time: "60 min" +details: + steps: + start: start.md + finish: finish.md + - 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 diff --git a/anolis-courses/KeenTune/auto-tuning/start.md b/anolis-courses/KeenTune/auto-tuning/start.md new file mode 100644 index 0000000000000000000000000000000000000000..879bdfb1b0aa199fa3003921461782d09772ff65 --- /dev/null +++ b/anolis-courses/KeenTune/auto-tuning/start.md @@ -0,0 +1 @@ +本场景提供一台部署了KeenTune和nginx服务的虚拟机环境作为性能优化的目标 \ No newline at end of file diff --git a/anolis-courses/KeenTune/auto-tuning/step1.md b/anolis-courses/KeenTune/auto-tuning/step1.md new file mode 100644 index 0000000000000000000000000000000000000000..4cceca7ad1ffde815c1864bc8c8b987920ac4461 --- /dev/null +++ b/anolis-courses/KeenTune/auto-tuning/step1.md @@ -0,0 +1,2 @@ +1. 运行下面的命令启动KeenTune服务 +[[ systemctl restart keentuned keentune-target]] \ No newline at end of file diff --git a/anolis-courses/KeenTune/auto-tuning/step2.md b/anolis-courses/KeenTune/auto-tuning/step2.md new file mode 100644 index 0000000000000000000000000000000000000000..544b5f45c84401dd60d4010556ac9cea1cc42ef7 --- /dev/null +++ b/anolis-courses/KeenTune/auto-tuning/step2.md @@ -0,0 +1,2 @@ +1. KeenTune提供了wrk的执行脚本,运行该脚本获得性能基准值(baseline) +[[ python3 /etc/keentune/benchmark/wrk/wrk_http_long.py localhost ]] \ No newline at end of file diff --git a/anolis-courses/KeenTune/auto-tuning/step3.md b/anolis-courses/KeenTune/auto-tuning/step3.md new file mode 100644 index 0000000000000000000000000000000000000000..058df2956db11058ecebc056a927e989f2482c5f --- /dev/null +++ b/anolis-courses/KeenTune/auto-tuning/step3.md @@ -0,0 +1,2 @@ +1. 查询KeenTune内置的可调优的参数配置文件 +[[ keentune param list ]] \ No newline at end of file diff --git a/anolis-courses/KeenTune/auto-tuning/step4.md b/anolis-courses/KeenTune/auto-tuning/step4.md new file mode 100644 index 0000000000000000000000000000000000000000..5f1e604412cdfbab0282cc1b7b9d2e8d432a59f0 --- /dev/null +++ b/anolis-courses/KeenTune/auto-tuning/step4.md @@ -0,0 +1,7 @@ +我们将会用到sysctl.json和nginx.json两个文件分别对内核参数和nginx参数进行调优 +1. 查看要调优的内核参数 +[[ cat /etc/keentune/parameter/sysctl.json ]] +2. 查看要调优的nginx配置参数 +[[ cat /etc/keentune/parameter/nginx.json ]] +3. 这两个参数已经在keentune的配置文件中指定, 可以通过以下命令查看 +[[ cat /etc/keentune/conf/keentuned.conf ]] \ No newline at end of file diff --git a/anolis-courses/KeenTune/auto-tuning/step5.md b/anolis-courses/KeenTune/auto-tuning/step5.md new file mode 100644 index 0000000000000000000000000000000000000000..2622c91cc5fa927ae240521ffb250d06441f4d2e --- /dev/null +++ b/anolis-courses/KeenTune/auto-tuning/step5.md @@ -0,0 +1,2 @@ +1. 我们直接使用keentune param tune命令发起一次动态调优,使用-i指定调优轮次,--job指定任务名 +[[ keentune param tune -i 20 --job http_long_test ]] \ No newline at end of file diff --git a/anolis-courses/KeenTune/auto-tuning/step6.md b/anolis-courses/KeenTune/auto-tuning/step6.md new file mode 100644 index 0000000000000000000000000000000000000000..6b2a8193fcbbbdf17319a43f036a429e10631425 --- /dev/null +++ b/anolis-courses/KeenTune/auto-tuning/step6.md @@ -0,0 +1,3 @@ +1. 调优过程会保存在日志中,我们使用tail命令查看调优过程日志 +[[ tail -f /var/log/keentune/http_long_test.log ]] +2. 等待调优结束, 日志中出现``[best] Tuning improvement``数据 \ No newline at end of file diff --git a/anolis-courses/KeenTune/auto-tuning/step7.md b/anolis-courses/KeenTune/auto-tuning/step7.md new file mode 100644 index 0000000000000000000000000000000000000000..ff1e629c066da99a9190cdb7135cc08acc199a9e --- /dev/null +++ b/anolis-courses/KeenTune/auto-tuning/step7.md @@ -0,0 +1,2 @@ +1. 我们再一次执行benchmark来查看调优效果 +[[ python3 /etc/keentune/benchmark/wrk/wrk_http_long.py localhost ]] \ No newline at end of file diff --git a/anolis-courses/KeenTune/auto-tuning/step8.md b/anolis-courses/KeenTune/auto-tuning/step8.md new file mode 100644 index 0000000000000000000000000000000000000000..1e61488fa5efaa68d3edc413fce5e35363509a7b --- /dev/null +++ b/anolis-courses/KeenTune/auto-tuning/step8.md @@ -0,0 +1,2 @@ +1. 最后我们使用rollback命令恢复环境默认参数 +[[ keentune param rollback ]] \ No newline at end of file diff --git a/anolis-courses/KeenTune/index.yaml b/anolis-courses/KeenTune/index.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d4a0ced1d5388d81e162e68cde3e888434f192a9 --- /dev/null +++ b/anolis-courses/KeenTune/index.yaml @@ -0,0 +1,18 @@ +name: KeenTune智能调优 +desc: KeenTune是全栈参数智能调优工具,提供了profile设置和集成,Auto-tuning智能参数优化和敏感参数识别筛选等功能。为性能工程师、算法工程师、硬件评测工程师提供性能优化工具和解决方案。本课程将为您介绍如果通过KeenTune性能调优工具实现profile的设置、参数的智能优化和参数的敏感性分析。 +type: course +total_time: "60 min" +level: "intermediate" +chapters: + - name: "Profile Setting in KeenTune" + desc: "学习如何使用KeenTune进行profile设置" + content: "profile-setting" + live_time: "30 min" + - name: "Parameters Auto-Tuning in KeenTune" + desc: "学习如何使用KeenTune进行参数智能优化" + content: "auto-tuning" + live_time: "60 min" + - name: "Sensitivity identification in KeenTune" + desc: "学习如何使用KeenTune进行敏感参数识别" + content: "sensitizing" + live_time: "30 min" \ No newline at end of file diff --git a/anolis-courses/KeenTune/profile-setting/finish.md b/anolis-courses/KeenTune/profile-setting/finish.md new file mode 100644 index 0000000000000000000000000000000000000000..1903dcdb0470c1975bc5520e01d84dc1b6562431 --- /dev/null +++ b/anolis-courses/KeenTune/profile-setting/finish.md @@ -0,0 +1 @@ +恭喜您完成了参数的性能调优 \ No newline at end of file diff --git a/anolis-courses/KeenTune/profile-setting/index.yaml b/anolis-courses/KeenTune/profile-setting/index.yaml new file mode 100644 index 0000000000000000000000000000000000000000..91b34279ab9cdffa177257828ae63bf24eb35165 --- /dev/null +++ b/anolis-courses/KeenTune/profile-setting/index.yaml @@ -0,0 +1,20 @@ +name: Profile Setting in KeenTune +desc: 学习如何使用KeenTune进行profile设置 +image: "Anolis OS 8.4 ANCK 64位" +live_time: "30 min" +details: + steps: + start: start.md + finish: finish.md + - 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 diff --git a/anolis-courses/KeenTune/profile-setting/start.md b/anolis-courses/KeenTune/profile-setting/start.md new file mode 100644 index 0000000000000000000000000000000000000000..d79472d631c31cf9984d641babd376e8c901defb --- /dev/null +++ b/anolis-courses/KeenTune/profile-setting/start.md @@ -0,0 +1 @@ +本场景提供一台部署了KeenTune、wrk benchmark工具和nginx服务的虚拟机环境作为性能优化的目标和算法运行的环境 \ No newline at end of file diff --git a/anolis-courses/KeenTune/profile-setting/step1.md b/anolis-courses/KeenTune/profile-setting/step1.md new file mode 100644 index 0000000000000000000000000000000000000000..900dd88a7c6dd19840e04e58b7aaff03e2666869 --- /dev/null +++ b/anolis-courses/KeenTune/profile-setting/step1.md @@ -0,0 +1,2 @@ +运行下面的命令启动KeenTune服务 +[[ systemctl restart keentuned keentune-brain keentune-target keentune-bench ]] \ No newline at end of file diff --git a/anolis-courses/KeenTune/profile-setting/step2.md b/anolis-courses/KeenTune/profile-setting/step2.md new file mode 100644 index 0000000000000000000000000000000000000000..ebfa1f5a76eb53f7535dca84a0916910eaf49e9e --- /dev/null +++ b/anolis-courses/KeenTune/profile-setting/step2.md @@ -0,0 +1,2 @@ +KeenTune提供了wrk的执行脚本,运行该脚本获得性能基准值(baseline) +[[ python3 /etc/keentune/benchmark/wrk/wrk_http_long.py localhost ]] \ No newline at end of file diff --git a/anolis-courses/KeenTune/profile-setting/step3.md b/anolis-courses/KeenTune/profile-setting/step3.md new file mode 100644 index 0000000000000000000000000000000000000000..7b193dff533298b23872ab903db3306d6756d11f --- /dev/null +++ b/anolis-courses/KeenTune/profile-setting/step3.md @@ -0,0 +1,2 @@ +查看KeenTune中可使用的专家调优文件 +[[ keentune profile list ]] \ No newline at end of file diff --git a/anolis-courses/KeenTune/profile-setting/step4.md b/anolis-courses/KeenTune/profile-setting/step4.md new file mode 100644 index 0000000000000000000000000000000000000000..14b9110aeb3031535f47b3397a49dfbd1d16dc8b --- /dev/null +++ b/anolis-courses/KeenTune/profile-setting/step4.md @@ -0,0 +1,2 @@ +我们选择``http_long_group1.conf``这个profile文件设置到当前环境中 +[[ keentune profile set --group1 http_long_group1.conf ]] \ No newline at end of file diff --git a/anolis-courses/KeenTune/profile-setting/step5.md b/anolis-courses/KeenTune/profile-setting/step5.md new file mode 100644 index 0000000000000000000000000000000000000000..8d0d11da62740ac2eaeeab00ac2ecf1a66bc52bd --- /dev/null +++ b/anolis-courses/KeenTune/profile-setting/step5.md @@ -0,0 +1,2 @@ +设置成功后,我们再次执行benchmark查看调优后的性能得分 +[[ python3 /etc/keentune/benchmark/wrk/wrk_http_long.py localhost ]] \ No newline at end of file diff --git a/anolis-courses/KeenTune/profile-setting/step6.md b/anolis-courses/KeenTune/profile-setting/step6.md new file mode 100644 index 0000000000000000000000000000000000000000..931747604b3614b73c4522b42ae300352cee3a32 --- /dev/null +++ b/anolis-courses/KeenTune/profile-setting/step6.md @@ -0,0 +1,2 @@ +最后使用rollback命令恢复环境默认参数 +[[ keentune profile rollback ]] \ No newline at end of file diff --git a/anolis-courses/KeenTune/sensitizing/finish.md b/anolis-courses/KeenTune/sensitizing/finish.md new file mode 100644 index 0000000000000000000000000000000000000000..aa161e5ac1bbb6d68014ef214805e54a02989dcc --- /dev/null +++ b/anolis-courses/KeenTune/sensitizing/finish.md @@ -0,0 +1 @@ +恭喜您完成了参数敏感性识别,接下来您可以根据结果筛选要调优的参数列表 \ No newline at end of file diff --git a/anolis-courses/KeenTune/sensitizing/index.yaml b/anolis-courses/KeenTune/sensitizing/index.yaml new file mode 100644 index 0000000000000000000000000000000000000000..11c4759de763da37539ee3f8b1f66e29fad9a3bb --- /dev/null +++ b/anolis-courses/KeenTune/sensitizing/index.yaml @@ -0,0 +1,16 @@ +name: Sensitivity identification in KeenTune +desc: 学习如何使用KeenTune进行参数敏感性识别 +image: "Anolis OS 8.4 ANCK 64位" +live_time: "30 min" +details: + steps: + start: start.md + finish: finish.md + - name: 启动KeenTune服务 + content: step1.md + - name: 查看可用的数据列表 + content: step2.md + - name: 发起一次参数敏感性识别 + content: step3.md + - name: 查看日志和结果 + content: step4.md \ No newline at end of file diff --git a/anolis-courses/KeenTune/sensitizing/start.md b/anolis-courses/KeenTune/sensitizing/start.md new file mode 100644 index 0000000000000000000000000000000000000000..3ade33c64380fda7e1b59f7e4b29cf4093275a15 --- /dev/null +++ b/anolis-courses/KeenTune/sensitizing/start.md @@ -0,0 +1 @@ +本场景提供一台部署了KeenTune和实验所需数据的虚拟机用来体验敏感参数识别功能 \ No newline at end of file diff --git a/anolis-courses/KeenTune/sensitizing/step1.md b/anolis-courses/KeenTune/sensitizing/step1.md new file mode 100644 index 0000000000000000000000000000000000000000..e0c0238fae5df276435553838a03e6f693ccab29 --- /dev/null +++ b/anolis-courses/KeenTune/sensitizing/step1.md @@ -0,0 +1,2 @@ +运行下面的命令启动KeenTune服务 +[[ systemctl restart keentuned keentune-brain]] \ No newline at end of file diff --git a/anolis-courses/KeenTune/sensitizing/step2.md b/anolis-courses/KeenTune/sensitizing/step2.md new file mode 100644 index 0000000000000000000000000000000000000000..8edc9aaf912ee80a7d9b691ba6bb5095e896e8dd --- /dev/null +++ b/anolis-courses/KeenTune/sensitizing/step2.md @@ -0,0 +1,2 @@ +查看可用的数据列表,我们已经提前完成了一个名为http_long的参数调优任务,并保留了它的数据作为敏感参数识别的输入 +[[ keentune param jobs ]] \ No newline at end of file diff --git a/anolis-courses/KeenTune/sensitizing/step3.md b/anolis-courses/KeenTune/sensitizing/step3.md new file mode 100644 index 0000000000000000000000000000000000000000..de6e72d409e641506ca5862fb657cd1b6bfd7a3d --- /dev/null +++ b/anolis-courses/KeenTune/sensitizing/step3.md @@ -0,0 +1,2 @@ +我们使用http_long调优任务的数据发起一次参数敏感性识别,--data指定使用的数据,--job表明本次参数敏感性识别任务的名称 +[[ keentune sensitize train --data http_long --job http_long_train ]] \ No newline at end of file diff --git a/anolis-courses/KeenTune/sensitizing/step4.md b/anolis-courses/KeenTune/sensitizing/step4.md new file mode 100644 index 0000000000000000000000000000000000000000..41b831762d552e81c3fdd7b808db31be332ac277 --- /dev/null +++ b/anolis-courses/KeenTune/sensitizing/step4.md @@ -0,0 +1,3 @@ +1. 使用tail命令查看参数识别过程日志 +[[ tail -f /var/log/keentune/keentuned-sensitize-train-http_long_train.log ]] +2. 等待参数识别完成,我们就可以在日志中看到参数敏感性排序 \ No newline at end of file diff --git a/anolis-courses/README.md b/anolis-courses/README.md new file mode 100644 index 0000000000000000000000000000000000000000..cbfbddac6bda8afa998703f5b7aa0a6de08524dc --- /dev/null +++ b/anolis-courses/README.md @@ -0,0 +1 @@ +课程素材 \ No newline at end of file diff --git a/anolis-courses/abs/create_package/end.md b/anolis-courses/abs/create_package/finish.md similarity index 85% rename from anolis-courses/abs/create_package/end.md rename to anolis-courses/abs/create_package/finish.md index 69adfcf1079ddd0cf3ad08aae759d367f7bd8fa4..33ea594e70439b55cd7de5b0a52bcd4d41ff9e41 100644 --- a/anolis-courses/abs/create_package/end.md +++ b/anolis-courses/abs/create_package/finish.md @@ -1,2 +1 @@ 恭喜您完成了本场景实验 - diff --git a/anolis-courses/abs/create_package/index.yaml b/anolis-courses/abs/create_package/index.yaml index d5f6bb64e5c8f586a22e0cac1f6f44a9ce44f692..2c462494918f8865b9b700f7fdbd21dbda9c7c2c 100644 --- a/anolis-courses/abs/create_package/index.yaml +++ b/anolis-courses/abs/create_package/index.yaml @@ -1,13 +1,13 @@ name: ABS 全新构建 desc: 本课程将介绍如何在 ABS 平台上构建一个软件包,并进行安装。 -image: "Centos 8.5 64位" +image: "Anolis OS 8.4 ANCK 64位" live_time: "30 min" -machine: x86_64-2c4g -max_clients: 1 +machine: x86_64-2c8g +max_clients: 5 details: steps: start: start.md - end: end.md + finish: finish.md - name: 登陆 ABS 平台 content: step1.md - name: 创建一个项目 diff --git a/anolis-courses/abs/create_package/start.md b/anolis-courses/abs/create_package/start.md index 6e87d35066e84da25f35ac469810e10fe1a138c6..feadf582ca74f8d7524c8353d7df6a5b16022c5d 100644 --- a/anolis-courses/abs/create_package/start.md +++ b/anolis-courses/abs/create_package/start.md @@ -1,4 +1 @@ 本场景将提供一台配置了 CentOS 8.5 操作系统的云服务器作为构建验证环境,当您在 ABS 平台上成功构建了一个软件包之后,可以在这台云服务器上进行安装验证。 - - - diff --git a/anolis-courses/appliation-devel/index.yaml b/anolis-courses/appliation-devel/index.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2c2d3f35db63fb710360b51fc4013260bc88af9f --- /dev/null +++ b/anolis-courses/appliation-devel/index.yaml @@ -0,0 +1,10 @@ +name: 基于 Anolis OS 搭建应用开发环境 +desc: 本教程将介绍如何基于 Anolis OS 搭建应用开发环境。 +type: course +total_time: "60 min" +level: "beginner" # beginner、intermediate、advanced +chapters: + - name: "搭建Java Web开发环境" + desc: "学习如何在 Anolis OS 上搭建 Java Web 开发环境" + content: "java_web" + live_time: "20 min" \ No newline at end of file diff --git a/anolis-courses/appliation-devel/java_web/assets/tomcat.png b/anolis-courses/appliation-devel/java_web/assets/tomcat.png new file mode 100644 index 0000000000000000000000000000000000000000..af6749e7a6d21342dfb9decbe80b6a11f2d5864f Binary files /dev/null and b/anolis-courses/appliation-devel/java_web/assets/tomcat.png differ diff --git a/anolis-courses/appliation-devel/java_web/finish.md b/anolis-courses/appliation-devel/java_web/finish.md new file mode 100644 index 0000000000000000000000000000000000000000..33ea594e70439b55cd7de5b0a52bcd4d41ff9e41 --- /dev/null +++ b/anolis-courses/appliation-devel/java_web/finish.md @@ -0,0 +1 @@ +恭喜您完成了本场景实验 diff --git a/anolis-courses/appliation-devel/java_web/index.yaml b/anolis-courses/appliation-devel/java_web/index.yaml new file mode 100644 index 0000000000000000000000000000000000000000..9ae35f7fd40aea948e4e6e66f44d08d01fbddf61 --- /dev/null +++ b/anolis-courses/appliation-devel/java_web/index.yaml @@ -0,0 +1,18 @@ +name: 搭建Java Web开发环境 +desc: 学习如何在 Anolis OS 上搭建 Java Web 开发环境。 +image: "Anolis OS 8.4 ANCK 64位" +live_time: "20 min" +machine: x86_64-2c8g # cpu架构-机器规格,该字段为空,默认 x86_64-2c4g +max_clients: 5 # 最大并发使用数,不填则默认不限制 +details: + steps: + start: start.md + finish: finish.md + - name: 安装 JDK + content: step1.md + - name: 安装 MySQL 数据库 + content: step2.md + - name: 安装Tomcat + content: step3.md + - name: 访问Tomcat + content: step4.md \ No newline at end of file diff --git a/anolis-courses/appliation-devel/java_web/start.md b/anolis-courses/appliation-devel/java_web/start.md new file mode 100644 index 0000000000000000000000000000000000000000..2c8cc52c86da60c74c5554ce6bfa2ff65c79fb8b --- /dev/null +++ b/anolis-courses/appliation-devel/java_web/start.md @@ -0,0 +1 @@ +本场景将带您学习如何在 Anolis OS 上搭建 Java Web 开发环境,包括安装 JDK、MySQL、Tomcat等基本环境,最后会访问并进行验证。 \ No newline at end of file diff --git a/anolis-courses/appliation-devel/java_web/step1.md b/anolis-courses/appliation-devel/java_web/step1.md new file mode 100644 index 0000000000000000000000000000000000000000..f2ace7aaef971f37338e222fe99209378bd5e5cf --- /dev/null +++ b/anolis-courses/appliation-devel/java_web/step1.md @@ -0,0 +1,16 @@ +#### 安装 JDK + +1. 执行以下命令,查看yum源中JDK版本。 + +[[ yum list java* ]] + +2. 执行以下命令,使用yum安装JDK1.8。 + +[[ yum -y install java-1.8.0-openjdk* ]] + +3. 执行以下命令,查看是否安装成功。 + +[[ java --version ]] + +4. 如果命令执行成功并显示出 java 版本,表明安装成功。 + diff --git a/anolis-courses/appliation-devel/java_web/step2.md b/anolis-courses/appliation-devel/java_web/step2.md new file mode 100644 index 0000000000000000000000000000000000000000..951e1a9e9f99d1b88b7bc880d3d235ac52332a6d --- /dev/null +++ b/anolis-courses/appliation-devel/java_web/step2.md @@ -0,0 +1,34 @@ +## 安装 Mysql 环境 + +1. 执行以下命令,下载并安装MySQL官方的Yum Repository。 + +[[ wget http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm ]] +[[ yum -y install mysql57-community-release-el7-10.noarch.rpm ]] +[[ yum -y install * --nogpgcheck mysql-community-server ]] + +2. 执行以下命令,启动 MySQL 数据库。 + +[[ systemctl start mysqld.service ]] + +3. 执行以下命令,查看MySQL初始密码。 + +[[ grep "password" /var/log/mysqld.log ]] + +4. 执行以下命令,输入上条命令中MySQL初始密码,登录数据库。 + +[[ mysql -uroot -p ]] + +5. 执行以下命令,修改MySQL默认密码。 + +[[ set global validate_password_policy=0; #修改密码安全策略为低(只校验密码长度,至少8位)]] +[[ ALTER USER 'root'@'localhost' IDENTIFIED BY '12345678'; ]] + +6. 执行以下命令,授予root用户远程管理权限。 + +[[ GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '12345678'; ]] + +7. 输入exit退出数据库。 + + + + diff --git a/anolis-courses/appliation-devel/java_web/step3.md b/anolis-courses/appliation-devel/java_web/step3.md new file mode 100644 index 0000000000000000000000000000000000000000..99caed49dcc07eaacd459468f1439dfe1d5b607a --- /dev/null +++ b/anolis-courses/appliation-devel/java_web/step3.md @@ -0,0 +1,27 @@ +#### 安装 Tomcat + +1. 执行以下命令,下载Tomcat压缩包。如果该镜像失效,请查看tomcat最新版本,并进行替换。 + + [[ wget --no-check-certificate https://labfileapp.oss-cn-hangzhou.aliyuncs.com/apache-tomcat-8.5.72.tar.gz ]] + + +2. 执行以下命令,解压刚刚下载Tomcat包。 + + [[ tar -zxvf apache-tomcat-8.5.72.tar.gz ]] + +3. 执行以下命令,修改Tomcat名字。 + + [[ mv apache-tomcat-8.5.72 /usr/local/Tomcat8.5 ]] + +4. 执行以下命令,为Tomcat授权。 + + [[ chmod +x /usr/local/Tomcat8.5/bin/*.sh ]] +5. 执行以下命令,修改Tomcat默认端口号为80。 + +说明:Tomcat默认端口号为8080。 + + [[ sed -i 's/Connector port="8080"/Connector port="80"/' /usr/local/Tomcat8.5/conf/server.xml ]] + +6. 启动Tomcat。 + + [[ /usr/local/Tomcat8.5/bin/./startup.sh ]] \ No newline at end of file diff --git a/anolis-courses/appliation-devel/java_web/step4.md b/anolis-courses/appliation-devel/java_web/step4.md new file mode 100644 index 0000000000000000000000000000000000000000..2fb021651f376a62459ce3a5765aa217267989c4 --- /dev/null +++ b/anolis-courses/appliation-devel/java_web/step4.md @@ -0,0 +1,10 @@ +#### 访问Tomcat + +1. 打开浏览器,在地址栏中输入当前环境的公网地址,例如:139.0.0.1 + + 如果显示如下界面,则表示Tomcat安装配置成功。 + + ![](./assets/tomcat.png) + + +2. 至此,Java Web开发环境搭建完成。 \ No newline at end of file diff --git a/anolis-courses/centos2anolis/centos8_to_anolisos8/end.md b/anolis-courses/centos2anolis/centos8_to_anolisos8/end.md deleted file mode 100644 index 1deba780d3d2f29f904d75bfe10eb2c58be98ad3..0000000000000000000000000000000000000000 --- a/anolis-courses/centos2anolis/centos8_to_anolisos8/end.md +++ /dev/null @@ -1,3 +0,0 @@ -恭喜您完成了本场景实验 - - \ No newline at end of file diff --git a/anolis-courses/centos2anolis/centos8_to_anolisos8/finish.md b/anolis-courses/centos2anolis/centos8_to_anolisos8/finish.md new file mode 100644 index 0000000000000000000000000000000000000000..33ea594e70439b55cd7de5b0a52bcd4d41ff9e41 --- /dev/null +++ b/anolis-courses/centos2anolis/centos8_to_anolisos8/finish.md @@ -0,0 +1 @@ +恭喜您完成了本场景实验 diff --git a/anolis-courses/centos2anolis/centos8_to_anolisos8/index.yaml b/anolis-courses/centos2anolis/centos8_to_anolisos8/index.yaml index f7c0593d5e7f4459dbe1300e5b1e3d839efb0487..d0ffc0599e69714e8b30cbbc9ca1ca7fd9d2fb0c 100644 --- a/anolis-courses/centos2anolis/centos8_to_anolisos8/index.yaml +++ b/anolis-courses/centos2anolis/centos8_to_anolisos8/index.yaml @@ -1,8 +1,8 @@ name: Centos 8 迁移到 Anolis OS 8 desc: 本课程将介绍如何通过 AOMS 迁移工具实现 CentOS 8.x 到 Anolis OS 8 的迁移。 -image: "Centos 8.5 64位" +image: "CentOS 8.5 64位" live_time: "30 min" -machine: x86_64-2c4g # cpu架构-机器规格,该字段为空,默认 x86_64-2c4g +machine: x86_64-2c8g # cpu架构-机器规格,该字段为空,默认 x86_64-2c4g max_clients: 5 # 最大并发使用数,不填则默认不限制 details: steps: diff --git a/anolis-courses/centos2anolis/centos8_to_anolisos8/start.md b/anolis-courses/centos2anolis/centos8_to_anolisos8/start.md index d7a25dcf719aaed07265318e5eab83c60240975f..525f539661a3d30f25db5b86fa6fd06940cc2ae1 100644 --- a/anolis-courses/centos2anolis/centos8_to_anolisos8/start.md +++ b/anolis-courses/centos2anolis/centos8_to_anolisos8/start.md @@ -1,6 +1,2 @@ 本场景将提供一台配置了 CentOS 8.5 操作系统的云服务器作为迁移环境,CentOS 8.x 迁移使用 Anolis OS release 相关的包替代 CentOS release,通过yum distro-sync 重装当前系统中所有的系统软件包。软件重装的过程并不会修改当前系统基础配置,所以系统配置,业务配置,业务数据都不会被清除,迁移完成后这些数据无需重新设置,实现CentOS 8.5到Anolis OS 8的迁移。 - - - - diff --git a/anolis-courses/centos2anolis/centos8_to_anolisos8/step1.md b/anolis-courses/centos2anolis/centos8_to_anolisos8/step1.md index b65d8cd2d11f5f2b242c7b23fd0e6f900b284351..e0bda7a7b0dd91774f36de434e2e36d7a3096a7d 100644 --- a/anolis-courses/centos2anolis/centos8_to_anolisos8/step1.md +++ b/anolis-courses/centos2anolis/centos8_to_anolisos8/step1.md @@ -1,7 +1,7 @@ 说明:CentOS 8操作系统版本结束了生命周期(EOL),Linux社区已不再维护该操作系统版本。建议您切换到Anolis或Alinux。如果您的业务过渡期仍需要使用CentOS 8系统中的一些安装包,请根据下文切换CentOS 8的源。 1. 运行以下命令备份之前的repo文件。 - + [[ rename '.repo' '.repo.bak' /etc/yum.repos.d/*.repo ]] 2. 运行以下命令下载最新的repo文件。 diff --git a/anolis-courses/centos2anolis/index.yaml b/anolis-courses/centos2anolis/index.yaml index 715a4e2fb90b569d385d81fb2dd96b12b1aacd3b..ad0571e492f3f5af62e367d663279c632deb8304 100644 --- a/anolis-courses/centos2anolis/index.yaml +++ b/anolis-courses/centos2anolis/index.yaml @@ -2,17 +2,9 @@ name: CentOS 迁移 Anolis OS desc: CentOS 8操作系统版本结束了生命周期(EOL),Linux社区已不再维护该操作系统版本。Anolis OS 生态上和依赖管理上保持跟 CentOS 兼容,龙蜥社区提供一键式迁移脚本 centos2anolis.py;本课程将为您介绍如何通过 AOMS 迁移工具实现 CentOS 到 Anolis OS 的迁移。 type: course total_time: "60 min" -level: "beginner" # beginner、intermediate、advanced +level: "medium" # beginner、intermediate、advanced chapters: - - name: "Centos 7 迁移到 Anolis OS 7" - desc: "学习如何从 Centos 7 迁移到 Anolis OS 7" - content: "centos7_to_anolisos7" - live_time: "60 min" - name: "Centos 8 迁移到 Anolis OS 8" desc: "学习如何从 Centos 8 迁移到 Anolis OS 8" content: "centos8_to_anolisos8" - live_time: "60 min" - - name: "Centos 7 迁移到 Anolis OS 8" - desc: "学习如何从 Centos 7 迁移到 Anolis OS 8" - content: "centos7_to_anolisos8" live_time: "60 min" diff --git a/anolis-courses/cloud-native/compile_runD/finish.md b/anolis-courses/cloud-native/compile_runD/finish.md new file mode 100644 index 0000000000000000000000000000000000000000..33ea594e70439b55cd7de5b0a52bcd4d41ff9e41 --- /dev/null +++ b/anolis-courses/cloud-native/compile_runD/finish.md @@ -0,0 +1 @@ +恭喜您完成了本场景实验 diff --git a/anolis-courses/cloud-native/compile_runD/index.yaml b/anolis-courses/cloud-native/compile_runD/index.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6ea4faff1ca63ff87655e8d0ef5886478616ab98 --- /dev/null +++ b/anolis-courses/cloud-native/compile_runD/index.yaml @@ -0,0 +1,18 @@ +name: 编译Rust版本RunD并体验结果 +desc: 体验Rust语言,并修改runD以及查看修改结果 +image: "Anolis OS 8.4 ANCK 64位" +live_time: "30 min" +machine: x86_64-104c192g # cpu架构-机器规格,该字段为空,默认 x86_64-2c4g +max_clients: 5 # 最大并发使用数,不填则默认不限制 +details: + steps: + start: start.md + finish: finish.md + - name: 一键式部署RunD + content: step1.md + - name: 安装git与下载代码 + content: step2.md + - name: 修改runD代码 + content: step3.md + - name: 运行查看修改的结果 + content: step4.md diff --git a/anolis-courses/cloud-native/compile_runD/start.md b/anolis-courses/cloud-native/compile_runD/start.md new file mode 100644 index 0000000000000000000000000000000000000000..d3653b774039186991769ff2188d86de7b8df7d3 --- /dev/null +++ b/anolis-courses/cloud-native/compile_runD/start.md @@ -0,0 +1 @@ +本场景将提供一台配置了 CentOS 8.5 操作系统的裸金属服务器环境用于运行runD diff --git a/anolis-courses/cloud-native/compile_runD/step1.md b/anolis-courses/cloud-native/compile_runD/step1.md new file mode 100644 index 0000000000000000000000000000000000000000..3e0626358f9063ce3f9e09d515c7b02397c2ccb0 --- /dev/null +++ b/anolis-courses/cloud-native/compile_runD/step1.md @@ -0,0 +1,4 @@ +1. 物理机环境,或者神龙服务器环境,上面不需要安装docker,containerd,nerdctl,只需要一个干净环境即可 +运行下面的命令一键式安装与部署runD +[[ curl https://cloud-native.oss-cn-shanghai.aliyuncs.com/runtime/install-rund-nerdctl.sh -sSf | sh -s ]] +需要稍微等一会下载安装包与镜像,以及安装部署 diff --git a/anolis-courses/cloud-native/compile_runD/step2.md b/anolis-courses/cloud-native/compile_runD/step2.md new file mode 100644 index 0000000000000000000000000000000000000000..1ef5c91a8984b65835b544c4934825fe2858b708 --- /dev/null +++ b/anolis-courses/cloud-native/compile_runD/step2.md @@ -0,0 +1,6 @@ +1. 默认机器上没有安装git,需要先下载git工具 +[[ yum install git -y ]] + +2. 下载runD的代码 +[[ git clone https://github.com/openanolis/kata-containers.git ]] +[[ cd kata-containers && git checkout preview ]] diff --git a/anolis-courses/cloud-native/compile_runD/step3.md b/anolis-courses/cloud-native/compile_runD/step3.md new file mode 100644 index 0000000000000000000000000000000000000000..0d2e07ee4de93e2ae70a9ee1526cdc31b88b3b4c --- /dev/null +++ b/anolis-courses/cloud-native/compile_runD/step3.md @@ -0,0 +1,9 @@ +1. 可以尝试修改runD的代码,可以修改一些日志输出或者不影响功能的地方, 比如: +--- a/src/runtime-rs/crates/runtimes/virt_container/src/sandbox.rs ++++ b/src/runtime-rs/crates/runtimes/virt_container/src/sandbox.rs +@@ -135,7 +135,7 @@ impl Sandbox for VirtSandbox { + + // start vm + self.hypervisor.start_vm(10_000).await.context("start vm")?; +- info!(sl!(), "start vm"); ++ info!(sl!(), "start vm for myself!"); diff --git a/anolis-courses/cloud-native/compile_runD/step4.md b/anolis-courses/cloud-native/compile_runD/step4.md new file mode 100644 index 0000000000000000000000000000000000000000..e609ee6f77f50b68f648ce8586d5b85d416d5e26 --- /dev/null +++ b/anolis-courses/cloud-native/compile_runD/step4.md @@ -0,0 +1,16 @@ +1. 开始编译最新修改的runD代码 +[[ repo-root-dir=/root/kata-containers ]] + +[[ container-image=cloud-native-registry.cn-shanghai.cr.aliyuncs.com/runtime/rund:shim-builder-latest ]] + +[[ nerdctl run --rm -i -v "${repo-root-dir}:${repo-root-dir}" \ + -w "${repo-root-dir}/src/runtime-rs" \ + "${container-image}" \ + bash -c "git config --global --add safe.directory ${repo-root-dir} && make -j8" ]] + +2. 上面编译需要一段时间,需要等编译完,然后运行下面的命令替换最新的runD,并运行查看日志结果 +[[ cp $repo-root-dir/src/runtime-rs/target/x86_64-unknown-linux-musl/release/containerd-shim-kata-v2 /opt/kata/bin/containerd-shim-rund-v2 ]] + +[[ time nerdctl run --runtime io.containerd.rund.v2 busybox /bin/sh -c "uname -a" ]] + +[[ journalctl -t containerd -r | grep "start vm for myself" ]] diff --git a/anolis-courses/cloud-native/index.yaml b/anolis-courses/cloud-native/index.yaml new file mode 100644 index 0000000000000000000000000000000000000000..884435fba8da89b2b166b283c0e50db29d8a931f --- /dev/null +++ b/anolis-courses/cloud-native/index.yaml @@ -0,0 +1,19 @@ +name: 体验龙蜥云原生轻量化安全容器runD +desc: 龙蜥云原生社区开源了阿里巴巴内部使用的轻量化安全容器runD,使用Rust语言编写,在安全的同时,具有启动快、内存占用资源小等优势特点, 本课程可以用多种运行容器的工具体验runD +的启动快特点;然后本课程零门槛体验修改Rust代码的runD +runD => 是龙蜥社区开源的安全容器沙箱环境,可以对接contaienrd,k8s等容器环境 +nerdctl => Docker-compatible CLI for containerd,兼容docker,并提供与docker类似的run,exec,stop,rm等容器管理的命令 +ctr => 是containerd提供的简易的命令行参数工具 +crictl => 是containerd下CRI接口的命令行参数工具,用于创建与k8s类似的POD,Container等资源 +type: course +total_time: "60 min" +level: "beginner" # beginner、intermediate、advanced +chapters: + - name: "多种运行容器工具体验runD" + desc: "学习使用nerdctl,ctr,crictl工具运行runD" + content: "running_runD" + live_time: "30 min" + - name: "编译Rust版本RunD并体验结果" + desc: "熟悉Rust语言,并修改runD代码,编译并查看运行结果" + content: "compile_runD" + live_time: "30 min" diff --git a/anolis-courses/cloud-native/running_runD/finish.md b/anolis-courses/cloud-native/running_runD/finish.md new file mode 100644 index 0000000000000000000000000000000000000000..33ea594e70439b55cd7de5b0a52bcd4d41ff9e41 --- /dev/null +++ b/anolis-courses/cloud-native/running_runD/finish.md @@ -0,0 +1 @@ +恭喜您完成了本场景实验 diff --git a/anolis-courses/cloud-native/running_runD/index.yaml b/anolis-courses/cloud-native/running_runD/index.yaml new file mode 100644 index 0000000000000000000000000000000000000000..605dda6ac8ccfd98775cf43970992517910fce48 --- /dev/null +++ b/anolis-courses/cloud-native/running_runD/index.yaml @@ -0,0 +1,18 @@ +name: 多种运行容器工具体验runD +desc: 学习使用nerdctl,ctr,crictl工具运行runD +image: "Anolis OS 8.4 ANCK 64位" +live_time: "30 min" +machine: x86_64-104c192g # cpu架构-机器规格,该字段为空,默认 x86_64-2c4g +max_clients: 5 # 最大并发使用数,不填则默认不限制 +details: + steps: + start: start.md + finish: finish.md + - name: 一键式部署RunD + content: step1.md + - name: 使用nerdctl + content: step2.md + - name: 使用ctr + content: step3.md + - name: 使用crictl + content: step4.md diff --git a/anolis-courses/cloud-native/running_runD/start.md b/anolis-courses/cloud-native/running_runD/start.md new file mode 100644 index 0000000000000000000000000000000000000000..d3653b774039186991769ff2188d86de7b8df7d3 --- /dev/null +++ b/anolis-courses/cloud-native/running_runD/start.md @@ -0,0 +1 @@ +本场景将提供一台配置了 CentOS 8.5 操作系统的裸金属服务器环境用于运行runD diff --git a/anolis-courses/cloud-native/running_runD/step1.md b/anolis-courses/cloud-native/running_runD/step1.md new file mode 100644 index 0000000000000000000000000000000000000000..3e0626358f9063ce3f9e09d515c7b02397c2ccb0 --- /dev/null +++ b/anolis-courses/cloud-native/running_runD/step1.md @@ -0,0 +1,4 @@ +1. 物理机环境,或者神龙服务器环境,上面不需要安装docker,containerd,nerdctl,只需要一个干净环境即可 +运行下面的命令一键式安装与部署runD +[[ curl https://cloud-native.oss-cn-shanghai.aliyuncs.com/runtime/install-rund-nerdctl.sh -sSf | sh -s ]] +需要稍微等一会下载安装包与镜像,以及安装部署 diff --git a/anolis-courses/cloud-native/running_runD/step2.md b/anolis-courses/cloud-native/running_runD/step2.md new file mode 100644 index 0000000000000000000000000000000000000000..c578189ee0031671f453a8441e8bdb0c18cc879a --- /dev/null +++ b/anolis-courses/cloud-native/running_runD/step2.md @@ -0,0 +1,9 @@ +1. 环境已经部署上了nerdctl, 第一步是下载运行容器需要的镜像 +[[ nerdctl pull busybox ]] + +2. 直接可以使用runtime为rund来运行下载的busybox镜像,并运行一个命令,现在是uname +同时可以查看当前运行的时间 +[[ time nerdctl run --runtime io.containerd.rund.v2 busybox /bin/sh -c "uname -a" ]] + +3. 还可以运行qemu作为安全容器的vmm作为对比,可以看到rund启动时间会快很多 +[[ time nerdctl run --runtime io.containerd.kata-qemu.v2 busybox /bin/sh -c "uname -a" ]] diff --git a/anolis-courses/cloud-native/running_runD/step3.md b/anolis-courses/cloud-native/running_runD/step3.md new file mode 100644 index 0000000000000000000000000000000000000000..16572dfdaa20230689c14fdaf5a936a42220c4d2 --- /dev/null +++ b/anolis-courses/cloud-native/running_runD/step3.md @@ -0,0 +1,5 @@ +1. 使用ctr命令同样可以run起来runD,直接通过runtime指定使用rund +[[ time ctr run --runtime "io.containerd.rund.v2" -d docker.io/library/busybox:latest test-rund /bin/sh ]] + +2. 同样可以使用qemu做对比 +[[ time ctr run --runtime "io.containerd.kata-qemu.v2" -d docker.io/library/busybox:latest test-qemu2 /bin/sh ]] diff --git a/anolis-courses/cloud-native/running_runD/step4.md b/anolis-courses/cloud-native/running_runD/step4.md new file mode 100644 index 0000000000000000000000000000000000000000..899efa1747c9f54f7e7407fff2bf78c8f853ffbe --- /dev/null +++ b/anolis-courses/cloud-native/running_runD/step4.md @@ -0,0 +1,38 @@ +1. 下面使用crictl来启动rund,需要先安装crictl命令工具 +[[ wget https://cloud-native.oss-cn-shanghai.aliyuncs.com/runtime/crictl-v1.24.2-linux-amd64.tar.gz ]] + +2. 解压安装包 +[[ tar -zxvf crictl-v1.24.2-linux-amd64.tar.gz -C /usr/local/bin/ ]] + +3. 配置crictl命令 +[[ cat << EOF > /etc/crictl.yaml +runtime-endpoint: unix:///run/containerd/containerd.sock +image-endpoint: unix:///run/containerd/containerd.sock +timeout: 10 +debug: false +EOF ]] + +4. 使用crictl来pull需要启动的镜像 +[[ crictl pull busybox ]] + +5. 添加运行pod的配置文件 +[[ cat << EOF > sandbox-config.json +{ + "metadata": { + "name": "test-sandbox", + "namespace": "default", + "attempt": 1, + "uid": "95cb1cf47c4abb12d437f3" + }, + "linux": { + "security_context": { + "namespace_options": { + "network" : 2 + } + } + } +} +EOF ]] + +6. 使用rund来运行pod +[[ crictl runp -r rund sandbox-config.json ]] diff --git a/anolis-courses/T-One/index.yaml b/anolis-courses/t-one/index.yaml similarity index 94% rename from anolis-courses/T-One/index.yaml rename to anolis-courses/t-one/index.yaml index 2f88d933710d4ed4b451e5fe66ae024c06a597d7..1b17ecaaa73d7e68c96dd5a4d9ff9da7d5fe47f5 100644 --- a/anolis-courses/T-One/index.yaml +++ b/anolis-courses/t-one/index.yaml @@ -4,7 +4,7 @@ type: course total_time: "60 min" level: "beginner" # beginner、intermediate、advanced chapters: - - name: "T-One介绍" + - name: "T-One基础使用" desc: "介绍T-One工具" content: "tone_junior_doc" live_time: "60 min" diff --git a/anolis-courses/T-One/tone_junior_doc/assets/tone_choose_case.png b/anolis-courses/t-one/tone_junior_doc/assets/tone_choose_case.png similarity index 100% rename from anolis-courses/T-One/tone_junior_doc/assets/tone_choose_case.png rename to anolis-courses/t-one/tone_junior_doc/assets/tone_choose_case.png diff --git a/anolis-courses/T-One/tone_junior_doc/assets/tone_create_function_job.png b/anolis-courses/t-one/tone_junior_doc/assets/tone_create_function_job.png similarity index 100% rename from anolis-courses/T-One/tone_junior_doc/assets/tone_create_function_job.png rename to anolis-courses/t-one/tone_junior_doc/assets/tone_create_function_job.png diff --git a/anolis-courses/T-One/tone_junior_doc/assets/tone_eco_system.png b/anolis-courses/t-one/tone_junior_doc/assets/tone_eco_system.png similarity index 100% rename from anolis-courses/T-One/tone_junior_doc/assets/tone_eco_system.png rename to anolis-courses/t-one/tone_junior_doc/assets/tone_eco_system.png diff --git a/anolis-courses/T-One/tone_junior_doc/assets/tone_function_job_base_option.png b/anolis-courses/t-one/tone_junior_doc/assets/tone_function_job_base_option.png similarity index 100% rename from anolis-courses/T-One/tone_junior_doc/assets/tone_function_job_base_option.png rename to anolis-courses/t-one/tone_junior_doc/assets/tone_function_job_base_option.png diff --git a/anolis-courses/T-One/tone_junior_doc/assets/tone_function_job_detail.png b/anolis-courses/t-one/tone_junior_doc/assets/tone_function_job_detail.png similarity index 100% rename from anolis-courses/T-One/tone_junior_doc/assets/tone_function_job_detail.png rename to anolis-courses/t-one/tone_junior_doc/assets/tone_function_job_detail.png diff --git a/anolis-courses/T-One/tone_junior_doc/assets/tone_function_job_result.png b/anolis-courses/t-one/tone_junior_doc/assets/tone_function_job_result.png similarity index 100% rename from anolis-courses/T-One/tone_junior_doc/assets/tone_function_job_result.png rename to anolis-courses/t-one/tone_junior_doc/assets/tone_function_job_result.png diff --git a/anolis-courses/T-One/tone_junior_doc/assets/tone_function_job_result_info.png b/anolis-courses/t-one/tone_junior_doc/assets/tone_function_job_result_info.png similarity index 100% rename from anolis-courses/T-One/tone_junior_doc/assets/tone_function_job_result_info.png rename to anolis-courses/t-one/tone_junior_doc/assets/tone_function_job_result_info.png diff --git a/anolis-courses/T-One/tone_junior_doc/assets/tone_public_ws.png b/anolis-courses/t-one/tone_junior_doc/assets/tone_public_ws.png similarity index 100% rename from anolis-courses/T-One/tone_junior_doc/assets/tone_public_ws.png rename to anolis-courses/t-one/tone_junior_doc/assets/tone_public_ws.png diff --git a/anolis-courses/T-One/tone_junior_doc/assets/tone_run_test.png b/anolis-courses/t-one/tone_junior_doc/assets/tone_run_test.png similarity index 100% rename from anolis-courses/T-One/tone_junior_doc/assets/tone_run_test.png rename to anolis-courses/t-one/tone_junior_doc/assets/tone_run_test.png diff --git a/anolis-courses/T-One/tone_junior_doc/end.md b/anolis-courses/t-one/tone_junior_doc/finish.md similarity index 98% rename from anolis-courses/T-One/tone_junior_doc/end.md rename to anolis-courses/t-one/tone_junior_doc/finish.md index 74952101e52ff7dabf04c03ef79d37ca4b12c8a0..8e17e8a77434728bf49e2033e9648679a688dfb0 100644 --- a/anolis-courses/T-One/tone_junior_doc/end.md +++ b/anolis-courses/t-one/tone_junior_doc/finish.md @@ -1,3 +1 @@ 恭喜您已经学会了基本使用。下面让我们熟悉上面的[操作步骤](https://tone.openanolis.cn/)吧! - - diff --git a/anolis-courses/T-One/tone_junior_doc/index.yaml b/anolis-courses/t-one/tone_junior_doc/index.yaml similarity index 58% rename from anolis-courses/T-One/tone_junior_doc/index.yaml rename to anolis-courses/t-one/tone_junior_doc/index.yaml index b55d7118dc69eff578267a46e6bcd4ed3c3dcc0f..98bd4a70d56361c7031c5dc915ea6ea00e6cb924 100644 --- a/anolis-courses/T-One/tone_junior_doc/index.yaml +++ b/anolis-courses/t-one/tone_junior_doc/index.yaml @@ -1,13 +1,13 @@ -name: T-One介绍 +name: T-One基础使用 desc: 本课程将介绍T-One中的一些核心概念以及T-One的一些基础使用方案 -image: "Centos 8.5 64位" +image: "Anolis OS 8.4 ANCK 64位" live_time: "30 min" -machine: x86_64-2c4g # cpu架构-机器规格,该字段为空,默认 x86_64-2c4g -max_clients: 1 # 最大并发使用数,不填则默认不限制 +machine: x86_64-2c8g # cpu架构-机器规格,该字段为空,默认 x86_64-2c4g +max_clients: 5 # 最大并发使用数,不填则默认不限制 details: steps: start: start.md - end: end.md + finish: finish.md - name: T-One名次解释 content: step1.md - name: 创建一个T-One的测试任务 diff --git a/anolis-courses/T-One/tone_junior_doc/start.md b/anolis-courses/t-one/tone_junior_doc/start.md similarity index 99% rename from anolis-courses/T-One/tone_junior_doc/start.md rename to anolis-courses/t-one/tone_junior_doc/start.md index 9f770297a02c967a9a5f645c2bb7134c68ac1eb8..c3cd37de46e3b3e3d0211a5d619c608ff29944c0 100644 --- a/anolis-courses/T-One/tone_junior_doc/start.md +++ b/anolis-courses/t-one/tone_junior_doc/start.md @@ -1,8 +1,8 @@ # T-One概述 - + [T-One](https://tone.openanolis.cn/) 是业内首个**一站式、全场景的质量协作平台**,提供 *用例测试*、*测试数据管理*、*测试数据分析*、*测试用例集成和管理* 等一系列的功能,旨在打造一个丰富的测试生态。 - + ## T-One 生态 - [T-One](https://tone.openanolis.cn/): T—One 生态的核心操作平台 - [Testfarm](https://tone.openanolis.cn/): T-One 数据的展示平台,帮助开发者分析相关数据 diff --git a/anolis-courses/T-One/tone_junior_doc/step1.md b/anolis-courses/t-one/tone_junior_doc/step1.md similarity index 100% rename from anolis-courses/T-One/tone_junior_doc/step1.md rename to anolis-courses/t-one/tone_junior_doc/step1.md diff --git a/anolis-courses/T-One/tone_junior_doc/step2.md b/anolis-courses/t-one/tone_junior_doc/step2.md similarity index 100% rename from anolis-courses/T-One/tone_junior_doc/step2.md rename to anolis-courses/t-one/tone_junior_doc/step2.md diff --git a/anolis-solutions/README.md b/anolis-solutions/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391