Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Installing Required OS and Software

Note:

Please note that this only describes a "fresh install". For upgrades, please refer to the Lifecycle Management document.

  1. Install a clean Ubuntu 18.04 server.

    • The system user name does not matter, except that the name "netrounds" is not allowed since PostgreSQL creates a user with that name (as described in this paragraph).

    • Install only standard components (don't change the default selection).

    • The following disk partitioning is recommended, especially for snapshot backups (but it is up to you as a user to decide):

      • Recommended partitioning for lab setup:
        • /: Whole disk, ext4.
      • Recommended partitioning for production setup:
        • /: 10% of disk space, ext4.
        • /var: 10% of disk space, ext4.
        • /var/lib/netrounds/rrd: 80% of disk space, ext4.
      • No encryption
    • Set the time zone to UTC, for example as follows:

    • Set all locales to en_US.UTF-8.

      • One way to do this is to manually edit the file /etc/default/locale. Example:

      • Make sure the following line is NOT commented out in the file /etc/locale.gen:

      • Regenerate the locale files to make sure selected language is available:

  2. Install NTP:

    • First disable timedatectl:

    • Run this command:

      and verify that

    • Now you can run the NTP installation:

    • Make sure that the configured NTP servers are reachable:

      The "reach" value should normally be "all ones" expressed in octal.

      (In the output, the "reach" value for the NTP servers is an octal value indicating the outcome of the last eight NTP transactions. If all eight were successful, the value will be octal 377 [= binary 0b11111111]. However, when you have just installed NTP, it is likely that fewer than eight NTP transactions have occurred, so that the value will be smaller: one of 1, 3, 7, 17, 37, 77, or 177 if all transactions were successful.)

  3. Install PostgreSQL and set up a user for Control Center:

    Using an external PostgreSQL server is not recommended.

  4. Install and configure an email server.

    • Control Center will send emails to users:

      • when they are invited to an account,
      • when sending email alarms (i.e. if email rather than SNMP is used for this purpose), and
      • when sending periodic reports.
    • Run the command

    • For a simple setup where postfix can send directly to the destination email server, you can set General type of mail configuration to "Internet Site", and System mail name can usually be left as-is. Otherwise, postfix needs to be configured according to the environment. For guidance, refer to the official Ubuntu documentation at https://ubuntu.com/server/docs/mail-postfix.