Ubuntu Server 20.04

Contenido


Instalación de Integra Server 

To install any version of Integra Server, you must:

Log in with the operative user created (ex: Integra)

Run the following commands to create a password for root and update the operative system to the last version.

sudo passwd root
sudo apt-get update
sudo apt-get upgrade

sudo sed -i "s/PasswordAuthentication no/PasswordAuthentication yes/" /etc/ssh/sshd_config

sudo sed -i "s/PermitRootLogin prohibit-password/PermitRootLogin yes/" /etc/ssh/sshd_config

Configure:  sudo vi /etc/network/interfaces 

Change:

auto eth0
iface eth0 inet dhcp

for:

auto eth0
iface eth0 inet static
     address 192.168.X.X
     network 192.168.1.X
     netmask 255.255.255.0
     broadcast 192.168.1.255
     gateway 192.168.1.X
     ;up route add -net 192.168.1.128 netmask 255.255.255.128 gw 192.168.1.2
     ;up route add default gw 192.168.1.200
     ;down route del default gw 192.168.1.200
     ;down route del -net 192.168.1.128 netmask 255.255.255.128 gw 192.168.1.2
     dns-nameservers 8.8.8.8
sudo apt-get install unzip curl
sudo reboot

After it restarts:

  1. Log in with root.

  2. Download the last version of the uContact setup.


Change time zone

Run the following command:

sudo dpkg-reconfigure tzdata

Select the preferred time zone and press OK.


Remote access

Usually, for for anything regarding Support, it is necessary to configure a remote access. To do so we use OpenVPN AS.

Steps to install and configure the VPN:

Install the .deb.

dpkg -i DEB_PACKAGE
  • Set it up with https://IPSERVIDOR/admin 

     

  • Disable the field that allows the routing of the internet traffic across the VPN.