码迷,mamicode.com
首页 > 其他好文 > 详细

kickstart usage in RHEL6

时间:2014-08-26 17:26:16      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:kickstart   rhel6   kvm   

Kickstart is used in Redhat Linux automatically perform unattended operating system installation and configuration.Install Kickstart

yum install system-config-kickstart

Start the kickstart at "Applications->System Tools->Kickstart"

bubuko.com,布布扣


you can generate your kickstart configuration file from kickstart configurator, just configure it one step by one step, herewith one link of the detail:

http://blog.sina.com.cn/s/blog_64aac6750100zrwn.html

bubuko.com,布布扣


here I generated ks_XiongX.cfg, add one line key --skip

key --skip
# Install OS instead of upgrade
install
change the access condition,

chmod 777 ks_xiongX.cfg


I uploaded to 192.168.0.254, folder /var/www/html/, this can be accessed by http://192.168.0.254/ks_xiongX.cfg


Install the Linux in the KVM by the kickstart, first install the KVM

# yum install kvm qemu-kvm python-virtinst libvirt libvirt-python virt-manager libguestfs-tools


bubuko.com,布布扣


Create new KVM, choose ‘network boot‘

bubuko.com,布布扣

link to the DVD source and the kickstart configuration file.

bubuko.com,布布扣

remaining configuration, can refer to: http://blog.sina.com.cn/s/blog_64aac6750100zrwn.html

Start the KVM machine, will automatically install the linux.


Next, will be the kickstart installation on the Oracle VirtaulBox, you need to create the virtual machine first, and choose to install the Linux later, the "setting" of this virtual machine is as below, you can also refer to this link: http://blog.sina.com.cn/s/blog_64aac6750100zyqb.html

choose the boot order from the network,

bubuko.com,布布扣

Network set as host only and use the same network adapter as 192.168.0.254,

bubuko.com,布布扣


Start the machine, use tab key to edit the command line to "ks_xiongX.cfg", after enter key, the installation will start automatically.

bubuko.com,布布扣




kickstart usage in RHEL6

标签:kickstart   rhel6   kvm   

原文地址:http://blog.csdn.net/scruffybear/article/details/38847923

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!