Browse Source

Site updated: 2020-03-21 16:19:16

master
nicksxs 5 years ago
parent
commit
d5493897c9
29 changed files with 203 additions and 204 deletions
  1. +3
    -3
      2014/12/24/MFC 模态对话框/index.html
  2. +1
    -1
      2014/12/30/Clone-Graph-Part-I/index.html
  3. +3
    -3
      2015/01/04/Path-Sum/index.html
  4. +2
    -2
      2015/01/14/Two-Sum/index.html
  5. +4
    -4
      2015/01/16/pcre-intro-and-a-simple-package/index.html
  6. +2
    -2
      2015/03/11/Number-Of-1-Bits/index.html
  7. +3
    -3
      2015/03/11/Reverse-Bits/index.html
  8. +3
    -3
      2015/03/13/Reverse-Integer/index.html
  9. +3
    -3
      2015/04/14/Add-Two-Number/index.html
  10. +4
    -4
      2015/04/15/Leetcode-No-3/index.html
  11. +3
    -3
      2015/06/22/invert-binary-tree/index.html
  12. +3
    -3
      2016/08/14/34-Search-for-a-Range/index.html
  13. +3
    -3
      2016/09/29/binary-watch/index.html
  14. +3
    -3
      2016/10/11/minimum-size-subarray-sum-209/index.html
  15. +3
    -3
      2016/10/12/summary-ranges-228/index.html
  16. +2
    -2
      2017/04/25/rabbitmq-tips/index.html
  17. +10
    -10
      2019/12/26/redis数据结构介绍/index.html
  18. +10
    -10
      2020/01/04/redis数据结构介绍二/index.html
  19. +10
    -10
      2020/01/10/redis数据结构介绍三/index.html
  20. +10
    -10
      2020/01/19/redis数据结构介绍四/index.html
  21. +10
    -10
      2020/01/20/redis数据结构介绍五/index.html
  22. +10
    -10
      2020/01/22/redis数据结构介绍六/index.html
  23. +6
    -6
      2020/03/21/docker比一般多一点的初学者介绍三/index.html
  24. +27
    -28
      atom.xml
  25. +6
    -6
      baidusitemap.xml
  26. +1
    -1
      css/main.css
  27. +19
    -19
      index.html
  28. +32
    -32
      page/2/index.html
  29. +7
    -7
      sitemap.xml

+ 3
- 3
2014/12/24/MFC 模态对话框/index.html View File

@ -308,16 +308,16 @@
<div class="popular-posts-title"><a href="/2015/01/16/pcre-intro-and-a-simple-package/" rel="bookmark">pcre-intro-and-a-simple-package</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/09/29/binary-watch/" rel="bookmark">binary-watch</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Reverse-Bits/" rel="bookmark">Reverse Bits</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/04/15/Leetcode-No-3/" rel="bookmark">leetcode no.3</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/04/Path-Sum/" rel="bookmark">Path Sum</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/03/13/Reverse-Integer/" rel="bookmark">Reverse Integer</a></div>
<div class="popular-posts-title"><a href="/2015/01/04/Path-Sum/" rel="bookmark">Path Sum</a></div>
</li>
</ul>


+ 1
- 1
2014/12/30/Clone-Graph-Part-I/index.html View File

@ -307,7 +307,7 @@
<div class="popular-posts-header">Related Posts</div>
<ul class="popular-posts">
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/03/11/Reverse-Bits/" rel="bookmark">Reverse Bits</a></div>
<div class="popular-posts-title"><a href="/2015/03/13/Reverse-Integer/" rel="bookmark">Reverse Integer</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2020/02/09/G1收集器概述/" rel="bookmark">G1收集器概述</a></div>


+ 3
- 3
2015/01/04/Path-Sum/index.html View File

@ -309,19 +309,19 @@
<div class="popular-posts-header">Related Posts</div>
<ul class="popular-posts">
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
<div class="popular-posts-title"><a href="/2015/01/14/Two-Sum/" rel="bookmark">two sum</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/08/14/34-Search-for-a-Range/" rel="bookmark">34_Search_for_a_Range</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/14/Two-Sum/" rel="bookmark">two sum</a></div>
<div class="popular-posts-title"><a href="/2016/10/12/summary-ranges-228/" rel="bookmark">summary-ranges-228</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/04/15/Leetcode-No-3/" rel="bookmark">leetcode no.3</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/03/13/Reverse-Integer/" rel="bookmark">Reverse Integer</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
</li>
</ul>


+ 2
- 2
2015/01/14/Two-Sum/index.html View File

@ -310,7 +310,7 @@
<div class="popular-posts-header">Related Posts</div>
<ul class="popular-posts">
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/09/29/binary-watch/" rel="bookmark">binary-watch</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Reverse-Bits/" rel="bookmark">Reverse Bits</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/08/14/34-Search-for-a-Range/" rel="bookmark">34_Search_for_a_Range</a></div>
@ -322,7 +322,7 @@
<div class="popular-posts-title"><a href="/2015/04/15/Leetcode-No-3/" rel="bookmark">leetcode no.3</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/04/Path-Sum/" rel="bookmark">Path Sum</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
</li>
</ul>


+ 4
- 4
2015/01/16/pcre-intro-and-a-simple-package/index.html View File

@ -325,16 +325,16 @@
<div class="popular-posts-title"><a href="/2014/12/24/MFC 模态对话框/" rel="bookmark">MFC 模态对话框</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/03/11/Reverse-Bits/" rel="bookmark">Reverse Bits</a></div>
<div class="popular-posts-title"><a href="/2015/03/13/Reverse-Integer/" rel="bookmark">Reverse Integer</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/08/14/34-Search-for-a-Range/" rel="bookmark">34_Search_for_a_Range</a></div>
<div class="popular-posts-title"><a href="/2015/04/15/Leetcode-No-3/" rel="bookmark">leetcode no.3</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/04/15/Leetcode-No-3/" rel="bookmark">leetcode no.3</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/04/Path-Sum/" rel="bookmark">Path Sum</a></div>
<div class="popular-posts-title"><a href="/2016/08/14/34-Search-for-a-Range/" rel="bookmark">34_Search_for_a_Range</a></div>
</li>
</ul>


+ 2
- 2
2015/03/11/Number-Of-1-Bits/index.html View File

@ -306,13 +306,13 @@
<div class="popular-posts-header">Related Posts</div>
<ul class="popular-posts">
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/09/29/binary-watch/" rel="bookmark">binary-watch</a></div>
<div class="popular-posts-title"><a href="/2015/01/14/Two-Sum/" rel="bookmark">two sum</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/08/14/34-Search-for-a-Range/" rel="bookmark">34_Search_for_a_Range</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/14/Two-Sum/" rel="bookmark">two sum</a></div>
<div class="popular-posts-title"><a href="/2016/10/12/summary-ranges-228/" rel="bookmark">summary-ranges-228</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/04/15/Leetcode-No-3/" rel="bookmark">leetcode no.3</a></div>


+ 3
- 3
2015/03/11/Reverse-Bits/index.html View File

@ -307,19 +307,19 @@
<div class="popular-posts-header">Related Posts</div>
<ul class="popular-posts">
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
<div class="popular-posts-title"><a href="/2015/01/14/Two-Sum/" rel="bookmark">two sum</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/08/14/34-Search-for-a-Range/" rel="bookmark">34_Search_for_a_Range</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/14/Two-Sum/" rel="bookmark">two sum</a></div>
<div class="popular-posts-title"><a href="/2016/10/12/summary-ranges-228/" rel="bookmark">summary-ranges-228</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/04/15/Leetcode-No-3/" rel="bookmark">leetcode no.3</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/04/Path-Sum/" rel="bookmark">Path Sum</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
</li>
</ul>


+ 3
- 3
2015/03/13/Reverse-Integer/index.html View File

@ -310,19 +310,19 @@
<div class="popular-posts-header">Related Posts</div>
<ul class="popular-posts">
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
<div class="popular-posts-title"><a href="/2015/01/14/Two-Sum/" rel="bookmark">two sum</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/08/14/34-Search-for-a-Range/" rel="bookmark">34_Search_for_a_Range</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/14/Two-Sum/" rel="bookmark">two sum</a></div>
<div class="popular-posts-title"><a href="/2016/10/12/summary-ranges-228/" rel="bookmark">summary-ranges-228</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/04/15/Leetcode-No-3/" rel="bookmark">leetcode no.3</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/04/Path-Sum/" rel="bookmark">Path Sum</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
</li>
</ul>


+ 3
- 3
2015/04/14/Add-Two-Number/index.html View File

@ -310,7 +310,7 @@
<div class="popular-posts-header">Related Posts</div>
<ul class="popular-posts">
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
<div class="popular-posts-title"><a href="/2015/01/14/Two-Sum/" rel="bookmark">two sum</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/08/14/34-Search-for-a-Range/" rel="bookmark">34_Search_for_a_Range</a></div>
@ -319,10 +319,10 @@
<div class="popular-posts-title"><a href="/2015/04/15/Leetcode-No-3/" rel="bookmark">leetcode no.3</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/04/Path-Sum/" rel="bookmark">Path Sum</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/03/13/Reverse-Integer/" rel="bookmark">Reverse Integer</a></div>
<div class="popular-posts-title"><a href="/2015/01/04/Path-Sum/" rel="bookmark">Path Sum</a></div>
</li>
</ul>


+ 4
- 4
2015/04/15/Leetcode-No-3/index.html View File

@ -307,19 +307,19 @@
<div class="popular-posts-header">Related Posts</div>
<ul class="popular-posts">
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
<div class="popular-posts-title"><a href="/2015/01/14/Two-Sum/" rel="bookmark">two sum</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/08/14/34-Search-for-a-Range/" rel="bookmark">34_Search_for_a_Range</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/14/Two-Sum/" rel="bookmark">two sum</a></div>
<div class="popular-posts-title"><a href="/2016/10/12/summary-ranges-228/" rel="bookmark">summary-ranges-228</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/04/Path-Sum/" rel="bookmark">Path Sum</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/03/13/Reverse-Integer/" rel="bookmark">Reverse Integer</a></div>
<div class="popular-posts-title"><a href="/2015/01/04/Path-Sum/" rel="bookmark">Path Sum</a></div>
</li>
</ul>


+ 3
- 3
2015/06/22/invert-binary-tree/index.html View File

@ -316,19 +316,19 @@
<div class="popular-posts-header">Related Posts</div>
<ul class="popular-posts">
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/09/29/binary-watch/" rel="bookmark">binary-watch</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Reverse-Bits/" rel="bookmark">Reverse Bits</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/08/14/34-Search-for-a-Range/" rel="bookmark">34_Search_for_a_Range</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/14/Two-Sum/" rel="bookmark">two sum</a></div>
<div class="popular-posts-title"><a href="/2016/10/12/summary-ranges-228/" rel="bookmark">summary-ranges-228</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/04/15/Leetcode-No-3/" rel="bookmark">leetcode no.3</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/04/Path-Sum/" rel="bookmark">Path Sum</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
</li>
</ul>


+ 3
- 3
2016/08/14/34-Search-for-a-Range/index.html View File

@ -308,7 +308,7 @@
<div class="popular-posts-header">Related Posts</div>
<ul class="popular-posts">
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
<div class="popular-posts-title"><a href="/2015/01/14/Two-Sum/" rel="bookmark">two sum</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/04/14/Add-Two-Number/" rel="bookmark">add-two-number</a></div>
@ -317,10 +317,10 @@
<div class="popular-posts-title"><a href="/2015/04/15/Leetcode-No-3/" rel="bookmark">leetcode no.3</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/04/Path-Sum/" rel="bookmark">Path Sum</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/03/13/Reverse-Integer/" rel="bookmark">Reverse Integer</a></div>
<div class="popular-posts-title"><a href="/2015/01/04/Path-Sum/" rel="bookmark">Path Sum</a></div>
</li>
</ul>


+ 3
- 3
2016/09/29/binary-watch/index.html View File

@ -316,19 +316,19 @@
<div class="popular-posts-header">Related Posts</div>
<ul class="popular-posts">
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Reverse-Bits/" rel="bookmark">Reverse Bits</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/08/14/34-Search-for-a-Range/" rel="bookmark">34_Search_for_a_Range</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/14/Two-Sum/" rel="bookmark">two sum</a></div>
<div class="popular-posts-title"><a href="/2016/10/12/summary-ranges-228/" rel="bookmark">summary-ranges-228</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/04/15/Leetcode-No-3/" rel="bookmark">leetcode no.3</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/04/Path-Sum/" rel="bookmark">Path Sum</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
</li>
</ul>


+ 3
- 3
2016/10/11/minimum-size-subarray-sum-209/index.html View File

@ -306,19 +306,19 @@
<div class="popular-posts-header">Related Posts</div>
<ul class="popular-posts">
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/09/29/binary-watch/" rel="bookmark">binary-watch</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Reverse-Bits/" rel="bookmark">Reverse Bits</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/08/14/34-Search-for-a-Range/" rel="bookmark">34_Search_for_a_Range</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/14/Two-Sum/" rel="bookmark">two sum</a></div>
<div class="popular-posts-title"><a href="/2016/10/12/summary-ranges-228/" rel="bookmark">summary-ranges-228</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/04/15/Leetcode-No-3/" rel="bookmark">leetcode no.3</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/04/Path-Sum/" rel="bookmark">Path Sum</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
</li>
</ul>


+ 3
- 3
2016/10/12/summary-ranges-228/index.html View File

@ -305,19 +305,19 @@
<div class="popular-posts-header">Related Posts</div>
<ul class="popular-posts">
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/09/29/binary-watch/" rel="bookmark">binary-watch</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Reverse-Bits/" rel="bookmark">Reverse Bits</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2016/08/14/34-Search-for-a-Range/" rel="bookmark">34_Search_for_a_Range</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/14/Two-Sum/" rel="bookmark">two sum</a></div>
<div class="popular-posts-title"><a href="/2016/10/11/minimum-size-subarray-sum-209/" rel="bookmark">minimum-size-subarray-sum-209</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/04/15/Leetcode-No-3/" rel="bookmark">leetcode no.3</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2015/01/04/Path-Sum/" rel="bookmark">Path Sum</a></div>
<div class="popular-posts-title"><a href="/2015/03/11/Number-Of-1-Bits/" rel="bookmark">Number of 1 Bits</a></div>
</li>
</ul>


+ 2
- 2
2017/04/25/rabbitmq-tips/index.html View File

@ -61,8 +61,8 @@
<meta property="article:published_time" content="2017-04-25T13:46:55.000Z">
<meta property="article:modified_time" content="2020-01-12T13:08:26.993Z">
<meta property="article:author" content="Nicksxs">
<meta property="article:tag" content="mq">
<meta property="article:tag" content="php">
<meta property="article:tag" content="mq">
<meta property="article:tag" content="im">
<meta name="twitter:card" content="summary">
@ -356,8 +356,8 @@
<footer class="post-footer">
<div class="post-tags">
<a href="/tags/mq/" rel="tag"># mq</a>
<a href="/tags/php/" rel="tag"># php</a>
<a href="/tags/mq/" rel="tag"># mq</a>
<a href="/tags/im/" rel="tag"># im</a>
</div>


+ 10
- 10
2019/12/26/redis数据结构介绍/index.html View File

@ -277,26 +277,26 @@
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
</a>
</span>
</span>
@ -352,10 +352,10 @@
<div class="popular-posts-title"><a href="/2020/01/04/redis数据结构介绍二/" rel="bookmark">redis数据结构介绍二-第二部分 跳表</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2020/01/19/redis数据结构介绍四/" rel="bookmark">redis数据结构介绍四-第四部分 压缩表</a></div>
<div class="popular-posts-title"><a href="/2020/01/20/redis数据结构介绍五/" rel="bookmark">redis数据结构介绍五-第五部分 对象</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2020/01/20/redis数据结构介绍五/" rel="bookmark">redis数据结构介绍五-第五部分 对象</a></div>
<div class="popular-posts-title"><a href="/2020/01/19/redis数据结构介绍四/" rel="bookmark">redis数据结构介绍四-第四部分 压缩表</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2020/01/22/redis数据结构介绍六/" rel="bookmark">redis数据结构介绍六 快表</a></div>


+ 10
- 10
2020/01/04/redis数据结构介绍二/index.html View File

@ -276,26 +276,26 @@
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
</a>
</span>
</span>
@ -343,13 +343,13 @@
<div class="popular-posts-title"><a href="/2020/01/10/redis数据结构介绍三/" rel="bookmark">redis数据结构介绍三-第三部分 整数集合</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2020/01/19/redis数据结构介绍四/" rel="bookmark">redis数据结构介绍四-第四部分 压缩表</a></div>
<div class="popular-posts-title"><a href="/2019/12/26/redis数据结构介绍/" rel="bookmark">redis数据结构介绍-第一部分 SDS,链表,字典</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2020/01/20/redis数据结构介绍五/" rel="bookmark">redis数据结构介绍五-第五部分 对象</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2019/12/26/redis数据结构介绍/" rel="bookmark">redis数据结构介绍-第一部分 SDS,链表,字典</a></div>
<div class="popular-posts-title"><a href="/2020/01/19/redis数据结构介绍四/" rel="bookmark">redis数据结构介绍四-第四部分 压缩表</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2020/01/22/redis数据结构介绍六/" rel="bookmark">redis数据结构介绍六 快表</a></div>


+ 10
- 10
2020/01/10/redis数据结构介绍三/index.html View File

@ -274,26 +274,26 @@
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
</a>
</span>
</span>
@ -344,13 +344,13 @@
<div class="popular-posts-title"><a href="/2020/01/04/redis数据结构介绍二/" rel="bookmark">redis数据结构介绍二-第二部分 跳表</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2020/01/19/redis数据结构介绍四/" rel="bookmark">redis数据结构介绍四-第四部分 压缩表</a></div>
<div class="popular-posts-title"><a href="/2019/12/26/redis数据结构介绍/" rel="bookmark">redis数据结构介绍-第一部分 SDS,链表,字典</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2020/01/20/redis数据结构介绍五/" rel="bookmark">redis数据结构介绍五-第五部分 对象</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2019/12/26/redis数据结构介绍/" rel="bookmark">redis数据结构介绍-第一部分 SDS,链表,字典</a></div>
<div class="popular-posts-title"><a href="/2020/01/19/redis数据结构介绍四/" rel="bookmark">redis数据结构介绍四-第四部分 压缩表</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2020/01/22/redis数据结构介绍六/" rel="bookmark">redis数据结构介绍六 快表</a></div>


+ 10
- 10
2020/01/19/redis数据结构介绍四/index.html View File

@ -265,26 +265,26 @@
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
</a>
</span>
</span>
@ -342,10 +342,10 @@
<div class="popular-posts-title"><a href="/2020/01/04/redis数据结构介绍二/" rel="bookmark">redis数据结构介绍二-第二部分 跳表</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2020/01/20/redis数据结构介绍五/" rel="bookmark">redis数据结构介绍五-第五部分 对象</a></div>
<div class="popular-posts-title"><a href="/2019/12/26/redis数据结构介绍/" rel="bookmark">redis数据结构介绍-第一部分 SDS,链表,字典</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2019/12/26/redis数据结构介绍/" rel="bookmark">redis数据结构介绍-第一部分 SDS,链表,字典</a></div>
<div class="popular-posts-title"><a href="/2020/01/20/redis数据结构介绍五/" rel="bookmark">redis数据结构介绍五-第五部分 对象</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2020/01/22/redis数据结构介绍六/" rel="bookmark">redis数据结构介绍六 快表</a></div>


+ 10
- 10
2020/01/20/redis数据结构介绍五/index.html View File

@ -265,26 +265,26 @@
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
</a>
</span>
</span>
@ -340,10 +340,10 @@
<div class="popular-posts-title"><a href="/2020/01/04/redis数据结构介绍二/" rel="bookmark">redis数据结构介绍二-第二部分 跳表</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2020/01/19/redis数据结构介绍四/" rel="bookmark">redis数据结构介绍四-第四部分 压缩表</a></div>
<div class="popular-posts-title"><a href="/2019/12/26/redis数据结构介绍/" rel="bookmark">redis数据结构介绍-第一部分 SDS,链表,字典</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2019/12/26/redis数据结构介绍/" rel="bookmark">redis数据结构介绍-第一部分 SDS,链表,字典</a></div>
<div class="popular-posts-title"><a href="/2020/01/19/redis数据结构介绍四/" rel="bookmark">redis数据结构介绍四-第四部分 压缩表</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2020/01/22/redis数据结构介绍六/" rel="bookmark">redis数据结构介绍六 快表</a></div>


+ 10
- 10
2020/01/22/redis数据结构介绍六/index.html View File

@ -272,26 +272,26 @@
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
</a>
</span>
</span>
@ -361,13 +361,13 @@
<div class="popular-posts-title"><a href="/2020/01/04/redis数据结构介绍二/" rel="bookmark">redis数据结构介绍二-第二部分 跳表</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2020/01/19/redis数据结构介绍四/" rel="bookmark">redis数据结构介绍四-第四部分 压缩表</a></div>
<div class="popular-posts-title"><a href="/2019/12/26/redis数据结构介绍/" rel="bookmark">redis数据结构介绍-第一部分 SDS,链表,字典</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2020/01/20/redis数据结构介绍五/" rel="bookmark">redis数据结构介绍五-第五部分 对象</a></div>
</li>
<li class="popular-posts-item">
<div class="popular-posts-title"><a href="/2019/12/26/redis数据结构介绍/" rel="bookmark">redis数据结构介绍-第一部分 SDS,链表,字典</a></div>
<div class="popular-posts-title"><a href="/2020/01/19/redis数据结构介绍四/" rel="bookmark">redis数据结构介绍四-第四部分 压缩表</a></div>
</li>
</ul>


+ 6
- 6
2020/03/21/docker比一般多一点的初学者介绍三/index.html View File

@ -52,12 +52,12 @@
};
</script>
<meta name="description" content="运行第一个 Dockerfile上一篇的 Dockerfile 我们停留在构建阶段,现在来把它跑起来 12docker run -d -p 80 --name static_web nicksxs&#x2F;static_web \nginx -g &quot;daemon off;&quot; 这里的-d表示以分离模型运行docker (detached),然后-p 是表示将容器的 80 端口开放给宿主机,然后容器名就叫">
<meta name="description" content="运行第一个 Dockerfile上一篇的 Dockerfile 我们停留在构建阶段,现在来把它跑起来 12docker run -d -p 80 --name static_web nicksxs&#x2F;static_web \nginx -g &quot;daemon off;&quot; 这里的-d表示以分离模型运行docker (detached),然后-p 是表示将容器的 80 端口开放给宿主机,然后容器名就叫 s">
<meta property="og:type" content="article">
<meta property="og:title" content="docker比一般多一点的初学者介绍三">
<meta property="og:url" content="https://nicksxs.me/2020/03/21/docker%E6%AF%94%E4%B8%80%E8%88%AC%E5%A4%9A%E4%B8%80%E7%82%B9%E7%9A%84%E5%88%9D%E5%AD%A6%E8%80%85%E4%BB%8B%E7%BB%8D%E4%B8%89/index.html">
<meta property="og:site_name" content="Nicksxs&#39;s Blog">
<meta property="og:description" content="运行第一个 Dockerfile上一篇的 Dockerfile 我们停留在构建阶段,现在来把它跑起来 12docker run -d -p 80 --name static_web nicksxs&#x2F;static_web \nginx -g &quot;daemon off;&quot; 这里的-d表示以分离模型运行docker (detached),然后-p 是表示将容器的 80 端口开放给宿主机,然后容器名就叫">
<meta property="og:description" content="运行第一个 Dockerfile上一篇的 Dockerfile 我们停留在构建阶段,现在来把它跑起来 12docker run -d -p 80 --name static_web nicksxs&#x2F;static_web \nginx -g &quot;daemon off;&quot; 这里的-d表示以分离模型运行docker (detached),然后-p 是表示将容器的 80 端口开放给宿主机,然后容器名就叫 s">
<meta property="og:image" content="https://i.loli.net/2020/03/21/VCEuf5BTopXNkcA.png">
<meta property="og:image" content="https://i.loli.net/2020/03/21/Cx1JYGBrHRqojpz.png">
<meta property="og:image" content="https://i.loli.net/2020/03/21/xhAcQlX5iP9KnYB.png">
@ -66,7 +66,7 @@
<meta property="og:image" content="https://i.loli.net/2020/03/21/56cuKf1ObvkBSG3.png">
<meta property="og:image" content="https://i.loli.net/2020/03/21/qDd2LVhz1Po4McX.png">
<meta property="article:published_time" content="2020-03-21T06:43:39.000Z">
<meta property="article:modified_time" content="2020-03-21T06:43:39.832Z">
<meta property="article:modified_time" content="2020-03-21T08:19:01.533Z">
<meta property="article:author" content="Nicksxs">
<meta property="article:tag" content="Docker">
<meta property="article:tag" content="namespace">
@ -259,8 +259,9 @@
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2020-03-21 14:43:39" itemprop="dateCreated datePublished" datetime="2020-03-21T14:43:39+08:00">2020-03-21</time>
<time title="Created: 2020-03-21 14:43:39 / Modified: 16:19:01" itemprop="dateCreated datePublished" datetime="2020-03-21T14:43:39+08:00">2020-03-21</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
@ -305,8 +306,7 @@
<div class="post-body" itemprop="articleBody">
<hr>
<h2 id="运行第一个-Dockerfile"><a href="#运行第一个-Dockerfile" class="headerlink" title="运行第一个 Dockerfile"></a>运行第一个 Dockerfile</h2><p>上一篇的 Dockerfile 我们停留在构建阶段,现在来把它跑起来</p>
<h2 id="运行第一个-Dockerfile"><a href="#运行第一个-Dockerfile" class="headerlink" title="运行第一个 Dockerfile"></a>运行第一个 Dockerfile</h2><p>上一篇的 Dockerfile 我们停留在构建阶段,现在来把它跑起来</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">docker run -d -p 80 --name static_web nicksxs/static_web \</span><br><span class="line">nginx -g "daemon off;"</span><br></pre></td></tr></table></figure>
<p>这里的<code>-d</code>表示以分离模型运行docker (detached),然后-p 是表示将容器的 80 端口开放给宿主机,然后容器名就叫 static_web,使用了我们上次构建的 static_web 镜像,后面的是让 nginx 在前台运行<br><img data-src="https://i.loli.net/2020/03/21/VCEuf5BTopXNkcA.png" alt=""><br>可以看到返回了个容器 id,但是具体情况没出现,也没连上去,那我们想看看怎么访问在 Dockerfile 里写的静态页面,我们来看下docker 进程<br><img data-src="https://i.loli.net/2020/03/21/Cx1JYGBrHRqojpz.png" alt=""><br>发现为我们随机分配了一个宿主机的端口,32768,去服务器的防火墙把这个外网端口开一下,看看是不是符合我们的预期呢<br><img data-src="https://i.loli.net/2020/03/21/xhAcQlX5iP9KnYB.png" alt=""><br>好像不太对额,应该是 ubuntu 安装的 nginx 的默认工作目录不对,我们来进容器看看,再熟悉下命令<code>docker exec -it 4792455ca2ed /bin/bash</code><br>记得容器 id 换成自己的,进入容器后得找找 nginx 的配置文件,通常在<code>/etc/nginx</code>,<code>/usr/local/etc</code>等目录下,然后找到我们的目录是在这<br><img data-src="https://i.loli.net/2020/03/21/wE8TfkbC2d9pNuv.png" alt=""><br>所以把刚才的内容复制过去再试试<br><img data-src="https://i.loli.net/2020/03/21/qNkpHn3GW8aiwIr.png" alt=""><br>目标达成,give me five✌️</p>
<h2 id="第二个-Dockerfile"><a href="#第二个-Dockerfile" class="headerlink" title="第二个 Dockerfile"></a>第二个 Dockerfile</h2><p>然后就想来动态一点的,毕竟写过 PHP,就来试试 PHP<br>再建一个目录叫 dynamic_web,里面创建 src 目录,放一个 index.php<br>内容是</p>


+ 27
- 28
atom.xml View File

@ -6,7 +6,7 @@
<link href="/atom.xml" rel="self"/>
<link href="https://nicksxs.me/"/>
<updated>2020-03-21T06:43:39.832Z</updated>
<updated>2020-03-21T08:19:01.533Z</updated>
<id>https://nicksxs.me/</id>
<author>
@ -21,7 +21,7 @@
<link href="https://nicksxs.me/2020/03/21/docker%E6%AF%94%E4%B8%80%E8%88%AC%E5%A4%9A%E4%B8%80%E7%82%B9%E7%9A%84%E5%88%9D%E5%AD%A6%E8%80%85%E4%BB%8B%E7%BB%8D%E4%B8%89/"/>
<id>https://nicksxs.me/2020/03/21/docker%E6%AF%94%E4%B8%80%E8%88%AC%E5%A4%9A%E4%B8%80%E7%82%B9%E7%9A%84%E5%88%9D%E5%AD%A6%E8%80%85%E4%BB%8B%E7%BB%8D%E4%B8%89/</id>
<published>2020-03-21T06:43:39.000Z</published>
<updated>2020-03-21T06:43:39.832Z</updated>
<updated>2020-03-21T08:19:01.533Z</updated>
<summary type="html">
@ -29,8 +29,7 @@
&lt;hr&gt;
&lt;h2 id=&quot;运行第一个-Dockerfile&quot;&gt;&lt;a href=&quot;#运行第一个-Dockerfile&quot; class=&quot;headerlink&quot; title=&quot;运行第一个 Dockerfile&quot;&gt;&lt;/a&gt;运行第一个 Dockerfile&lt;/h2&gt;&lt;p&gt;上一篇的
&lt;h2 id=&quot;运行第一个-Dockerfile&quot;&gt;&lt;a href=&quot;#运行第一个-Dockerfile&quot; class=&quot;headerlink&quot; title=&quot;运行第一个 Dockerfile&quot;&gt;&lt;/a&gt;运行第一个 Dockerfile&lt;/h2&gt;&lt;p&gt;上一篇的
@ -314,14 +313,14 @@
<category term="Redis" scheme="https://nicksxs.me/categories/Redis/"/>
<category term="C" scheme="https://nicksxs.me/categories/C/"/>
<category term="Redis" scheme="https://nicksxs.me/categories/C/Redis/"/>
<category term="数据结构" scheme="https://nicksxs.me/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
<category term="源码" scheme="https://nicksxs.me/categories/Redis/%E6%BA%90%E7%A0%81/"/>
<category term="C" scheme="https://nicksxs.me/categories/C/"/>
<category term="Redis" scheme="https://nicksxs.me/categories/C/Redis/"/>
<category term="redis" scheme="https://nicksxs.me/tags/redis/"/>
@ -353,14 +352,14 @@
<category term="Redis" scheme="https://nicksxs.me/categories/Redis/"/>
<category term="C" scheme="https://nicksxs.me/categories/C/"/>
<category term="Redis" scheme="https://nicksxs.me/categories/C/Redis/"/>
<category term="数据结构" scheme="https://nicksxs.me/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
<category term="源码" scheme="https://nicksxs.me/categories/Redis/%E6%BA%90%E7%A0%81/"/>
<category term="C" scheme="https://nicksxs.me/categories/C/"/>
<category term="Redis" scheme="https://nicksxs.me/categories/C/Redis/"/>
<category term="redis" scheme="https://nicksxs.me/tags/redis/"/>
@ -392,14 +391,14 @@
<category term="Redis" scheme="https://nicksxs.me/categories/Redis/"/>
<category term="C" scheme="https://nicksxs.me/categories/C/"/>
<category term="Redis" scheme="https://nicksxs.me/categories/C/Redis/"/>
<category term="数据结构" scheme="https://nicksxs.me/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
<category term="源码" scheme="https://nicksxs.me/categories/Redis/%E6%BA%90%E7%A0%81/"/>
<category term="C" scheme="https://nicksxs.me/categories/C/"/>
<category term="Redis" scheme="https://nicksxs.me/categories/C/Redis/"/>
<category term="redis" scheme="https://nicksxs.me/tags/redis/"/>
@ -432,14 +431,14 @@
<category term="Redis" scheme="https://nicksxs.me/categories/Redis/"/>
<category term="C" scheme="https://nicksxs.me/categories/C/"/>
<category term="Redis" scheme="https://nicksxs.me/categories/C/Redis/"/>
<category term="数据结构" scheme="https://nicksxs.me/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
<category term="源码" scheme="https://nicksxs.me/categories/Redis/%E6%BA%90%E7%A0%81/"/>
<category term="C" scheme="https://nicksxs.me/categories/C/"/>
<category term="Redis" scheme="https://nicksxs.me/categories/C/Redis/"/>
<category term="redis" scheme="https://nicksxs.me/tags/redis/"/>
@ -471,14 +470,14 @@
<category term="Redis" scheme="https://nicksxs.me/categories/Redis/"/>
<category term="C" scheme="https://nicksxs.me/categories/C/"/>
<category term="Redis" scheme="https://nicksxs.me/categories/C/Redis/"/>
<category term="数据结构" scheme="https://nicksxs.me/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
<category term="源码" scheme="https://nicksxs.me/categories/Redis/%E6%BA%90%E7%A0%81/"/>
<category term="C" scheme="https://nicksxs.me/categories/C/"/>
<category term="Redis" scheme="https://nicksxs.me/categories/C/Redis/"/>
<category term="redis" scheme="https://nicksxs.me/tags/redis/"/>
@ -510,14 +509,14 @@
<category term="Redis" scheme="https://nicksxs.me/categories/Redis/"/>
<category term="C" scheme="https://nicksxs.me/categories/C/"/>
<category term="Redis" scheme="https://nicksxs.me/categories/C/Redis/"/>
<category term="数据结构" scheme="https://nicksxs.me/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
<category term="源码" scheme="https://nicksxs.me/categories/Redis/%E6%BA%90%E7%A0%81/"/>
<category term="C" scheme="https://nicksxs.me/categories/C/"/>
<category term="Redis" scheme="https://nicksxs.me/categories/C/Redis/"/>
<category term="redis" scheme="https://nicksxs.me/tags/redis/"/>


+ 6
- 6
baidusitemap.xml View File

@ -34,10 +34,10 @@
<loc>https://nicksxs.me/2020/01/19/redis%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%BB%8B%E7%BB%8D%E5%9B%9B/</loc>
<lastmod>2020-01-18</lastmod>
</url> <url>
<loc>https://nicksxs.me/2015/01/14/Two-Sum/</loc>
<loc>https://nicksxs.me/2019/12/10/Redis-Part-1/</loc>
<lastmod>2020-01-12</lastmod>
</url> <url>
<loc>https://nicksxs.me/2019/12/10/Redis-Part-1/</loc>
<loc>https://nicksxs.me/2015/01/14/Two-Sum/</loc>
<lastmod>2020-01-12</lastmod>
</url> <url>
<loc>https://nicksxs.me/2016/11/10/php-abstract-class-and-interface/</loc>
@ -49,10 +49,10 @@
<loc>https://nicksxs.me/2019/12/26/redis%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%BB%8B%E7%BB%8D/</loc>
<lastmod>2020-01-12</lastmod>
</url> <url>
<loc>https://nicksxs.me/2015/04/14/Add-Two-Number/</loc>
<loc>https://nicksxs.me/2015/03/13/Reverse-Integer/</loc>
<lastmod>2020-01-12</lastmod>
</url> <url>
<loc>https://nicksxs.me/2015/03/13/Reverse-Integer/</loc>
<loc>https://nicksxs.me/2015/04/14/Add-Two-Number/</loc>
<lastmod>2020-01-12</lastmod>
</url> <url>
<loc>https://nicksxs.me/2014/12/24/MFC%20%E6%A8%A1%E6%80%81%E5%AF%B9%E8%AF%9D%E6%A1%86/</loc>
@ -61,10 +61,10 @@
<loc>https://nicksxs.me/2016/08/14/docker-mysql-cluster/</loc>
<lastmod>2020-01-12</lastmod>
</url> <url>
<loc>https://nicksxs.me/2019/06/18/openresty/</loc>
<loc>https://nicksxs.me/2017/05/09/ambari-summary/</loc>
<lastmod>2020-01-12</lastmod>
</url> <url>
<loc>https://nicksxs.me/2017/05/09/ambari-summary/</loc>
<loc>https://nicksxs.me/2019/06/18/openresty/</loc>
<lastmod>2020-01-12</lastmod>
</url> <url>
<loc>https://nicksxs.me/2020/01/04/redis%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%BB%8B%E7%BB%8D%E4%BA%8C/</loc>


+ 1
- 1
css/main.css View File

@ -1259,7 +1259,7 @@ pre .javascript .function {
}
.links-of-author a::before,
.links-of-author span.exturl::before {
background: #9d5960;
background: #dbe7fa;
border-radius: 50%;
content: ' ';
display: inline-block;


+ 19
- 19
index.html View File

@ -247,8 +247,9 @@
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2020-03-21 14:43:39" itemprop="dateCreated datePublished" datetime="2020-03-21T14:43:39+08:00">2020-03-21</time>
<time title="Created: 2020-03-21 14:43:39 / Modified: 16:19:01" itemprop="dateCreated datePublished" datetime="2020-03-21T14:43:39+08:00">2020-03-21</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
@ -293,8 +294,7 @@
<div class="post-body" itemprop="articleBody">
<hr>
<h2 id="运行第一个-Dockerfile"><a href="#运行第一个-Dockerfile" class="headerlink" title="运行第一个 Dockerfile"></a>运行第一个 Dockerfile</h2><p>上一篇的 Dockerfile 我们停留在构建阶段,现在来把它跑起来</p>
<h2 id="运行第一个-Dockerfile"><a href="#运行第一个-Dockerfile" class="headerlink" title="运行第一个 Dockerfile"></a>运行第一个 Dockerfile</h2><p>上一篇的 Dockerfile 我们停留在构建阶段,现在来把它跑起来</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">docker run -d -p 80 --name static_web nicksxs/static_web \</span><br><span class="line">nginx -g "daemon off;"</span><br></pre></td></tr></table></figure>
<p>这里的<code>-d</code>表示以分离模型运行docker (detached),然后-p 是表示将容器的 80 端口开放给宿主机,然后容器名就叫 static_web,使用了我们上次构建的 static_web 镜像,后面的是让 nginx 在前台运行<br><img data-src="https://i.loli.net/2020/03/21/VCEuf5BTopXNkcA.png" alt=""><br>可以看到返回了个容器 id,但是具体情况没出现,也没连上去,那我们想看看怎么访问在 Dockerfile 里写的静态页面,我们来看下docker 进程<br><img data-src="https://i.loli.net/2020/03/21/Cx1JYGBrHRqojpz.png" alt=""><br>发现为我们随机分配了一个宿主机的端口,32768,去服务器的防火墙把这个外网端口开一下,看看是不是符合我们的预期呢<br><img data-src="https://i.loli.net/2020/03/21/xhAcQlX5iP9KnYB.png" alt=""><br>好像不太对额,应该是 ubuntu 安装的 nginx 的默认工作目录不对,我们来进容器看看,再熟悉下命令<code>docker exec -it 4792455ca2ed /bin/bash</code><br>记得容器 id 换成自己的,进入容器后得找找 nginx 的配置文件,通常在<code>/etc/nginx</code>,<code>/usr/local/etc</code>等目录下,然后找到我们的目录是在这<br><img data-src="https://i.loli.net/2020/03/21/wE8TfkbC2d9pNuv.png" alt=""><br>所以把刚才的内容复制过去再试试<br><img data-src="https://i.loli.net/2020/03/21/qNkpHn3GW8aiwIr.png" alt=""><br>目标达成,give me five✌️</p>
<h2 id="第二个-Dockerfile"><a href="#第二个-Dockerfile" class="headerlink" title="第二个 Dockerfile"></a>第二个 Dockerfile</h2><p>然后就想来动态一点的,毕竟写过 PHP,就来试试 PHP<br>再建一个目录叫 dynamic_web,里面创建 src 目录,放一个 index.php<br>内容是</p>
@ -1179,26 +1179,26 @@
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
</a>
</span>
</span>
@ -1311,26 +1311,26 @@
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
</a>
</span>
</span>


+ 32
- 32
page/2/index.html View File

@ -262,26 +262,26 @@
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
</a>
</span>
</span>
@ -389,26 +389,26 @@
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
</a>
</span>
</span>
@ -512,26 +512,26 @@
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
</a>
</span>
</span>
@ -632,26 +632,26 @@
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index">
<span itemprop="name">数据结构</span>
<a href="/categories/C/" itemprop="url" rel="index">
<span itemprop="name">C</span>
</a>
</span>
,
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Redis/%E6%BA%90%E7%A0%81/" itemprop="url" rel="index">
<span itemprop="name">源码</span>
<a href="/categories/C/Redis/" itemprop="url" rel="index">
<span itemprop="name">Redis</span>
</a>
</span>
</span>


+ 7
- 7
sitemap.xml View File

@ -4,7 +4,7 @@
<url>
<loc>https://nicksxs.me/2020/03/21/docker%E6%AF%94%E4%B8%80%E8%88%AC%E5%A4%9A%E4%B8%80%E7%82%B9%E7%9A%84%E5%88%9D%E5%AD%A6%E8%80%85%E4%BB%8B%E7%BB%8D%E4%B8%89/</loc>
<lastmod>2020-03-21T06:43:39.832Z</lastmod>
<lastmod>2020-03-21T08:19:01.533Z</lastmod>
</url>
@ -128,14 +128,14 @@
</url>
<url>
<loc>https://nicksxs.me/2016/11/10/php-abstract-class-and-interface/</loc>
<loc>https://nicksxs.me/2016/09/29/binary-watch/</loc>
<lastmod>2020-01-12T13:08:27.014Z</lastmod>
</url>
<url>
<loc>https://nicksxs.me/2016/09/29/binary-watch/</loc>
<loc>https://nicksxs.me/2016/11/10/php-abstract-class-and-interface/</loc>
<lastmod>2020-01-12T13:08:27.014Z</lastmod>
@ -254,28 +254,28 @@
</url>
<url>
<loc>https://nicksxs.me/2015/06/22/invert-binary-tree/</loc>
<loc>https://nicksxs.me/2016/10/12/summary-ranges-228/</loc>
<lastmod>2020-01-12T13:08:26.994Z</lastmod>
</url>
<url>
<loc>https://nicksxs.me/2016/10/12/summary-ranges-228/</loc>
<loc>https://nicksxs.me/2015/06/22/invert-binary-tree/</loc>
<lastmod>2020-01-12T13:08:26.994Z</lastmod>
</url>
<url>
<loc>https://nicksxs.me/2017/04/25/rabbitmq-tips/</loc>
<loc>https://nicksxs.me/2015/01/04/Path-Sum/</loc>
<lastmod>2020-01-12T13:08:26.993Z</lastmod>
</url>
<url>
<loc>https://nicksxs.me/2015/01/04/Path-Sum/</loc>
<loc>https://nicksxs.me/2017/04/25/rabbitmq-tips/</loc>
<lastmod>2020-01-12T13:08:26.993Z</lastmod>


Loading…
Cancel
Save