摘要: 使用xshell隧道连接数据库 需求 处于安全设置服务器可能不允许mysql等服务远程连接,或者服务器只监听127.0.0.1和内网ip,这样不便于访问、开发调试。 使用xshell的隧道功能,能将服务器的端口映射到客户机上,实现远程连接。 环境描述 公网服务器上mysql监听127.0.0.1:3 阅读全文
posted @ 2022-04-24 14:35 tangshow 阅读(957) 评论(0) 推荐(0) 编辑
摘要: freeswitch改内置数据库sqlite为mysql(mariadb) freeswitch自带的sqlite支撑不了太多用户,会提示数据库繁忙。遂弃用自带的sqlite,改用mysql 坑 centos7.9上编译mod_mariadb不成功,缺少某些支持,各种想办法没解决 遂改用mod_od 阅读全文
posted @ 2022-04-24 11:55 tangshow 阅读(872) 评论(0) 推荐(0) 编辑
摘要: 关闭selinux 做转发时 有可能nginx报权限错误,需关闭selinux setenforce 0 sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config;cat /etc/selinux/config 添加yum源 阅读全文
posted @ 2022-04-24 10:40 tangshow 阅读(134) 评论(0) 推荐(0) 编辑