Introduction
Above all, prepare hardware boards with SCSI disk and download Estuary source code from GitHub.
To learn more about how to do them, please visit this web site: http://open-estuary.com/estuary-user-manual/ , and then refer to ‘Get & Build Estuary yourself’.
Note: In my case, the working directory is ~/workdir.
Quick Deploy System
Deploy system via USB Disk
- Prepare usb install disk.
- Modify estuary/estuarycfg.json. Make sure the platform, distros are all right.
- Change the value of “install” to “yes” in object “setup” for usb and the value “device” to your USB install disk.
(Notice: if the specified usb device does not exist, the first usb device will be selected by default.) - Use build.sh to create the usb install disk.
eg: ./estuary/build.sh -f estuary/estuarycfg.json
- Connect the usb install disk to the board.
- Reboot the board.
- Boot from the usb device. (About how to boot from USB device, please refer to the UEFI related manual.)
- According to the prompt to deploy the system.
- Start the boards from “grub” menu of UEFI by default.
Deploy system via DVD
- Prepare ISO image and install disk.
- Modify estuary/estuarycfg.json. Make sure the platform, distros are all right.
- Change the value of “install” to “yes” in object “setup” for iso and the value “name” to your target iso image file name.
- Use build.sh to create the target install iso image file.
eg:./estuary/build.sh -f estuary/estuarycfg.json - Burn the iso image file to DVD disk if you use the physical DVD driver.
- Connect the physical DVD driver to the board, plug in the install DVD disk.
- Reboot the board.
- Boot from the DVD device. (About how to boot from DVD device, please refer to the UEFI related manual.)
- According to the prompt to deploy the system.
- Start the boards from “grub” menu of UEFI by default.
Deploy system via PXE
- Connect Ubuntu PC and hardware boards into the same local area network. (Make sure the PC can connect to the internet and no other PXE servers exist.)
- Modify the configuration file of estuary/estuarycfg.json based on you hardware boards. Change the values of mac to physical addresses of the connected network cards on the board. Change the value of “install” to “yes” in object “setup” for PXE.
- Backup files under the tftp root directory if necessary. Use build.sh to build project and setup the PXE server on Ubuntu PC.
eg:./estuary/build.sh -f estuary/estuarycfg.json - After that, install minicom and connect the serial ports of hardware boards to the Ubuntu PC. Connect the hardware boards by minicom using serial ports.
- Reboot the hardware boards and start the boards from the correct EFI Network.
- Install the system according to prompt. After install finished, the boards will restart automatically.
- Start the boards from “grub” menu of UEFI by default.