零基本搭建你的个人博客
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">本文来自 <span style="color: black;">凌云LingZY</span> 在 GitChat 上精彩分享「零<span style="color: black;">基本</span>搭建你的个人博客」,「<strong style="color: blue;"><span style="color: black;">阅读原文</span></strong>」<span style="color: black;">瞧瞧</span><span style="color: black;">大众</span>与作者做了<span style="color: black;">那些</span>交流。</span></p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">本文前言</span></h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">很高兴各位来参加我的 Chat,你花<span style="color: black;">一起</span>钱就能学会<span style="color: black;">同样</span>新的技能。当然,只是适合小白的,零<span style="color: black;">基本</span><span style="color: black;">亦</span>能懂,没什么文采,各位老哥将就看哈。</span></p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">需要的准备</span></h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">网站域名</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">虚拟主机</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">网站程序</span></p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><span style="color: black;">1、</span>网站域名</span></h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">网站域名是什么?各位<span style="color: black;">伴侣</span>都会经常上百度的吧。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">www.baidu.com 这<span style="color: black;">便是</span>域名了。</span></p><span style="color: black;">域名的关键<span style="color: black;">功效</span></span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">用<span style="color: black;">制品</span><span style="color: black;">做为</span>关键词。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">用品牌<span style="color: black;">做为</span>域名。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">用企业名<span style="color: black;">做为</span>域名。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">一个好的域名<span style="color: black;">能够</span>让别人瞬间记住你,域名购买的<span style="color: black;">地区</span><span style="color: black;">能够</span>是万网、godaddy、新网。等等的域名商,最好<span style="color: black;">选取</span><span style="color: black;">有些</span>大牌的域名商。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">域名后缀<span style="color: black;">亦</span>分<span style="color: black;">非常多</span>种,但最<span style="color: black;">平常</span>的是 COM 和 CN.</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz_png/0vU1ia3htaaOG37ibyNIfvEGkuZic1UQPPBEZ04G7k8tTPDG8SjNVicVs8GwJHyPVWibKiaCdsvQQkdRjiboTlNaThVqg/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">输入你要注册域名的内容,<span style="color: black;">例如</span>我的 ID 是凌云,我想注册一个 www.lingyun.com,</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">接着去<span style="color: black;">查找</span><span style="color: black;">瞧瞧</span>有<span style="color: black;">无</span>被注册,<span style="color: black;">倘若</span><span style="color: black;">无</span>被注册就加入购物车购买。</span></p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><span style="color: black;">2、</span>虚拟主机</span></h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">大多在淘宝上可见的香港虚拟空间,价格<span style="color: black;">通常</span>在40元/每月<span style="color: black;">上下</span>,在淘宝里<span style="color: black;">能够</span>搜「虚拟空间 香港」,有<span style="color: black;">非常多</span>,要<span style="color: black;">瞧瞧</span><span style="color: black;">评估</span>。<span style="color: black;">选取</span>香港的<span style="color: black;">或</span>国外的是为了避免备案,<span style="color: black;">倘若</span><span style="color: black;">选取</span>国内的最好<span style="color: black;">选取</span>「阿里云」等大品牌,<span style="color: black;">然则</span>需要备案,备案自己不会的<span style="color: black;">亦</span><span style="color: black;">能够</span>找淘宝,有专业服务的。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">虚拟主机<span style="color: black;">亦</span>分<span style="color: black;">非常多</span>种,<span style="color: black;">详细</span>看配置。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">有国内,国外,香港主机。<span style="color: black;">倘若</span>你要买国内的空间是需要备案的,国外的则<span style="color: black;">不消</span>,但价格挺贵的。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">倘若</span>是用于搭建个人网站,配置则不看重了,随意则好,越便宜越好。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz_png/0vU1ia3htaaOG37ibyNIfvEGkuZic1UQPPBWtT81ykiaGGWCb5krtekpqvfDTUTLTjqsNzaibalkOlsYfOVXOE621yA/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">购买了虚拟主机后再往下看。</span></p><span style="color: black;">虚拟空间稳定性</span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">在稳定性上差距是很大的,你只要记住,便宜没好货,我就介绍一家我买过的,申明店主跟我不认识,我<span style="color: black;">便是</span>之前用过,感觉还不错:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">https://item.taobao.com/item.htm?spm=a1z09.2.0.0.Tg7Owj&id=36867082706&_u=1kj9opea811</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">自己去<span style="color: black;">选取</span>的直接略过。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">虚拟空间速度</strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">在你买空间之前大多商家都会给你一个测速<span style="color: black;">位置</span>,<span style="color: black;">倘若</span>你在淘宝上买空间,你<span style="color: black;">能够</span>看评论,评论里面有买家留了<span style="color: black;">位置</span>,你<span style="color: black;">能够</span>去测测。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">虚拟空间月流量</strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">国外的空间<span style="color: black;">通常</span>都有限制月流量。很少有不限制的,国内的反而大多都不限制,假如一个虚拟空间流量限制10G/月,按90K一个页面计算,最多能承受3450PV一天 <span style="color: black;">亦</span><span style="color: black;">便是</span>说,不论你几个人,一天最多只能看3450个页面。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">按照</span>自己需要</strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">选取</span>适合自己建站程序的空间,<span style="color: black;">例如</span> wordpress、asp、php、discuz 等,买的时候这些要问清楚,问支不支持你的建站程序,<span style="color: black;">否则</span><span style="color: black;">选取</span>了空间不支持这些就麻烦了。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">倘若</span>是<span style="color: black;">经过</span>淘宝购买的,下单后,商家会给你个网址,让你去注册,其实<span style="color: black;">便是</span>管理空间和数据库的<span style="color: black;">地区</span>,注册好后将网站用户名给商家,他就会将空间分配给你。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">商家会给你以下几项信息,<span style="color: black;">尤其</span>重要,请留存好:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">空间<span style="color: black;">位置</span>、端口、ftp 用户名和<span style="color: black;">秘码</span>、数据库名、数据库用户名、数据库<span style="color: black;">秘码</span>,这在后面都会用到,商家会自动给你的,<span style="color: black;">不消</span>担心,留好就行。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">域名解析</strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">例如</span>我的域名和空间都是在主机屋里面买的。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">操作<span style="color: black;">过程</span>:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">用户中心</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">虚拟主机</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">常规功能</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">域名绑定</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">添加绑定域名</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">输入你要绑定的域名</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">一键解析</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">等待半小时<span style="color: black;">就可</span>生效。</span></p>
<h3 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;"><span style="color: black;">3、</span>网站程序</span></h3>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">网站程序<span style="color: black;">指的是</span>PHP语言编写的网站,<span style="color: black;">拥有</span>功能的叫网站程序/系统。但 HTML 语言编写的是单页的网页,<span style="color: black;">咱们</span>这次搭建的是个人博客,当然<span style="color: black;">选取</span>的是网站程序。博客的开源程序有<span style="color: black;">非常多</span>,百度就能找到<span style="color: black;">非常多</span>。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">我<span style="color: black;">举荐</span><span style="color: black;">运用</span>Emlog博客程序</strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">emlog 是 every memory log 的简<span style="color: black;">叫作</span>,意即:点滴记忆。是一款基于 PHP 和 MySQL 的功能强大的博客及 CMS 建站系统。致力于为您<span style="color: black;">供给</span>快速、稳定,且在<span style="color: black;">运用</span>上又极其简单、舒适的内容创作及站点搭建服务。</span></p><span style="color: black;"><span style="color: black;">此刻</span>下载</span>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">环境<span style="color: black;">需求</span></strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">PHP 和 MySQL 的<span style="color: black;">需求</span>。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">PHP5.0 及以上版本,<span style="color: black;">举荐</span> PHP5.2 及以上。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">MySQL4.1 及以上版本,<span style="color: black;">举荐</span><span style="color: black;">运用</span> MySQL5。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">服务器软件:<span style="color: black;">举荐</span><span style="color: black;">运用</span> Linux+Apache 主机,Apache 主机<span style="color: black;">针对</span> emlog 的伪静态支持良好配置简单。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">浏览器:<span style="color: black;">举荐</span><span style="color: black;">运用</span> chrome、Firefox、ie9 浏览器。不<span style="color: black;">举荐</span><span style="color: black;">运用</span> ie6、ie7。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">研发</span>历史</strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">emlog 5.3.1</strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">下载<span style="color: black;">位置</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">发布时间:2014/7/21</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">改进安装脚本兼容某些云引擎</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">后台css和js文件<span style="color: black;">增多</span>版本号,防止升级后缓存不更新</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">默认关闭rss功能</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">修复手机版本编辑<span style="color: black;">文案</span><span style="color: black;">显现</span>多余换行符的问题</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">修复编辑页面修改模版<span style="color: black;">保留</span>失效的问题</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">修复归档查看<span style="color: black;">显现</span>丢失<span style="color: black;">文案</span>的问题(by:vibbow)</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">修复手机版本<span style="color: black;">发帖</span>绕过审核的问题</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">修复数据库备份可能存在的安全隐患</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">修复编辑评论换行的问题</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">修复上传文件过滤不严格的问题</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">操作<span style="color: black;">过程</span>大概<span style="color: black;">认识</span></strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">将 src 文件夹下的所有文件上传到服务器<span style="color: black;">或</span>虚拟主机你要安装 emlog 的目录,<span style="color: black;">重视</span>是 src 下的内容,不是把 src 这个文件夹传上去。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">在浏览器上<span style="color: black;">拜访</span>你的博客<span style="color: black;">位置</span>,程序会自动<span style="color: black;">转</span>到 emlog 安装页面,<span style="color: black;">根据</span>提示安装<span style="color: black;">就可</span>。<span style="color: black;">通常</span>数据库<span style="color: black;">位置</span>和数据库前缀保持默认不需要修改。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">数据库前缀<span style="color: black;">针对</span>只能<span style="color: black;">创立</span>一个数据库的虚拟主机用户<span style="color: black;">来讲</span>比较有<span style="color: black;">道理</span>,数据库表加上前缀<span style="color: black;">能够</span>方便区别其他程序的数据表,<span style="color: black;">亦</span>有<span style="color: black;">必定</span>的安全防范<span style="color: black;">功效</span>。安装过程不会创建数据库,需要您事先创建好。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">点击确认安装,安装成功。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">既然<span style="color: black;">认识</span>了上面的内容,<span style="color: black;">那样</span>来下一步:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">博客程序<span style="color: black;">这儿</span>演示的是 <strong style="color: blue;">Emlog 博客</strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">很轻的一款博客程序。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">咱们</span>先去 Emlog 官网去下载<span style="color: black;">她们</span>的程序:http://www.emlog.net/</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz_png/0vU1ia3htaaOG37ibyNIfvEGkuZic1UQPPBvc4tYzgshY5y1I1CESVFFd3tvAribN4ZHndzZWEUo4M4LyWoqdCbGuQ/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">下载网站程序完成后解压文件。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">而后</span><span style="color: black;">咱们</span>需要把源码上传到虚拟空间里面。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">该怎么上传呢?</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">咱们</span>需要下载一个<strong style="color: blue;">FTP传输工具</strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">我下载的是:<strong style="color: blue;">8UFTP</strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">8UFTP 下载<span style="color: black;">位置</span>:<span style="color: black;">http://rj.baidu.com/soft/detail/12002.html?ald</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">下载完 8UFTP 后进行安装。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">安装完成。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">8UFTP<span style="color: black;">运用</span><span style="color: black;">办法</span></strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">安装完成后的界面。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">能够</span>看到我框选的位置分别有三个要你输入的<span style="color: black;">地区</span>。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz_png/0vU1ia3htaaOG37ibyNIfvEGkuZic1UQPPBYv6cZotHdndLiaLiayPXicOQeTh2rAtUoesrB96jlms0w68UrNZ4bAuKA/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">位置</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">用户名</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">秘码</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">端口</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">需要<span style="color: black;">咱们</span>打开购买的虚拟主机的<span style="color: black;">掌控</span>面板,在<span style="color: black;">掌控</span>面板都<span style="color: black;">能够</span>查看到的,如下图。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz_png/0vU1ia3htaaOG37ibyNIfvEGkuZic1UQPPBpWs8vxOgfMxjPfyGSkBYl97zgk0osJOGrnokzmeRiau2lB5Ilagu0Aw/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">位置</span>是填写虚拟空间的 IP <span style="color: black;">位置</span>。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">用户名。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">秘码</span>。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">安装相对应的填入进去,端口默认是 21,<span style="color: black;">由于</span> FTP 传输的端口是 21,<span style="color: black;">详细</span>还得看空间商。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">登录完成后右边为虚拟空间的文件。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">咱们</span>只需要把网站源码上传在右边的 WEB文件夹里面。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz_png/0vU1ia3htaaOG37ibyNIfvEGkuZic1UQPPBTuL6jmfo7vH7IU7nbjr0MthF52PjXjTQIiaNKtZAdAYXfb1sDqxKZtQ/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">打开 WEB 文件夹。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">再打开<span style="color: black;">咱们</span>解压后的源代码。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">全选直接拖进 WEB 文件夹里面。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">等待上传,<span style="color: black;">倘若</span>文件大的话可能要等一会。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">倘若</span><span style="color: black;">半途</span><span style="color: black;">显现</span>需要覆盖的文件,就<span style="color: black;">选取</span><span style="color: black;">所有</span>覆盖<span style="color: black;">就可</span>。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">上传源码完成后,打开你的域名会<span style="color: black;">显现</span>一个安装界面:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz_png/0vU1ia3htaaOG37ibyNIfvEGkuZic1UQPPBu1IHQRqEZY4z0whXxvMnyD3rUljxicfsKZIHrS7ntiaO68jJU4YMgicicQ/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">MySQL数据库设置</strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">数据库<span style="color: black;">位置</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">数据库用户名</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">数据库<span style="color: black;">秘码</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">数据库名</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">数据库表前缀</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">那样</span><span style="color: black;">咱们</span>该<span style="color: black;">怎样</span>去安装呢?</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">首要</span>还是打开<span style="color: black;">咱们</span>的虚拟空间的<span style="color: black;">掌控</span>面板。找到数据库,<span style="color: black;">能够</span>看到有你的数据库帐号<span style="color: black;">秘码</span>的信息。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz_png/0vU1ia3htaaOG37ibyNIfvEGkuZic1UQPPBLZpMo7th5xCwHIc9UAvm19l4XiayfaRvm3QwIVYJsXqRvmtVvJcZjew/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">根据</span>你空间给出的信息去填配置进行安装。<span style="color: black;">倘若</span>你的空间<span style="color: black;">无</span>给出数据库<span style="color: black;">位置</span>的话都是<span style="color: black;">选取</span>默认,<span style="color: black;">第1</span>个<span style="color: black;">不消</span>改他。第二个用户名和第四个数据库名<span style="color: black;">倘若</span>你空间<span style="color: black;">仅有</span>一个的话都是填同一个数据库前缀<span style="color: black;">保留</span>默认。<span style="color: black;">而后</span>填写你的管理员帐号<span style="color: black;">秘码</span>,<span style="color: black;">这儿</span>是填你搭建的博客的管理员帐号和<span style="color: black;">秘码</span>是登录后台的<span style="color: black;">秘码</span>,<span style="color: black;">所有</span>填好后安装。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz_png/0vU1ia3htaaOG37ibyNIfvEGkuZic1UQPPBibJ4qHTfbIpwq18Pyte22LMSQcaU6To5P3j1HymusQZMKUxB8hTrIdQ/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">刚安装好的<span style="color: black;">而后</span>再打开一下你的域名。就<span style="color: black;">能够</span>看到你的博客了。<span style="color: black;">然则</span>刚安装好的博客是很难看的,<span style="color: black;">咱们</span><span style="color: black;">能够</span>去 Emlog 博客官网去下载<span style="color: black;">有些</span>好看的模板。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="http://mmbiz.qpic.cn/mmbiz_png/0vU1ia3htaaOG37ibyNIfvEGkuZic1UQPPBfiab2qavGGjzgku6aJMkS11x8aZovKmDbkVXHYomo3FhHNwhZD4scyw/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">挑选好你<span style="color: black;">爱好</span>的模板并且下载,之后我们解压一下。之后打开 8UFTP,并且找到一下的路径。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">找到 <strong style="color: blue;">content </strong>文件夹并且打开它。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">再去找 <strong style="color: blue;">templates </strong>文件夹,<span style="color: black;">一样</span><span style="color: black;">亦</span>打开它。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">打开后<span style="color: black;">咱们</span>把解压好的模板拖到里面进行上传。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">上传完成后<span style="color: black;">咱们</span>去登录后台,操作如下图:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="data:image/svg+xml,%3C%3Fxml version=1.0 encoding=UTF-8%3F%3E%3Csvg width=1px height=1px viewBox=0 0 1 1 version=1.1 xmlns=http://www.w3.org/2000/svg xmlns:xlink=http://www.w3.org/1999/xlink%3E%3Ctitle%3E%3C/title%3E%3Cg stroke=none stroke-width=1 fill=none fill-rule=evenodd fill-opacity=0%3E%3Cg transform=translate(-249.000000, -126.000000) fill=%23FFFFFF%3E%3Crect x=249 y=126 width=1 height=1%3E%3C/rect%3E%3C/g%3E%3C/g%3E%3C/svg%3E" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">找到你上传进去的模板,点击一下进行替换。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">模板安装说明</strong></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">【重要】2017年1月7日更新。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">这次</span>更新内容<span style="color: black;">这次</span>更新至:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">删除 module.php 中百度<span style="color: black;">查找</span>函数改用 API 接口前端调用【重要】。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">文案</span>列表和<span style="color: black;">文案</span>页新增<span style="color: black;">归类</span>信息。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">评论框修复子评论回复 Bug。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">版权信息以后<span style="color: black;">亦</span>不会加密了。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">2017年1月2日更新</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">2017年1月1日更新<span style="color: black;">首要</span>祝<span style="color: black;">大众</span>新年<span style="color: black;">愉快</span>啊~主题在今天下载量<span style="color: black;">已然</span>破1k了。<span style="color: black;">亦</span>是我<span style="color: black;">第1</span>个下载量最多的一个作品,<span style="color: black;">因此</span>为了世界和平,我还是更新吧。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">此次更新改动如下:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">弃用多说评论,<span style="color: black;">运用</span>系统自动的评论框架。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">修复了联系方式栏 CSS 动画冲突。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">修复了<span style="color: black;">有些</span>小 Bug。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">2016年12月11日</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">清新的一款主题喔,高仿自 HEXO。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">运用</span>全站预加载技术(并不是 pjax 喔),单栏式自适应纯色二次元主题。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">PC下平滑滚动优化,<span style="color: black;">持有</span>小屏状态栏,一言随机副标题调用(可<span style="color: black;">自动</span>注释)。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">运用</span>修改:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">主题颜色:css/style.css 中全局<span style="color: black;">查询</span>替换 #3ac19f 为你的主题颜色,颜色可参考配色表:<span style="color: black;">http://tool.c7sky.com/webcolor/</span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">头像:会自动调用后台上传的头像。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">多说:js/Duoshuo.js 修改为自己的多说ID。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">导航栏链接:header.php 中找到对应的注释部分。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">一言随机副标题:footer.php 中找到对应注释部分。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">重视</span>:IE浏览器下,导航栏有<span style="color: black;">表示</span>问题,<span style="color: black;">日前</span>还在调试中。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">替换完成之后,再<span style="color: black;">拜访</span>你的域名,就<span style="color: black;">能够</span>看到新的效果了。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">举荐</span>插件:独立下载页面</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">适合<span style="color: black;">供给</span>下载的博客</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">功能:插件特色:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">全面兼容 Emlog5.3.x。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">支持<span style="color: black;">各样</span>主题,<span style="color: black;">保准</span>兼容性。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">独立的下载页面方便自由化定制,插件<span style="color: black;">宣传</span>。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">独立的查看演示页面,方便<span style="color: black;">插进</span><span style="color: black;">宣传</span>和自由化定制。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">包括</span>全面的文件信息:文件名<span style="color: black;">叫作</span>、文件搭建、适用版本、更新日期、作者信息、下载<span style="color: black;">位置</span>、查看演示(不填写不<span style="color: black;">表示</span>)。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">包括</span>国内<span style="color: black;">平常</span>网盘如:百度网盘(含网盘<span style="color: black;">秘码</span>)、360网盘(含网盘<span style="color: black;">秘码</span>)、迅雷快传、城通网盘、其他网盘、官方下载、普通下载等非常方便,不填写不<span style="color: black;">表示</span>,支持自由定制。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">挂载点:<span style="color: black;"><!—?php doAction(‘down_log’,$logid); ?—></span></span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">还有百度自动推送:</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">插件功能:在发布<span style="color: black;">文案</span>的时候自动向百度提交,有利于百度的快速收录。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">运用</span><span style="color: black;">帮忙</span>:请在 <span style="color: black;">zhanzhang.baidu.com/linksubmit/index</span> 获取 token 在后台<span style="color: black;">保留</span>对应的站点链接与 TOKEN,<span style="color: black;">就可</span>正常<span style="color: black;">运用</span>,<span style="color: black;">倘若</span>有一个留空不会提交,发布<span style="color: black;">文案</span>后<span style="color: black;">能够</span>到后台查看提交记录,查看<span style="color: black;">是不是</span>提交成功。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">v1.2 添加新功能,只查看前N条记录,后台清空提交记录。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">v1.1 添加新功能(<span style="color: black;">或</span>说修复 BUG),<span style="color: black;">文案</span><span style="color: black;">倘若</span><span style="color: black;">已然</span>推送不会再次向百度推送,感谢稻香的反馈。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">v1.0 发布插件。</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="data:image/svg+xml,%3C%3Fxml version=1.0 encoding=UTF-8%3F%3E%3Csvg width=1px height=1px viewBox=0 0 1 1 version=1.1 xmlns=http://www.w3.org/2000/svg xmlns:xlink=http://www.w3.org/1999/xlink%3E%3Ctitle%3E%3C/title%3E%3Cg stroke=none stroke-width=1 fill=none fill-rule=evenodd fill-opacity=0%3E%3Cg transform=translate(-249.000000, -126.000000) fill=%23FFFFFF%3E%3Crect x=249 y=126 width=1 height=1%3E%3C/rect%3E%3C/g%3E%3C/g%3E%3C/svg%3E" style="width: 50%; margin-bottom: 20px;"></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">「<span style="color: black;">阅读原文</span>」查看本场 Chat 的交流实录</span></p>
同意、说得对、没错、我也是这么想的等。
页:
[1]