范例:CentOS 8 最小化安装建议安装包

    1. PACK="
    2. vim-enhanced
    3. tcpdump
    4. autofs
    5. lrzsz
    6. tree
    7. telnet
    8. ftp
    9. lftp
    10. redhat-lsb-core
    11. bash-completion
    12. net-tools
    13. postfix
    14. wget
    15. bzip2
    16. lsof
    17. screen
    18. mlocate
    19. tmux
    20. man-pages
    21. "
    22. for p in $PACK;do
    23. rpm -q $p &> /dev/null || yum -q -y install $p

    范例:CentOS 7 最小化安装建议安装包

    1. yum -y install vim-enhanced tcpdump lrzsz tree telnet bash-completion net-tools wget bzip2 lsof tmux man-pages zip unzip nfs-utils gcc make gcc-c++ glibc glibc-devel pcre pcre-devel openssl openssl-devel systemd-devel zlib-devel

    范例:Ubuntu 1804 最小化安装建议安装包

    1. apt -y purge ufw lxd lxd-client lxcfs liblxc-common
    2. apt -y install iproute2 ntpdate tcpdump telnet traceroute nfs-kernel-server nfs-common lrzsz tree openssl libssl-dev libpcre3 libpcre3-dev zlib1g-dev gcc openssh-server iotop unzip zip