- 精华
- 阅读权限
- 30
- 好友
- 相册
- 分享
- 听众
- 收听
- 注册时间
- 2016-3-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
局域网对战修改
两段命令解决
那个t_taiwan数据库
然后就是db_connect这张表
执行下面SQL语句
我这个IP就是桥接后的IP 服务器的IP
- update db_connect set db_ip='192.168.0.13';
[color=rgb(51, 102, 153) !important]复制代码
然后服务器执行替换语句
神龙的是查找200.131
只需要找cfg文件就可以
- find /home/neople -name "*.cfg" | xargs grep "192.168.200.131"
[color=rgb(51, 102, 153) !important]复制代码
大家可以批量替换
- find /home/neople -type f -name '*.cfg' | xargs perl -pi -e 's|OldString|NewString|g'
[color=rgb(51, 102, 153) !important]复制代码
等放到外网喊大家一起玩
|
|