diff --git a/anolis-courses/anolis_install_DDE/install_dde/step1.md b/anolis-courses/anolis_install_DDE/install_dde/step1.md index 003f75082c1ffa3bd0d64f186423e7d432b402a1..cd40adcff59ee0c2c72fda6533bd5eb5df3a02d1 100644 --- a/anolis-courses/anolis_install_DDE/install_dde/step1.md +++ b/anolis-courses/anolis_install_DDE/install_dde/step1.md @@ -10,11 +10,21 @@ 3. 修改系统软件仓库配置中的仓库地址。 -[[ sed -i "s/\$releasever/8\.4/g" \`find /etc/yum.repos.d/ -name *.repo ]] +[[ repos=$(find /etc/yum.repos.d/ -name *.repo);for repo in $repos; do sed -i "s/8/8\.4/g" $repo; done; ]] -4. 修改Anolis-DDE.repo文件内容。 +[[ yum-config-manager --disable epel-modular ]] -[[ +[[ yum-config-manager --disable epel ]] + +4. 修改测试环境的glibc软件包版本 + +[[ yum remove glibc-gconv-extra ]] + +[[ yum downgrade glibc ]] + +5. 修改Anolis-DDE.repo文件内容。 + +``` [DDE] name=AnolisOS-8.4 - DDE baseurl=http://mirrors.openanolis.cn/anolis/8.4/DDE/$basearch/os @@ -27,4 +37,4 @@ enabled=1 gpgkey=http://mirrors.aliyun.com/epel/RPM-GPG-KEY-EPEL-8 gpgcheck=0 - ]] +``` diff --git a/anolis-courses/anolis_install_DDE/install_dde/step2.md b/anolis-courses/anolis_install_DDE/install_dde/step2.md index 2a668d0a6dbaaf05879bce6a483aaa3c1cf1939d..a8faa25ab128e2536ab7e4000ddbcd3f4afcc84b 100644 --- a/anolis-courses/anolis_install_DDE/install_dde/step2.md +++ b/anolis-courses/anolis_install_DDE/install_dde/step2.md @@ -3,5 +3,6 @@ [[ sudo yum clean all && yum makecache ]] 2. DDE软件包安装。 + [[ sudo yum groupinstall dde ]] diff --git a/anolis-courses/anolis_install_DDE/install_dde/step4.md b/anolis-courses/anolis_install_DDE/install_dde/step4.md index 5336c677578256a1b8bd4acfc5a5988efea28d0d..a8d77e2467300ccc673dfc9e831f371256e7be6b 100644 --- a/anolis-courses/anolis_install_DDE/install_dde/step4.md +++ b/anolis-courses/anolis_install_DDE/install_dde/step4.md @@ -4,3 +4,7 @@ 2. 重新连接并进入系统。 +3. 查看窗口管理器服务状态,状态显示running,即正常启动DDE环境。 + +[[ systemctl status lightdm ]] +