Files
build_notes_simengweb/assets/index.html-Dn2zM_4K.js

2 lines
6.5 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e,c as a,a as r,o as d}from"./app-COnnofor.js";const n={};function i(s,t){return d(),a("div",null,[...t[0]||(t[0]=[r('<h2 id="赛题要求" tabindex="-1"><a class="header-anchor" href="#赛题要求"><span>赛题要求</span></a></h2><ul><li>yum 仓库地址http://192.168.122.1:58000/content</li><li>软件包下载地址http://192.168.122.1:58000/software</li></ul><p>系统信息列表</p><table><thead><tr><th>序号</th><th>标签名称</th><th>操作系统</th><th>账号信息</th></tr></thead><tbody><tr><td>1</td><td>Server1</td><td>openEuler 22.03(已安装)</td><td>root / openEuler12#$</td></tr><tr><td>2</td><td>Server2</td><td>openEuler 22.03(已安装)</td><td>root / openEuler12#$</td></tr><tr><td>3</td><td>Server3</td><td>openEuler 22.03(待安装)</td><td>N/A</td></tr><tr><td>4</td><td>Desktop</td><td>Kylin v10已安装</td><td>admin / admin@0000</td></tr></tbody></table><h2 id="第一部分-【适配环境搭建】" tabindex="-1"><a class="header-anchor" href="#第一部分-【适配环境搭建】"><span>第一部分 【适配环境搭建】</span></a></h2><h3 id="基础配置-yum-源" tabindex="-1"><a class="header-anchor" href="#基础配置-yum-源"><span>基础配置 yum 源</span></a></h3><p>这里题目中没有提到,但是需要进行一下配置</p><h3 id="系统安装与配置" tabindex="-1"><a class="header-anchor" href="#系统安装与配置"><span>系统安装与配置</span></a></h3><p>为 Server3 安装 openEuler 操作系统</p><p>配置系统语言English</p><p>配置系统时区Asia/Shanghai</p><p>配置安装类型Server</p><p>系统启动分区保持不变,其他分区要求如下:</p><p>位置 容量 文件系统</p><table><thead><tr><th>挂载点</th><th>容量</th><th>文件系统</th></tr></thead><tbody><tr><td>/</td><td>剩余所有容量</td><td>ext4</td></tr><tr><td>swap</td><td>4G</td><td>swap</td></tr><tr><td>/opt</td><td>40G</td><td>xfs</td></tr></tbody></table><p>其他未提及的配置内容保持系统默认设置。</p><p>确认并且配置服务器地址及名称:</p><table><thead><tr><th>服务器</th><th>FQDN</th><th>IP</th></tr></thead><tbody><tr><td>Server1</td><td>app1.system.org.cn</td><td>172.16.50.101/24</td></tr><tr><td>Server2</td><td>app2.system.org.cn</td><td>172.16.50.102/24</td></tr><tr><td>Server3</td><td>sts.system.org.cn</td><td>172.16.50.103/24</td></tr><tr><td>Desktop</td><td>-</td><td>172.16.50.111/24</td></tr></tbody></table><div class="code-block-title" data-title="配置服务器地址以及名称"><div class="code-block-title-bar"><span class="title">配置服务器地址以及名称</span></div><div class="language-bash line-numbers-mode" data-highlighter="shiki" data-ext="bash" style="--shiki-light:#393a34;--shiki-dark:#dbd7caee;--shiki-light-bg:#ffffff;--shiki-dark-bg:#121212;"><pre class="shiki shiki-themes vitesse-light vitesse-dark vp-code"><code class="language-bash"><span class="line"><span style="--shiki-light:#59873A;--shiki-dark:#80A665;">hostnamectl</span></span></code></pre><div class="line-numbers" aria-hidden="true" style="counter-reset:line-number 0;"><div class="line-number"></div></div></div></div><p>确认并且配置系统网关为 172.16.50.1,确保服务器能与网关通信。</p><p>为所有 Server 主机启用防火墙,防火墙区域为 public ,根据不同服务在防火墙中使用添加端口的方式添加策略。</p><p>确认并且保持 root 用户密码为admin@0000确保该账户能够通过 SSH 远程登录</p><p>为所有 Server 主机生成 2 组RSA 算法和国密算法SSH 公私钥对,其中 RSA 密钥长度为 4096。配置实现 Server 主机之间的 SSH 免密登录。</p><p>所有主机间的访问均通过 FQDN 的形式进行访问。</p><p>使用 chrony 进行时间同步。Server1 与 172.16.50.1 进行时间同步,同时为其他服务器提供时间服务。</p><h2 id="第一部分" tabindex="-1"><a class="header-anchor" href="#第一部分"><span>第一部分</span></a></h2><h2 id="第一部分-1" tabindex="-1"><a class="header-anchor" href="#第一部分-1"><span>第一部分</span></a></h2><h2 id="第一部分-2" tabindex="-1"><a class="header-anchor" href="#第一部分-2"><span>第一部分</span></a></h2>',28)])])}const p=e(n,[["render",i]]),h=JSON.parse('{"path":"/article/xinchuang-competition-2025/","title":"Linux 系统适配环境搭建","lang":"zh-CN","frontmatter":{"title":"Linux 系统适配环境搭建","createTime":"2025/10/29 15:39:35","permalink":"/article/xinchuang-competition-2025/","description":"赛题要求 yum 仓库地址http://192.168.122.1:58000/content 软件包下载地址http://192.168.122.1:58000/software 系统信息列表 第一部分 【适配环境搭建】 基础配置 yum 源 这里题目中没有提到,但是需要进行一下配置 系统安装与配置 为 Server3 安装 openEuler ...","head":[["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Linux 系统适配环境搭建\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2025-10-29T14:12:12.000Z\\",\\"author\\":[]}"],["meta",{"property":"og:url","content":"https://notes.simengweb.com/article/xinchuang-competition-2025/"}],["meta",{"property":"og:site_name","content":"仲夏夜之梦"}],["meta",{"property":"og:title","content":"Linux 系统适配环境搭建"}],["meta",{"property":"og:description","content":"赛题要求 yum 仓库地址http://192.168.122.1:58000/content 软件包下载地址http://192.168.122.1:58000/software 系统信息列表 第一部分 【适配环境搭建】 基础配置 yum 源 这里题目中没有提到,但是需要进行一下配置 系统安装与配置 为 Server3 安装 openEuler ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2025-10-29T14:12:12.000Z"}],["meta",{"property":"article:modified_time","content":"2025-10-29T14:12:12.000Z"}]]},"readingTime":{"minutes":1.62,"words":486},"git":{"createdTime":1761747132000,"updatedTime":1761747132000,"contributors":[{"name":"祀梦","username":"","email":"3501646051@qq.com","commits":1,"avatar":"https://gravatar.com/avatar/6406a81eeddc359cf3d3ce018797689fc6d014ff06215c27d0210b42e8f5a8ab?d=retro"}]},"autoDesc":true,"filePathRelative":"blog/technology/Xinchuang_Competition.md","headers":[],"_e":"$2b$12$NMu7oahbkl4soUgQi5rZEu66Ln7YDG65K4C8kVK3/byX7bdURUEq2","categoryList":[{"id":"126ac9","sort":10000,"name":"blog"},{"id":"750eb7","sort":10003,"name":"technology"}]}');export{p as comp,h as data};