Skip to content

Commit

Permalink
Site updated: 2024-08-17 23:53:55
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin346-sc committed Aug 17, 2024
1 parent 32b2b19 commit f242db7
Show file tree
Hide file tree
Showing 39 changed files with 2,482 additions and 395 deletions.
4 changes: 2 additions & 2 deletions 2022/10/11/这里是第一篇博客文章/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">17</span>
<span class="site-state-item-count">19</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -230,7 +230,7 @@ <h1 class="post-title" itemprop="name headline">

<div class="copyright">
&copy;
<span itemprop="copyrightYear">2023</span>
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
Expand Down
4 changes: 2 additions & 2 deletions 2022/10/15/LeetCode二叉树章节/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">17</span>
<span class="site-state-item-count">19</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -875,7 +875,7 @@ <h3 id="总结-26"><a href="#总结-26" class="headerlink" title="总结"></a>

<div class="copyright">
&copy;
<span itemprop="copyrightYear">2023</span>
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
Expand Down
4 changes: 2 additions & 2 deletions 2022/10/18/C3P阅读笔记/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">17</span>
<span class="site-state-item-count">19</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -2206,7 +2206,7 @@ <h1 id="文本查询程序"><a href="#文本查询程序" class="headerlink" tit

<div class="copyright">
&copy;
<span itemprop="copyrightYear">2023</span>
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
Expand Down
4 changes: 2 additions & 2 deletions 2022/11/05/LeetCode回溯算法章节/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">17</span>
<span class="site-state-item-count">19</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -593,7 +593,7 @@ <h3 id="总结-14"><a href="#总结-14" class="headerlink" title="总结"></a>

<div class="copyright">
&copy;
<span itemprop="copyrightYear">2023</span>
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
Expand Down
4 changes: 2 additions & 2 deletions 2022/11/09/C3P第三、四部分/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">17</span>
<span class="site-state-item-count">19</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -623,7 +623,7 @@ <h3 id="模板编译"><a href="#模板编译" class="headerlink" title="模板

<div class="copyright">
&copy;
<span itemprop="copyrightYear">2023</span>
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
Expand Down
4 changes: 2 additions & 2 deletions 2022/11/15/LeetCode贪心算法章节/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">17</span>
<span class="site-state-item-count">19</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -509,7 +509,7 @@ <h3 id="总结-17"><a href="#总结-17" class="headerlink" title="总结"></a>

<div class="copyright">
&copy;
<span itemprop="copyrightYear">2023</span>
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
Expand Down
106 changes: 100 additions & 6 deletions 2022/12/02/DP章节/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions 2023/03/05/改造计划/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">17</span>
<span class="site-state-item-count">19</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -265,7 +265,7 @@ <h2 id="webserver项目"><a href="#webserver项目" class="headerlink" title="we

<div class="copyright">
&copy;
<span itemprop="copyrightYear">2023</span>
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
Expand Down
4 changes: 2 additions & 2 deletions 2023/03/10/lab/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">17</span>
<span class="site-state-item-count">19</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -320,7 +320,7 @@ <h2 id="配置编译环境"><a href="#配置编译环境" class="headerlink" tit

<div class="copyright">
&copy;
<span itemprop="copyrightYear">2023</span>
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
Expand Down
4 changes: 2 additions & 2 deletions 2023/03/12/webserver/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">17</span>
<span class="site-state-item-count">19</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -556,7 +556,7 @@ <h2 id="库CentOS与Ubuntu哪个更适合做服务器系统"><a href="#库CentOS

<div class="copyright">
&copy;
<span itemprop="copyrightYear">2023</span>
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
Expand Down
4 changes: 2 additions & 2 deletions 2023/04/11/Nginx/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">17</span>
<span class="site-state-item-count">19</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -329,7 +329,7 @@ <h2 id="编译Nginx源码"><a href="#编译Nginx源码" class="headerlink" title

<div class="copyright">
&copy;
<span itemprop="copyrightYear">2023</span>
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
Expand Down
4 changes: 2 additions & 2 deletions 2023/04/19/collection/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">17</span>
<span class="site-state-item-count">19</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -253,7 +253,7 @@ <h1 class="post-title" itemprop="name headline">

<div class="copyright">
&copy;
<span itemprop="copyrightYear">2023</span>
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
Expand Down
4 changes: 2 additions & 2 deletions 2023/04/24/Leetcode数组章节/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">17</span>
<span class="site-state-item-count">19</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -291,7 +291,7 @@ <h3 id="螺旋矩阵-II"><a href="#螺旋矩阵-II" class="headerlink" title="

<div class="copyright">
&copy;
<span itemprop="copyrightYear">2023</span>
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
Expand Down
4 changes: 2 additions & 2 deletions 2023/04/24/create_blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">17</span>
<span class="site-state-item-count">19</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -276,7 +276,7 @@ <h1 id="hexo-github部署个人博客"><a href="#hexo-github部署个人博客"

<div class="copyright">
&copy;
<span itemprop="copyrightYear">2023</span>
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
Expand Down
4 changes: 2 additions & 2 deletions 2023/04/24/hello-world/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">17</span>
<span class="site-state-item-count">19</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -252,7 +252,7 @@ <h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerl

<div class="copyright">
&copy;
<span itemprop="copyrightYear">2023</span>
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
Expand Down
4 changes: 2 additions & 2 deletions 2023/05/17/LeetCode链表章节/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">17</span>
<span class="site-state-item-count">19</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -232,7 +232,7 @@ <h1 class="post-title" itemprop="name headline">

<div class="copyright">
&copy;
<span itemprop="copyrightYear">2023</span>
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
Expand Down
47 changes: 40 additions & 7 deletions 2023/09/26/cs144/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,21 @@

<script class="next-config" data-name="main" type="application/json">{"hostname":"kevin346-sc.github.io","root":"/","images":"/images","scheme":"Muse","darkmode":false,"version":"8.15.1","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":{"enable":false,"style":null},"bookmark":{"enable":false,"color":"#222","save":"auto"},"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"stickytabs":false,"motion":{"enable":true,"async":false,"transition":{"menu_item":"fadeInDown","post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"}}</script><script src="/js/config.js"></script>

<meta name="description" content="c++">
<meta name="description" content="LAB0文档环境搭建选择 VirtualBox + CS144 Image + Xshell 远程连接 + vscode remote插件远程开发环境 安装好VirtualBox后,导入下载的实验虚拟电脑.ova文件,以cs144为账号和密码登录至虚拟机,首次登录需要修改密码 Xshell中建立以localhost为ip,2222为端口号的ssh连接,输入账号密码即可进行连接 在vscode中安装">
<meta property="og:type" content="article">
<meta property="og:title" content="cs144">
<meta property="og:url" content="https://kevin346-sc.github.io/2023/09/26/cs144/index.html">
<meta property="og:site_name" content="Serein’s Blog">
<meta property="og:description" content="c++">
<meta property="og:description" content="LAB0文档环境搭建选择 VirtualBox + CS144 Image + Xshell 远程连接 + vscode remote插件远程开发环境 安装好VirtualBox后,导入下载的实验虚拟电脑.ova文件,以cs144为账号和密码登录至虚拟机,首次登录需要修改密码 Xshell中建立以localhost为ip,2222为端口号的ssh连接,输入账号密码即可进行连接 在vscode中安装">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://raw.githubusercontent.com/kevin346-sc/figure/main/202309262117800.png">
<meta property="og:image" content="https://raw.githubusercontent.com/kevin346-sc/figure/main/202309262117167.png">
<meta property="og:image" content="https://raw.githubusercontent.com/kevin346-sc/figure/main/202309262117837.png">
<meta property="article:published_time" content="2023-09-26T07:10:29.000Z">
<meta property="article:modified_time" content="2023-09-26T07:10:29.546Z">
<meta property="article:modified_time" content="2023-10-18T01:43:38.520Z">
<meta property="article:author" content="Kevin Huang">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://raw.githubusercontent.com/kevin346-sc/figure/main/202309262117800.png">


<link rel="canonical" href="https://kevin346-sc.github.io/2023/09/26/cs144/">
Expand Down Expand Up @@ -91,7 +95,7 @@

<aside class="sidebar">

<div class="sidebar-inner sidebar-overview-active">
<div class="sidebar-inner sidebar-nav-active sidebar-toc-active">
<ul class="sidebar-nav">
<li class="sidebar-nav-toc">
文章目录
Expand All @@ -104,6 +108,7 @@
<div class="sidebar-panel-container">
<!--noindex-->
<div class="post-toc-wrap sidebar-panel">
<div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#LAB0%E6%96%87%E6%A1%A3"><span class="nav-number">1.</span> <span class="nav-text">LAB0文档</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA"><span class="nav-number">1.1.</span> <span class="nav-text">环境搭建</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%AE%9E%E9%AA%8CNetworking-by-hand"><span class="nav-number">1.2.</span> <span class="nav-text">实验Networking by hand</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#Fetch-a-Web-page"><span class="nav-number">1.2.1.</span> <span class="nav-text">Fetch a Web page</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#Send-yourself-an-email"><span class="nav-number">1.2.2.</span> <span class="nav-text">Send yourself an email</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#Listening-and-connecting"><span class="nav-number">1.2.3.</span> <span class="nav-text">Listening and connecting</span></a></li></ol></li></ol></li></ol></div>
</div>
<!--/noindex-->

Expand All @@ -116,7 +121,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">17</span>
<span class="site-state-item-count">19</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -179,6 +184,13 @@ <h1 class="post-title" itemprop="name headline">

<time title="创建时间:2023-09-26 15:10:29" itemprop="dateCreated datePublished" datetime="2023-09-26T15:10:29+08:00">2023-09-26</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2023-10-18 09:43:38" itemprop="dateModified" datetime="2023-10-18T09:43:38+08:00">2023-10-18</time>
</span>


</div>
Expand All @@ -190,7 +202,25 @@ <h1 class="post-title" itemprop="name headline">


<div class="post-body" itemprop="articleBody">

<h1 id="LAB0文档"><a href="#LAB0文档" class="headerlink" title="LAB0文档"></a>LAB0<a target="_blank" rel="noopener" href="https://cs144.github.io/assignments/check0.pdf">文档</a></h1><h2 id="环境搭建"><a href="#环境搭建" class="headerlink" title="环境搭建"></a>环境搭建</h2><p>选择 VirtualBox + <a target="_blank" rel="noopener" href="https://stanford.edu/class/cs144/vm_files/cs144-intel-2023.ova">CS144 Image</a> + Xshell 远程连接 + vscode remote插件远程开发环境</p>
<p>安装好VirtualBox后,导入下载的实验虚拟电脑.ova文件,以cs144为账号和密码登录至虚拟机,首次登录需要修改密码</p>
<p>Xshell中建立以localhost为ip,2222为端口号的ssh连接,输入账号密码即可进行连接</p>
<p>在vscode中安装remote explorer插件,如图打开config配置文件,</p>
<p><img src="https://raw.githubusercontent.com/kevin346-sc/figure/main/202309262117800.png"></p>
<p>写上ssh连接信息</p>
<p><img src="https://raw.githubusercontent.com/kevin346-sc/figure/main/202309262117167.png"></p>
<p>或者点击加号新建一个ssh连接,并输入命令行</p>
<p><img src="https://raw.githubusercontent.com/kevin346-sc/figure/main/202309262117837.png"></p>
<p>还可以在虚拟机中添加本地电脑的ssh公钥,从而实现免密码的登录</p>
<h2 id="实验Networking-by-hand"><a href="#实验Networking-by-hand" class="headerlink" title="实验Networking by hand"></a>实验Networking by hand</h2><h3 id="Fetch-a-Web-page"><a href="#Fetch-a-Web-page" class="headerlink" title="Fetch a Web page"></a>Fetch a Web page</h3><p>访问<a target="_blank" rel="noopener" href="http://cs144.keithw.org/hello">网页</a>并获取结果</p>
<p>依次输入<code>telnet cs144.keithw.org http</code> 表明telnet程序通过http服务访问</p>
<p><code>GET /hello HTTP/1.1</code> 表明GET方法获取URL下的路径</p>
<p><code>Host: cs144.keithw/org</code> 表明URL中的主机名</p>
<p><code>Connection: close</code> 表明在服务器完成响应后关闭连接</p>
<p>需要在较短时间内完成命令输入,否则会出现408超时</p>
<h3 id="Send-yourself-an-email"><a href="#Send-yourself-an-email" class="headerlink" title="Send yourself an email"></a>Send yourself an email</h3><p>使用telnet还可以指定让telnet程序通过smtp进行邮件发送</p>
<h3 id="Listening-and-connecting"><a href="#Listening-and-connecting" class="headerlink" title="Listening and connecting"></a>Listening and connecting</h3><p><code>netcat -v -l -p 9090</code>即可以对端口9090进行监听,开启另一个终端输入<code>telnet localhost 9090</code>对9090端口进行访问,此时可以在两个终端上互相发送消息并立即显示到另一个终端上</p>

</div>


Expand All @@ -208,6 +238,9 @@ <h1 class="post-title" itemprop="name headline">
</a>
</div>
<div class="post-nav-item">
<a href="/2023/11/19/template/" rel="next" title="template">
template <i class="fa fa-chevron-right"></i>
</a>
</div>
</div>
</footer>
Expand All @@ -228,7 +261,7 @@ <h1 class="post-title" itemprop="name headline">

<div class="copyright">
&copy;
<span itemprop="copyrightYear">2023</span>
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
Expand Down
Loading

0 comments on commit f242db7

Please sign in to comment.