Centos7下Solusvm母鸡部署小记

存本地文档里面,每次都懒得翻干脆贴上来

#加epel源和安装常用的包
yum install epel-release -y -q
yum install -y -q net-tools -y fail2ban iftop wget tcpdunmp  zip unzip  wget ntp rsync  vim-enhanced
systemctl enable fail2ban
#设置时区
/etc/init.d/ntpd stop
cat >/etc/sysconfig/clock<<EOF
ZONE="Asia/Shanghai"
UTC=false
ARC=false
EOF
cat /usr/share/zoneinfo/Asia/Shanghai>/etc/localtime
ntpdate us.pool.ntp.org
echo "ntpdate us.pool.ntp.org">>/etc/rc.local
date
hwclock --systohc
#开始安装solusvm被控端
wget https://files.soluslabs.com/install.sh
sh install.sh<<EOF
2
EOF
#(选装)升级e2fsprogs
curl -s http://dl.kvm.la/shell/e2fspros.el6.sh|bash

阅读剩余部分...