<p>之后会出现:<br><figureclass="highlight delphi"><table><tr><tdclass="gutter"><pre><spanclass="line">1</span><br><spanclass="line">2</span><br><spanclass="line">3</span><br></pre></td><tdclass="code"><pre><spanclass="line">Generating <spanclass="keyword">public</span>/<spanclass="keyword">private</span> rsa key pair.</span><br><spanclass="line">Enter <spanclass="keyword">file</span><spanclass="keyword">in</span> which <spanclass="keyword">to</span> save the key (/c/Users/you/.ssh/id_rsa):</span><br><spanclass="line"><spanclass="comment">//到这里可以直接回车将密钥按默认文件进行存储</span></span><br></pre></td></tr></table></figure></p>
<p>然后会出现:<br><figureclass="highlight gams"><table><tr><tdclass="gutter"><pre><spanclass="line">1</span><br><spanclass="line">2</span><br><spanclass="line">3</span><br></pre></td><tdclass="code"><pre><spanclass="line">Enter passphrase (empty <spanclass="keyword">for</span><spanclass="keyword">no</span> passphrase):</span><br><spanclass="line"><spanclass="comment">//这里是要你输入密码,其实不需要输什么密码,直接回车就行</span></span><br><spanclass="line">Enter same passphrase again:</span><br></pre></td></tr></table></figure></p>
<p>接下来屏幕会显示:<br><figureclass="highlight maxima"><table><tr><tdclass="gutter"><pre><spanclass="line">1</span><br><spanclass="line">2</span><br><spanclass="line">3</span><br><spanclass="line">4</span><br><spanclass="line">5</span><br><spanclass="line">6</span><br></pre></td><tdclass="code"><pre><spanclass="line">Your identification has been saved <spanclass="keyword">in</span> /c/Users/you/.ssh/id_rsa.</span><br><spanclass="line">Your public <spanclass="built_in">key</span> has been saved <spanclass="keyword">in</span> /c/Users/you/.ssh/id_rsa.pub.</span><br><spanclass="line">The <spanclass="built_in">key</span> fingerprint <spanclass="built_in">is</span>:</span><br><spanclass="line">这里是各种字母数字组成的字符串,结尾是你的邮箱</span><br><spanclass="line">The <spanclass="built_in">key</span>'s randomart <spanclass="built_in">image</span><spanclass="built_in">is</span>:</span><br><spanclass="line">这里也是各种字母数字符号组成的字符串</span><br></pre></td></tr></table></figure></p>
<p>或者直接执行<br><figureclass="highlight shell"><table><tr><tdclass="gutter"><pre><spanclass="line">1</span><br></pre></td><tdclass="code"><pre><spanclass="line"><spanclass="meta">$</span><spanclass="bash"> hexo g -d</span></span><br></pre></td></tr></table></figure></p>
<p>执行完之后会让你输入你的 Github 的账号和密码,如果此时报以下错误,说明你的 deployer 没有安装成功<br><figureclass="highlight subunit"><table><tr><tdclass="gutter"><pre><spanclass="line">1</span><br></pre></td><tdclass="code"><pre><spanclass="line"><spanclass="keyword">ERROR </span>Deployer not found: git</span><br></pre></td></tr></table></figure></p>
<p>注册完毕之后,登录,进入安装页面,选择 City 免费版安装,安装之后你会得到一段代码<br><imgsrc="https://i.imgur.com/I3DXQMC.png"alt=""><br><imgsrc="https://i.imgur.com/GUROoY0.png"alt=""><br><imgsrc="https://i.imgur.com/sCi7KKc.png"alt=""></p>