手把手教你搭建自己的网站【一】建站基本
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">针对</span>昨天的教程,<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>~前期<span style="color: black;">咱们</span>在本地玩,玩会了,<span style="color: black;">咱们</span>再去买服务器。<img src="https://mmbiz.qpic.cn/mmbiz_gif/cZV2hRpuAPgramZsh4ficWf6uic38nRNRtukkh574W5GUuYtK31c5IsM1G2Af3ib1nEKutpibOILDeXVOJUialYsENA/640?wx_fmt=gif&tp=webp&wxfrom=5&wx_lazy=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;">第1</span>节 <span style="color: black;">关联</span><span style="color: black;">基本</span>知识的介绍</p>1什么是网站<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">难以置信</span>,果核居然这么<span style="color: black;">基本</span>的东西都要讲,是不是看不起<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>教程,那就抱歉了,我当你什么都不<span style="color: black;">晓得</span>!!</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/HautRxjCevveWC5yIdOBJ8xVoGt8hBJ5AYiaNkL3CP4nYWUTqmTF9gJYE5LKR0DW4kUeY68MZ32hIibUicZeq5Lkw/640?wx_fmt=jpeg&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>能<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>多个域名对应一个网站。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">例如</span>说,<span style="color: black;">咱们</span><span style="color: black;">经过</span>av001xxxx.com/av002xxxx.com 等<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>羞羞的网站是这么干的。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;">域名和IP的关系</strong></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">实质</span>上,<span style="color: black;">咱们</span><span style="color: black;">拜访</span>一个网站,打开这个域名,他<span style="color: black;">实质</span>上是在DNS服务器上面去找这个域名对应的IP,<span style="color: black;">而后</span><span style="color: black;">转</span>相应的IP。在<span style="color: black;">初期</span>的时候,<span style="color: black;">咱们</span>打开网站,只能<span style="color: black;">经过</span>IP<span style="color: black;">拜访</span>,后来人们觉得太麻烦,IP<span style="color: black;">欠好</span>记,就发明了域名这个东西,来方便<span style="color: black;">咱们</span>记住网站<span style="color: black;">位置</span>。并且以后不管IP怎么换,只要记得<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><span style="color: black;">晓得</span>网站对应的IP<span style="color: black;">位置</span>,<span style="color: black;">咱们</span><span style="color: black;">能够</span>在CMD中,<span style="color: black;">运用</span>ping命令来<span style="color: black;">查找</span>。例如百度对应的IP是下图这个,当然,百度<span style="color: black;">运用</span>了CDN,<span style="color: black;">每一个</span>地区的IP不<span style="color: black;">同样</span>,关于CDN以后再给<span style="color: black;">大众</span>说。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/HautRxjCevveWC5yIdOBJ8xVoGt8hBJ5lnJZ3sTx2ETtywN7bEpicceH4PVia0giaEE1AgFgtRjxO4uGYF68jJAsw/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;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/HautRxjCevveWC5yIdOBJ8xVoGt8hBJ5wtVMrYjJRdOb5DJpxlsu4dOonYAQfO2cKbpJEjjy1DyvXAeTlHiaL4Q/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>2网站的类型<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><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>HTML标记给<span style="color: black;">咱们</span>呈现,<span style="color: black;">然则</span>这个后面,输出HTML内容的程序却不<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>大<span style="color: black;">都数</span><span style="color: black;">运用</span>的网站程序是PHP,Jsp,asp等。当然还有比较小众的go,Python等。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">当然,<span style="color: black;">亦</span><span style="color: black;">能够</span>直接<span style="color: black;">运用</span>HTML文件当网站的文件。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">网站程序比较好区分,<span style="color: black;">咱们</span>在<span style="color: black;">位置</span>栏常常看到php,jsp和asp结尾的东西,<span style="color: black;">通常</span>就能分辩出来了。php是世界上最好的语言。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">php非常轻量和简单,常常被个人以及中小企业<span style="color: black;">运用</span>,并且用户群相当的巨大,<span style="color: black;">无</span>php做不了的事。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">而<span style="color: black;">咱们</span>的教程,<span style="color: black;">亦</span>是<span style="color: black;">运用</span>php来搭建<span style="color: black;">咱们</span>的网站。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_gif/HautRxjCevveWC5yIdOBJ8xVoGt8hBJ590Zp6OYADup2GF7UyzGcTK2v675dYo051mQIibOHDJaa2RJh1xRN8ibA/640?wx_fmt=gif&tp=webp&wxfrom=5&wx_lazy=1" style="width: 50%; margin-bottom: 20px;"></p>3<span style="color: black;">选取</span>网站程序<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">PHP的程序实在是太多了,<span style="color: black;">按照</span>自己的<span style="color: black;">需要</span>,<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>是要做个人网站,<span style="color: black;">那样</span><span style="color: black;">咱们</span>就要<span style="color: black;">选取</span>一个博客系统<span style="color: black;">做为</span>自己的网站。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">PHP博客系统<span style="color: black;">亦</span>非常多,注明的开源博客系统有:WordPress,Typecho,emlog,Zblog等。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">很巧的是,上面四种程序,果核都玩过。</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;"><strong style="color: blue;">WordPress:</strong>绝对的大哥地位,虽然说是博客程序,<span style="color: black;">实质</span>上它什么都能做,全世界流量排名前1000万的网站有33.4%是用Wordpress搭建的!换句话说,wordpress现已占据网络上前1000万个网站中的1/3。果核剥壳<span style="color: black;">亦</span>是<span style="color: black;">运用</span>WordPress博客搭建的,当然和我同类的网站,几乎<span style="color: black;">亦</span>是<span style="color: black;">运用</span>WordPress搭建的。<span style="color: black;">由于</span>他实在是太强大了,<span style="color: black;">各样</span>各样的主题,插件,数不清。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/HautRxjCevveWC5yIdOBJ8xVoGt8hBJ5PFJyzRBSDwnzQJceuE4ot94M03rOcrdfiaR2F4cI9EuZibh7A1Udmtibw/640?wx_fmt=jpeg&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;"><strong style="color: blue;">Typecho</strong>:Typecho<span style="color: black;">是由于</span>个人团队<span style="color: black;">研发</span>的一套程序,非常小巧,功能比较简单,<span style="color: black;">然则</span>原生支持md语法,加载速度快,被<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>编辑器比较难用,果核就放弃了,<span style="color: black;">亦</span>不<span style="color: black;">晓得</span><span style="color: black;">此刻</span>怎么样了。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/HautRxjCevveWC5yIdOBJ8xVoGt8hBJ59ys8XgGcaGABvMSlibCSVQibK6PLVqHrjjibeFAU7VuVePJ6iarAVxQgFg/640?wx_fmt=jpeg&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;">emlog:emlog<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>是非常强大的了。上面的插件和模板比typecho多,<span style="color: black;">不外</span>6.0版本的就少了<span style="color: black;">非常多</span>,6.0版本是大更新,<span style="color: black;">不外</span>估计<span style="color: black;">已然</span>烂尾了,以前官方还在搞主机来着,这个<span style="color: black;">亦</span>垮了,总之用这个程序的人越来越少了。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/HautRxjCevveWC5yIdOBJ8xVoGt8hBJ5h7a7fF08fnF7kbjQKbGcqz3RJxy3XeiaC71xvs9bX6M5sf2jUsIOobQ/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;">zblog:zblog最<span style="color: black;">起始</span>是asp程序,后面又推出了php版的程序,<span style="color: black;">运用</span>起来效果都很不错,并且官方推的比较给力,<span style="color: black;">运用</span>它的用户还是挺多的。zblog的主题和插件都比较丰富,<span style="color: black;">不外</span><span style="color: black;">非常多</span>都要收费,让人觉得有<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>支持直接<span style="color: black;">运用</span>SQLITE,搭建个人博客,连数据库服务器都给省了。<span style="color: black;">日前</span>果核源码网<span style="color: black;">运用</span>的<span style="color: black;">便是</span>这个程序,用着还行。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_jpg/HautRxjCevveWC5yIdOBJ8xVoGt8hBJ5FOIzO5fEyicLF6CoDXoLuk8RfzID7eAmibE9h7KoEc907TpPLJhmgVZQ/640?wx_fmt=jpeg&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>应该有<span style="color: black;">选取</span>了吧。虽然WordPress对<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>方便拓展。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">啥?你说你就要简单和方便?那就用typecho吧,这个是你的菜~</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">那样</span>下一节,<span style="color: black;">咱们</span>就<span style="color: black;">起始</span>在本地搭建网站了,敬请期待~</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/HautRxjCevveWC5yIdOBJ8xVoGt8hBJ5l3pO3epv8PUHOzKYxMPMgVoM7972TXA0UYxajuqboOtkOqKy7V8MxQ/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;">点击好看,支持我~</p>
外链发布论坛学习网络优化SEO。 你的话语如春风拂面,温暖了我的心房,真的很感谢。
页:
[1]