Directly contact our Support Team

Manual installation of the GravityZone image on an Ubuntu machine

GravityZone is a business security solution built from ground-up for virtualization and cloud to deliver security services to physical endpoints, mobile devices, virtual machines in private, public cloud and Exchange mail servers. GravityZone is one product with a unified management console to provide a single point for deploying, enforcing and managing security policies for any number of endpoints and of any type, in any location.

GravityZone Enterprise Security is delivered as a Linux Ubuntu self-configuring hardened virtual appliance, embedded into a virtual machine image, which you can import and run on any virtualization platform. By default, Bitdefender provides GravityZone under several formats, such as OVA, VHD or XVA. When the virtual environment uses an unsupported format, such as Amazon AMI, manual installation is an option.

This article aims to explain how to manually install GravityZone on an Ubuntu machine, when the provided virtual appliance format is not supported by the virtual environment.

Requirements

Hardware (minimal):

RAM Memory: 16 GB

Processor: 8 vCPU

Free disk space: 120 GB (SSD highly recommended)

For more details, refer to GravityZone Installation Guide.

Software:

Ubuntu Server 20.04

Network:

A valid internet connection

Install Ubuntu

On the server machine, install Ubuntu 20.04 from the link above, and configure the installation setup as follows:

  1. Language: English
    note Note:
    Recommended for initial deploy with no issues. You can change it afterwards from the GravityZone setup wizard.
  2. Update to new installer: Yes, if prompted by the setup.
  3. Detect keyboard layout: No. Choose English (US).
    note Note:
    Recommended for initial deploy.
  4. Network: DHCP
    note Note:
    Recommended for initial deploy. You can change it afterwards from the GravityZone setup wizard.
    warning Warning:
    GravityZone is not fully compatible with a multihomed scenario, bonding and vlan vNICS. We recommend using a single NIC configuration.
  5. Proxy address: Leave blank.
    note Note:
    We recommend installing through a direct internet connection, if possible.
  6. Mirror: Leave the default value
  7. Partition disks: Use the entire disk and set up LVM. Accept all the default settings and write changes to disk when asked to do so.
    warning Warning:
    DO NOT encrypt disks with LUKS or other solutions.
  8. Setup users and passwords:
    • Full name new user: bdadmin
    • Username: bdadmin
    • Password: Your desired bdadmin user password
  9. Server name: gzva (You can change the hostname of the GravityZone appliance afterwards, from the GravityZone setup wizard.)
  10. Install OpenSSH server: Yes
  11. Featured server snaps: None
  12. Choose no automatic updates, if prompted.
  13. Wait for the setup and security updates to fully complete.
  14. Reboot the server when the option is available in the menu.

Install GravityZone

  1. Connect to the server via SSH, with the bdadmin user.
  2. Log in as root:
    $ sudo -i
  3. Configure networking and replace netplan with ifupdown:
    # sed -ri 's#^GRUB_CMDLINE_LINUX_DEFAULT=.*#GRUB_CMDLINE_LINUX_DEFAULT="netcfg/do_not_use_netplan=true net.ifnames=0 biosdevname=0 console=tty1 console=ttyS0,115200n8 earlyprintk=ttyS0,115200 rootdelay=300"#' /etc/default/grub
    
    # update-grub2
    
    # apt -yq install ifupdown
    
    # echo -e 'auto lo\niface lo inet loopback\n\nauto eth0\niface eth0 inet dhcp' > /etc/network/interfaces
    
    # apt -yq install resolvconf
    
    # ln -sf /run/resolvconf/resolv.conf /etc/resolv.conf
    
    # systemctl disable systemd-resolved
  4. Remove the Ubuntu repositories:
    # mv /etc/apt/sources.list /etc/apt/sources.list.orig
  5. Install the GravityZone repositories:
    # echo "deb https://download.bitdefender.com/repos/deb-hydra20-unified bitdefender non-free" > /etc/apt/sources.list.d/deb-hydra20-unified.list
  6. Install the GravityZone repositories key:
    # curl -sS http://download.bitdefender.com/repos/gzrepos.key.asc | apt-key add -
  7. Set DEBIAN_FRONTEND to noninteractive to silently complete the installation:
    # export DEBIAN_FRONTEND="noninteractive"
  8. Make sure that the appliance OS timezone is set to UTC:
    # timedatectl set-timezone UTC
    # timedatectl set-local-rtc false
  9. Disable the Ubuntu banners (they will be replaced by the specific GravityZone ones):
    # chmod -x /etc/update-motd.d/*
  10. Clean apt and update the packages to the GravityZone repository versions:
    # apt clean
    # apt update
    # apt -yq dist-upgrade
  11. Install the GravityZone initial packages:
    # apt -yq --allow-unauthenticated install gzinstallwizard
  12. Update installation system:
    # /opt/bitdefender/scripts/createInstallerXml.sh
  13. Remove snapd:
    # apt autoremove --purge snapd
  14. Remove any unneeded packages:
    # apt -yq autoremove
  15. Restart to complete the customization of the Ubuntu server into a GravityZone appliance:
    # reboot

For the administration of the GravityZone appliance, refer to Bitdefender GravityZone Installation Guide.

Further on, if you want to install a Security Server and you cannot use Bitdefender images to deploy it, you will need to manually install it in a similar manner to how you have installed the above GravityZone appliance. For details on the installation procedure of the Security Server, refer to this KB article.

For any other question regarding the GravityZone product contact Bitdefender Enterprise Support: [email protected]


Rate this article:

Submit