장점
1) Linux 장비구축시 OS 설치시간 단축
2) 무인 설치로 인한 인력낭비 최소화
3) OS 설치 옵션의 동일성 유지 및 검증가능
단점
1) OS 설치전 사전작업 필요
2) ks.cfg 정확한 설정에 주의
설치방식
- 사전준비: OS를 설치 후 /root 디렉토리에 anaconda-ks.cfg 생성됨
ks.cfg <--- 파일명 변경
1) floppy 미디어를 이용한 설치
미디어에 ks.cfg 복사
linux ks=floppy
2) CD 미디어를 이용한 설치
CD 제작시 미디어에 추가 기록이 가능하게 설정 후 ks.cfg 복사
-> 미디어를 다시 제작해야되는 문제 발생됨
linux ks=cdrom:/ks.cfg
3) USB 드라이브를 이용한 설치
USB 드라이브에 ks.cfg 복사
linux ks=hd:/sda3/ks/ks.cfg
-> Boot loader 가 USB에 기록되는 문제 발생됨
4) OS 설치시 linux dd 옵션이 필요한 경우
linux ks=floppy dd
=============================================================
Redhat 5.3 64bit
# Kickstart file automatically generated by anaconda.
설치방식 install
소스위치 cdrom
설치언어 lang en_US.UTF-8
키보드 keyboard us
network --device eth0 --bootproto dhcp
network --device eth1 --bootproto dhcp
network --device eth2 --bootproto dhcp
network --device eth3 --bootproto dhcp
root 암호 rootpw --iscrypted $1$qQWkYDeN$BkWiU3hiiij5gFEzgqX4W1
방화벽 firewall --enabled --port=22:tcp --port=22:tcp
인증방식 authconfig --enableshadow --enablemd5
보안강화 selinux --enforcing
시각설정 timezone Asia/Seoul
MBR bootloader --location=mbr --driveorder=sda
# 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
#part /boot --fstype ext3 --size=200
#part /usr --fstype ext3 --size=80000
#part / --fstype ext3 --size=8000
#part swap --size=2000
#part /data --fstype ext3 --size=100 --grow
패키지 %packages
@development-libs
@editors
@system-tools
@korean-support
@legacy-network-server
@core
@base
@legacy-software-development
@legacy-software-support
@server-cfg
@admin-tools
@development-tools
감사 audit
커널툴 kexec-tools
다중연결 device-mapper-multipath
컴파일 imake
정보수집 -sysreport
===========================================================
Redhat 5.4 64bit
# Kickstart file automatically generated by anaconda.
install
cdrom
lang en_US.UTF-8
langsupport --default=en_US.UTF-8 en_US.UTF-8 ko_KR.UTF-8
keyboard us
xconfig --card "ATI ES1000" --videoram 8192 --hsync 31.5-37.9 --vsync 50-70 --resolution 800x600 --depth 16
network --device eth0 --bootproto dhcp
network --device eth1 --bootproto dhcp
network --device eth2 --bootproto dhcp
network --device eth3 --bootproto dhcp
rootpw --iscrypted $1$1YBiRBj9$zp7acg0mxq1Sh9yzFgptM0
firewall --disabled
selinux --disabled
authconfig --enableshadow --enablemd5
timezone Asia/Seoul
bootloader --location=mbr
# 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
#part /boot --fstype ext3 --size=200
#part /usr --fstype ext3 --size=8000
#part / --fstype ext3 --size=8000
#part swap --size=2000
#part /data --fstype ext3 --size=100 --grow
%packages
@ admin-tools
@ system-tools
@ korean-support
@ legacy-network-server
@ dialup
@ legacy-software-development
@ server-cfg
@ development-tools
kernel-smp
kernel-devel
kernel-smp-devel
e2fsprogs
%post
===========================================================
- Kickstart 만들기
리눅스를 설치하면 /root 디렉토리에 기본적으로 생성됨
ks.cfg <--- anaconda-ks.cfg 파일명 변경
- 자동설치 명령어
boot: linux ks=floopy 혹은 boot: linux ks=hd:fd0:/ks.cfg
boot: linux ks=cdrom:/ks.cfg
설치자동화툴
Redhat : Kickstart
Suse : Autoyast
Debin : FAL -> http://www.informatik.uni-koeln.de/fai/
- 참고자료
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/s1-kickstart2-startinginstall.html
http://blog.naver.com/eeriewings?Redirect=Log&logNo=130014338633
http://blog.naver.com/pythonist?Redirect=Log&logNo=20024351230
첫댓글 좋은 정보 앞으로도 많이 업로드 해주세요..
좋은 정보 감사합니다.
먼저 감사드립니다.
저도 좀더 실력향상하여 글을 써야 겠습니다^^;;