Archive Post
Home / 系统运维
bind+mysql搭建dns
1、前提:编译安装好mysql5.6 bind9安装包: bind-9.9.2-P1.tarDownload 2、编译前的configure: ./configure --prefix=/usr/local/bind9 --with-dlz-mysql=/usr/local/mysql5 --enable-epoll --disable-openssl-version-check --disable-ipv6…
wordpress设置允许上传任意文件类型
wp-config.php的/* That's all, stop editing! Happy publishing. */这一行的上方加入一行代码: define('ALLOW_UNFILTERED_UPLOADS', true);
shc+upx加密bash shell脚本
1、安装shcmakeecho "y" |make install2、安装ucltar zvxf ./ucl-1.03.tar.gz -C /opt/./configure && make…
sshpass+rsync复制文件到远程主机
echo "<密码>" |sshpass -d0 rsync -av --timeout=120 --progress -e ssh…
Megacli查看硬盘的rebuild进度
MegaCli -PDList -aall 2>/dev/null | sed -n '/Enclosure Device ID/N;s/\n/\…
从APNIC(亚太注册机构)获取中国区IP地址网段信息的bash shell脚本
#!/bin/bash curl -sLk -o - http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest 2>/dev/null |grep 'apnic|CN|ipv4' |…
wondershaper网卡限速
解除网卡限速 /usr/bin/wondershaper -c -a<网卡> 对网卡进行限速 /usr/bin/wondershaper -a<网卡>-d<下行带宽kbps>-u<上行带宽kbps> 查看限速 /usr/bin/wondershaper -s…