Fedora7 テスト用最小インストール手順

Fedora 7でもテスト用最小構成を作ってみました。

インストール時設定

  • GUI インストール。
    ※textインストールで最小パッケージにしても、こっちのほうがパッケージ数が少ない様子。
  • Package Selection では全てのチェックを外す
  • さらに”Customize software selection"を選択して進める。
  • パッケージ選択では以下のセットを除き全てのチェックを外す。
    • ベース
    • 日本語環境
  • その他はよしなに。

インストール後設定

  • SELinux と Firewall は無効化する。
  • 以下のサービスは停止。
    • ConsoleKit
    • autofs
    • avahi-daemon
    • bluetooth
    • cups
    • firstboot
    • gpm
    • haldaemon
    • hidd
    • ip6tables
    • kudzu
    • mctrans
    • netfs
    • nfslock
    • pcscd
    • restorecond
    • rpcbind
    • rpcgssd
    • rpcidmapd
    • xfs
    • yum-updatesd
  • yum updateする。
  • 以下のパッケージをインストール。
    • yum-fastestmirror
    • yum-utils
    • ntp
  • ntp設定
    # chkconfig ntpd on
    # service ntpd start
    
  • 一般ユーザを追加。

キックスタートファイル

上記設定に合わせたキックスタートファイル。ただし未確認。

install
url --url=$tree
lang ja_JP.UTF-8
keyboard jp106
network --bootproto=dhcp --device=eth0 --onboot=on
rootpw root
firewall --disabled
auth  --useshadow  --enablemd5
selinux --disabled
firstboot --disable
timezone Asia/Tokyo
bootloader --location=mbr
zerombr
clearpart --all --initlabel
text
skipx
reboot
services --disabled=ConsoleKit,autofs,avahi-daemon,bluetooth,cups,firstboot,gpm,haldaemon,hidd,ip6tables,kudzu,mctrans,netfs,nfslock,pcscd,restorecond,rpcbind,rpcgssd,rpcidmapd,xfs,yum-updatesd
%include /tmp/partinfo

%pre
set \$(list-harddrives)
let numd=\$#/2
d1=\$1
d2=\$3

cat << EOF >> /tmp/partinfo
part /boot --fstype ext3 --size=100 --ondisk=\$d1 --asprimary
part / --fstype ext3 --size=1024 --grow --ondisk=\$d1
part swap --size=1024 --ondisk=\$d1
#EOF

%packages
@japanese-support
@core
@base
anthy
pax
ntp
yum-utils

%post