网络中断 发表于 2024-7-19 14:38:59

青丘狐本地更新+本地验证+本地注册一键端+外网手工端

青丘狐本地更新+本地验证+本地注册一键端+外网手工端
1.安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh
进入宝塔下安装
Nginx1.12
MySQL5.1
PHP-5.3
更改宝塔密码
cd /www/server/panel && python tools.pyc panel 123456 admin
2.安装unzip
把lhxj 文件上传/目录
安装
cd /
unzip lhxj.zip
将本地认证文件夹放入创建的站点目录下(如:/WWW/WWWWROOT/192.168.1.102)本地验证文件夹名qqhcs
还有本地更新文件
上权限
chmod -R 7777 /lib
chmod -R 7777 /home
chmod -R 7777 /lib64
chmod -R 7777 /www
完事去检查一下
安装JDK   吧jdk-6u21-linux-x64-rpm.bin上传‘root’目录
cd /root
chmod +x jdk-6u21-linux-x64-rpm.bin
./jdk-6u21-linux-x64-rpm.bin
打开宝塔设置数据库修改ROOT密码为123456(这里的123456密码可以自己修改为自己设置的数据库密码)
mysql设置外网访问
cd /
mysql -uroot -p123456
grant all privileges on *.* to 'root'@'%' identified by '123456';
上边的123456改成自己宝塔里设置的ROOT密码
设置完退出mysql
exit;
关闭防火墙6.5
chkconfig iptables off
service iptables stop
本地使用mysql工具Navicat Premium连接mysql
用户名:root 密码:123456   添加数据库,数据库名:qqh
导入数据库,将本地数据库导入(qqhcs_account.sql)
                                     修改服务端
(1). home/zidr/servers.xml ip为外网IP
(2).注意的地方目录 home/au/start.sh      ( =256m -XX:MaxPermSize=256m -Xms2G-Xmx2G -cp   最小分配内存 最大分配内存
                                    改APK客户端:
com.qqh.efun.tw\assets\config\all-platform-config.com
com.qqh.efun.tw\assets\config\local_version
com.qqh.efun.tw\res\values\strings.xml    43-60行      453-45   行下IP替换成你的外网IP    此处为本地验证
内充修改
   res/values/strings.xml(在客户端APK里)
(1).   49行<string name="efunPayPreferredUrl">http://pay.efuntw.com/</string>
(2).   68行 <string name="efunGoogleStoreError">您所在的地區不支持google錢包</string>
(3).   455:   <string name="efun_pd_url_pay_base">http://pay.efuntw.com/</string>
       注: 自己的充值 地址 后面注意加个?号   http://pay.efuntw.com/1.htm?    http://pay.efuntw.com/?
清档
(1).删除/home/au/xdb下的所有文件
(1).删除ROOT/export/date下的所有文件




**** Hidden Message *****
页: [1]
查看完整版本: 青丘狐本地更新+本地验证+本地注册一键端+外网手工端