Deploying FortiWeb Manager-VM on KVM
Deploying FortiWeb Manager-VM using VirtManager
The following steps introduce how to install FortiWeb Manager-VM using VirtManager, and the server is Ubuntu 16.04 LTS headless server.
- On your KVM host server, launch Virtual Machine Manager (virt-manager), and then select Create a new virtual machine.
- Ensure that Connection is localhost (the default value).
- Select Import existing disk image.
- Click Forward.
- Click Browse to navigate to boot.qcow2 and select it.
- Use the default values for OS Type and Version.
- Click Forward.
- To ensure high performance under heavy load, it's recommended to use at lease 8 GB of RAM and 2 CPUs.
- Click Forward.
- The installation wizard displays a summary of the configurations you have set. Select Customize configuration before install so that you can add more Network Interface Cards (NICs).
- During installation process, the system automatically creates a NIC. You need to create three more NICs because FortiManager supports four network interfaces. The Device model of these four NICs should be virtio.
- For the NIC which is created by the system, change its Device model to virtio.
- Create three more NICs.
Click Add Hardware at the bottom left of the window. In the Network configuration, set the Network source as shown below or choose other options according to your network design, check the MAC address and specify it, and select virtio for Device model. Click Finish. Repeat this step three times to create three NICs.
- For the NIC which is created by the system, change its Device model to virtio.
- Click Begin Installation at the top left of the window.
Deploying FortiWeb Manager-VM using Linux bash
The following steps introduce how to install FortiWeb Manager-VM using Linux bash, and the server is Ubuntu 16.04 LTS headless server.
- Go to the path where you unzip the FortiWeb Manager-VM image file, such as /home/user/image-kvm-64/boot.qcow2 or /root/image-kvm-64/boot.qcow2.
- Install Fortiweb Manager-VM.
virt-install \
--connect qemu:///system \
--virt-type kvm \
--name <specify a name for FortiWeb Manager VM> \
--memory 8192 \
--vcpus 2 \
--cpu host \
--os-type=linux \
--os-variant=generic \
--import \
--disk path=/home/user/image-kvm-64/boot.qcow2,format=qcow2 \
--network network=default,model=virtio \
--network network=default,model=virtio \
--network network=default,model=virtio \
--network network=default,model=virtio