11.01.2015 Views

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Package Selection<br />

raid swap<br />

raid /usr<br />

raid pv.01<br />

--fstype swap --device md2 --level=RAID1 raid.13 raid.23<br />

--fstype ext3 --device md3 --level=RAID1 raid.14 raid.24<br />

--fstype ext3 --device md4 --level=RAID1 raid.15 raid.25<br />

# LVM configuration so that we can resize /var and /usr/local later<br />

volgroup sysvg pv.01<br />

logvol /var --vgname=sysvg --size=8000 --name=var<br />

logvol /var/freespace --vgname=sysvg --size=8000<br />

--name=freespacetouse<br />

logvol /usr/local --vgname=sysvg --size=1 --grow --name=usrlocal<br />

This advanced example implements LVM over RAID, as well as the ability to resize various<br />

directories for future growth.<br />

5. Package Selection<br />

Use the %packages <strong>com</strong>mand to begin a kickstart file section that lists the packages you would<br />

like to install (this is for installations only, as package selection during upgrades is not<br />

supported).<br />

Packages can be specified by group or by individual package name, including with globs using<br />

the asterisk. The installation program defines several groups that contain related packages.<br />

Refer to the variant/repodata/<strong>com</strong>ps-*.xml file on the first <strong>Red</strong> <strong>Hat</strong> <strong>Enterprise</strong> <strong>Linux</strong><br />

CD-ROM for a list of groups. Each group has an id, user visibility value, name, description, and<br />

package list. In the package list, the packages marked as mandatory are always installed if the<br />

group is selected, the packages marked default are selected by default if the group is selected,<br />

and the packages marked optional must be specifically selected even if the group is selected to<br />

be installed.<br />

In most cases, it is only necessary to list the desired groups and not individual packages. Note<br />

that the Core and Base groups are always selected by default, so it is not necessary to specify<br />

them in the %packages section.<br />

Here is an example %packages selection:<br />

%packages<br />

@ X Window System<br />

@ GNOME Desktop Environment<br />

@ Graphical Internet<br />

@ Sound and Video dhcp<br />

As you can see, groups are specified, one to a line, starting with an @ symbol, a space, and then<br />

the full group name as given in the <strong>com</strong>ps.xml file. Groups can also be specified using the id for<br />

the group, such as gnome-desktop. Specify individual packages with no additional characters<br />

(the dhcp line in the example above is an individual package).<br />

You can also specify which packages not to install from the default package list:<br />

301

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!