优化脚本
#!/bin/bash
echo "***** For newly installed systems********"
***** Have access to the Internet********
***** Root user execution**********
######## Define variables #定义变量
echo "---------------------------------------------------------------------------------------------------------------------------------------"
Baidu_url="www.baidu.com"
Yum_soure="http://mirrors.aliyun.com/repo/Centos-7.repo"
Yum_epel="http://mirrors.aliyun.com/repo/epel-7.repo"
Common_tools="libtool vim-enhanced python wget lsof iptraf strace lrzsz &&\
kernel-devel kernel-headers pam-devel tcl tk cmake ncurses-devel &&\
bisonsetuptool popt-devel net-snmp screen perl-devel pcre-devel net-snmp &&\
screen tcpdump rsync sysstat man iptables sudo libconfiggit bind-utils &&\
tmux elinks numactl iftop bwm-ng net-tools expect chrony ntpdate"
echo "-----------------
|