Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Info

Ubuntu Server 20.04

Contenido

Table of Contents


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.

Code Block
languagedelphi
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:

Code Block
auto eth0
iface eth0 inet dhcp

for:

Code Block
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.

Download installer

Download the following installer and run it:

Code Block
wget https://storage.googleapis.com/builds-ucontact/uContact/IntegraInstall.zip
unzip IntegraInstall.zip
chmod 777 IntegraInstall
sudo ./IntegraInstall 2>&1 | tee ~/ucontactinstalllog.txt

You will need to provide the following data:

  • Data base and Telephony IP address. (We suggest a local IP address that will be selected by default if you press enter).

  • uContact domain (it looks like ***.ucontactcloud.com) a valid domain would be ex: xxxxxx.ucontactcloud.com (being xxxxx the subdomain assigned to the installation). If you leave this blank, you won't be able to continue.

  • Installation language es/en/pt (spanish, english, portuguese).

  • Password for root (this will change).

Code Block
tail -f /root/ucontactinstalllog.txt (para ver el log)

Change time zone

Run the following command:

Code Block
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.

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

    Image RemovedImage Added

     

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

    Image RemovedImage Added