db1.boxaroo.com guy)
su to root
sudo /sbin/mdadm --detail --scan
ARRAY /dev/md0 level=raid6 num-devices=4 UUID=6a84f4fd:1ceef0f1:804f8e1f:0ca198a1 ) ARRAY /dev/md0 level=raid6 num-devices=4 UUID=1570d2fb:f99fc34b:7103501c:26526caa ) /etc/sudoers add: guy ALL=(ALL) PASSWD: /usr/bin/passwd, NOPASSWD: ALL
guy account
/etc/inittab to have start at runlevel 3
sudo hostname db1.boxaroo.com
sudo mv /sbin/shutdown /sbin/sulogin_really_are_you_sure_this_is_the_server
sudo wget http://centos.karan.org/kbsingh-CentOS-Extras.repo -O /etc/yum.repos.d/kbsingh-CentOS-Extras.repo
sudo wget http://centos.karan.org/kbsingh-CentOS-Misc.repo -O /etc/yum.repos.d/kbsingh-CentOS-Misc.repo
sed --in-place=_old '/\[centosplus\]/,/^\[/s/enabled=0/enabled=1/' /etc/yum.repos.d/CentOS-Base.repo
sudo yum -y install mysql
sudo yum -y install mysql-server
sudo yum -y install mysql-administrator
sudo yum -y install mysql-query-browser
sudo yum -y install vim-enhanced
sudo yum install chkrootkit
sudo yum -y install php ( this gives us basic PHP, without some of the things our normal servers need, but should be enough for basic scripts)
mkdir ~guy/.ssh
chmod 700 .ssh/
id_rsa and authorized_keys from the ~msw/.ssh dir into ~/.ssh/id_rsa
sudo sed --in-place=_old 's/^[ ]*\(PasswordAuthentication \).*/\1 no/' /etc/ssh/sshd_config
/etc/ssh/sshd_config to not allow root login (too tired to write sed command)
sudo /etc/init.d/sshd restart
msw run vncserver. Pick a password
vncserver -kill :1
~/.vnc/xstartup
scp boxaroo.com:~/.vimrc .