#!/bin/bashyum install -y wget && \wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo && \yum -y install vim wget bash-completion lrzsz nmap tree nc net-tools htop iotop iftop psmisc && \systemctl stop firewalld.service && systemctl disable firewalld.service setenforce 0 && sed '7s#enforcing#disabled#g' /etc/selinux/config -i #优化文件描述符echo '* - nofile 65535 ' >>/etc/security/limits.confulimit -n 65535 #内核优化cat >>/etc/sysctl.conf<