#! /usr/bin/bash
#!作者:张少帅
#!本次安装自动更新了yum源跟一些插件,让小白不在为一些东西而烦恼
yum -y install wget
cd /etc/yum.repos.d && mkdir back && mv *.repo back
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo && wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo #安装阿里的yum源 #安装epel.repo扩展源
yum -y install nfs-utils rpcbind lvm2 gdisk vim bash-completion lsof lrzsz net-tools openssh-server vsftpd at crontabs openssh bind-utils xinetd telnet telnet-server bzip2 httpd