cloudSky's 小站

使用动态 DNS 来完成 HTTP 请求

内部访问外部http请求,通过拦截内部请求至此统一访问外部业务。 环境 CentOS 7 Nginx lua-nginx-module lua-resty-dns lua-resty-lock lua-resty-http 配置 对应nginx配置 lua_shared_dict dns_cache 5m; lua_shared_dict my_locks 1m; server { listen 80; server_name *.test.com; access_log logs/dyn_http.access.log default; location / {

CentOS8编译安装MySQL 5.7.30

环境 OS: CentOS 8.2 MySQL: 5.7.30 报错信息 1. 编译报错 CMake Error at plugin/group_replication/libmysqlgcs/rpcgen.cmake:100 (MESSAGE): Could not find rpcgen Call Stack (most recent call first): plugin/group_replication/libmysqlgcs/CMakeLists.txt:38 (INCLUDE) 解决方法 yum --enablerepo=PowerTools install rpcgen 2. systemctl start mysqld.service报错无法启动问题 报错信息