Install with Tarball
Step 1 Go to download.denovolab.com
Download api, database, systemd service files, falcon_rest package, ui and switch binaries
Supported OS is Centos7

First time install:

Run the following commands:
1
yum -y install epel-release
2
yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
3
yum -y install centos-release-scl
4
yum clean expire-cache
5
yum -y install python3 python3-pip python3-devel libnetfilter_conntrack postgresql12 postgresql12-devel wget lzma openssl-devel xz-devel gcc libjpeg-turbo-devel ntp python-devel tcpdump wireshark make bzip2-devel sqlite-devel zip expect telnet git ntp redis nginx postgresql12-server prefix12 ip4r12 postgresql12-contrib
Copied!
  • Check if selinux is enabled, and if true, set it to permissive or disable it
  • Install NodeJS for the UI with the following commands:
1
curl --silent --location https://rpm.nodesource.com/setup_12.x | sudo bash -
2
yum install -y nodejs
3
create user webbackend and denovo_v6:
4
- useradd denovo_v6 -d /opt/denovo_v6
5
- useradd -r webbackend
Copied!
  • copy content of the systemd.tar.gz into /etc/systemd/system
  • initialize postgresql server:
1
/usrl/psql-12/bin/postgresql-12-setup initdb postgresql
2
Copied!
  • Go to /opt/pgsql/12/data/, edit pg_hba.conf:
1
local all all trust
2
# IPv4 local connections:
3
host all all 127.0.0.1/32 trust
4
# IPv6 local connections:
5
host all all ::1/128 trust
Copied!
  • Start Postgres server using the following command:
1
systemctl start postgresql
Copied!
  • Unpack database archive and prepare and load db. In psql command prompt , make database named class4_dnl.
Here is how you enter into Postgres prompt:
1
psql -U postgres
Copied!
Here is how you create .a Postgres database:
1
create database class4_dnl;
2
create user webbackend superuser login;
Copied!
After that, you navigate to the folder where you unpacked database files
1
psql -U postgres class4_dnl <schema.sql
2
psql -U postgres class4_dnl <data.sql
Copied!
Then you can install Python Backend:
1
pip3 install falcon-rest-1.0.14.tar.gz
Copied!
  • In the directory /opt/denovo_v6 copy contend of the switch binaries
  • Create directory web and put content of the UI archive there
  • Go to the dir where api_dnl is and run following commands:
1
pip3 install –U pip
2
pip3 install filename_api_dnl.tar.gz
Copied!
  • Create file named denovo.conf in the /etc/nginx/conf.d/ and put following:
1
server {
2
listen 80;
3
server_name localhost;
4
root /opt/denovo_v6/web;
5
index index.html index.htm;
6
client_max_body_size 320m;
7
# Load configuration files for the default server block.
8
include /etc/nginx/default.d/*.conf;
9
location / {
10
try_files $uri $uri/ @rewrites;
11
}
12
location @rewrites {
13
rewrite ^(.+)$ /index.html last;
14
}
15
error_page 404 /404.html;
16
location = /40x.html {
17
}
18
error_page 500 502 503 504 /50x.html;
19
location = /50x.html {
20
}
21
}
Copied!
  • Restart nginx.
  • Start all dnl services
1
systemctl start dnl_softswitch, dnl_livecall, dnl_tools dnl_webhelper dnl_api_dnl, [email protected] [email protected] [email protected] dnl_api_dnl_beat
Copied!
Also make sure that redis and nginx is running, if you have firewall enabled, add port for the web ui into it
For the switch you need also to open ports in firewall if you are using it:
Default ones are 4319/udp , 5060/udp
After all is started you should be able to open UI on the ip address of your machine, and take rest configuration from there.
Copy link