6 年前

MySQL 5.7 编译安装主从

mysql5.7   主从  

创建安装目录 groupadd mysql useradd -g mysql -s /sbin/nologin -M mysql mkdir -p /data/etc mkdir -p /data/db/mysql mkdir -p /data/db/mysql/binlog mkdir -p /data/soft/mysql mkdir -p /tmp/mysql/…

6 年前

erlang 22.1 编译安装

erlang  

依赖环境 yum install ncurses ncurses-devel java-devel -y yum install unixODBC unixODBC-devel -y yum install codeblocks codeblocks-contrib codeblocks-devel -y yum -y install wxGTK wxGTK-devel -y 编…

6 年前

解决 no ssl_certificate” is defined in server listening on SSL port while SSL handshaking

疑难杂症   no ssl_certificate  

场景 nginx 访问https 连接丢失 443端口测试异常断开 日志中提示no "ssl_certificate" is defined in server listening on SSL port while SSL handshaking, client: xxx.xxx.xxx.xxx, server: 0.0.0.0:443 解决方案 nginx ssl 配置添加 default_s…

6 年前

linux下设置git代理访问

git proxy  

设置http代理 git config --global https.proxy http://127.0.0.1:1080 设置https代理 git config --global https.proxy https://127.0.0.1:1080 取消代理 git config --global --unset http.proxy git config --global --…

6 年前

Tcpkill 强制杀死 ESTABLISHED 连接

tcpkill   ESTABLISHED  

安装 Centos Yum Install yum -y install dsniff --enablerepo=epel * 查找连接对应被动端口号 netstat -an|grep 3600 tcp 0 0 0.0.0.0:3600 0.0.0.0:* LISTEN tcp 0…