Forward incoming traffic to different server
# stop iptables /etc/init.d/iptables stop # remove all rules iptables -F iptables -X iptables -t nat -F iptables -t nat -X iptables -t mangle -F
# stop iptables /etc/init.d/iptables stop # remove all rules iptables -F iptables -X iptables -t nat -F iptables -t nat -X iptables -t mangle -F
Maximize throughput for rebuilding software RAID: One-time If you want to maximize performance for one time (till reboot) then run: echo 99999999 > /proc/sys/dev/raid/speed_limit_min echo
Boot new machine with CENTOS LiveCD. Creating swap, boot and root partition fdisk /dev/sda # create swap n p 1 enter +16G # create boot
dpkg-reconfigure keyboard-configuration Or do it manually: vi /etc/default/keyboard Add: XKBLAYOUT=”us,de” XKBVARIANT=”” XKBOPTIONS=”grp:alt_shift_toggle,grp_led:scroll”
Stop the virtual machine edit the .vmx file Change this: ethernet0.virtualDev = “e1000” To: ethernet0.virtualDev = “vmxnet3”
USE AT YOUR OWN RISK AIOMGR aiomgr.noContinueOnFailure aiomgr.numThreads aiomgr.simple aiomgr.unbuf ANSWER answer.msg.serial.disconnect BIOS bios.bootDelay bios.bootDeviceClasses bios.bootOrder bios.bootRetry.delay bios.bootRetry.enabled bios.forceSetupOnce bios.hddOrder CBTMOTION (Change Block Tracking) cbtmotion.compareDisks
Remember to first unmount the device. Otherwise you can make a snapshot and transfer that device instead! Unmounted version: dd if=/dev/store1/vm-102-disk-1 bs=1M | pv -ptrb
yum -y install bind-utils Dependencies Resolved ============================================================================================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================================================================================= Updating: bind-utils x86_64 32:9.9.4-38.el7_3.2 updates 202 k Updating for dependencies: bind x86_64
Error: Connection reset by peer: mod_fcgid: error reading data from FastCGI server. Premature end of script headers: index.php Fix: Add this to your PHP vhost