修复exim发件问题

关闭ipv6地址

nano /etc/sysctl.conf

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

sysctl -p

清理发件队列

find /var/spool/exim/input/ -type f -name '*' -print0 | xargs -0 rm &

nano /etc/exim/exim.conf
primary_hostname = 162.220.14.10.lg.ylx.me
domainlist local_domains = @ : localhost : localhost.localdomain 

centos7 更换内核安装锐速开心版

更换内核

rpm -ivh http://linuxsoft.cern.ch/cern/centos/7/updates/x86_64/Packages/kernel-3.10.0-229.1.2.el7.x86_64.rpm --force

设置我们要的内核启动(只有在升级了内核时才需要)

grub2-set-default "CentOS Linux (3.10.0-229.1.2.el7.x86_64) 7 (Core)"

禁止更新内核

yum install -y nano
nano
#[main]最后面加入
exclude=kernel*
exclude=centos-release*
#Ctrl+X退出并按提示保存

剩下的91什么的,选择匹配低的


查看状态

/serverspeeder/bin/serverSpeeder.sh status

tso、gso、gro、lro状态

ethtool -k eth0

查看私密文章,配置 后重启

 service serverSpeeder restart

centos7内核优化收集

cat /etc/sysctl.conf
#CTCDN系统优化参数
#关闭ipv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
#决定检查过期多久邻居条目
net.ipv4.neigh.default.gc_stale_time=120
#使用arp_announce / arp_ignore解决ARP映射问题
net.ipv4.conf.default.arp_announce = 2
net.ipv4.conf.all.arp_announce=2
net.ipv4.conf.lo.arp_announce=2
# 避免放大攻击
net.ipv4.icmp_echo_ignore_broadcasts = 1
# 开启恶意icmp错误消息保护
net.ipv4.icmp_ignore_bogus_error_responses = 1
#关闭路由转发
net.ipv4.ip_forward = 0
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.default.send_redirects = 0…

AU3 识别物理内存

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Compile_both=y
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
Global $objwmiservice, $wnc, $mem1, $mem3
Local $object, $objoperatingsystem

$objwmiservice = ObjGet("winmgmts:{impersonationlevel=impersonate}!\\.\root\cimv2")
$wnc = $objwmiservice.execquery("select * from win32_physicalmemory")

For $object In $wnc
	$mem = String(Int($object.capacity / 

AMH4.2 二次开发版本新地址

多PHP版本

wget http://soft.im/WebPanel/AMH4.5/amh.sh && chmod 775 amh.sh && ./amh.sh 2>&1 | tee amh.log
或者 
wget http://soft.vpskk.com/amh/files/4.5/amh.sh && chmod 775 amh.sh && ./amh.sh 2>&1 | tee amh.log  

wget http://blog.ylx.me/amh.sh && chmod 775 amh.sh && ./amh.sh 2>&1 | tee amh.log

洋葱版本

https://maicong.me/t/145 …

部署net-speeder

https://github.com/snooda/net-speeder

安装步骤:

1:下载源码并解压

wget https://github.com/snooda/net-speeder/archive/master.zip

unzip master.zip

2:准备编译环境

debian/ubuntu:

#安装libnet-dev:apt-get install libnet1-dev -y

#安装libpcap-dev:
apt-get install libpcap0.8-dev -y

centos:

#下载epel:https://fedoraproject.org/wiki/EPEL/zh-cn 例:CentOS6 64位:
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm#(如果是centos5,则在epel/5/下)
#安装epel:
rpm -ivh epel-release-6-8.noarch.rpm

#然后即可使用yum安装:
yum install libnet libpcap libnet-devel libpcap-devel -y

编译:

Linux Cooked interface使用编译(venetX,OpenVZ): …