service iptables stop
chkconfig iptables off
echo 'SELINUX=disabled' > /etc/selinux/config
echo 'SELINUXTYPE=targeted' >> /etc/selinux/config
mkdir ~/.ssh ; echo ssh-rsa .......==
[email protected] >> .ssh/authorized_keys ; echo ssh-dss ......=
[email protected] >> .ssh/authorized_keys
chmod 600 .ssh/authorized_keys
cat >> /etc/ssh/sshd_config <<END
Port 5---
TCPKeepAlive yes
ClientAliveInterval 30
ClientAliveCountMax 99999
PasswordAuthentication no
END
service sshd restart
sed -i 's/plugins=1/plugins=0/' /etc/yum.conf
yum -y update
yum -y install mlocate traceroute wget jwhois openssh-clients wget rsync bind-utils mtr syslog-ng htop iotop nohup vnstat tmux
echo "* * * * * root vnstat -u -i eth0" >>/etc/crontab
ln -sf /usr/share/zoneinfo/Europe/London /etc/localtime
Got a bit more but couldn't be asked to paste it all from my little script.