教你用宝塔面板建站教程

December 09, 2023
测试
测试
测试
测试
5 分钟阅读

用宝塔创建新站很容易自动生成

1.点击:添加站点

attachments-2023-03-NyKgqD9u6402a7ac15f35.jpg
attachments-2023-03-NyKgqD9u6402a7ac15f35.jpg

2. 将网址更换成你自己的网址即可,然后提交

attachments-2023-03-QuAwQ0xZ6402a814858ef.jpg
attachments-2023-03-QuAwQ0xZ6402a814858ef.jpg

3.查看刚才建立网站信息

attachments-2023-03-2OD43Zco6402a865cd857.jpg
attachments-2023-03-2OD43Zco6402a865cd857.jpg

4.点击:设置,红框都需要设置

attachments-2023-03-suAVMisg6402a8d072623.jpg
attachments-2023-03-suAVMisg6402a8d072623.jpg

5.主要是泛域名运用方式

attachments-2023-03-pO6E2Vdf6402a9734ef9c.jpg
attachments-2023-03-pO6E2Vdf6402a9734ef9c.jpg

6.如果用tpthink程序,要将运行目录指定到:/public,具体看程序要求

attachments-2023-03-UCuVXNzE6402a9b54bb39.jpg
attachments-2023-03-UCuVXNzE6402a9b54bb39.jpg

7.伪静态

attachments-2023-03-zDtiq6vU6402aa7182e92.jpg
attachments-2023-03-zDtiq6vU6402aa7182e92.jpg

8.SSL证书,我在前面已详细告诉你们,如何申请它

attachments-2023-03-F4Ycj8Oa6402aaa128fa7.jpg
attachments-2023-03-F4Ycj8Oa6402aaa128fa7.jpg

9.具体运用哪个版本php,根据程序需要而选择

attachments-2023-03-ocjNvmct6402aade6e296.jpg
attachments-2023-03-ocjNvmct6402aade6e296.jpg

10.反向代理

attachments-2023-03-bP29nCtU6402ab4583267.jpg
attachments-2023-03-bP29nCtU6402ab4583267.jpg

11.到这里已经设完了

attachments-2023-03-Rv2h7Fyo6402ab9e7bc83.jpg
attachments-2023-03-Rv2h7Fyo6402ab9e7bc83.jpg

12.现在可以上传运行代码

attachments-2023-03-hGxE6Hry6402abdaed301.jpg
attachments-2023-03-hGxE6Hry6402abdaed301.jpg

13.开始上传代码

attachments-2023-03-t2GDoTos6402ac4e3fa10.jpg
attachments-2023-03-t2GDoTos6402ac4e3fa10.jpg

14.正在上传中。。。。。等几分钟

attachments-2023-03-OK6mkugG6402ac9ed09be.jpg
attachments-2023-03-OK6mkugG6402ac9ed09be.jpg
attachments-2023-03-eYbvH1NO6402aced47714.jpg
attachments-2023-03-eYbvH1NO6402aced47714.jpg

15.先改权限,再解包

attachments-2023-03-9aDhVHnD6402ad17158af.jpg
attachments-2023-03-9aDhVHnD6402ad17158af.jpg

16.权限为:775

attachments-2023-03-HnYygZWY6402ad50772f3.jpg
attachments-2023-03-HnYygZWY6402ad50772f3.jpg

17.开始解包

attachments-2023-03-jnczZXSL6402ad887d4aa.jpg
attachments-2023-03-jnczZXSL6402ad887d4aa.jpg

18.解包成功

attachments-2023-03-LTLZ95Y86402adc9c5204.jpg
attachments-2023-03-LTLZ95Y86402adc9c5204.jpg

20.开始设置

attachments-2023-03-Q6dLt2TT6402adfcaff38.jpg
attachments-2023-03-Q6dLt2TT6402adfcaff38.jpg

21.要将网站目录,解到server目录

attachments-2023-03-XtiO2ump6402ae39088c4.jpg
attachments-2023-03-XtiO2ump6402ae39088c4.jpg

22.运行目录解到:public

attachments-2023-03-N6vUf9vw6402ae89eb50a.jpg
attachments-2023-03-N6vUf9vw6402ae89eb50a.jpg

23.部署SSL证书

attachments-2023-03-fFiUr8jV6402aff555f1f.jpg
attachments-2023-03-fFiUr8jV6402aff555f1f.jpg

24.表示部署成功了

attachments-2023-03-DMgKZXiA6402b034c6129.jpg
attachments-2023-03-DMgKZXiA6402b034c6129.jpg

25.在地址栏中输入:https://test.ciilii.com

attachments-2023-03-btWYQi436402b1b42f519.jpg
attachments-2023-03-btWYQi436402b1b42f519.jpg

26.点击授权协意

attachments-2023-03-wJQTYCdo6402b23bb97b6.jpg
attachments-2023-03-wJQTYCdo6402b23bb97b6.jpg

26. 红框内容必须正确无误

attachments-2023-03-16OmWblM6402b288e926f.jpg
attachments-2023-03-16OmWblM6402b288e926f.jpg

27.获取数据库信息

attachments-2023-03-nygqdnNp6402b2c316f9b.jpg
attachments-2023-03-nygqdnNp6402b2c316f9b.jpg

28.填写数据库信息

attachments-2023-03-gBaVBGZs6402b3169945c.jpg
attachments-2023-03-gBaVBGZs6402b3169945c.jpg

29.表示正在安装中。。

attachments-2023-03-JVvFKcUa6402b4038cbb4.jpg
attachments-2023-03-JVvFKcUa6402b4038cbb4.jpg

30.表示安装成功了

attachments-2023-03-D8V7EiN06402b424906c4.jpg
attachments-2023-03-D8V7EiN06402b424906c4.jpg

继续阅读

更多来自我们博客的帖子

如何安装 BuddyPress
由 测试 December 17, 2023
经过差不多一年的开发,BuddyPress 这个基于 WordPress Mu 的 SNS 插件正式版终于发布了。BuddyPress...
阅读更多
Filter如何工作
由 测试 December 17, 2023
在 web.xml...
阅读更多
如何理解CGAffineTransform
由 测试 December 17, 2023
CGAffineTransform A structure for holding an affine transformation matrix. ...
阅读更多