# 1、拷贝上传:yum相关内容。
/etc/yum/
/etc/yum.conf
/etc/yum.repos.d
# 2、修改/etc/resolv.conf
echo "\# Generated by NetworkManager " >>/etc/resolv.conf
echo
"
options single-request-reopen
" >>/etc/resolv.conf
echo "search hexun.com " >>/etc/resolv.conf
echo "nameserver 8.8.8.8 " >>/etc/resolv.conf
# 3、YUM安装scp - 黑客派
yum install openssh-clients -y
# 4、安装rz,sz
yum -y install lrzsz
yum -y install java-1.7.0-openjdk*
yum -y install oracle-j2sdk1.7.x86_64
/etc/yum/
/etc/yum.conf
/etc/yum.repos.d
# 2、修改/etc/resolv.conf
echo "\# Generated by NetworkManager " >>/etc/resolv.conf
echo
"
options single-request-reopen
" >>/etc/resolv.conf
echo "search hexun.com " >>/etc/resolv.conf
echo "nameserver 8.8.8.8 " >>/etc/resolv.conf
# 3、YUM安装scp - 黑客派
yum install openssh-clients -y
# 4、安装rz,sz
yum -y install lrzsz
#5、安装 lsof
yum -y install lsof
yum -y install java-1.7.0-openjdk*
yum -y install oracle-j2sdk1.7.x86_64
# 6、拷贝/etc/hosts、/etc/profile
source /etc/profile