一、解决systemctl不能使用问题
二、修改yum源为清华源
sed -e 's|^mirrorlist=|#mirrorlist=|g' -e 's|^#baseurl=http://mirror.centos.org|baseurl=https://mirrors.tuna.tsinghua.edu.cn|g' -i.bak /etc/yum.repos.d/CentOS-*.repo
三、修改root密码
passwd
四、安装openssh-server、openssh、zsh、oh-my-zsh、git、wget等工具
yum install -y openssh-server
yum install -y openssh
yum install -y zsh
yum install -y git
yum install -y wget
yum install -y vim
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
#若install.sh 无法下载则xxxx
五、配置sshd_config
sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/ssh/sshd_config
sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
六、安装宝塔
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
七、安装kodbox