聪明小米 发表于 昨天 17:31

关于贴子<开源>云乐购社区系统的安装教程




‘ 关于<开源>云乐购社区系统源码的作者贴子:



下面评论发教程有点烦,我专门开个贴子出来说一下,安装教程,我就是个测试以及一个好心人,帮助好兄弟们发个教程,别干我哈,另外说明一下,原贴内测试站,我只放一个星期从今天开始计时2020.8.5到20208.12,我会删除测试站,别改后台用户密码,给刀网的兄弟们看的测试,也别打我站点,不经打。


我这人就是心好,善良,为了刀网的兄弟们出个教程,嘿嘿嘿!


第一步,我们先说一下安装环境:Apache+Myspl+PHP5.6 (PHP模块随意,你们觉得需要什么就装什么,懂的都懂,不装也行。另外Nginx也支持,伪静态规则在下面。)


第二步,就是解析问题,A记录的WWW、@、*,一共三条记录【重要!必不可少】,* 是用于分站的泛解析哦~,所有的域名必须也绑定在你的服务器上。


第三步,就是上传源码(需要在目录下的【system/datd.php】这个位置配置数据库信息,别忘了最下面一行的安全域名也需要改)及导入数据库,数据库有两个,一个yun,一个yika默认是yun(有能力的可以删除yika这个!~ 我不多讲解了。记得如果要删除返回第二步,去define('flag', 'yun_');看这个语句,yun可以改成yika,二选一)


第四步,访问:域名+/rootadmin/index,配置总控端,搭建主站等等功能。总控账号:3301200869,密码:2020yang..


第五步,主站搭建成功,访问:域名+/admin/login,访问主站后台,作者写的index进不去,login可以,这时候你们就可以开用了~


第六步,分站搭建成功,访问:域名+/User/index,访问分站后台。


第七步,源码模板位置在/template/index,各位自行修改,我也不教了,编号11的文件夹是亿乐那个模板。


各位请尽情享用源码吧!~


下面是Nginx的伪静态规则:

[*]location = /index.html {
rewrite ^(.*)$ /index.asp;
}
location = /index/home/logout.html {
rewrite ^(.*)$ /member/logout.php;
}
location /login {
rewrite ^/login/(*)$ /login.php?id=$1;
}
location = /notice.html {
rewrite ^(.*)$ /notice.php;
}
location /index {
rewrite ^/index/home/order/id/(*).html$ /member/index.php?id=$1;
rewrite ^/index/home/rmb_record/id/(*).html$ /member/rmbjl.php?id=$1;
rewrite ^/index/home/pay/id/(*).html$ /member/pay.php?id=$1;
rewrite ^/index/home/ktfz/id/(*).html$ /member/ktfz.php?id=$1;
rewrite ^/index/home/ktcg/id/(*).html$ /member/ktcg.php?id=$1;
rewrite ^/index/home/login_record/id/(*).html$ /member/log.php?id=$1;
rewrite ^/index/home/password/id/(*).html$ /member/password.php?id=$1;
rewrite ^/index/home/dj/id/(*).html$ /member/dj.php?id=$1;
rewrite ^/index/home/duijie/id/(*).html$ /member/duijie.php?id=$1;
rewrite ^/index/home/gongdan/id/(*).html$ /member/gongdan.php?id=$1;
rewrite ^/index/home/turntable/id/(*).html$ /member/turntable.php?id=$1;
rewrite ^/index/home/collect/id/(*).html$ /member/collect.php?id=$1;
}
location = /api/web/getGoodsList.html {
rewrite ^(.*)$ /api/getGoodsList.php;
}
location = /api/web/order.html {
rewrite ^(.*)$ /api/order.php;
}
location = /Order/ApiGoods.html {
rewrite ^(.*)$ /api/jmsp.php;
}
location = /Order/ApiOrderAdd.html {
rewrite ^(.*)$ /api/jmxd.php;
}
location / {
if (!-e $request_filename){
rewrite ^/([^\.]+)$ /$1.php break;
}
if (!-e $request_filename){
rewrite ^/([^\.]+)$ /$1.html break;
}
}

复制代码


补充内容 (2020-8-5 15:05):
有能力的给个威望,没能力的支持个DB呗~~
补充内容 (2020-8-5 15:16):
蓝奏:https://wwa.lanzous.com/i5tbFfbf83c
补充内容 (2020-8-5 15:17):
毒图放评论了,在我这里下载的,去评论下原贴哈。
补充内容 (2020-8-5 15:17):
我怕作者回来打我!~

超级小爱 发表于 昨天 17:32

泛解析那条还标着“必不可少”,这教程是写给能摸到服务器的人看的吧,会敲命令的谁还等你喂饭,不会的看这三条星号也照样懵。
页: [1]
查看完整版本: 关于贴子<开源>云乐购社区系统的安装教程