Setting up the GNU/Linux Debian server

In order to install a fresh Debian Linux 9 Stretch (physical or virtual) without graphical interface, please refer to the official documentation : Debian GNU/Linux Installation Guide.

Configuring network parameters

The different parameters presented below are not specific to WAPT; you may adapt them as required for your environment.

Modify the following files in order to get a proper naming and network addressing strategy.

In the following example

  • the FQDN is srvwapt.mydomain.lan;
  • the name of the WAPT Server is srvwapt;
  • the DNS suffix is mydomain.lan;
  • the IP address is 10.0.0.10/24;

Configuring the name of WAPT Server

Hint

The short name of the WAPT Server must not be longer than 15 characters (the limit is due to sAMAccountName restriction in Active Directory).

The name of the WAPT Server must be a FQDN, that is to say it has both the server name and the DNS suffix.

modify the /etc/hostname file and write the FQDN of the server;

# /etc/hostname du waptserver
srvwapt.mydomain.lan

configure the /etc/hosts file, be sure to put both the FQDN and the short name of the server;

# /etc/hosts du waptserver
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
10.0.0.10   srvwapt.mydomain.lan     srvwapt

Hint

  • on the line defining the DNS server IP address, be sure to have the IP of the server (not 127.0.0.1), then the FQDN, then the short name;
  • do not change the line with localhost;

Configuring the IP address of the WAPT Server

  • configure the IP address of the WAPT Server in the /etc/network/interfaces;
# /etc/network/interfaces du serveur wapt
auto eth0
iface eth0 inet static
  address 10.0.0.10
  netmask 255.255.255.0
  gateway 10.0.0.254
  • apply the network configuration by rebooting the machine with a reboot;
  • if it has not already be done, create the DNS entry for the WAPT Server in the Organization’s Active Directory;
  • Configuring the Organization’s DNS for WAPT
  • after reboot, configure the system language in English in order to have non-localized logs for easier searching of common errors;
apt-get install locales-all
localectl set-locale LANG=en_US.UTF-8
localectl status
  • check that the machine clock is on time (with NTP installed);
dpkg -l | grep ntp
service ntp status
date

Hint

If the NTP package is not installed.

apt install ntp
systemctl enable ntp
systemctl start ntp
  • update and upgrade your Debian;
apt-get update
apt-get upgrade
  • Installer systemd ;
apt-get install systemd
  • Installer ca-certificates
apt-get install ca-certificates
  • Redémarrer la machine
reboot

You may no go on to the next step and install WAPT on your Debian.