echo "QD-44-WEB" > /etc/hostname
cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-7.repo
yum clean all
yum makecache
systemctl set-default multi-user.target
echo "alias rm='rm -i'" >> ~/.bashrc
echo "alias cp='cp -i'" >> ~/.bashrc
echo "alias mv='mv -i'" >> ~/.bashrc
echo "alias vi=vim" >> ~/.bashrc
echo "alias dk='docker'" >> ~/.bashrc
echo "alias work='cd /schoolface'" >> ~/.bashrc
echo "export PS1='\[\e[0;31m\]\u\[\e[0;37m\]@\[\e[0;33m\]\h\[\e[0;36m\][\w]\[\e[0;0m\n>>'" >> ~/.bashrc
echo "GLOG_logtostderr=1" >> ~/.bashrc
echo "export GLOG_logtostderr" >> ~/.bashrc
source ~/.bashrc
echo "set nu" >> ~/.vimrc
echo "set ts=4" >> ~/.vimrc
echo "set shiftwidth=4" >> ~/.vimrc
echo "hi comment ctermfg=6" >> ~/.vimrc
systemctl stop rpcbind.socket
systemctl stop rpcbind
systemctl disable rpcbind.socket
systemctl disable rpcbind
yum -y remove postfix
yum -y remove firewalld
yum -y remove dnsmasq
yum -y remove cups
yum -y update