RHEL5無人值守安裝圖文攻略(1)

來源:互聯網
上載者:User

之前,發的一個文字版本,現在整理一個圖解詳細版,讓每個人都可以實現RHEL5的無人值守安裝。

測試環境:Redhat 5.3 關閉iptables 和Selinux

所需服務:Dhcp Vsftp Tftp Xinted

一、搭建好Yum源:

詳細方法見:http://iminmin.blog.51cto.com/689308/162666 使用第二種方法,光碟片映像搭建YUM)

二、安裝Vsftp服務:

----------------------------------------------

[root@rhce ~]# yum install vsftpd* -y

[root@rhce ~]# chkconfig vsftpd on

[root@rhce ~]# service vsftpd restart

關閉 vsftpd:            [失敗]

為 vsftpd 啟動 vsftpd:  [確定]

-----------------------------------------------

三、複製PXE啟動時需要的檔案資料:

1、複製必要的檔案:

----------------------------------------------

[root@rhce ~]# cp /usr/lib/syslinux/pxelinux.0 /tftpboot/

[root@rhce ~]# mkdir /tftpboot/pxelinux.cfg

[root@rhce ~]# cp /cdrom/isolinux/isolinux.cfg /tftpboot/pxelinux.cfg/default

[root@rhce ~]# cp /cdrom/images/pxeboot/initrd.img /tftpboot/

[root@rhce ~]# cp /cdrom/images/pxeboot/vmlinuz /tftpboot/

----------------------------------------------

2、修改/tftpboot/pxelinux.cfg/default檔案

----------------------------------------------

[root@rhce ~]# chmod u+w /tftpboot/pxelinux.cfg/default //檔案預設唯讀

[root@rhce ~]# vim /tftpboot/pxelinux.cfg/default

default linux

prompt 1

timeout 6 //逾時時間,預設600,可以不改。

display boot.msg

F1 boot.msg

F2 options.msg

F3 general.msg

F4 param.msg

F5 rescue.msg

label linux

kernel vmlinuz

append initrd=initrd.img ks=ftp://192.168.1.8/ks.cfg //ks.cfg是kickstart安裝設定檔,系統就是按照ks.cfg來安裝的。我們將在後面配置他

......下面省略

------------------------------------------------


聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.