天天看点

linux rhel install

系统安装

一,自动安装:通过ISO安装,通过HTTP安装

二,通过boot.iso安装:URL,kickstart文件

    1,通过软件system0config-kickstart-2.8.6.4-1.e16.noarch来修改kickstart文件

       安装软件-->打开/root/anaconda-ks.cfg

       installation source:http:http server:10.65.10.60:http directory:dvd

    2,真接修改kickstart文件

       vim /root/anaconda-ks.cfg

       clearpart --all --drives=vda-->clear part --all --initlabel(去除卷标) --drives=vda

       part /boot --fstype=ext4 --size=256-->part /boot --fstype=ext4 --size256 --ondisk=vda

       part swap --size=512-->part swap --grow --size=512 --ondisk=vda

       part / --fstype=ext4 --grow(使用磁盘剩下全部) --ondisk=vda

       去掉:repo --name="red hat enterprise linux"

       reboot

       %packages

       @vore (软件组)

       vsftpd(软件)

       %end

    3,光盘启动,出现择项时,按tab键

       vmlinuz initrd=initd.img ks=http://192.168.0.112/ks.cfg

       (要求http://IP/dvd;http://IP/ks.cfg)   

继续阅读