text: <!DOCTYPE html>
  <html lang="zh-CN" class="no-js">
  <head>
  	<meta charset="UTF-8">
  	<meta name="viewport" content="width=device-width">
  	<meta name="keywords" content="GitBlog,Jimersy Lee&#039;s Blog">
  	<meta name="description" content="GitBlog是一个简单易用的Markdown博客系统，它不需要数据库，没有管理后台功能，更新博客只需要添加你写好的Markdown文件即可。">
  
  	<!--[if lt IE 9]>
  	<script src="/theme/default/js/html5.js"></script>
  	<![endif]-->
  	<script>(function(html){html.className = html.className.replace(/\bno-js\b/,'js')})(document.documentElement);</script>
  	
  	<title>欢迎使用GitBlog|Jimersy Lee&#039;s Blog</title>
  	
  	<link rel="stylesheet" href="/theme/default/css/genericons.css?ver=2.3.2" type="text/css" media="all" />
  	<link rel="stylesheet" href="/theme/default/css/style.css?ver=2.3.2" type="text/css" media="all" />
  	<link rel="stylesheet" href="/theme/default/css/markdown.css?ver=2.3.2" type="text/css" media="all" />
  	<link rel="alternate" type="application/rss+xml" title="Jimersy Lee&#039;s Blog" href="/feed.xml" />
  	<!--[if lt IE 9]>
  	<link rel="stylesheet" href="/theme/default/css/ie.css?ver=2.3.2" type="text/css" media="all" />
  	<![endif]-->
  	<!--[if lt IE 8]>
  	<link rel="stylesheet" href="/theme/default/css/ie7.css?ver=2.3.2" type="text/css" media="all" />
  	<![endif]-->
  	
  	<script type="text/javascript" src="/theme/default/js/jquery/jquery.js?ver=2.3.2"></script>
  	<script type="text/javascript" src="/theme/default/js/jquery/jquery-migrate.min.js?ver=2.3.2"></script>
  	
  	<script>
  	var _hmt = _hmt || [];
  	(function() {
  	  var hm = document.createElement("script");
  	  hm.src = "//hm.baidu.com/hm.js?ad6130507d4c044cd731ac40594106a0";
  	  var s = document.getElementsByTagName("script")[0]; 
  	  s.parentNode.insertBefore(hm, s);
  	})();
  	</script>
  	
  </head>
  
  <body>
  <div id="page" class="hfeed site">
  	<a class="skip-link screen-reader-text" href="#content">Skip to content</a>
  	
  	    <div id="sidebar" class="sidebar">
  	<header id="masthead" class="site-header" role="banner">
  		<div class="site-branding">
  			<h1 class="site-title"><a href="/" rel="home">Jimersy Lee&#039;s Blog</a></h1>
  				<p class="site-description">Just for fun</p>
  				<button class="secondary-toggle">菜单和挂件</button>
  		</div><!-- .site-branding -->
  	</header><!-- .site-header -->
  	<div id="secondary" class="secondary">
  		<div id="widget-area" class="widget-area" role="complementary">
  		
  			<aside id="categories" class="widget widget_categories">
      <h2 class="widget-title">分类目录</h2>
      <ul>
                  <li class="cat-item"><a href="/category/books.html" >books</a></li>
                  <li class="cat-item"><a href="/category/devops.html" >devops</a></li>
                  <li class="cat-item"><a href="/category/go.html" >go</a></li>
                  <li class="cat-item"><a href="/category/java.html" >java</a></li>
                  <li class="cat-item"><a href="/category/js.html" >js</a></li>
                  <li class="cat-item"><a href="/category/linux.html" >linux</a></li>
                  <li class="cat-item"><a href="/category/php.html" >php</a></li>
                  <li class="cat-item"><a href="/category/python.html" >python</a></li>
                  <li class="cat-item"><a href="/category/spring.html" >spring</a></li>
                  <li class="cat-item"><a href="/category/thoughts.html" >thoughts</a></li>
                  <li class="cat-item"><a href="/category/GitBlog.html" >GitBlog</a></li>
              </ul>
  </aside>
  		    <aside class="widget widget_archive">
      <h2 class="widget-title">文章归档</h2>
      <ul>
          <li><a href="/archive/201809.html">2018-09</a></li>
          <li><a href="/archive/201709.html">2017-09</a></li>
          <li><a href="/archive/201707.html">2017-07</a></li>
          <li><a href="/archive/201704.html">2017-04</a></li>
          <li><a href="/archive/201608.html">2016-08</a></li>
          <li><a href="/archive/201607.html">2016-07</a></li>
          <li><a href="/archive/201605.html">2016-05</a></li>
          <li><a href="/archive/201510.html">2015-10</a></li>
          <li><a href="/archive/201508.html">2015-08</a></li>
          <li><a href="/archive/201507.html">2015-07</a></li>
          <li><a href="/archive/201505.html">2015-05</a></li>
          <li><a href="/archive/201504.html">2015-04</a></li>
          <li><a href="/archive/201503.html">2015-03</a></li>
          <li><a href="/archive/201411.html">2014-11</a></li>
          <li><a href="/archive/201408.html">2014-08</a></li>
          <li><a href="/archive/201407.html">2014-07</a></li>
          <li><a href="/archive/201401.html">2014-01</a></li>
          </ul>
  </aside>
  		    <aside id="recent-posts" class="widget widget_recent_entries">
      <h2 class="widget-title">近期文章</h2>
      <ul>
          <li><a href="/blog/go/go-hot-update.html">go-web程序的热更新</a></li>
          <li><a href="/blog/linux/installFusumaOnManjaro.html">Manjaro安装fusuma</a></li>
          <li><a href="/blog/devops/installMariadbOnManjaro.html">Manjaro安装Mariadb</a></li>
          <li><a href="/blog/go/go-build-web-app-chapter-3.html">&lt;Go:build web application&gt;的中文翻译版-第三章-连接数据</a></li>
          <li><a href="/blog/go/go-build-web-app-catalog.html">&lt;Go:build web application&gt;的中文翻译版本目录</a></li>
          </ul>
  </aside>
  		    <aside id="tag_cloud" class="widget widget_tag_cloud">
      <h2 class="widget-title">标签</h2>
      <div class="tagcloud">
          <a href="/tags/BACK-END.html" title="BACK-END" >BACK-END</a>
          <a href="/tags/BOOKS.html" title="BOOKS" >BOOKS</a>
          <a href="/tags/ML.html" title="ML" >ML</a>
          <a href="/tags/CENTOS.html" title="CENTOS" >CENTOS</a>
          <a href="/tags/JENKINS.html" title="JENKINS" >JENKINS</a>
          <a href="/tags/MANJARO.html" title="MANJARO" >MANJARO</a>
          <a href="/tags/MARIADB.html" title="MARIADB" >MARIADB</a>
          <a href="/tags/LINUX.html" title="LINUX" >LINUX</a>
          <a href="/tags/NGINX.html" title="NGINX" >NGINX</a>
          <a href="/tags/SSL.html" title="SSL" >SSL</a>
          <a href="/tags/GO.html" title="GO" >GO</a>
          <a href="/tags/Blog.html" title="Blog" >Blog</a>
          <a href="/tags/JAVA.html" title="JAVA" >JAVA</a>
          <a href="/tags/PATTERN.html" title="PATTERN" >PATTERN</a>
          <a href="/tags/JVM.html" title="JVM" >JVM</a>
          <a href="/tags/JS.html" title="JS" >JS</a>
          <a href="/tags/JAVASCRIPT.html" title="JAVASCRIPT" >JAVASCRIPT</a>
          <a href="/tags/SHORTCUT-KEY.html" title="SHORTCUT-KEY" >SHORTCUT-KEY</a>
          <a href="/tags/fusuma.html" title="fusuma" >fusuma</a>
          <a href="/tags/PHP.html" title="PHP" >PHP</a>
          <a href="/tags/STRING.html" title="STRING" >STRING</a>
          <a href="/tags/SWOOLE.html" title="SWOOLE" >SWOOLE</a>
          <a href="/tags/PYTHON.html" title="PYTHON" >PYTHON</a>
          <a href="/tags/MACHINE-LEARNING.html" title="MACHINE-LEARNING" >MACHINE-LEARNING</a>
          <a href="/tags/SCRAPY.html" title="SCRAPY" >SCRAPY</a>
          <a href="/tags/CRAWLER.html" title="CRAWLER" >CRAWLER</a>
          <a href="/tags/SPRING-CLOUD.html" title="SPRING-CLOUD" >SPRING-CLOUD</a>
          <a href="/tags/Spring.html" title="Spring" >Spring</a>
          <a href="/tags/Cloud.html" title="Cloud" >Cloud</a>
          <a href="/tags/%E7%AE%80%E4%BB%8B.html" title="简介" >简介</a>
          <a href="/tags/BLOG.html" title="BLOG" >BLOG</a>
          <a href="/tags/DEV.html" title="DEV" >DEV</a>
          <a href="/tags/RULE.html" title="RULE" >RULE</a>
          <a href="/tags/VIM.html" title="VIM" >VIM</a>
          <a href="/tags/SPACEVIM.html" title="SPACEVIM" >SPACEVIM</a>
          <a href="/tags/GitBlog.html" title="GitBlog" >GitBlog</a>
          </div>
  </aside>
  		    <aside id="text" class="widget widget_text">
      <h2 class="widget-title">介绍</h2>	
      <div class="textwidget">
      	<p>“What I cannot create, I do not understand.” – Richard Feynman</p>
      </div>
  </aside>
  	    </div><!-- .widget-area -->
      </div><!-- .secondary -->
  </div><!-- .sidebar -->  
  	    <div id="content" class="site-content">
      <div id="primary" class="content-area">
          <main id="main" class="site-main" role="main">
          
              <article class="post hentry">
  <header class="entry-header">
      <h1 class="entry-title">欢迎使用GitBlog</h1>
  </header><!-- .entry-header -->
  <div class="entry-content">
  <!--
  author: jockchou
  head: http://pingodata.qiniudn.com/jockchou-avatar.jpg
  date: 2015-07-31
  title: 欢迎使用GitBlog
  tags: GitBlog
  images: http://pingodata.qiniudn.com/cube2.jpg
  category: GitBlog
  status: publish
  summary: GitBlog是一个简单易用的Markdown博客系统，它不需要数据库，没有管理后台功能，更新博客只需要添加你写好的Markdown文件即可。
  -->
  <h2>一. 简介</h2>
  <p>GitBlog是一个简单易用的Markdown博客系统，它不需要数据库，没有管理后台功能，更新博客只需要添加你写好的Markdown文件即可。它摆脱了在线编辑器排版困难，无法实时预览的缺点，一切都交给Markdown来完成，一篇博客就是一个Markdown文件。同时也支持评论，代码高亮，数学公式，页面PV统计等常用功能。GitBlog提供了不同的主题样式，你可以根据自己的喜好配置，如果你想自己制作博客主题，也是非常容易的。GitBlog还支持整站静态导出，你完全可以导出整站静态网页部署到Github Pages。</p>
  <h2>二. 功能特点</h2>
  <ol>
  <li>使用Markdown  </li>
  <li>评论框  </li>
  <li>代码高亮  </li>
  <li>PV统计  </li>
  <li>Latex数学公式  </li>
  <li>自制主题  </li>
  <li>响应式  </li>
  <li>全站静态导出  </li>
  <li>良好的SEO  </li>
  </ol>
  <h2>三. GitBlog优势</h2>
  <ol>
  <li>无需数据库，系统更轻量，移植更方便  </li>
  <li>使用Markdown编写，摆脱后台编辑排版困难，无法实时预览的缺点  </li>
  <li>可全站静态导出  </li>
  <li>配置灵活，可自由开关某些功能  </li>
  <li>多主题支持，可自制主题  </li>
  <li>博客，分类，标签，归档  </li>
  </ol>
  <h2>四. 环境要求</h2>
  <p>PHP 5.2.4+</p>
  <h2>五. 安装步骤</h2>
  <ol>
  <li>下载GitBlog源代码  </li>
  <li>解压上传到你的PHP网站根目录  </li>
  <li>打开浏览器，访问网站首页  </li>
  <li>上传Markdown文件到<code>posts</code>文件夹  </li>
  </ol>
  <h2>六. 详细说明</h2>
  <p><a href="https://github.com/jockchou/gitblogdoc/tree/master/posts/gitblog/install.md">1. 安装</a><br />
  <a href="https://github.com/jockchou/gitblogdoc/tree/master/posts/gitblog/struct.md">2. 目录结构</a><br />
  <a href="https://github.com/jockchou/gitblogdoc/tree/master/posts/gitblog/config.md">3. 配置说明</a><br />
  <a href="https://github.com/jockchou/gitblogdoc/tree/master/posts/gitblog/edit.md">4. 编写博客</a><br />
  <a href="https://github.com/jockchou/gitblogdoc/tree/master/posts/gitblog/other-func.md">5. 评论，订阅，统计等</a><br />
  <a href="https://github.com/jockchou/gitblogdoc/tree/master/posts/gitblog/cache.md">6. 缓存机制</a><br />
  <a href="https://github.com/jockchou/gitblogdoc/tree/master/posts/gitblog/export.md">7. 全站静态导出</a><br />
  <a href="https://github.com/jockchou/gitblogdoc/tree/master/posts/gitblog/theme.md">8. 主题制作</a><br />
  <a href="https://github.com/jockchou/gitblogdoc/tree/master/posts/gitblog/nginx.md">9. 在Nginx上运行GitBlog</a><br />
  <a href="https://github.com/jockchou/gitblogdoc/tree/master/posts/gitblog/apache.md">10. 在Apache上运行GitBlog</a><br />
  <a href="https://github.com/jockchou/gitblogdoc/tree/master/posts/gitblog/sae.md">11. 在SAE上运行GitBlog</a><br />
  <a href="https://github.com/jockchou/gitblogdoc/tree/master/posts/gitblog/github-pages.md">12. 使用GitBlog和Github Pages搭建博客</a><br />
  <a href="https://github.com/jockchou/gitblogdoc/tree/master/posts/gitblog/update.md">13. Gitblog升级</a><br />
  <a href="https://github.com/jockchou/gitblogdoc/tree/master/posts/gitblog/wordpress.md">14. 从wordpress导入</a></p>
  <h2>七. 问题及bug反馈</h2>
  <p>如果在实际使用过程中对GitBlog有新的功能需求，或者在使用GitBlog的过程中发现了Bug，欢迎反馈给我。可以直接在Github上提交，也可以发邮件至<code>164068300[AT]qq.com</code>与我取得联系，我将及时回复。如果你自己制作了漂亮好用的主题，也非常欢迎你提交给我，我会在这里展示你的主题链接。如果你正在使用GitBlog，也可以告诉我，我将也会在这里列出使用者名单。如果你想和其他GitBlog使用者讨论交流，欢迎加入QQ群<code>84692078</code>。</p>
  <h2>八. 使用者列表</h2>
  <ul>
  <li><a href="http://blog.hiweeds.net">Weeds</a></li>
  <li><a href="http://xiaochengzi.sinaapp.com">橙子</a></li>
  <li><a href="http://jockchou.com">jockchou</a></li>
  <li><a href="http://github.com/jockchou/gitblogdoc">GitBlog Doc</a></li>
  <li><a href="http://zxy.link">zxy</a>  </li>
  </ul>
  <h2>九. 感谢</h2>
  <p>GitBlog的成长需要喜欢Markdown，喜欢写博客的各位亲们支持！感谢你们使用GitBlog，感激你们对Gitblog的良好建议与Bug反馈。</p>
  <p>QQ群：<code>84692078</code><br />
  作者邮箱：<code>164068300[AT]qq.com</code>    </p>
  </div><!-- .entry-content --><footer class="entry-footer">
  	    <span class="posted-on">
          <span class="screen-reader-text">Posted on </span>
          <time class="entry-date published">2015-07-31</time>
      </span>
  		
  	    <span class="byline">
          <span class="author vcard">
              <span class="screen-reader-text">Author </span>
              jockchou
          </span>
      </span>
          
          <span class="cat-links">
          <span class="screen-reader-text">Categories </span>
            
             <a href="/category/GitBlog.html" rel="category">GitBlog</a>
              </span>
          
      
          <span class="tags-links">
      	
          <span class="screen-reader-text">Tags </span>
            
             <a href="/tags/GitBlog.html" rel="tag">GitBlog</a>
              </span>
      </footer><!-- .entry-footer --></article><!-- #post-## -->            <!-- UY BEGIN -->
  <div class="post hentry" id="uyan_frame"></div>
  <script type="text/javascript" src="http://v2.uyan.cc/code/uyan.js?uid=2142981"></script>
  <!-- UY END -->
              
          </main><!-- .site-main -->
      </div><!-- .content-area -->
  </div><!-- .site-content -->	    <footer id="colophon" class="site-footer" role="contentinfo">
      <div class="site-info">
          <a href="https://github.com/jimersylee">Github</a>
          <a href="https://coding.net/u/code008">Coding.net</a>
          <a href="https://coding.net/u/code008/score/share">码力值</a>
          <a href="https://resume.jimersylee.com">简历</a>
          <a href="https://www.jimersylee.com">个人网站</a>
      </div><!-- .site-info -->
  </footer><!-- .site-footer -->
  	
  </div><!-- .site -->
  <script type="text/javascript" src="/theme/default/js/skip-link-focus-fix.js?ver=2.3.2"></script>
  <script type="text/javascript">
  /* <![CDATA[ */
  var screenReaderText = {"expand":"<span class=\"screen-reader-text\">\u5c55\u5f00\u5b50\u83dc\u5355<\/span>","collapse":"<span class=\"screen-reader-text\">\u6298\u53e0\u5b50\u83dc\u5355<\/span>"};
  /* ]]> */
  </script>
  <script type="text/javascript" src="/theme/default/js/functions.js?ver=2.3.2"></script>
  <script>
      (function(){
          var bp = document.createElement('script');
          var curProtocol = window.location.protocol.split(':')[0];
          if (curProtocol === 'https') {
              bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
          }
          else {
              bp.src = 'http://push.zhanzhang.baidu.com/push.js';
          }
          var s = document.getElementsByTagName("script")[0];
          s.parentNode.insertBefore(bp, s);
      })();
  </script>
  
  <link rel="stylesheet" href="//cdn.bootcss.com/highlight.js/8.6/styles/github.min.css">
  <script src="//cdn.bootcss.com/highlight.js/8.6/highlight.min.js"></script>
  <script>hljs.initHighlightingOnLoad();</script>
  
  <script type="text/x-mathjax-config">MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});</script>
  <script type="text/javascript" src="//cdn.bootcss.com/mathjax/2.5.3/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
  
  </body>
  </html>
  