oranie's blog

旧:iをgに変えると・・・なんだっけ・・・

Scientific Linux6系のインストールの続き


前回のインストールではいじれる所が少ないという話で終わってしまったので、
Scientific Linux6をGUIでインストールした時のanaconda-ks.cfgをメモっておく。
サーバ用途には余計なの一杯なので、kickstartとかで使う人は良かったら適宜変更して使って下さいな。

# Kickstart file automatically generated by anaconda.

#version=RHEL6
install
cdrom
lang ja_JP.UTF-8
keyboard jp106
network --device eth0 --bootproto dhcp
rootpw  --iscrypted ********************************************************************(ここはヒミツ☆)
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512 --enablefingerprint
selinux --enforcing
timezone --utc Asia/Tokyo
bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --linux --drives=sda
#volgroup VolGroup --pesize=4096 pv.iY9kmm-ZN2V-xeGm-mBHQ-sGoj-W3RM-ZlUF2b
#logvol / --fstype=ext4 --name=lv_root --vgname=VolGroup --grow --size=1024 --maxsize=51200
#logvol swap --name=lv_swap --vgname=VolGroup --grow --size=1008 --maxsize=2016

#part /boot --fstype=ext4 --size=500
#part pv.iY9kmm-ZN2V-xeGm-mBHQ-sGoj-W3RM-ZlUF2b --grow --size=1

repo --name="Scientific Linux"  --baseurl=file:///mnt/source --cost=100
repo --name="Scientific Linux 6 - x86_64"  --baseurl=http://ftp.scientificlinux.org/linux/scientific/6/x86_64/os/ --cost=1000

%packages
@base
@core
@debugging
@basic-desktop
@desktop-debugging
@desktop-platform
@directory-client
@fonts
@general-desktop
@graphical-admin-tools
@hardware-monitoring
@input-methods
@internet-applications
@internet-browser
@japanese-support
@java-platform
@legacy-x
@misc-sl
@network-file-system-client
@perl-runtime
@remote-desktop-clients
@scalable-file-systems
@server-platform
@system-management
@system-admin-tools
@x11
@repos
mtools
pax
oddjob
sgpio
genisoimage
wodim
certmonger
pam_krb5
krb5-workstation
nscd
pam_ldap
nss-pam-ldapd
gnome-pilot
lm_sensors
libXmu
SL_desktop_tweaks
perl-DBD-SQLite
%end

適当にいらないのを消して使えばまあ十分でしょ。