Web Based (CGI) Install
To automatically set up a web-based install (on DragonFlyBSD):
- Create a PreFlightInstaller (pfi) floppy or pendrive.
- Insert the floppy in (or attach the pendrive to) the computer.
- Boot the LiveCD. It will automatically detect the pfi media and set itself up accordingly.
- Surf to the IP address from another computer.
- Follow the prompts.
To manually set up a web-based install:
- Boot the LiveCD.
- Login as root.
- Assign an IP address to your networking interface. If you have a DHCP server running on the network, you can do this automatically with
# dhclient -1 if0 # ifconfig if0
where if0 is the name of your network interface. The second command will display the IP address assigned to you. If you do not have a DHCP server running, you'll have to assign an address statically with
# ifconfig if0 10.0.0.1 netmask 255.255.255.0 # route add default 10.0.0.123
where if0 is the name of your network interface, 10.0.0.1 is the static IP you wish to assign, and 10.0.0.123 is the IP of the other computer on the network that you want to route traffic to/from.
- Launch the installer backend:
# /usr/local/sbin/dfuibe_installer &
- Start thttpd.
/usr/local/etc/rc.d/thttpd.sh.sample start
- Surf to the IP address from another computer.
- Follow the prompts.
- When done, issue a reboot command:
# shutdown -r now
Notes:
- This has been tested with IE and FireFox. There may be issues with other browsers, such as Safari.
- If you set the root password using the browser, it will be sent in cleartext over the network _and_ it will be displayed on the console.
- If you change the IP address during the configuration stage, you will need to surf back into this newly assigned address as the change goes into affect immediately.