Skip to content

Commit

Permalink
deploy: 36a58ac
Browse files Browse the repository at this point in the history
  • Loading branch information
moralok committed Jan 24, 2024
1 parent a55a96b commit 8efa288
Show file tree
Hide file tree
Showing 112 changed files with 3,275 additions and 2,584 deletions.
386 changes: 386 additions & 0 deletions 2020/08/18/install-Docker/index.html

Large diffs are not rendered by default.

13 changes: 8 additions & 5 deletions 2020/08/19/docker-frequently-used-commands/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 7.1.0">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 7.1.1">

<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
Expand All @@ -27,7 +27,7 @@
<meta property="og:description" content="根据个人使用经验从 Docker 官方命令行参考中选取常用的命令作为备忘清单。">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2020-08-19T14:33:24.000Z">
<meta property="article:modified_time" content="2024-01-21T15:17:25.040Z">
<meta property="article:modified_time" content="2024-01-24T18:10:58.027Z">
<meta property="article:author" content="Moralok">
<meta property="article:tag" content="docker">
<meta name="twitter:card" content="summary">
Expand Down Expand Up @@ -155,7 +155,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">45</span>
<span class="site-state-item-count">46</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -229,7 +229,7 @@ <h1 class="post-title" itemprop="name headline">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2024-01-21 23:17:25" itemprop="dateModified" datetime="2024-01-21T23:17:25+08:00">2024-01-21</time>
<time title="修改时间:2024-01-25 02:10:58" itemprop="dateModified" datetime="2024-01-25T02:10:58+08:00">2024-01-25</time>
</span>


Expand Down Expand Up @@ -527,6 +527,9 @@ <h2 id="参考链接"><a href="#参考链接" class="headerlink" title="参考

<div class="post-nav">
<div class="post-nav-item">
<a href="/2020/08/18/install-Docker/" rel="prev" title="安装 Docker">
<i class="fa fa-angle-left"></i> 安装 Docker
</a>
</div>
<div class="post-nav-item">
<a href="/2020/08/27/Linux-frequently-used-commands/" rel="next" title="Linux 常用命令和快捷键">
Expand Down Expand Up @@ -568,7 +571,7 @@ <h2 id="参考链接"><a href="#参考链接" class="headerlink" title="参考
<span class="post-meta-item-icon">
<i class="fa fa-coffee"></i>
</span>
<span title="站点阅读时长">6:39</span>
<span title="站点阅读时长">6:40</span>
</span>
</div>
<div class="powered-by"><a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
Expand Down
62 changes: 53 additions & 9 deletions 2020/08/27/Linux-frequently-used-commands/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 7.1.0">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 7.1.1">

<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
Expand All @@ -27,7 +27,7 @@
<meta property="og:description" content="根据个人使用经验记录常用的 Linux 命令作为备忘清单。">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2020-08-27T04:35:32.000Z">
<meta property="article:modified_time" content="2024-01-21T15:17:25.040Z">
<meta property="article:modified_time" content="2024-01-24T18:10:58.027Z">
<meta property="article:author" content="Moralok">
<meta property="article:tag" content="linux">
<meta name="twitter:card" content="summary">
Expand Down Expand Up @@ -155,7 +155,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">45</span>
<span class="site-state-item-count">46</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -229,7 +229,7 @@ <h1 class="post-title" itemprop="name headline">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2024-01-21 23:17:25" itemprop="dateModified" datetime="2024-01-21T23:17:25+08:00">2024-01-21</time>
<time title="修改时间:2024-01-25 02:10:58" itemprop="dateModified" datetime="2024-01-25T02:10:58+08:00">2024-01-25</time>
</span>


Expand All @@ -246,14 +246,14 @@ <h1 class="post-title" itemprop="name headline">
<i class="far fa-file-word"></i>
</span>
<span class="post-meta-item-text">本文字数:</span>
<span>976</span>
<span>1.1k</span>
</span>
<span class="post-meta-item" title="阅读时长">
<span class="post-meta-item-icon">
<i class="far fa-clock"></i>
</span>
<span class="post-meta-item-text">阅读时长 &asymp;</span>
<span>3 分钟</span>
<span>4 分钟</span>
</span>
</div>

Expand Down Expand Up @@ -337,7 +337,7 @@ <h2 id="文件相关"><a href="#文件相关" class="headerlink" title="文件
<td>move,重命名或移动文件</td>
</tr>
<tr>
<td><code>rm</code></td>
<td><code>rm</code> </br> <code>rm -rf /usr/local/go</code>(卸载go)</td>
<td>remove,删除文件</td>
</tr>
<tr>
Expand Down Expand Up @@ -388,14 +388,30 @@ <h2 id="用户"><a href="#用户" class="headerlink" title="用户"></a>用户</
<td>switch user,切换用户</td>
</tr>
<tr>
<td><code>adduser username</code>(交互式,便捷) </br> <code>useradd username</code></td>
<td><code>adduser username sudo</code>(交互式,便捷) </br> <code>useradd username</code></td>
<td>新增用户</td>
</tr>
<tr>
<td><code>passwd username</code></td>
<td>修改密码</td>
</tr>
<tr>
<td><code>groups username</code></td>
<td>查看用户所属的群组</td>
</tr>
<tr>
<td><code>groupadd docker</code></td>
<td>添加群组</td>
</tr>
<tr>
<td><code>usermod -aG docker $USER</code></td>
<td>将当前用户添加到群组</td>
</tr>
<tr>
<td><code>newgrp docker</code></td>
<td>切换群组登录</td>
</tr>
<tr>
<td><code>cat /etc/passwd</code></td>
<td>查看UID和账号的对应关系</td>
</tr>
Expand All @@ -407,6 +423,10 @@ <h2 id="用户"><a href="#用户" class="headerlink" title="用户"></a>用户</
<td><code>cat /etc/shadow</code></td>
<td>查看账号和密码的对应关系</td>
</tr>
<tr>
<td><code>cat /etc/ssh/sshd_config</code></td>
<td>查看sshd配置</td>
</tr>
</tbody></table>
<h2 id="排查问题"><a href="#排查问题" class="headerlink" title="排查问题"></a>排查问题</h2><table>
<thead>
Expand Down Expand Up @@ -452,6 +472,30 @@ <h2 id="排查问题"><a href="#排查问题" class="headerlink" title="排查
<td>显示用户最近登录信息</td>
</tr>
</tbody></table>
<table>
<thead>
<tr>
<th>命令</th>
<th>描述</th>
</tr>
</thead>
<tbody><tr>
<td><code>vim /etc/profile</code></td>
<td>修改系统范围的配置</td>
</tr>
<tr>
<td><code>vim $HOME/.bashrc</code></td>
<td>修改用户范围的配置</td>
</tr>
<tr>
<td><code>source /etc/profile</code></td>
<td>重新加载配置文件</td>
</tr>
<tr>
<td><code>export PATH=$PATH:/usr/local/go/bin</code></td>
<td>导出变量</td>
</tr>
</tbody></table>
<h2 id="数据流重定向"><a href="#数据流重定向" class="headerlink" title="数据流重定向"></a>数据流重定向</h2><blockquote>
<p>标准输入(<code>stdin</code>):代码为 <code>0</code>,使用 <code>&lt;</code><code>&lt;&lt;</code>;标准输出(<code>stdout</code>):代码为 <code>1</code>,使用 <code>&gt;</code><code>&gt;&gt;</code>;标准错误输出(<code>stderr</code>):代码为 <code>2</code>,使用 <code>2&gt;</code><code>2&gt;&gt;</code><br><code>&gt;</code> 覆盖写;<code>&gt;&gt;</code> 追加写。</p>
</blockquote>
Expand Down Expand Up @@ -687,7 +731,7 @@ <h2 id="快捷键"><a href="#快捷键" class="headerlink" title="快捷键"></a
<span class="post-meta-item-icon">
<i class="fa fa-coffee"></i>
</span>
<span title="站点阅读时长">6:39</span>
<span title="站点阅读时长">6:40</span>
</span>
</div>
<div class="powered-by"><a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
Expand Down
10 changes: 5 additions & 5 deletions 2020/09/04/MySQL-frequently-used-commands/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 7.1.0">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 7.1.1">

<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
Expand All @@ -27,7 +27,7 @@
<meta property="og:description" content="根据个人使用经验记录常用的 MySQL 命令作为备忘清单。">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2020-09-04T07:39:05.000Z">
<meta property="article:modified_time" content="2024-01-21T15:17:25.040Z">
<meta property="article:modified_time" content="2024-01-24T18:10:58.027Z">
<meta property="article:author" content="Moralok">
<meta property="article:tag" content="mysql">
<meta name="twitter:card" content="summary">
Expand Down Expand Up @@ -155,7 +155,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">45</span>
<span class="site-state-item-count">46</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -229,7 +229,7 @@ <h1 class="post-title" itemprop="name headline">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2024-01-21 23:17:25" itemprop="dateModified" datetime="2024-01-21T23:17:25+08:00">2024-01-21</time>
<time title="修改时间:2024-01-25 02:10:58" itemprop="dateModified" datetime="2024-01-25T02:10:58+08:00">2024-01-25</time>
</span>


Expand Down Expand Up @@ -542,7 +542,7 @@ <h2 id="变量"><a href="#变量" class="headerlink" title="变量"></a>变量</
<span class="post-meta-item-icon">
<i class="fa fa-coffee"></i>
</span>
<span title="站点阅读时长">6:39</span>
<span title="站点阅读时长">6:40</span>
</span>
</div>
<div class="powered-by"><a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
Expand Down
10 changes: 5 additions & 5 deletions 2023/05/27/how-to-install-clash-on-ubuntu/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 7.1.0">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 7.1.1">

<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
Expand All @@ -27,7 +27,7 @@
<meta property="og:description" content="安装 Clash从 GitHub 下载预构建的二进制文件。 1:&#x2F;mnt&#x2F;hgfs&#x2F;share$ wget https:&#x2F;&#x2F;github.com&#x2F;Dreamacro&#x2F;clash&#x2F;releases&#x2F;download&#x2F;v1.16.0&#x2F;clash-linux-amd64-v1.16.0.gz 使用 gzip 解压压缩包 clash-linux-amd64-v1.16.0.gz 得到 clash-lin">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-05-27T08:07:01.000Z">
<meta property="article:modified_time" content="2024-01-21T15:17:25.040Z">
<meta property="article:modified_time" content="2024-01-24T18:10:58.027Z">
<meta property="article:author" content="Moralok">
<meta property="article:tag" content="clash">
<meta property="article:tag" content="proxy">
Expand Down Expand Up @@ -156,7 +156,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">45</span>
<span class="site-state-item-count">46</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">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2024-01-21 23:17:25" itemprop="dateModified" datetime="2024-01-21T23:17:25+08:00">2024-01-21</time>
<time title="修改时间:2024-01-25 02:10:58" itemprop="dateModified" datetime="2024-01-25T02:10:58+08:00">2024-01-25</time>
</span>


Expand Down Expand Up @@ -361,7 +361,7 @@ <h2 id="设置-Clash-为后台服务"><a href="#设置-Clash-为后台服务" cl
<span class="post-meta-item-icon">
<i class="fa fa-coffee"></i>
</span>
<span title="站点阅读时长">6:39</span>
<span title="站点阅读时长">6:40</span>
</span>
</div>
<div class="powered-by"><a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 7.1.0">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 7.1.1">

<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
Expand All @@ -27,7 +27,7 @@
<meta property="og:description" content="安装 OpenVPN ConnectmacOS 访问官网下载。iOS 访问 AppStore,需要登录外区 Apple ID。 配置 OpenVPN Connect客户端提供了两种方式导入配置文件,一是通过 URL,建议 URL 仅限在私有网络内访问,二是通过其他方式例如邮件,下载为本地文件再导入。 配置文件的组织方式又分为两种形式,一种是将 CA 根证书 ca.crt,客户端证书 client.">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-06-07T09:04:23.000Z">
<meta property="article:modified_time" content="2024-01-21T15:17:25.040Z">
<meta property="article:modified_time" content="2024-01-24T18:10:58.027Z">
<meta property="article:author" content="Moralok">
<meta property="article:tag" content="openvpn">
<meta name="twitter:card" content="summary">
Expand Down Expand Up @@ -155,7 +155,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">45</span>
<span class="site-state-item-count">46</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -229,7 +229,7 @@ <h1 class="post-title" itemprop="name headline">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2024-01-21 23:17:25" itemprop="dateModified" datetime="2024-01-21T23:17:25+08:00">2024-01-21</time>
<time title="修改时间:2024-01-25 02:10:58" itemprop="dateModified" datetime="2024-01-25T02:10:58+08:00">2024-01-25</time>
</span>


Expand Down Expand Up @@ -342,7 +342,7 @@ <h2 id="参考链接"><a href="#参考链接" class="headerlink" title="参考
<span class="post-meta-item-icon">
<i class="fa fa-coffee"></i>
</span>
<span title="站点阅读时长">6:39</span>
<span title="站点阅读时长">6:40</span>
</span>
</div>
<div class="powered-by"><a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
Expand Down
10 changes: 5 additions & 5 deletions 2023/06/07/how-to-setup-OpenVPN-server-on-windows-10/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 7.1.0">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 7.1.1">

<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
Expand All @@ -27,7 +27,7 @@
<meta property="og:description" content="安装 OpenVPN server从 OpenVPN 社区 下载 Windows 64-bit MSI installer。本次安装的版本为 OpenVPN 2.6.4。 注意事项:在选择安装类型时选择 Customize 而不要选择 Install Now。额外勾选 OpenVPN -&gt; OpenVPN Service -&gt; Entire feature will be insta">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-06-07T07:18:02.000Z">
<meta property="article:modified_time" content="2024-01-21T15:17:25.040Z">
<meta property="article:modified_time" content="2024-01-24T18:10:58.027Z">
<meta property="article:author" content="Moralok">
<meta property="article:tag" content="openvpn">
<meta name="twitter:card" content="summary">
Expand Down Expand Up @@ -155,7 +155,7 @@
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">45</span>
<span class="site-state-item-count">46</span>
<span class="site-state-item-name">日志</span>
</a>
</div>
Expand Down Expand Up @@ -229,7 +229,7 @@ <h1 class="post-title" itemprop="name headline">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">更新于</span>
<time title="修改时间:2024-01-21 23:17:25" itemprop="dateModified" datetime="2024-01-21T23:17:25+08:00">2024-01-21</time>
<time title="修改时间:2024-01-25 02:10:58" itemprop="dateModified" datetime="2024-01-25T02:10:58+08:00">2024-01-25</time>
</span>


Expand Down Expand Up @@ -347,7 +347,7 @@ <h2 id="参考链接"><a href="#参考链接" class="headerlink" title="参考
<span class="post-meta-item-icon">
<i class="fa fa-coffee"></i>
</span>
<span title="站点阅读时长">6:39</span>
<span title="站点阅读时长">6:40</span>
</span>
</div>
<div class="powered-by"><a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
Expand Down
Loading

0 comments on commit 8efa288

Please sign in to comment.