yum批量安装,超方便的指令,可以批量安装Mysql,Java Development

1. 查看可能批量安装的列表: yum grouplist

比如;

[root@bogon /]# yum grouplist

Loaded plugins: fastestmirror

Setting up Group Process

Loading mirror speeds from cached hostfile

 * addons: mirror.neu.edu.cn

 * base: centos.ustc.edu.cn

 * extras: centos.ustc.edu.cn

 * updates: centos.ustc.edu.cn

Installed Groups:

   Administration Tools

   Development Tools

   Dialup Networking Support

   Editors

   GNOME Desktop Environment

   Graphical Internet

   Mail Server

   MySQL Database   这个就是mysql的安装,

   Network Servers

   Office/Productivity

   Printing Support

   Server Configuration Tools

   System Tools

   Web Server

   X Window System

   Yum Utilities

Available Groups:

   Authoring and Publishing

   Base

   Beagle

   Cluster Storage

   Clustering

   DNS Name Server

   Development Libraries

   Eclipse

   Engineering and Scientific

   FTP Server

   FreeNX and NX

   GNOME Software Development

   Games and Entertainment

   Graphics

   Horde

   HyperV

   Java Development

   KDE (K Desktop Environment)

   KDE Software Development

   Legacy Network Server

   Legacy Software Development

   Legacy Software Support

   Mono

   News Server

   OpenFabrics Enterprise Distribution

   PostgreSQL Database

   Sound and Video

   Text-based Internet

   Tomboy

   Windows File Server

   X Software Development

   XFCE-4.4

   Xen

2.安装

比如安装mysql数据库

yum groupinstall "MySQL Database"'

相关推荐