I'd like to use http service instead of tftp service for my PXE clients to download the Clonezilla live root file system (Clonezilla-live-filesystem.squashfs). What shall I do? |
Here is an example to use "lighttpd" as the http server for this purpose. The DRBL server is running on Ubuntu or Debian:
- sudo apt-get update
- sudo apt-get install lighttpd
- sudo service lighttpd start
- mv /tftpboot/nbi_img/Clonezilla-live-filesystem.squashfs /var/www/html/
- Now you edit /tftpboot/nbi_img/pxelinux.cfg/default with any text editor, and change the "fetch" option to the URL of http server. E.g. change (assume the IP address of http server is 192.168.76.254):
fetch=tftp://192.168.76.254/Clonezilla-live-filesystem.squashfs
to
fetch=http://192.168.76.254/Clonezilla-live-filesystem.squashfs
Now you can boot your PXE clients, and it will download the root file system from http server. In additon to lighttd, you can use any web server you like, e.g. apache.
|
|