第一步
准备工具:
1.服务器 推荐 逸凡云
2.SSH链接工具 Linux系统服务器远程SSH管理工具使用教程(FinalShell篇)
3.安装包: https://wwi.lanzoup.com/ibnXp043y5if
4.登录宝塔面板
第二步
运行环境:
环境必备 PHP5.4 SG11 伪静态 MYSQL建议5.6
伪静态:
rewrite ^/XUE/([a-z0-9_\-]+)\.html(\?(.*))*$ /admin.php?c=$1&ad=act&$args;
rewrite ^/XUE_temp/(.*)/(.*)/([a-z0-9_\-]+)\.html$ /xueidc;
rewrite ^/qqnotify.php(\?(.*))*$ /index.php?m=index&c=login&a=qqnotifys&$args;
rewrite ^/mp.html(\?(.*))*$ /index.php?m=api&c=mp&$args;
rewrite ^/alipay_notify.html(\?(.*))*$ /index.php?act=alipay_notify&$args;
rewrite ^/alipay_return.html(\?(.*))*$ /index.php?act=alipay_return&$args;
rewrite ^/wxpay_notify.html(\?(.*))*$ /index.php?act=wxpay_notify&$args;
rewrite ^/qqpay_notify.html(\?(.*))*$ /index.php?act=qqpay_notify&$args;
rewrite ^/epay_notify.html(\?(.*))*$ /index.php?act=epay_notify&$args;
rewrite ^/epay_return.html(\?(.*))*$ /index.php?act=epay_return&$args;
rewrite ^/ali2_notify.html(\?(.*))*$ /index.php?act=ali2_notify&$args;
rewrite ^/api/cloudapi.asp(\?(.*))*$ /index.php?m=api&c=api&actions=7124api&$args;
rewrite ^/vpsadm/login.asp(\?(.*))*$ /index.php?m=api&c=api&actions=7124api&actionss=loginvps&$args;
rewrite ^/api/host/(\?(.*))*$ /index.php?m=api&c=api&actions=ephostapi&$args;
rewrite ^/api/cdn/(\?(.*))*$ /index.php?m=api&c=api&actions=epcdnapi&$args;
rewrite ^/vhost/host.php(\?(.*))*$ /index.php?m=api&c=api&actions=ephostapi&actionss=loginhost&$args;
rewrite ^/vhost/cdn.php(\?(.*))*$ /index.php?m=api&c=api&actions=epcdnapi&actionss=logincdn&$args;
rewrite ^/([a-z0-9_\-]+)\.html(\?(.*))*$ /index.php?c=$1&$args;
上面是伪静态规则代码 在宝塔中点击网站设置 在点击伪静态 把上面代码复制进去 保存即可
第三步
上传源码进行解压,然后访问域名进行安装即可,运行环境一定要先建立好
安装后 自动接入后台页面 登录进去 点击应用中心 网站模板 先购买并安装模板才可使用
后台地址是你的域名/XUE/index.html
评论