2008/10/05

yumでグループ単位でインストール

OSインストール時にグループを選択してインストールすると思います。
インストール後に、そのグループをまとめてインストールしたい場合もあると思います。
Xが入っていればGUIツールでできそうですが(やったことない上、詳細調べていませんができますよね?)、どうにかyumからやりたい。
昔(Fedora Core1,2?)はできなかったそうですが、yumでもグループインストールが可能です。
まず、今インストールされているグループやインストールできるグループを調べるときはyum grouplistを使います。

# yum grouplist
Loading "fastestmirror" plugin
Setting up Group Process
Loading mirror speeds from cached hostfile
* base: www.ftp.ne.jp
* updates: www.ftp.ne.jp
* addons: www.ftp.ne.jp
* extras: www.ftp.ne.jp
Installed Groups:
Editors
System Tools
Legacy Network Server
Dialup Networking Support
Network Servers
Emacs
Web Server
Mail Server
Yum Utilities
Available Groups:
Tomboy
Cluster Storage
Office/Productivity
Engineering and Scientific
MySQL Database
Development Libraries
Beagle
GNOME Software Development
Text-based Internet
X Software Development
Virtualization
DNS Name Server
GNOME Desktop Environment
Authoring and Publishing
Base
FTP Server
Mono
Games and Entertainment
XFCE-4.4
Legacy Software Development
Clustering
Java
Java Development
OpenFabrics Enterprise Distribution
Legacy Software Support
X Window System
Graphics
Ruby
Windows File Server
Printing Support
KDE Software Development
KDE (K Desktop Environment)
Server Configuration Tools
Horde
Sound and Video
PostgreSQL Database
Administration Tools
News Server
Development Tools
FreeNX and NX
Graphical Internet
Done



指定したグループをインストールするときはyum groupinstallを使います。

# yum groupinstall "FTP Server"


ちなみにこのグループ名でkickstartの指定にも使えます。
意外と使っていそうで使ってない機能な気がしました。

0 件のコメント: