🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# 三、安装教程 ## 1、网站安装 1、**linux服务器安装宝塔:****[点击安装教程](https://www.bt.cn/bbs/thread-19376-1-1.html)** yum install -y wget && wget -O install.sh http://download.bt.cn/install/install\_6.0.sh && sh install.sh 12f2c1d72 **2、宝塔软件管理,安装php7.0 + mysql5.6 + nginx1.2** ![](https://img.kancloud.cn/ec/27/ec27be6081b63a89236e47c7a001b86b_1893x580.png) **3、php7.0的 安装sg11扩展** ![](https://img.kancloud.cn/21/43/21438759a43f842773b881c26504f302_638x563.png) **4、添加数据库,instal.sql** ![](https://img.kancloud.cn/3b/2f/3b2fc3ef6d7cca798cad98fed53a11e1_1266x277.png) **5、打开phpmyadmin并导入数据库文件:install.sql** ![](https://img.kancloud.cn/52/f1/52f1a51f3ae978fa5a48e1e05af8816e_1376x469.png) ![](https://img.kancloud.cn/c9/80/c9809fa93abdf8d7d28b2fa3bb145232_1527x811.png) **6、创建网站,输入域名,网站目录/www/wwwroot/**域名**/**【数据库不创建,PHP版本选择7.0】 ![](https://img.kancloud.cn/a3/d7/a3d784ac5b8dfd671beab30a30d4af62_1463x721.png) **7、找到对应目录【/www/wwwroot/域名】,上传代码,解压代码** ![](https://img.kancloud.cn/df/0b/df0b292aeababa1230965d8b2e4ee252_1685x584.png) ![](https://img.kancloud.cn/7b/3a/7b3a7872d3e41610a5463fdc235b8776_1685x838.png) ![](https://img.kancloud.cn/29/b3/29b3331532b978aefa7258f88dc9c086_1722x596.png) **8、设置站点目录 目录指向qvmhweb/pub文件** ![](https://img.kancloud.cn/ae/7a/ae7ad502cb31c166b970899e77dfa345_1559x746.png) **9、去掉勾选网站目录的防跨站攻击** ![](https://img.kancloud.cn/1e/e7/1ee73cd4f3f281163a53ce1e62db831d_1583x793.png) **10、伪静态选择laravel5** ![](https://img.kancloud.cn/da/5d/da5dc463577a0edde41c9002cb31bfdd_1515x792.png) **11、修改数据库配置和域名配置 /www/wwwroot/域名/qvmhweb/conf.php** ![](https://img.kancloud.cn/c7/ff/c7ff6c1e22085275617a499e041c5164_1486x745.png) ![](https://img.kancloud.cn/88/13/8813bb0a16744d061830146644ee365b_1414x769.png) **12、SSL证书配置[安装完成后默认即可,不要强制https]** ![](https://img.kancloud.cn/4a/f5/4af5faaf9712ba689637345e7b89511b_1502x612.png) **13、后台地址:** 招商PC:http://你的域名 用户后台:http://你的域名/login.html 账号:123456 密码:123456 总后台:http://你的域名/manage/login.html 账号:admin 密码:admin123 **13、登录总后台,打开站点管理,把域名修改为自己域名,关闭第三方应用授权,套餐点击确认提交:** ![](https://img.kancloud.cn/b9/f4/b9f4f7b19d5cbc0b3d83381ff76c69d1_1594x923.png) ![](https://img.kancloud.cn/84/22/8422f22e6b08da0f55939d0498499f57_1429x863.png) ![](https://img.kancloud.cn/f5/f3/f5f394555b1eeb4959e997f3298120f3_1916x901.png) ![](https://img.kancloud.cn/85/4b/854bfc22f4402285c2719b11031c8a50_1920x944.png)