This site is for Avast Business products only. For articles on AVG Business products, see AVG Business Help. If you are in the right place but cannot find what you are looking for, please contact Avast Business Support for further assistance.

Preparing CentOS 7 Linux Server

This Article Applies to:

  • Avast Business On-Premise Console

 

You can install the Avast Business On-Premise Console for Linux using Docker. However, you should first make sure your Linux server has an OS that is able to run Docker, preferably CentOS 7. If you prefer, you can run the Linux server and the console on a virtual machine on your server, but the virtual machine should meet all guidelines in the System Requirements article.

Installing CentOS 7

  1. Download the CentOS 7 minimal ISO file
  2. During install, select Install Centos and your preferred language
  3. On the following screen, perform the following:
    • Under Network & Hostname:
      • Click Configure. Then in the General section, ensure the check box next to Automatically connect to this network when it is available is selected
      • Under Ethernet, set the device to (connection name (MAC address))
      • In the upper right corner, turn the Etho slider to On, and Ethernet should change to a connected status. You can also change your computer’s Host name in the lower left corner. Then click Done
      • If you fail to enable the Ethernet connection before installing CentOS 7, etho will be prevented from automatically connecting when the server starts. If you missed this step, launch the network manager with #nmtui and edit the existing Ethernet connection by renaming it to etho, then reboot
    • Verify the Date & Time matches your time zone
    • Under Installation Source: Auto-detected installation media should be selected with the correct label for your mounted CentOS 7 ISO. Alternatively, if you are using a Network resource for the ISO file, you can select that here. Click Done when you have verified that your ISO has been detected
    • Under Software Selection: We recommend you set this option to Minimal Install
    • Under Kdump & Security Policy: We do not recommend making any changes to these settings unless you are very familiar with the options
    • Under Installation Destination:
      • Select the correct hard drive in Local Standard Disks. Under the Other Storage options, select I will configure partitioning. Then click Done.
      • If your drive is already partitioned, please remove all existing partitions before continuing. Next, select the option Click here to create them automatically. Click Done and Accept Changes
  4. Click Begin Installation
    • Set a root password and create a user. Ensure that the user you create is an Administrator
    • Once the installation is complete and you have a user and root password, select Reboot

Configuring CentOS 7

After your server has booted to its newly installed OS, enter the command: #su to allow the user to log into a terminal session as root. Enter the root password when prompted. Alternatively, you can prepend “sudo” before all commands you run as your administrator user. Enter the following commands with administrative privileges.

  1. #yum -y install man: installs the man pages repositories
    • If you receive the following error: “cannot find a valid baseurl for repo: base/7/x86_64” run the command #nmtui to open the network manager user interface. Then edit the network connection, remove the /# from the address line, save the settings, and activate the connection.
    • After changing the settings run the command in this step again.
  2. #visudo
    • Locate the line “#%wheel ALL=(ALL) ALL” and remove the # symbol, then save and exit. If the # symbol is not present, make no changes and exit.
  3. #yum -y update: installs CentOS 7 updates
  4. #yum -y install epel-release: installs the latest epel (Extra Packages for Enterprise Linux) repositories
  5. #yum -y install dnf: installs dnf on the machine which can be used to install, update, and remove packages
  6. #dnf -y update: updates dnf packages
  7. #dnf -y upgrade: upgrades dnf packages
  8. #dnf -y install net-tools: installs network tool command repositories
  9. #dnf -y install dnf-plugins-core: installs the latest version of the dnf plugins for multi device management
  10. #yum -y install yum-utils: installs yum utilities on the device, which is a group of tools and programs used to better manage the yum repositories
  11. #dnf -y install vim: installs the vim text editor

These instructions contain the base level of configuration required to install the On-Premise Console on a Linux server. For further recommendations, see Recommended CentOS 7 Configuration.

Once your server has been prepared, you can begin Installing Docker Compose on Linux.