
Linux
文章平均质量分 54
guanzizizi
ohohohoreo。
展开
-
Linux 自启动.sh脚本使用sudo自动输入密码
1、root下,vi /etc/sudoers :[root@guanz etc]# vi /etc/sudoers[root@guanz etc]# # 添加如下内容:guanz ALL=(ALL) ALL示例:#### Allow root to run any commands anywhereroot ALL=(ALL) ALLguanz ALL=(ALL) ALL## Allows members of the 'sys原创 2021-07-01 15:11:10 · 3932 阅读 · 0 评论 -
使用proxy实现内网穿透,配置内外网数据库互为主从同步数据
一、使用proxy实现内网穿透准备教程参考地址:https://snail007.github.io/goproxy/manual/zh/#/proxy软件的git地址:https://github.com/snail007/goproxy/releases准备两台服务器: 一台有固定IP的外网服务器,例如:180.76.123.37 一台内网环境的服务器,例如:192.168.1.137安装命令及方法安装最新proxy文件的命令,两台服务器均需要安装,命令如下:备注:所有命令都需要原创 2021-06-15 11:19:40 · 2041 阅读 · 2 评论 -
通过内网穿透实现外网数据库与内网数据库互相访问
准备工作准备一台有固定IP的外网服务器,例如:180.76.123.37内网环境的服务器,例如:192.168.1.137安装最新proxy文件的命令:curl -L https://mirrors.host900.com/https://github.com/snail007/goproxy/blob/master/install_auto.sh | bash 备注:所有命令都需要使用root用户执行实现思路在外网服务器可访问到某个内网服务器的mysql。例如:当用户访问http://原创 2021-06-11 16:26:33 · 1916 阅读 · 3 评论