1 2 3 4 5 | [root@bsvr]#mkdir /instsvr [root@bsvr]#mv RHEL4-U2-i386-AS-disc1.iso /instsvr/i386/rhel4u2 [root@bsvr]#mv RHEL4-U2-i386-AS-disc2.iso /instsvr/i386/rhel4u2 [root@bsvr]#mv RHEL4-U2-i386-AS-disc3.iso /instsrv/i386/rhel4u2 [root@bsvr]#mv RHEL4-U2-i386-AS-disc4.iso /instsrv/i386/rhel4u2 |
1 | /instsvr *(ro,no_root_squash,sync) |
1 | [root@bsvr]# service nfs restart |
1 2 3 | [root@bsvr]#showmount -e localhost Export list for localhost: /instsrv * |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | 01 # Kickstart file automatically generated by anaconda. 02 03 install 04 nfs --server=192.168.138.1 --dir=/instsvr/i386/rhel4u2 05 lang en_US.UTF-8 06 langsupport --default=en_US.UTF-8 en_US.UTF-8 07 keyboard us 08 xconfig --card "VMWare" --videoram 16384 --hsync 31.5-37.9 --vsync 50-70 --resolution 800x600 --depth 16 09 network --device eth0 --bootproto DHCP 10 rootpw -iscrypted 11 firewall --disabled 12 selinux --enforcing 13 authconfig --enableshadow --enablemd5 14 timezone Asia/Shanghai 15 bootloader --location=mbr 16 # The following is the partition information you requested 17 # Note that any partitions you deleted are not expressed 18 # here so unless you clear all partitions first, this is 19 # not guaranteed to work 20 clearpart --all 21 part / --fstype ext2 --size=8000 22 part swap --size=1000 23 24 %packages 25 @ admin-tools 26 @ editors 27 @ emacs 28 @ text-internet 29 @ legacy-network-server 30 @ dialup 31 @ ftp-server 32 @ compat-arch-support 33 @ legacy-software-development 34 @ smb-server 35 @ base-x 36 @ kde-desktop 37 @ server-cfg 38 @ development-tools 39 kernel-smp 40 system-config-samba 41 rsh-server 42 grub 43 kernel-devel 44 kernel-smp-devel 45 e2fsprogs |
1 | nfs:192.168.138.1:/instsvr/ks/ks.cfg |
1 2 3 4 | LABEL rhel4u2-i386 KERNEL vmlinuz-rhel4u2-i386 APPEND ks=nfs:192.168.138.1:/instsvr/ks/ks.cfg initrd=initrd-rhel4u2-i386.img ramdisk_size=8192 |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |