0基本小白建站教程(本地)
<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>都在问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;"><span style="color: black;">首要</span>,要准备好建站需要用到的工具,搭建环境我<span style="color: black;">运用</span>的是小皮面板phpstudy,</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">浏览器搜索PHPstudy或小皮面板,<span style="color: black;">根据</span>你的系统<span style="color: black;">选取</span>32位<span style="color: black;">或</span>64位下载。下载完成后,打开压缩包,安装时要<span style="color: black;">重视</span>一下安装包内的说明。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/830fba3937c74f3fbd42a8a39fddbf74~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1722655109&x-signature=cfRq%2Bq2%2F35A3oBgpVo86WzlkjLg%3D" style="width: 50%; margin-bottom: 20px;"></div>
<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>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/717bdba1c3e145ce9c6940937bf8c0f6~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1722655109&x-signature=jtUXPCv8n2LjP97d%2FVr9jrgCyXk%3D" style="width: 50%; margin-bottom: 20px;"></div>
<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>配置本地环境,打开PHPstudy,<span style="color: black;">由于</span>是本地搭建,<span style="color: black;">咱们</span>只需要开启Apache和MYSQL就好了。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p26-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/5b97a07de3c44acdae4941fc09f448bc~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1722655109&x-signature=aXUkWMYQgxdUQyA0ILn6XJN%2FRe8%3D" style="width: 50%; margin-bottom: 20px;"></div>
<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>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/8866fede8d464176b13e86a6d4b8d15f~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1722655109&x-signature=bKPbLfPPm8GbQ%2BTJXryafSgJPhE%3D" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">底部还需要<span style="color: black;">重视</span>一下PHP版本选项,PHP版本要<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>,CMS系统的官网都会注明需要用到的环境<span style="color: black;">要求</span>,例如人人站,找到系统下载页面,底部的环境栏标注着需要php7.1以上,<span style="color: black;">因此</span><span style="color: black;">咱们</span><span style="color: black;">选取</span>7.3.4版本是没问题的,配置完点击确定,程序自动重启<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>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/05edd733826243b6a788bed191d905f0~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1722655109&x-signature=eobDU9Dr10yzOOv0XoZVXKcPlN8%3D" style="width: 50%; margin-bottom: 20px;"></div>
<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>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p26-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/3ab0deaf076a49c993c81e9cb43fd69a~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1722655109&x-signature=Ms854bCP0BEBfIWY%2BvPSrR8%2FMMY%3D" style="width: 50%; margin-bottom: 20px;"></div>
<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>的平台,最好是带着可视化功能。我用得比较习惯的是人人站,登陆网站模板栏目找到一套<span style="color: black;">爱好</span>的,将整站模板直接下载下来,将下载完的压缩包<span style="color: black;">安置</span>到之前设置好的网站根目录里,根目录默认带着3个文件,<span style="color: black;">能够</span>直接删除。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/ea997c738fcc478cbf0c7ff3b78a2300~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1722655109&x-signature=h%2BSJAVbN0fZ7s9aOo5V%2FV3eb1p0%3D" style="width: 50%; margin-bottom: 20px;"></div>
<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>。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/ef00079755034044bcd89994a3bcfa98~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1722655109&x-signature=4drFAQpRW8DA3W7r8Xp08NLEyQI%3D" style="width: 50%; margin-bottom: 20px;"></div>
<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>网站就完全配置完<span style="color: black;">成为了</span>。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/4c5217ee3d58427bba6273743c789c9c~noop.image?_iz=58558&from=article.pc_detail&lk3s=953192f4&x-expires=1722655109&x-signature=B93qDmWXLXGHZHiH75bNijWR5YY%3D" style="width: 50%; margin-bottom: 20px;"></div>
论坛的成功是建立在我们诚恳、务实、高效、创新和团结合作基础上,我们要把这种精神传递下去。 我赞同你的看法,你的智慧让人佩服,谢谢分享。
页:
[1]