指点云用户44 发表于 2022-7-29 20:56:44

新手入门及之VPS建站(VPS经典教程)

<p data-first-child="" data-pid="-JuF19lB" style="margin-top: 0px; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">推荐VPS系统是Liunx的小伙伴们</span>:刚入门的小伙伴难以进入Linux VPS或者服务器的大门的最大难度在于从windows的可视化转向Linux的命令,一下子就抹黑了;太多人“炫耀”显摆高深的Linux知识,导致新手完全像看“天书”一样难懂,也是一个人为设置的障碍。</p><p data-pid="iurjPCv-" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">Linux VPS系统操作,并没有你想象中的难</span>:记住,先依葫芦画瓢,有能力了再追究深层次的!汉字都不认识了,你怎么学习诗词歌赋,先死记硬背一点儿汉字,后面看多了用多了,自然融会贯通!学习使用VPS也是!</p><p><br/></p><figure data-size="normal" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"></figure><p><br/></p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">(1)如何选Linux系统?</h2><p data-pid="xuMjJhd_" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">对于刚入门的小伙伴来说,<span style="font-weight: 600; font-synthesis: style;">主机测评分享</span>觉得最重要的还是易用性,是否拥有足够多的人在用,辅助资料的多少,来考虑使用;red hat (centos \ fedroa)、Debian (Ubuntu\Linux Mint),选一种即可,其余的发行版本建议在后期有一定折腾能力了再考虑!</p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">(2)如何登录VPS系统?</h2><p data-pid="EJctaoaR" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">在我们从VPS商家那边拿到了VPS信息(包括IP地址、登录账号root或者其他、登录密码、甚至 SSH KEY)就可以利用一些SSH登录工具比如putty、xshell等进行登录。</p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">(3)如何更新VPS系统?</h2><pre style="margin-top: 0px; margin-bottom: 0px; padding: calc(0.888889em); font-size: 0.9em; word-break: initial; overflow-wrap: initial; overflow: auto; background-color: rgb(246, 246, 246); border-radius: 4px;">red&nbsp;hat&nbsp;(centos&nbsp;\&nbsp;fedroa):yum&nbsp;update&nbsp;-y
Debian&nbsp;(Ubuntu\Linux&nbsp;Mint):apt-get&nbsp;update&nbsp;&&&nbsp;apt-get&nbsp;upgrade</pre><p data-pid="BbyXiNTW" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">【遇到要升级的,有必要的情况下“yes”,可以读读提示!】</p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">(4)如何编译建站环境?</h2><p data-pid="IzOU9Cfq" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">建站环境,我们这里大致说两种:LAMP、LNMP,Linux Apache\Nginx MySQL PHP,区别就在于A(Apache)和N(Nginx),至于说到底是要手工编译、还是直接用网上他人提供的一键安装包或者面板,这个看大家自己的需求了!</p><p data-pid="famjuopn" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">-刚入门的新手小伙伴就直接看下面的一键安装包吧~~</span></p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">一键安装包:</h2><p data-pid="XCxBYBoR" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">参考(1)</span>:oneinstack,选择你需要的组件、复制安装命令、粘贴在SSH工具内、回车,全程无人值守安装,最后注意保存一下 MySQL的root密码!<br/><a href="https://link.zhihu.com/?target=https%3A//oneinstack.com/auto/" class=" external" target="_blank" rel="nofollow noreferrer" data-za-detail-view-id="1043" style="text-decoration-line: none; cursor: pointer; border-bottom: 1px solid rgb(128, 128, 128);"><span class="invisible" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 0px; line-height: 0; font-family: a; color: transparent; text-shadow: none; background-color: transparent;">https://</span><span class="visible">oneinstack.com/auto/</span><span class="invisible" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 0px; line-height: 0; font-family: a; color: transparent; text-shadow: none; background-color: transparent;"></span></a>,实现了Linux、Apache、Nginx、Tomcat、MySQL\PostgreSQL\MongoDB的不同系统、不同组件版本单选、共存的一键操作!</p><p data-pid="Hsyz65GY" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">参考(2)</span>: LAMP一键安装包,<a href="https://link.zhihu.com/?target=https%3A//lamp.sh/" class=" external" target="_blank" rel="nofollow noreferrer" data-za-detail-view-id="1043" style="text-decoration-line: none; cursor: pointer; border-bottom: 1px solid rgb(128, 128, 128);"><span class="invisible" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 0px; line-height: 0; font-family: a; color: transparent; text-shadow: none; background-color: transparent;">https://</span><span class="visible">lamp.sh/</span><span class="invisible" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 0px; line-height: 0; font-family: a; color: transparent; text-shadow: none; background-color: transparent;"></span></a>,由泰迪大佬维护多年了,可以为 Amazon<br/>Linux/CentOS/Fedora/Debian/Ubuntu 系统的 VPS 或服务器安装 LAMP(Linux + Apache + MySQL/MariaDB/Percona + PHP) 生产环境的 Shell 脚本,可选安装组件非常多:同时还有一些辅助脚本如:虚拟主机管理、Apache、MySQL/MariaDB/Percona、PHP 及 PhpMyAdmin 的升级等。</p><p data-pid="pzpEcc6S" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">常见的VPS控制面板</span>:</p><p data-pid="iSdMb7v5" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;"><a href="https://link.zhihu.com/?target=http%3A//vestacp.com" class=" external" target="_blank" rel="nofollow noreferrer" data-za-detail-view-id="1043" style="text-decoration-line: none; cursor: pointer; border-bottom: 1px solid rgb(128, 128, 128);"><span class="invisible" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-weight: normal; font-stretch: normal; font-size: 0px; line-height: 0; font-family: a; color: transparent; text-shadow: none; background-color: transparent;">http://</span><span class="visible">vestacp.com</span><span class="invisible" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-weight: normal; font-stretch: normal; font-size: 0px; line-height: 0; font-family: a; color: transparent; text-shadow: none; background-color: transparent;"></span></a></span>,俄罗斯老牌免费面板,选择需要的组件、复制代码,粘贴在SSH工具内,回车!安装完成之后记得记录一下面板的后台地址,然后把VPS当做虚拟主机来使用就可以了,就这么简单!</p><p data-pid="thwqhGFw" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">宝塔面板</span>,整合了你建站需要的几乎所有环境,一键安装,中国公司开发,交流更加方便。</p><p data-pid="RNP3p7-_" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">AMH面板</span>:国人开发,成立公司运作,几乎解决了建站需要的绝大多数需求,一键安装。</p><p data-pid="f5AAfKSu" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">收费面板:</span>cpanel、directadmin、Plesk</p><p data-pid="Z2p9lGaR" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">开源面板:</span>ISPConfig、Ajenti、Kloxo、OpenPanel、ZPanel、EHCP、ispCP、VHCS 、RavenCore、Virtualmin、InterWorx、SysCP</p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">(5)如何搭建一个网站?</h2><p data-pid="c79JVsv7" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">主机测评分享</span>一般选择宝塔控制面板,可视化控制,对新手和刚入门的小伙伴还是非常的友好的,安装登入后有环境的一键安装所需环境即可,上传和绑定网站的文件和域名就可以开始使用啦,还支持HTML及各种常见前端文件的编译修改!</p><p data-pid="Hc_jib9g" style="margin-top: 1.4em; margin-bottom: 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">致臻数据【<a href="https://link.zhihu.com/?target=http%3A//zhizhenyun.com.cn" class=" external" target="_blank" rel="nofollow noreferrer" data-za-detail-view-id="1043" style="text-decoration-line: none; cursor: pointer; border-bottom: 1px solid rgb(128, 128, 128);"><span class="invisible" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-weight: normal; font-stretch: normal; font-size: 0px; line-height: 0; font-family: a; color: transparent; text-shadow: none; background-color: transparent;">http://</span><span class="visible">zhizhenyun.com.cn</span><span class="invisible" style="font-variant-numeric: normal; font-variant-east-asian: normal; font-weight: normal; font-stretch: normal; font-size: 0px; line-height: 0; font-family: a; color: transparent; text-shadow: none; background-color: transparent;"></span></a>】</span>——包含vps、物理服务器、高防服务器、香港&美国等海外服务器节点皆有,并且提供智能建站Aipage、小程序,以及网页视觉设计和维护等网络云服务,为广大的入门网友和团体提供一站式线上云服务方案,每个服务器在后台都有独立的控制面板,支持一键式管理,省时省力省费用,如需要任何的测评和技术分享,欢迎私信<span style="font-weight: 600; font-synthesis: style;">主机测评分享</span>哦~</p><p><br/></p><link rel="stylesheet" href="//www.zhidianyun.cn/source/plugin/wcn_editor/public/wcn_editor_fit.css?v134_TZ8" id="wcn_editor_css"/>
页: [1]
查看完整版本: 新手入门及之VPS建站(VPS经典教程)