mirror of
https://github.com/LearningOS/rust-based-os-comp2022.git
synced 2026-02-07 20:34:08 +08:00
deploy: 69bb086942
This commit is contained in:
@@ -43,15 +43,15 @@
|
||||
|
||||
基于github classroom,可方便建立开发用的git repository,并可基于github的 codespace (在线版ubuntu +vscode)在线开发使用。整个开发环境仅仅需要一个网络浏览器。
|
||||
|
||||
1. 在网络浏览器中用自己的 id 登录 github.com
|
||||
2. 接收 `第一个实验 setup-env-run-os1 的在线邀请 <https://classroom.github.com/a/hnoWuKGF>`_ ,根据提示一路选择OK即可。
|
||||
3. 完成第二步后,你的第一个 setup-env-run-os1 的 github repository 会被自动建立好,点击此github repository的链接,就可看到你要完成的第一个实验了。
|
||||
4. 在你的第一个实验的网页的中上部可以看到一个醒目的 `code` 绿色按钮,点击后,可以进一步看到 `codespace` 标签和醒目的 `create codesapce on main` 绿色按钮。请点击这个绿色按钮,就可以进入到在线的ubuntu +vscode环境中
|
||||
1. 在网络浏览器中用自己的 github id 登录 github.com
|
||||
2. 接收 `第一个实验练习 setup-env-run-os1 的github classroom在线邀请 <https://classroom.github.com/a/hnoWuKGF>`_ ,根据提示一路选择OK即可。
|
||||
3. 完成第二步后,你的第一个实验练习 setup-env-run-os1 的 github repository 会被自动建立好,点击此github repository的链接,就可看到你要完成的第一个实验了。
|
||||
4. 在你的第一个实验练习的网页的中上部可以看到一个醒目的 `code` 绿色按钮,点击后,可以进一步看到 `codespace` 标签和醒目的 `create codesapce on main` 绿色按钮。请点击这个绿色按钮,就可以进入到在线的ubuntu +vscode环境中
|
||||
5. 再按照下面的环境安装提示在vscode的 `console` 中安装配置开发环境:rustc,qemu等工具。
|
||||
6. 在vscode的 `console` 中执行 `make setupclassroom` (该命令仅执行一次)配置githubclassroom 自动评分功能。
|
||||
7. 然后就可以基于在线vscode进行开发、运行、提交等完整的实验过程了。
|
||||
|
||||
上述的3,4,5步不是必须的,你也可以线下本地开发。
|
||||
上述的3,4,5步不是必须的,你也可以线下本地开发。
|
||||
|
||||
|
||||
本章一步步实现了支持打印字符串的简单操作系统。
|
||||
|
||||
@@ -20,6 +20,23 @@
|
||||
实践体验
|
||||
---------------------------
|
||||
|
||||
.. note::
|
||||
|
||||
基于github classroom的开发方式
|
||||
|
||||
基于github classroom,可方便建立开发用的git repository,并可基于github的 codespace (在线版ubuntu +vscode)在线开发使用。整个开发环境仅仅需要一个网络浏览器。
|
||||
|
||||
1. 在网络浏览器中用自己的 github id 登录 github.com
|
||||
2. 接收 `第二个实验练习的github classroom在线邀请 <https://classroom.github.com/a/UEOvz4qO>`_ ,根据提示一路选择OK即可。
|
||||
3. 完成第二步后,你的第二个实验练习的 github repository 会被自动建立好,点击此github repository的链接,就可看到你要完成的第一个实验了。
|
||||
4. 在你的第二个实验练习的网页的中上部可以看到一个醒目的 `code` 绿色按钮,点击后,可以进一步看到 `codespace` 标签和醒目的 `create codesapce on main` 绿色按钮。请点击这个绿色按钮,就可以进入到在线的ubuntu +vscode环境中
|
||||
5. 再按照下面的环境安装提示在vscode的 `console` 中安装配置开发环境:rustc,qemu等工具。
|
||||
6. 在vscode的 `console` 中执行 `make setupclassroom` (该命令仅执行一次)配置githubclassroom 自动评分功能。
|
||||
7. 然后就可以基于在线vscode进行开发、运行、提交等完整的实验过程了。
|
||||
|
||||
上述的3,4,5步不是必须的,你也可以线下本地开发。
|
||||
|
||||
|
||||
本章我们引入了用户程序。为了将内核与应用解耦,我们将二者分成了两个仓库,分别是存放内核程序的 ``rCore-Tutorial-Code-20xxx`` (下称代码仓库,最后几位 x 表示学期)与存放用户程序的 ``rCore-Tutorial-Test-20xxx`` (下称测例仓库)。 你首先需要进入代码仓库文件夹并 clone 用户程序仓库(如果已经执行过该步骤则不需要再重复执行):
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
@@ -16,6 +16,22 @@
|
||||
实践体验
|
||||
-------------------------------------
|
||||
|
||||
.. note::
|
||||
|
||||
基于github classroom的开发方式
|
||||
|
||||
基于github classroom,可方便建立开发用的git repository,并可基于github的 codespace (在线版ubuntu +vscode)在线开发使用。整个开发环境仅仅需要一个网络浏览器。
|
||||
|
||||
1. 在网络浏览器中用自己的 github id 登录 github.com
|
||||
2. 接收 `第一个实验(os3)的github classroom在线邀请 <https://classroom.github.com/a/s1v7GyJM>`_ ,根据提示一路选择OK即可。
|
||||
3. 完成第二步后,你的第一个实验的 github repository 会被自动建立好,点击此github repository的链接,就可看到你要完成的第一个实验了。
|
||||
4. 在你的第一个实验的网页的中上部可以看到一个醒目的 `code` 绿色按钮,点击后,可以进一步看到 `codespace` 标签和醒目的 `create codesapce on main` 绿色按钮。请点击这个绿色按钮,就可以进入到在线的ubuntu +vscode环境中
|
||||
5. 再按照下面的环境安装提示在vscode的 `console` 中安装配置开发环境:rustc,qemu等工具。
|
||||
6. 在vscode的 `console` 中执行 `make setupclassroom` (该命令仅执行一次)配置githubclassroom 自动评分功能。
|
||||
7. 然后就可以基于在线vscode进行开发、运行、提交等完整的实验过程了。
|
||||
|
||||
上述的3,4,5步不是必须的,你也可以线下本地开发。
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ git clone https://github.com/LearningOS/rust-based-os-comp2022.git
|
||||
|
||||
@@ -10,6 +10,22 @@
|
||||
实践体验
|
||||
-----------------------
|
||||
|
||||
.. note::
|
||||
|
||||
基于github classroom的开发方式
|
||||
|
||||
基于github classroom,可方便建立开发用的git repository,并可基于github的 codespace (在线版ubuntu +vscode)在线开发使用。整个开发环境仅仅需要一个网络浏览器。
|
||||
|
||||
1. 在网络浏览器中用自己的 github id 登录 github.com
|
||||
2. 接收 `第二个实验(os4)的github classroom在线邀请 <https://classroom.github.com/a/ghbB1wYX>`_ ,根据提示一路选择OK即可。
|
||||
3. 完成第二步后,你的第二个实验的 github repository 会被自动建立好,点击此github repository的链接,就可看到你要完成的第一个实验了。
|
||||
4. 在你的第二个实验的网页的中上部可以看到一个醒目的 `code` 绿色按钮,点击后,可以进一步看到 `codespace` 标签和醒目的 `create codesapce on main` 绿色按钮。请点击这个绿色按钮,就可以进入到在线的ubuntu +vscode环境中
|
||||
5. 再按照下面的环境安装提示在vscode的 `console` 中安装配置开发环境:rustc,qemu等工具。
|
||||
6. 在vscode的 `console` 中执行 `make setupclassroom` (该命令仅执行一次)配置githubclassroom 自动评分功能。
|
||||
7. 然后就可以基于在线vscode进行开发、运行、提交等完整的实验过程了。
|
||||
|
||||
上述的3,4,5步不是必须的,你也可以线下本地开发。
|
||||
|
||||
本章应用运行起来效果与上一章基本一致。
|
||||
|
||||
获取本章代码:
|
||||
|
||||
@@ -4,6 +4,22 @@
|
||||
本章导读
|
||||
-------------------------------------------
|
||||
|
||||
.. note::
|
||||
|
||||
基于github classroom的开发方式
|
||||
|
||||
基于github classroom,可方便建立开发用的git repository,并可基于github的 codespace (在线版ubuntu +vscode)在线开发使用。整个开发环境仅仅需要一个网络浏览器。
|
||||
|
||||
1. 在网络浏览器中用自己的 github id 登录 github.com
|
||||
2. 接收 `第三个实验(os5)的github classroom在线邀请 <https://classroom.github.com/a/RxB6h4-x>`_ ,根据提示一路选择OK即可。
|
||||
3. 完成第二步后,你的第三个实验的 github repository 会被自动建立好,点击此github repository的链接,就可看到你要完成的第一个实验了。
|
||||
4. 在你的第三个实验的网页的中上部可以看到一个醒目的 `code` 绿色按钮,点击后,可以进一步看到 `codespace` 标签和醒目的 `create codesapce on main` 绿色按钮。请点击这个绿色按钮,就可以进入到在线的ubuntu +vscode环境中
|
||||
5. 再按照下面的环境安装提示在vscode的 `console` 中安装配置开发环境:rustc,qemu等工具。
|
||||
6. 在vscode的 `console` 中执行 `make setupclassroom` (该命令仅执行一次)配置githubclassroom 自动评分功能。
|
||||
7. 然后就可以基于在线vscode进行开发、运行、提交等完整的实验过程了。
|
||||
|
||||
上述的3,4,5步不是必须的,你也可以线下本地开发。
|
||||
|
||||
我们将开发一个用户 **终端** (Terminal) 或 **命令行** (Command Line Application, 俗称 **Shell** ) ,
|
||||
形成用户与操作系统进行交互的命令行界面 (Command Line Interface)。
|
||||
|
||||
|
||||
@@ -9,6 +9,23 @@
|
||||
实践体验
|
||||
-----------------------------------------
|
||||
|
||||
.. note::
|
||||
|
||||
基于github classroom的开发方式
|
||||
|
||||
基于github classroom,可方便建立开发用的git repository,并可基于github的 codespace (在线版ubuntu +vscode)在线开发使用。整个开发环境仅仅需要一个网络浏览器。
|
||||
|
||||
1. 在网络浏览器中用自己的 github id 登录 github.com
|
||||
2. 接收 `第四个实验(os6)的github classroom在线邀请 <https://classroom.github.com/a/94eMW8zi>`_ ,根据提示一路选择OK即可。
|
||||
3. 完成第二步后,你的第四个实验的 github repository 会被自动建立好,点击此github repository的链接,就可看到你要完成的第一个实验了。
|
||||
4. 在你的第四个实验的网页的中上部可以看到一个醒目的 `code` 绿色按钮,点击后,可以进一步看到 `codespace` 标签和醒目的 `create codesapce on main` 绿色按钮。请点击这个绿色按钮,就可以进入到在线的ubuntu +vscode环境中
|
||||
5. 再按照下面的环境安装提示在vscode的 `console` 中安装配置开发环境:rustc,qemu等工具。
|
||||
6. 在vscode的 `console` 中执行 `make setupclassroom` (该命令仅执行一次)配置githubclassroom 自动评分功能。
|
||||
7. 然后就可以基于在线vscode进行开发、运行、提交等完整的实验过程了。
|
||||
|
||||
上述的3,4,5步不是必须的,你也可以线下本地开发。
|
||||
|
||||
|
||||
获取本章代码:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
@@ -84,6 +84,23 @@
|
||||
实践体验
|
||||
-----------------------------------------
|
||||
|
||||
.. note::
|
||||
|
||||
基于github classroom的开发方式
|
||||
|
||||
基于github classroom,可方便建立开发用的git repository,并可基于github的 codespace (在线版ubuntu +vscode)在线开发使用。整个开发环境仅仅需要一个网络浏览器。
|
||||
|
||||
1. 在网络浏览器中用自己的 github id 登录 github.com
|
||||
2. 接收 `第五个实验(os8)的github classroom在线邀请 <https://classroom.github.com/a/zqGJEPK->`_ ,根据提示一路选择OK即可。
|
||||
3. 完成第二步后,你的第五个实验的 github repository 会被自动建立好,点击此github repository的链接,就可看到你要完成的第一个实验了。
|
||||
4. 在你的第五个实验的网页的中上部可以看到一个醒目的 `code` 绿色按钮,点击后,可以进一步看到 `codespace` 标签和醒目的 `create codesapce on main` 绿色按钮。请点击这个绿色按钮,就可以进入到在线的ubuntu +vscode环境中
|
||||
5. 再按照下面的环境安装提示在vscode的 `console` 中安装配置开发环境:rustc,qemu等工具。
|
||||
6. 在vscode的 `console` 中执行 `make setupclassroom` (该命令仅执行一次)配置githubclassroom 自动评分功能。
|
||||
7. 然后就可以基于在线vscode进行开发、运行、提交等完整的实验过程了。
|
||||
|
||||
上述的3,4,5步不是必须的,你也可以线下本地开发。
|
||||
|
||||
|
||||
获取本章代码:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
@@ -323,17 +323,15 @@ println!("Hello world!");
|
||||
<p>基于github classroom的开发方式</p>
|
||||
<p>基于github classroom,可方便建立开发用的git repository,并可基于github的 codespace (在线版ubuntu +vscode)在线开发使用。整个开发环境仅仅需要一个网络浏览器。</p>
|
||||
<ol class="arabic simple">
|
||||
<li><p>在网络浏览器中用自己的 id 登录 github.com</p></li>
|
||||
<li><p>接收 <a class="reference external" href="https://classroom.github.com/a/hnoWuKGF">第一个实验 setup-env-run-os1 的在线邀请</a> ,根据提示一路选择OK即可。</p></li>
|
||||
<li><p>完成第二步后,你的第一个 setup-env-run-os1 的 github repository 会被自动建立好,点击此github repository的链接,就可看到你要完成的第一个实验了。</p></li>
|
||||
<li><p>在你的第一个实验的网页的中上部可以看到一个醒目的 <cite>code</cite> 绿色按钮,点击后,可以进一步看到 <cite>codespace</cite> 标签和醒目的 <cite>create codesapce on main</cite> 绿色按钮。请点击这个绿色按钮,就可以进入到在线的ubuntu +vscode环境中</p></li>
|
||||
<li><p>在网络浏览器中用自己的 github id 登录 github.com</p></li>
|
||||
<li><p>接收 <a class="reference external" href="https://classroom.github.com/a/hnoWuKGF">第一个实验练习 setup-env-run-os1 的github classroom在线邀请</a> ,根据提示一路选择OK即可。</p></li>
|
||||
<li><p>完成第二步后,你的第一个实验练习 setup-env-run-os1 的 github repository 会被自动建立好,点击此github repository的链接,就可看到你要完成的第一个实验了。</p></li>
|
||||
<li><p>在你的第一个实验练习的网页的中上部可以看到一个醒目的 <cite>code</cite> 绿色按钮,点击后,可以进一步看到 <cite>codespace</cite> 标签和醒目的 <cite>create codesapce on main</cite> 绿色按钮。请点击这个绿色按钮,就可以进入到在线的ubuntu +vscode环境中</p></li>
|
||||
<li><p>再按照下面的环境安装提示在vscode的 <cite>console</cite> 中安装配置开发环境:rustc,qemu等工具。</p></li>
|
||||
<li><p>在vscode的 <cite>console</cite> 中执行 <cite>make setupclassroom</cite> (该命令仅执行一次)配置githubclassroom 自动评分功能。</p></li>
|
||||
<li><p>然后就可以基于在线vscode进行开发、运行、提交等完整的实验过程了。</p></li>
|
||||
</ol>
|
||||
<blockquote>
|
||||
<div><p>上述的3,4,5步不是必须的,你也可以线下本地开发。</p>
|
||||
</div></blockquote>
|
||||
<p>上述的3,4,5步不是必须的,你也可以线下本地开发。</p>
|
||||
</div>
|
||||
<p>本章一步步实现了支持打印字符串的简单操作系统。</p>
|
||||
<p>获取本章代码:</p>
|
||||
|
||||
@@ -303,6 +303,21 @@
|
||||
</div>
|
||||
<div class="section" id="id3">
|
||||
<h2>实践体验<a class="headerlink" href="#id3" title="永久链接至标题">¶</a></h2>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">注解</p>
|
||||
<p>基于github classroom的开发方式</p>
|
||||
<p>基于github classroom,可方便建立开发用的git repository,并可基于github的 codespace (在线版ubuntu +vscode)在线开发使用。整个开发环境仅仅需要一个网络浏览器。</p>
|
||||
<ol class="arabic simple">
|
||||
<li><p>在网络浏览器中用自己的 github id 登录 github.com</p></li>
|
||||
<li><p>接收 <a class="reference external" href="https://classroom.github.com/a/UEOvz4qO">第二个实验练习的github classroom在线邀请</a> ,根据提示一路选择OK即可。</p></li>
|
||||
<li><p>完成第二步后,你的第二个实验练习的 github repository 会被自动建立好,点击此github repository的链接,就可看到你要完成的第一个实验了。</p></li>
|
||||
<li><p>在你的第二个实验练习的网页的中上部可以看到一个醒目的 <cite>code</cite> 绿色按钮,点击后,可以进一步看到 <cite>codespace</cite> 标签和醒目的 <cite>create codesapce on main</cite> 绿色按钮。请点击这个绿色按钮,就可以进入到在线的ubuntu +vscode环境中</p></li>
|
||||
<li><p>再按照下面的环境安装提示在vscode的 <cite>console</cite> 中安装配置开发环境:rustc,qemu等工具。</p></li>
|
||||
<li><p>在vscode的 <cite>console</cite> 中执行 <cite>make setupclassroom</cite> (该命令仅执行一次)配置githubclassroom 自动评分功能。</p></li>
|
||||
<li><p>然后就可以基于在线vscode进行开发、运行、提交等完整的实验过程了。</p></li>
|
||||
</ol>
|
||||
<p>上述的3,4,5步不是必须的,你也可以线下本地开发。</p>
|
||||
</div>
|
||||
<p>本章我们引入了用户程序。为了将内核与应用解耦,我们将二者分成了两个仓库,分别是存放内核程序的 <code class="docutils literal notranslate"><span class="pre">rCore-Tutorial-Code-20xxx</span></code> (下称代码仓库,最后几位 x 表示学期)与存放用户程序的 <code class="docutils literal notranslate"><span class="pre">rCore-Tutorial-Test-20xxx</span></code> (下称测例仓库)。 你首先需要进入代码仓库文件夹并 clone 用户程序仓库(如果已经执行过该步骤则不需要再重复执行):</p>
|
||||
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>git clone https://github.com/LearningOS/rust-based-os-comp2022.git
|
||||
<span class="gp">$ </span><span class="nb">cd</span> rust-based-os-comp2022
|
||||
|
||||
@@ -302,6 +302,21 @@
|
||||
</div>
|
||||
<div class="section" id="id3">
|
||||
<h2>实践体验<a class="headerlink" href="#id3" title="永久链接至标题">¶</a></h2>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">注解</p>
|
||||
<p>基于github classroom的开发方式</p>
|
||||
<p>基于github classroom,可方便建立开发用的git repository,并可基于github的 codespace (在线版ubuntu +vscode)在线开发使用。整个开发环境仅仅需要一个网络浏览器。</p>
|
||||
<ol class="arabic simple">
|
||||
<li><p>在网络浏览器中用自己的 github id 登录 github.com</p></li>
|
||||
<li><p>接收 <a class="reference external" href="https://classroom.github.com/a/s1v7GyJM">第一个实验(os3)的github classroom在线邀请</a> ,根据提示一路选择OK即可。</p></li>
|
||||
<li><p>完成第二步后,你的第一个实验的 github repository 会被自动建立好,点击此github repository的链接,就可看到你要完成的第一个实验了。</p></li>
|
||||
<li><p>在你的第一个实验的网页的中上部可以看到一个醒目的 <cite>code</cite> 绿色按钮,点击后,可以进一步看到 <cite>codespace</cite> 标签和醒目的 <cite>create codesapce on main</cite> 绿色按钮。请点击这个绿色按钮,就可以进入到在线的ubuntu +vscode环境中</p></li>
|
||||
<li><p>再按照下面的环境安装提示在vscode的 <cite>console</cite> 中安装配置开发环境:rustc,qemu等工具。</p></li>
|
||||
<li><p>在vscode的 <cite>console</cite> 中执行 <cite>make setupclassroom</cite> (该命令仅执行一次)配置githubclassroom 自动评分功能。</p></li>
|
||||
<li><p>然后就可以基于在线vscode进行开发、运行、提交等完整的实验过程了。</p></li>
|
||||
</ol>
|
||||
<p>上述的3,4,5步不是必须的,你也可以线下本地开发。</p>
|
||||
</div>
|
||||
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>git clone https://github.com/LearningOS/rust-based-os-comp2022.git
|
||||
<span class="gp">$ </span><span class="nb">cd</span> rust-based-os-comp2022/
|
||||
</pre></div>
|
||||
|
||||
@@ -296,6 +296,21 @@
|
||||
</div>
|
||||
<div class="section" id="id3">
|
||||
<h2>实践体验<a class="headerlink" href="#id3" title="永久链接至标题">¶</a></h2>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">注解</p>
|
||||
<p>基于github classroom的开发方式</p>
|
||||
<p>基于github classroom,可方便建立开发用的git repository,并可基于github的 codespace (在线版ubuntu +vscode)在线开发使用。整个开发环境仅仅需要一个网络浏览器。</p>
|
||||
<ol class="arabic simple">
|
||||
<li><p>在网络浏览器中用自己的 github id 登录 github.com</p></li>
|
||||
<li><p>接收 <a class="reference external" href="https://classroom.github.com/a/ghbB1wYX">第二个实验(os4)的github classroom在线邀请</a> ,根据提示一路选择OK即可。</p></li>
|
||||
<li><p>完成第二步后,你的第二个实验的 github repository 会被自动建立好,点击此github repository的链接,就可看到你要完成的第一个实验了。</p></li>
|
||||
<li><p>在你的第二个实验的网页的中上部可以看到一个醒目的 <cite>code</cite> 绿色按钮,点击后,可以进一步看到 <cite>codespace</cite> 标签和醒目的 <cite>create codesapce on main</cite> 绿色按钮。请点击这个绿色按钮,就可以进入到在线的ubuntu +vscode环境中</p></li>
|
||||
<li><p>再按照下面的环境安装提示在vscode的 <cite>console</cite> 中安装配置开发环境:rustc,qemu等工具。</p></li>
|
||||
<li><p>在vscode的 <cite>console</cite> 中执行 <cite>make setupclassroom</cite> (该命令仅执行一次)配置githubclassroom 自动评分功能。</p></li>
|
||||
<li><p>然后就可以基于在线vscode进行开发、运行、提交等完整的实验过程了。</p></li>
|
||||
</ol>
|
||||
<p>上述的3,4,5步不是必须的,你也可以线下本地开发。</p>
|
||||
</div>
|
||||
<p>本章应用运行起来效果与上一章基本一致。</p>
|
||||
<p>获取本章代码:</p>
|
||||
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>git clone https://github.com/LearningOS/rust-based-os-comp2022.git
|
||||
|
||||
@@ -292,6 +292,21 @@
|
||||
<h1>引言<a class="headerlink" href="#id1" title="永久链接至标题">¶</a></h1>
|
||||
<div class="section" id="id2">
|
||||
<h2>本章导读<a class="headerlink" href="#id2" title="永久链接至标题">¶</a></h2>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">注解</p>
|
||||
<p>基于github classroom的开发方式</p>
|
||||
<p>基于github classroom,可方便建立开发用的git repository,并可基于github的 codespace (在线版ubuntu +vscode)在线开发使用。整个开发环境仅仅需要一个网络浏览器。</p>
|
||||
<ol class="arabic simple">
|
||||
<li><p>在网络浏览器中用自己的 github id 登录 github.com</p></li>
|
||||
<li><p>接收 <a class="reference external" href="https://classroom.github.com/a/RxB6h4-x">第三个实验(os5)的github classroom在线邀请</a> ,根据提示一路选择OK即可。</p></li>
|
||||
<li><p>完成第二步后,你的第三个实验的 github repository 会被自动建立好,点击此github repository的链接,就可看到你要完成的第一个实验了。</p></li>
|
||||
<li><p>在你的第三个实验的网页的中上部可以看到一个醒目的 <cite>code</cite> 绿色按钮,点击后,可以进一步看到 <cite>codespace</cite> 标签和醒目的 <cite>create codesapce on main</cite> 绿色按钮。请点击这个绿色按钮,就可以进入到在线的ubuntu +vscode环境中</p></li>
|
||||
<li><p>再按照下面的环境安装提示在vscode的 <cite>console</cite> 中安装配置开发环境:rustc,qemu等工具。</p></li>
|
||||
<li><p>在vscode的 <cite>console</cite> 中执行 <cite>make setupclassroom</cite> (该命令仅执行一次)配置githubclassroom 自动评分功能。</p></li>
|
||||
<li><p>然后就可以基于在线vscode进行开发、运行、提交等完整的实验过程了。</p></li>
|
||||
</ol>
|
||||
<p>上述的3,4,5步不是必须的,你也可以线下本地开发。</p>
|
||||
</div>
|
||||
<p>我们将开发一个用户 <strong>终端</strong> (Terminal) 或 <strong>命令行</strong> (Command Line Application, 俗称 <strong>Shell</strong> ) ,
|
||||
形成用户与操作系统进行交互的命令行界面 (Command Line Interface)。</p>
|
||||
<p>为此,我们要对任务建立新的抽象: <strong>进程</strong> ,并实现若干基于 <strong>进程</strong> 的强大系统调用。</p>
|
||||
|
||||
@@ -296,6 +296,21 @@
|
||||
</div>
|
||||
<div class="section" id="id3">
|
||||
<h2>实践体验<a class="headerlink" href="#id3" title="永久链接至标题">¶</a></h2>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">注解</p>
|
||||
<p>基于github classroom的开发方式</p>
|
||||
<p>基于github classroom,可方便建立开发用的git repository,并可基于github的 codespace (在线版ubuntu +vscode)在线开发使用。整个开发环境仅仅需要一个网络浏览器。</p>
|
||||
<ol class="arabic simple">
|
||||
<li><p>在网络浏览器中用自己的 github id 登录 github.com</p></li>
|
||||
<li><p>接收 <a class="reference external" href="https://classroom.github.com/a/94eMW8zi">第四个实验(os6)的github classroom在线邀请</a> ,根据提示一路选择OK即可。</p></li>
|
||||
<li><p>完成第二步后,你的第四个实验的 github repository 会被自动建立好,点击此github repository的链接,就可看到你要完成的第一个实验了。</p></li>
|
||||
<li><p>在你的第四个实验的网页的中上部可以看到一个醒目的 <cite>code</cite> 绿色按钮,点击后,可以进一步看到 <cite>codespace</cite> 标签和醒目的 <cite>create codesapce on main</cite> 绿色按钮。请点击这个绿色按钮,就可以进入到在线的ubuntu +vscode环境中</p></li>
|
||||
<li><p>再按照下面的环境安装提示在vscode的 <cite>console</cite> 中安装配置开发环境:rustc,qemu等工具。</p></li>
|
||||
<li><p>在vscode的 <cite>console</cite> 中执行 <cite>make setupclassroom</cite> (该命令仅执行一次)配置githubclassroom 自动评分功能。</p></li>
|
||||
<li><p>然后就可以基于在线vscode进行开发、运行、提交等完整的实验过程了。</p></li>
|
||||
</ol>
|
||||
<p>上述的3,4,5步不是必须的,你也可以线下本地开发。</p>
|
||||
</div>
|
||||
<p>获取本章代码:</p>
|
||||
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>git clone https://github.com/LearningOS/rust-based-os-comp2022.git
|
||||
<span class="gp">$ </span><span class="nb">cd</span> rust-based-os-comp2022/
|
||||
|
||||
@@ -343,6 +343,21 @@
|
||||
</div>
|
||||
<div class="section" id="id5">
|
||||
<h2>实践体验<a class="headerlink" href="#id5" title="永久链接至标题">¶</a></h2>
|
||||
<div class="admonition note">
|
||||
<p class="admonition-title">注解</p>
|
||||
<p>基于github classroom的开发方式</p>
|
||||
<p>基于github classroom,可方便建立开发用的git repository,并可基于github的 codespace (在线版ubuntu +vscode)在线开发使用。整个开发环境仅仅需要一个网络浏览器。</p>
|
||||
<ol class="arabic simple">
|
||||
<li><p>在网络浏览器中用自己的 github id 登录 github.com</p></li>
|
||||
<li><p>接收 <a class="reference external" href="https://classroom.github.com/a/zqGJEPK-">第五个实验(os8)的github classroom在线邀请</a> ,根据提示一路选择OK即可。</p></li>
|
||||
<li><p>完成第二步后,你的第五个实验的 github repository 会被自动建立好,点击此github repository的链接,就可看到你要完成的第一个实验了。</p></li>
|
||||
<li><p>在你的第五个实验的网页的中上部可以看到一个醒目的 <cite>code</cite> 绿色按钮,点击后,可以进一步看到 <cite>codespace</cite> 标签和醒目的 <cite>create codesapce on main</cite> 绿色按钮。请点击这个绿色按钮,就可以进入到在线的ubuntu +vscode环境中</p></li>
|
||||
<li><p>再按照下面的环境安装提示在vscode的 <cite>console</cite> 中安装配置开发环境:rustc,qemu等工具。</p></li>
|
||||
<li><p>在vscode的 <cite>console</cite> 中执行 <cite>make setupclassroom</cite> (该命令仅执行一次)配置githubclassroom 自动评分功能。</p></li>
|
||||
<li><p>然后就可以基于在线vscode进行开发、运行、提交等完整的实验过程了。</p></li>
|
||||
</ol>
|
||||
<p>上述的3,4,5步不是必须的,你也可以线下本地开发。</p>
|
||||
</div>
|
||||
<p>获取本章代码:</p>
|
||||
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>git clone https://github.com/LearningOS/rust-based-os-comp2022.git
|
||||
<span class="gp">$ </span><span class="nb">cd</span> rust-based-os-comp2022/
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user