kickstart usage in RHEL6

本文介绍了如何利用Kickstart在Redhat Linux环境下进行自动化操作系统的安装与配置,包括安装KVM、创建KVM虚拟机、通过网络引导方式链接DVD源与Kickstart配置文件进行部署。同时,提供了在Oracle VirtualBox中使用Kickstart安装Linux的步骤,从创建虚拟机到选择网络启动方式,直至编辑命令行以自动启动安装。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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"



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



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




Create new KVM, choose 'network boot'


link to the DVD source and the kickstart configuration file.


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,


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



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





评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值