最小化安装后的yum安装

通常RedHat/CentOS服务器都采用最小化安装操作系统,然后做基本定制安装。

CentOS 7

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
  • 安装编译工具

yum -y install nmon which sudo nmap-ncat mlocate net-tools rsyslog file ntp ntpdate \
wget tar bzip2 screen sysstat unzip nfs-utils parted lsof man bind-utils \
gcc gcc-c++ make telnet flex autoconf automake ncurses-devel crontabs \
zlib-devel git
  • CentOS 8 最小化安装:

yum install which sudo nmap-ncat mlocate net-tools rsyslog file \
wget tar bzip2 sysstat unzip nfs-utils parted lsof man bind-utils \
gcc gcc-c++ make telnet flex autoconf automake ncurses-devel crontabs \
zlib-devel git
  • CentOS 8 标准化安装:

yum install sysstat nfs-utils gcc gcc-c++ make \
telnet flex autoconf automake ncurses-devel zlib-devel git

Last updated