用debian作FC6的安装server
1
apt-get install tftpd-hpa dhcp3-server syslinux
2
add follow item to /etc/dhcp3/dhcp3.conf
group {
next-server 192.168.1.100;
host tftpclient {
# tftp client hardware address
hardware ethernet 00:08:0d:dd:a4:d1;
filename "pxelinux.0";
}
}
3
modify /etc/default/tftpd-hpa
Defaults for tftpd-hpa
RUN_DAEMON="yes"
#OPTIONS="-l -s /var/lib/tftpboot"
OPTIONS="-l -s /tftpboot"
4
cp -av /usr/lib/syslinux/pxelinux.0 /tftpboot/
cp $cd_iso_Fedora_6/images/pxeboot/vmlinuz /tftpboot/
cp $cd_iso_fedora_6/images/pxeboot/initrd.img /tftpboot/
mkdir pxelinux.cfg
chmod 755 pxelinux.cfg
touch default
DFAULT install
PROMPT 1
LABEL install
KERNEL vmlinuz
APPEND initrd=initrd.img devfs=nomount ramdisk_size=16384
Directory layout Should look like this
./initrd.img
./pxelinux.0
./pxelinux.cfg
./pxelinux.cfg/default
./vmlinuz
5
apt-get install vsftpd
mkdir -p /home/ftp/net_install
sudo mount -o loop ~/FC-6-i386-DVD.iso /home/ftp/net_install/
apt-get install tftpd-hpa dhcp3-server syslinux
2
add follow item to /etc/dhcp3/dhcp3.conf
group {
next-server 192.168.1.100;
host tftpclient {
# tftp client hardware address
hardware ethernet 00:08:0d:dd:a4:d1;
filename "pxelinux.0";
}
}
3
modify /etc/default/tftpd-hpa
Defaults for tftpd-hpa
RUN_DAEMON="yes"
#OPTIONS="-l -s /var/lib/tftpboot"
OPTIONS="-l -s /tftpboot"
4
cp -av /usr/lib/syslinux/pxelinux.0 /tftpboot/
cp $cd_iso_Fedora_6/images/pxeboot/vmlinuz /tftpboot/
cp $cd_iso_fedora_6/images/pxeboot/initrd.img /tftpboot/
mkdir pxelinux.cfg
chmod 755 pxelinux.cfg
touch default
DFAULT install
PROMPT 1
LABEL install
KERNEL vmlinuz
APPEND initrd=initrd.img devfs=nomount ramdisk_size=16384
Directory layout Should look like this
./initrd.img
./pxelinux.0
./pxelinux.cfg
./pxelinux.cfg/default
./vmlinuz
5
apt-get install vsftpd
mkdir -p /home/ftp/net_install
sudo mount -o loop ~/FC-6-i386-DVD.iso /home/ftp/net_install/
相关推荐
菜鸟上路CCLinux 2020-11-04
farwang 2020-11-25
星愿心愿 2020-11-24
tianhuak 2020-11-24
zhjn0 2020-11-24
昭君出塞 2020-11-23
bluecarrot 2020-11-23
linuxwcj 2020-10-21
以梦为马不负韶华 2020-10-20
彼岸随笔 2020-10-20
yutou0 2020-10-17
applecarelte 2020-10-16
ourtimes 2020-10-16
waterhorse 2020-09-19
MRFENGG 2020-11-11
rainandtear 2020-10-30
kyssfanhui 2020-10-20