Linux

Regenerate new SSH keys

## Change ssh keysssh-keygen -t rsa -b 4096 echo “Regenerating SSH Host keys…” rm -rfv /etc/ssh/*key* /sbin/service sshd restart

Read More »

sh: dig: command not found

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

Read More »

FastCGI timeout

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

Read More »

Benchmark IOPS

cd /root && yum -y groupinstall “Development Tools” && wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ioping/ioping-0.8.tar.gz && tar zxvf ioping-0.8.tar.gz && cd ioping-0.8 && make && make install Test on

Read More »

Most Popular