Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

Оглавление

Соединение с портлетом
urlhttp://youtube.com/watch?v=uL-I0dzrxuM

Подготовка к установке.

Для установки SoftWLC в минимальной конфигурации нам понадобится сервер со следующими параметрами:

  • Оперативная память не менее 8Гб
  • CPU >= 2200MHz
  • Память жесткого диска >= 35Gb
  • Выход в Интернет
  • Операционная система Ubuntu 14.04

Подробнее о требованиях к серверу смотрите здесь.



Информация

Операционные системы, отличные от Ubuntu 14.04 не поддерживаются!

...

root@vagrant-ubuntu-trusty-64:/home/vagrant# free -m
total used free shared buffers cached
Mem: 7985 409 7575 0 12 228
-/+ buffers/cache: 168 7816
Swap: 0 0 0

...

root@vagrant-ubuntu-trusty-64:/home/vagrant# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 60
Stepping: 3
CPU MHz: 3294.301
BogoMIPS: 6588.60
L1d cache: 32K
L1d cache: 32K
L2d cache: 6144K
NUMA node0 CPU(s): 0,1

...

root@vagrant-ubuntu-trusty-64:/home/vagrant# df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 12K 3.9G 1% /dev
tmpfs 799M 436K 799M 1% /run
/dev/sda1 40G 1.4G 37G 4% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
none 5.0M 0 5.0M 0% /run/lock
none 3.9G 0 3.9G 0% /run/shm
none 100M 0 100M 0% /run/user
none 901G 113G 789G 13% /vagrant

...

root@vagrant-ubuntu-trusty-64:/home/vagrant# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"

...

root@vagrant-ubuntu-trusty-64:/home/vagrant# ping eltex.nsk.ru
PING eltex.nsk.ru (62.109.0.175) 56(84) bytes of data.
64 bytes from mail.eltex.nsk.ru (62.109.0.175): icmp_seq=1 ttl=55 time=52.8 ms
64 bytes from mail.eltex.nsk.ru (62.109.0.175): icmp_seq=2 ttl=55 time=47.6 ms
64 bytes from mail.eltex.nsk.ru (62.109.0.175): icmp_seq=3 ttl=55 time=46.4 ms
64 bytes from mail.eltex.nsk.ru (62.109.0.175): icmp_seq=4 ttl=55 time=46.5 ms
64 bytes from mail.eltex.nsk.ru (62.109.0.175): icmp_seq=5 ttl=55 time=46.3 ms
^C
--- eltex.nsk.ru ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 46.398/47.977/52.889/2.516 ms

Установка.

Подключение репозиториев Элтекс.

root@vagrant-ubuntu-trusty-64:/home/vagrant# echo "deb http://archive.eltex.org/ems 3.11 main" >> /etc/apt/sources.list

Подключение сторонних репозиториев.

root@vagrant-ubuntu-trusty-64:/home/vagrant# add-apt-repository -y ppa:webupd8team/java
gpg: keyring `/tmp/tmpvow23jgr/secring.gpg' created
gpg: keyring `/tmp/tmpvow23jgr/pubring.gpg' created
gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpvow23jgr/trustdb.gpg: trustdb created
gpg: key EEA14886: public key "Launchpad VLC" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK

Добавление цифровой подписи

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-key adv --keyserver keyserver.ubuntu.com --recv B1FA2DC4F558A287
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.JjIxiUgI0p --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/webupd8team-java.gpg --keyserver keyserver.ubuntu.com --recv B1FA2DC4
gpg: requesting key B1FA2DC4 from hkp server keyserver.ubuntu.com
gpg: key B1FA2DC4: public key "Eltex.EMS build server (Signing for inner Eltex debian packages) <aleksey.sergeev@eltex.nsk.ru>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

Поиск и установка обновлений пакетов

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get update
Ign http://archive.eltex.org 3.11 InRelease
Get:1 http://archive.eltex.org 3.11 Release.gpg [543 B]
Get:2 http://archive.eltex.org 3.11 Release [2,050 B]
Get:3 http://archive.eltex.org 3.11/main amd64 Packages [3,548 B]
Ign http://archive.eltex.org 3.11/main Translation-en_US
Ign http://archive.eltex.org 3.11/main Translation-en
Ign http://archive.ubuntu.com trusty InRelease
Get:4 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Get:5 http://ppa.launchpad.net trusty InRelease [15.5 kB]
Get:6 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:7 http://ppa.launchpad.net trusty/main amd64 Packages [3,398 B]
Get:8 http://security.ubuntu.com trusty-security/main Sources [131 kB]
Get:9 http://ppa.launchpad.net trusty/main Translation-en [1,556 B]
Get:10 http://archive.ubuntu.com trusty-backports InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty Release.gpg
Get:11 http://security.ubuntu.com trusty-security/universe Sources [54.0 kB]
Get:12 http://archive.ubuntu.com trusty-updates/main Sources [399 kB]
Get:13 http://security.ubuntu.com trusty-security/main amd64 Packages [618 kB]
Get:14 http://archive.ubuntu.com trusty-updates/restricted Sources [6,331 B]
Get:15 http://archive.ubuntu.com trusty-updates/universe Sources [180 kB]
Get:16 http://security.ubuntu.com trusty-security/universe amd64 Packages [160 kB]
Get:17 http://security.ubuntu.com trusty-security/main Translation-en [336 kB]
Get:18 http://security.ubuntu.com trusty-security/universe Translation-en [93.5 kB]
Get:19 http://archive.ubuntu.com trusty-updates/multiverse Sources [7,764 B]
Get:20 http://archive.ubuntu.com trusty-updates/main amd64 Packages [985 kB]
Get:21 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [17.1 kB]
Get:22 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [408 kB]
Get:23 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.3 kB]
Get:24 http://archive.ubuntu.com trusty-updates/main Translation-en [486 kB]
Get:25 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [7,430 B]
Get:26 http://archive.ubuntu.com trusty-updates/restricted Translation-en [3,978 B]
Get:27 http://archive.ubuntu.com trusty-updates/universe Translation-en [216 kB]
Get:28 http://archive.ubuntu.com trusty-backports/main Sources [9,712 B]
Get:29 http://archive.ubuntu.com trusty-backports/restricted Sources [28 B]
Get:30 http://archive.ubuntu.com trusty-backports/universe Sources [35.3 kB]
Get:31 http://archive.ubuntu.com trusty-backports/multiverse Sources [1,898 B]
Get:32 http://archive.ubuntu.com trusty-backports/main amd64 Packages [13.3 kB]
Get:33 http://archive.ubuntu.com trusty-backports/restricted amd64 Packages [28 B]
Get:34 http://archive.ubuntu.com trusty-backports/universe amd64 Packages [43.2 kB]
Get:35 http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages [1,571 B]
Get:36 http://archive.ubuntu.com trusty-backports/main Translation-en [7,503 B]
Get:37 http://archive.ubuntu.com trusty-backports/multiverse Translation-en [1,215 B]
Get:38 http://archive.ubuntu.com trusty-backports/restricted Translation-en [28 B]
Get:39 http://archive.ubuntu.com trusty-backports/universe Translation-en [36.8 kB]
Hit http://archive.ubuntu.com trusty Release
Get:40 http://archive.ubuntu.com trusty/main Sources [1,064 kB]
Get:41 http://archive.ubuntu.com trusty/restricted Sources [5,433 B]
Get:42 http://archive.ubuntu.com trusty/universe Sources [6,399 kB]
Get:43 http://archive.ubuntu.com trusty/multiverse Sources [174 kB]
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/multiverse Translation-en
Hit http://archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_US
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://archive.ubuntu.com trusty/universe Translation-en_US
Fetched 12.1 MB in 19s (624 kB/s)
Reading package lists... Done

Указываем пароль пользователя root для базы данных mysql

root@vagrant-ubuntu-trusty-64:/home/vagrant# debconf-set-selections <<< 'mysql-server mysql-server/root_password password root'
root@vagrant-ubuntu-trusty-64:/home/vagrant# debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password root'

Установка mysql-server

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get -y install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-common
mysql-server-5.5 mysql-server-core-5.5
Suggested packages:
libclone-perl libmldbm-perl libnet-daemon-perl libplrpc-perl
libsql-statement-perl libipc-sharedcache-perl tinyca mailx
The following NEW packages will be installed:
libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-common
mysql-server mysql-server-5.5 mysql-server-core-5.5
0 upgraded, 12 newly installed, 0 to remove and 158 not upgraded.
Need to get 9,714 kB of archives.
After this operation, 97.2 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libaio1 amd64 0.3.109-4 [6,364 B]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-common all 5.5.55-0ubuntu0.14.04.1 [13.0 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libmysqlclient18 amd64 5.5.55-0ubuntu0.14.04.1 [597 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main libdbi-perl amd64 1.630-1 [879 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdbd-mysql-perl amd64 4.025-1ubuntu0.1 [87.6 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main libterm-readkey-perl amd64 2.31-1 [27.4 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-core-5.5 amd64 5.5.55-0ubuntu0.14.04.1 [707 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-5.5 amd64 5.5.55-0ubuntu0.14.04.1 [1,586 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server-core-5.5 amd64 5.5.55-0ubuntu0.14.04.1 [3,737 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server-5.5 amd64 5.5.55-0ubuntu0.14.04.1 [1,996 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ trusty/main libhtml-template-perl all 2.95-1 [65.5 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server all 5.5.55-0ubuntu0.14.04.1 [11.3 kB]
Fetched 9,714 kB in 11s (827 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libaio1:amd64.
(Reading database ... 62989 files and directories currently installed.)
Preparing to unpack .../libaio1_0.3.109-4_amd64.deb ...
Unpacking libaio1:amd64 (0.3.109-4) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../mysql-common_5.5.55-0ubuntu0.14.04.1_all.deb ...
Unpacking mysql-common (5.5.55-0ubuntu0.14.04.1) ...
Selecting previously unselected package libmysqlclient18:amd64.
Preparing to unpack .../libmysqlclient18_5.5.55-0ubuntu0.14.04.1_amd64.deb ...
Unpacking libmysqlclient18:amd64 (5.5.55-0ubuntu0.14.04.1) ...
Selecting previously unselected package libdbi-perl.
Preparing to unpack .../libdbi-perl_1.630-1_amd64.deb ...
Unpacking libdbi-perl (1.630-1) ...
Selecting previously unselected package libdbd-mysql-perl.
Preparing to unpack .../libdbd-mysql-perl_4.025-1ubuntu0.1_amd64.deb ...
Unpacking libdbd-mysql-perl (4.025-1ubuntu0.1) ...
Selecting previously unselected package libterm-readkey-perl.
Preparing to unpack .../libterm-readkey-perl_2.31-1_amd64.deb ...
Unpacking libterm-readkey-perl (2.31-1) ...
Selecting previously unselected package mysql-client-core-5.5.
Preparing to unpack .../mysql-client-core-5.5_5.5.55-0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-client-core-5.5 (5.5.55-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-client-5.5.
Preparing to unpack .../mysql-client-5.5_5.5.55-0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-client-5.5 (5.5.55-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-server-core-5.5.
Preparing to unpack .../mysql-server-core-5.5_5.5.55-0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-server-core-5.5 (5.5.55-0ubuntu0.14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up mysql-common (5.5.55-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-server-5.5.
(Reading database ... 63352 files and directories currently installed.)
Preparing to unpack .../mysql-server-5.5_5.5.55-0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-server-5.5 (5.5.55-0ubuntu0.14.04.1) ...
Selecting previously unselected package libhtml-template-perl.
Preparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...
Unpacking libhtml-template-perl (2.95-1) ...
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_5.5.55-0ubuntu0.14.04.1_all.deb ...
Unpacking mysql-server (5.5.55-0ubuntu0.14.04.1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libaio1:amd64 (0.3.109-4) ...
Setting up libmysqlclient18:amd64 (5.5.55-0ubuntu0.14.04.1) ...
Setting up libdbi-perl (1.630-1) ...
Setting up libdbd-mysql-perl (4.025-1ubuntu0.1) ...
Setting up libterm-readkey-perl (2.31-1) ...
Setting up mysql-client-core-5.5 (5.5.55-0ubuntu0.14.04.1) ...
Setting up mysql-client-5.5 (5.5.55-0ubuntu0.14.04.1) ...
Setting up mysql-server-core-5.5 (5.5.55-0ubuntu0.14.04.1) ...
Setting up mysql-server-5.5 (5.5.55-0ubuntu0.14.04.1) ...
170605 17:14:20 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
170605 17:14:20 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
170605 17:14:20 [Note] /usr/sbin/mysqld (mysqld 5.5.55-0ubuntu0.14.04.1) starting as process 6536 ...
mysql start/running, process 6669
Setting up libhtml-template-perl (2.95-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up mysql-server (5.5.55-0ubuntu0.14.04.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...

Подтверждаем согласие с лицензией до установки Oracle Java 8

root@vagrant-ubuntu-trusty-64:/home/vagrant# echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
root@vagrant-ubuntu-trusty-64:/home/vagrant# echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections

Устанавливаем Oracle Java 8

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get -y install oracle-java8-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
gsfonts gsfonts-x11 java-common oracle-java8-set-default
Suggested packages:
default-jre equivs binfmt-support visualvm ttf-baekmuk ttf-unfonts
ttf-unfonts-core ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho
ttf-sazanami-mincho ttf-arphic-uming firefox firefox-2 iceweasel
mozilla-firefox iceape-browser mozilla-browser epiphany-gecko
epiphany-webkit epiphany-browser galeon midbrowser moblin-web-browser
xulrunner xulrunner-1.9 konqueror chromium-browser midori google-chrome
The following NEW packages will be installed:
gsfonts gsfonts-x11 java-common oracle-java8-installer
oracle-java8-set-default
0 upgraded, 5 newly installed, 0 to remove and 158 not upgraded.
Need to get 3,553 kB of archives.
After this operation, 5,434 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/webupd8team/java/ubuntu/ trusty/main oracle-java8-installer all 8u131-1~webupd8~2 [32.8 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main java-common all 0.51 [130 kB]
Get:3 http://ppa.launchpad.net/webupd8team/java/ubuntu/ trusty/main oracle-java8-set-default all 8u131-1~webupd8~2 [6,696 B]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty/main gsfonts all 1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1 [3,374 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty/main gsfonts-x11 all 0.22 [9,108 B]
Fetched 3,553 kB in 4s (803 kB/s)
Preconfiguring packages ...
Selecting previously unselected package java-common.
(Reading database ... 63453 files and directories currently installed.)
Preparing to unpack .../java-common_0.51_all.deb ...
Unpacking java-common (0.51) ...
Selecting previously unselected package oracle-java8-installer.
Preparing to unpack .../oracle-java8-installer_8u131-1~webupd8~2_all.deb ...
oracle-license-v1-1 license has already been accepted
Unpacking oracle-java8-installer (8u131-1~webupd8~2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Setting up java-common (0.51) ...
Setting up oracle-java8-installer (8u131-1~webupd8~2) ...
No /var/cache/oracle-jdk8-installer/wgetrc file found.
Creating /var/cache/oracle-jdk8-installer/wgetrc and
using default oracle-java8-installer wgetrc settings for it.
Downloading Oracle Java 8...
--2017-06-05 17:20:48-- http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz
Resolving download.oracle.com (download.oracle.com)... 77.67.29.170, 77.67.29.241
Connecting to download.oracle.com (download.oracle.com)|77.67.29.170|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz [following]
--2017-06-05 17:20:49-- https://edelivery.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.14.8.134, 2a02:26f0:f:294::2d3e, 2a02:26f0:f:29e::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.14.8.134|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz?AuthParam=1496683369_5f120096b12c33cc047315e861da2a48 [following]
--2017-06-05 17:20:50-- http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz?AuthParam=1496683369_5f120096b12c33cc047315e861da2a48
Connecting to download.oracle.com (download.oracle.com)|77.67.29.170|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 185540433 (177M) [application/x-gzip]
Saving to: ‘jdk-8u131-linux-x64.tar.gz’

...

root@vagrant-ubuntu-trusty-64:/home/vagrant# echo "rsyslog-mysql rsyslog-mysql/dbconfig-install boolean true" | debconf-set-selections
root@vagrant-ubuntu-trusty-64:/home/vagrant# echo "rsyslog-mysql rsyslog-mysql/mysql/app-pass password root" | debconf-set-selections
root@vagrant-ubuntu-trusty-64:/home/vagrant# echo "rsyslog-mysql rsyslog-mysql/app-password-confirm password root" | debconf-set-selections
root@vagrant-ubuntu-trusty-64:/home/vagrant# echo "rsyslog-mysql rsyslog-mysql/password-confirm password root" | debconf-set-selections
root@vagrant-ubuntu-trusty-64:/home/vagrant# echo "rsyslog-mysql rsyslog-mysql/mysql/admin-pass password root" | debconf-set-selections
root@vagrant-ubuntu-trusty-64:/home/vagrant# echo "rsyslog-mysql rsyslog-mysql/remote/port string " | debconf-set-selections

Установка дополнительных пакетов

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install --yes expect daemon psmisc mysql-client ntp tftp-hpa tftpd-hpa snmpd snmp rsyslog rsyslog-mysql curl tomcat6 tomcat7 software-properties-common python-pexpect unzip zip mongodb-server isc-dhcp-server pcscd opensc pcsc-tools pkiclient libhal1 python-suds libtalloc2 libwbclient0 freeradius freeradius-mysqlmysql tomcat7-admin

Указываем переменную окружения JAVA_HOME для tomcat7

root@vagrant-ubuntu-trusty-64:/home/vagrant# echo "JAVA_HOME=/usr/lib/jvm/java-8-oracle" >> /etc/default/tomcat6tomcat7

Установка часового пояса

root@vagrant-ubuntu-trusty-64:/home/vagrant# cp /usr/share/zoneinfo/Asia/Novosibirsk /etc/localtime

Выделение дополнительной оперативной памяти для Java

root@vagrant-ubuntu-trusty-64:/home/vagrant# echo "JAVA_OPTS=\"${JAVA_OPTS} -server -Xms512m -Xmx2048m -XX:-UseParallelGC -XX:+UseConcMarkSweepGC -XX:+AggressiveOpts\"" >> /etc/default/tomcat6tomcat7

Установка пакета eltex-notification-gw

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install eltex-notification-gw
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
eltex-notification-gw
0 upgraded, 1 newly installed, 0 to remove and 153 not upgraded.
Need to get 16.5 MB of archives.
After this operation, 19.0 MB of additional disk space will be used.
Get:1 http://archive.eltex.org/ems/ 3.11/main eltex-notification-gw all 1.7-139 [16.5 MB]
Fetched 16.5 MB in 0s (27.9 MB/s)
Selecting previously unselected package eltex-notification-gw.
(Reading database ... 66700 files and directories currently installed.)
Preparing to unpack .../eltex-notification-gw_1.7-139_all.deb ...
Unpacking eltex-notification-gw (1.7-139) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up eltex-notification-gw (1.7-139) ...
eltex-ngw start/running, process 16328
Processing triggers for ureadahead (0.100.0-16) ...

Установка

...

пакета eltex-apb

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install eltex-apb
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
eltex-apb
0 upgraded, 1 newly installed, 0 to remove and 153 not upgraded.
Need to get 18.2 MB of archives.
After this operation, 20.7 MB of additional disk space will be used.
Get:1 http://archive.eltex.org/ems/ 3.11/main eltex-apb all 1.7-93 [18.2 MB]

Установка фреймворка для работы службы SOAP/XML (Apache Axis)

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install eltex-axis
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
eltex-axis
0 upgraded, 1 newly installed, 0 to remove and 153 not upgraded.
Need to get 24.3 MB of archives.
After this operation, 27.8 MB of additional disk space will be used.
Get:1 http://archive.eltex.org/ems/ 3.11/main eltex-axis all 1.6.1-2 [24.3 MB]
Fetched 24.3 MB in 0s (43.6 MB/s)
Selecting previously unselected package eltex-axis.
(Reading database ... 66857 files and directories currently installed.)
Preparing to unpack .../eltex-axis_1.6.1-2_all.deb ...
Unpacking eltex-axis (1.6.1-2) ...
Setting up eltex-axis (1.6.1-2) ...
Deploying Axis2 in /var/lib/tomcat6/webapps/axis2 ... done
* Starting Tomcat servlet engine tomcat6
...done.

Установка

...

пакета eltex-radius-nbi для стыка SoftWLC с вышестоящими OSS/BSS

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install eltex-radius-nbi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
eltex-radius-nbi
0 upgraded, 1 newly installed, 0 to remove and 153 not upgraded.
Need to get 43.4 MB of archives.
After this operation, 64.9 MB of additional disk space will be used.
Get:1 http://archive.eltex.org/ems/ 3.11/main eltex-radius-nbi all 1.7-329 [43.4 MB]
Fetched 43.4 MB in 0s (46.2 MB/s)
Selecting previously unselected package eltex-radius-nbi.
(Reading database ... 67071 files and directories currently installed.)
Preparing to unpack .../eltex-radius-nbi_1.7-329_all.deb ...
Prepare to install packet Eltex.Radius.Nbi
Unpacking eltex-radius-nbi (1.7-329) ...
Setting up eltex-radius-nbi (1.7-329) ...

...

X509v3 Basic Constraints:
CA:TRUE
Signature Algorithm: sha256WithRSAEncryption
5d:eb:0f:78:25:ea:1b:b2:ee:72:ea:58:c1:88:df:3e:6b:6e:
2e:c8:f6:11:26:94:d5:bf:17:ed:75:16:a4:79:3f:48:ed:1d:
1e:70:e7:04:f8:d8:3c:58:88:65:1f:0c:fa:77:8d:07:c8:83:
7e:04:c1:56:c8:a7:65:3d:e6:ab:f2:dd:9f:07:ec:10:63:ff:
0a:d6:17:d8:d4:26:88:a5:a8:22:4e:4c:4a:10:a2:06:a5:48:
a0:2c:4e:a2:4f:7c:2d:5f:05:64:0c:bd:fb:15:f8:5f:14:93:
ad:aa:d0:aa:1c:15:d6:81:dd:20:22:a5:16:39:c0:16:ef:3d:
f9:8a:21:9c:12:6a:55:12:8c:68:8a:db:e7:1a:2b:59:bc:6b:
f8:78:29:37:17:de:e4:b4:f0:46:60:d8:ec:33:86:be:ee:08:
1c:e2:36:a5:d8:0e:5c:6b:32:32:29:43:d3:39:41:b1:bf:78:
af:c6:06:08:90:97:e0:d8:a9:c3:54:dc:8b:a6:e4:f4:ae:b2:
2b:99:8b:6c:04:3e:46:c2:14:47:7b:79:fd:1a:83:3b:35:f6:
e1:c8:f2:dc:2c:42:af:6c:72:03:fc:32:94:8d:7c:6e:80:bd:
90:80:d9:ac:e7:f6:b9:4f:59:2c:ba:d6:31:df:dd:01:3a:80:
3d:c7:92:ec
Successful generation of the CA certificate. Files:
/var/lib/eltex-radius-nbi/wireless-ca.crt
/var/lib/eltex-radius-nbi/wireless-ca.key
Do you want to generate server certificate? [y/N]: N
Skip generating server certificate

...


Fetched 18.2 MB in 0s (37.6 MB/s)
Selecting previously unselected package eltex-apb.
(Reading database ... 66782 files and directories currently installed.)
Preparing to unpack .../eltex-apb_1.7-93_all.deb ...
Prepare to install packet eltex-apb
Unpacking eltex-apb (1.7-93) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up eltex-apb (1.7-93) ...
Adding system user `apbinder' (UID 118) ...
Adding new user `apbinder' (UID 118) with group `nogroup' ...
Not creating home directory `/home/apbinder'.
Starting eltex-apb ...
eltex-apb started

Установка модифицированной схемы в БД MySQL для службы 'freeradius'

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install freeradius-eltex-db
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
freeradius-eltex-db
0 upgraded, 1 newly installed, 0 to remove and 153 not upgraded.
Need to get 0 B/11.5 kB of archives.
After this operation, 164 kB of additional disk space will be used.
Selecting previously unselected package freeradius-eltex-db.
(Reading database ... 67580 files and directories currently installed.)
Preparing to unpack .../freeradius-eltex-db_3.11-370_all.deb ...
Unpacking freeradius-eltex-db (3.11-370) ...
Setting up freeradius-eltex-db (3.11-370) ...
Enter your MySQL administrator login (default is 'root'): root
Enter your MySQL administrator password: root
Enable remote access to database? (y/N) y
mysql stop/waiting
mysql start/running, process 17341
Creating database ...
Preparing database ...
Do you want to create a tariff? (Y/n) Y
Enter root domain name (default is 'root'): root
Enter tariff code (its identifier) (default is 'default'): 1
Tariff '1' has been successfully created
There are two types of tariffs:
* Tariff for hotspot with captive portal authorization
* Tariff for customers with WPA Enterprise authorization
Make the tariff for portal authentication only? (Y/n) Y
Please restart RADIUS server manually with "service eltex-radius restart"

Установка БД сервиса авторизации

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install eltex-auth-service-db
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
eltex-auth-service-db
0 upgraded, 1 newly installed, 0 to remove and 153 not upgraded.
Need to get 5,302 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.eltex.org/ems/ 3.11/main eltex-auth-service-db all 1.7-545 [5,302 B]
Fetched 5,302 B in 0s (214 kB/s)
Selecting previously unselected package eltex-auth-service-db.
(Reading database ... 67606 files and directories currently installed.)
Preparing to unpack .../eltex-auth-service-db_1.7-545_all.deb ...
Unpacking eltex-auth-service-db (1.7-545) ...
Setting up eltex-auth-service-db (1.7-545) ...
Enter your mysql administrator login (default is 'root'): root
Enter your mysql administrator password: root
Creating database 'eltex_auth_service'
Create remote database user? (y/N) y
Database 'eltex_auth_service' successfully created
Restart the service with command "service eltex-auth-service restart"
Enter root domain [root]: root
Create default auth-user:
Set login [admin]:
Set password [password]:
Default auth-user 'admin' created successfully
Set service user password [softwlc]:
Service user 'softwlc_service' created successfully. Please, check it at '/etc/eltex-wifi-cab/system.xml' on your 'Eltex Wi-Fi customer cabinet' host.
Create default auth-nas (for eltex-wifi-cab):
Set eltex-wifi-cab ip address (leave empty if 127.0.0.1):
Default auth-nas '127.0.0.1' created successfully

Установка сервиса аутентификации и авторизации SoftWLC

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install eltex-auth-service
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
eltex-auth-service
0 upgraded, 1 newly installed, 0 to remove and 153 not upgraded.
Need to get 85.8 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.eltex.org/ems/ 3.11/main eltex-auth-service all 1.7-545 [85.8 kB]
Fetched 85.8 kB in 0s (5,129 kB/s)
Selecting previously unselected package eltex-auth-service.
(Reading database ... 67615 files and directories currently installed.)
Preparing to unpack .../eltex-auth-service_1.7-545_all.deb ...
Unpacking eltex-auth-service (1.7-545) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up eltex-auth-service (1.7-545) ...
freeradius stop/waiting
Configuring Upstart service
eltex-auth-service start/running, process 17964

Установка пакета для интерпретации MAC-адресов в имена вендоров

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install eltex-oui-list
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
eltex-oui-list
0 upgraded, 1 newly installed, 0 to remove and 153 not upgraded.
Need to get 846 kB of archives.
After this operation, 4,276 kB of additional disk space will be used.
Get:1 http://archive.eltex.org/ems/ 3.11/main eltex-oui-list all 3.11-370 [846 kB]
Fetched 846 kB in 0s (8,338 kB/s)
Selecting previously unselected package eltex-oui-list.
(Reading database ... 67731 files and directories currently installed.)
Preparing to unpack .../eltex-oui-list_3.11-370_all.deb ...
Unpacking eltex-oui-list (3.11-370) ...
Setting up eltex-oui-list (3.11-370) ...

Установка

...

пакета eltex-radius

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install freeradiuseltex-eltexradius
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
freeradius eltex-eltexradius
0 upgraded, 1 newly installed, 0 to remove and 153 152 not upgraded.
Need to get 1,071 724 kB of archives.
After this operation, 4,055 202 kB of additional disk space will be used.
Get:1 http://archive.eltex.org/ems/ 3.611/main freeradius-eltex all 3.6.0-754 [1,071 eltex-radius amd64 1.7-23 [724 kB]
Fetched 1,071 724 kB in 0s (1114.5 4 MB/s)
Selecting previously unselected package freeradiuseltex-eltexradius.
(Reading database ... 67737 68298 files and directories currently installed.)
Preparing to unpack .../freeradiuseltex-eltexradius_31.6.07-75423_allamd64.deb ...
invoke-rc.d: unknown initscript, /etc/init.d/freeradius-domain not found.
update-rc.d: warning: start runlevel arguments (none) do not match freeradius Default-Start values (2 3 4 5)
update-rc.d: warning: stop runlevel arguments (2 3 4 5) do not match freeradius Default-Stop values (0 1 6)
Unpacking freeradius-eltex (3.6.0-754) ...
Replaced by files in installed package eltex-oui-list (3.11-370) ...
Unpacking eltex-radius (1.7-23) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up eltex-radius (1.7-23) ...
Generating DH parameters, 2048 bit long safe prime, generator 2
This is going to take a long time
..............+................................+.........................................................+........................................+....+....................................................................................................................+..................................................................................+...................+..................................+...................................................+..............+..............................................+........+.........+.....................+.........+......................................................+..........................................................+.........................+..........+.........................+..................................................................................................................+...+........................................................+................................+.....................................................+............................................+..................................................................................................................................................................................+........................+..................+.................................................................................................................................+............................................................+.......................................................................................+...................+...............................................................................+..........................................+..............+.............................+.......................................................................................................................................................................................................................................................................+..........................+.....................+........................................................+.......+.+........................+...........+..............................................+.........................+............................+..................+........................................+.................................................................................................................................+...................................................+...............................................................................................................................................................................................................................+......................................................................................................................................................................+.............................................................................................................................+......................+...+..............+....................................................................................++*++*
eltex-radius start/running, process 15217
Processing triggers for ureadahead (0.100.0-16) ...Setting up freeradius-eltex (3.6.0-754) ...
Configuring Upstart service
freeradius-domain start/running, process 18141
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
freerad 18141 0.0 0.0 29160 3164 ? Rs 11:09 0:00 /usr/sbin/freeradius -f -d /etc/freeradius-domain

Don't forget to setup rsyslog for remote FreeRADIUS
Instructions are inside /etc/rsyslog.d/freeradius-eltex.conf

Установка базы данных Портала

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install eltex-portal-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
eltex-portal-mysql
0 upgraded, 1 newly installed, 0 to remove and 111 not upgraded.
Need to get 54.5 MB of archives.
After this operation, 59.6 MB of additional disk space will be used.
Get:1 http://archive.eltex.org/ems/ 3.11/main eltex-portal-mysql all 1.7-572 [54.5 MB]
Fetched 54.5 MB in 24s (2,182 kB/s)
Selecting previously unselected package eltex-portal-mysql.
(Reading database ... 65928 files and directories currently installed.)
Preparing to unpack .../eltex-portal-mysql_1.7-572_all.deb ...
Unpacking eltex-portal-mysql (1.7-572) ...
Setting up eltex-portal-mysql (1.7-572) ...
Enter your MySQL administrator login (default is 'root'): root
Enter your MySQL administrator password: root
Creating main database 'ELTEX_PORTAL'
Enter NBI host (default is 'localhost'):
Enter administrator login for NBI (default is 'admin'):
Enter administrator password for NBI (default is 'password'):
Creating default parameters and portal
Main database created
Creating database 'payments'
Payments database created

Установка конструктора порталов для кастомизации

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install eltex-portal-constructor
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
eltex-portal
The following NEW packages will be installed:
eltex-portal-constructor
0 upgraded, 1 newly installed, 0 to remove and 153 not upgraded.
Need to get 50.7 MB of archives.
After this operation, 60.3 MB of additional disk space will be used.
Get:1 http://archive.eltex.org/ems/ 3.11/main eltex-portal-constructor all 1.7-572 [50.7 MB]
Fetched 50.7 MB in 1s (47.1 MB/s)
Selecting previously unselected package eltex-portal-constructor.
(Reading database ... 67873 files and directories currently installed.)
Preparing to unpack .../eltex-portal-constructor_1.7-572_all.deb ...
Unpacking eltex-portal-constructor (1.7-572) ...
Setting up eltex-portal-constructor (1.7-572) ...
* Stopping Tomcat servlet engine tomcat6
...done.
Enter databases host (default is 'localhost'):
Enter eltex-auth-service host (default is 'localhost'):
* Starting Tomcat servlet engine tomcat6
...done.

Установка портала для авторизации клиентов WiFi в схеме 'Hotspot'

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install eltex-portal
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
eltex-portal
0 upgraded, 1 newly installed, 0 to remove and 153 not upgraded.
Need to get 43.7 MB of archives.
After this operation, 50.5 MB of additional disk space will be used.
Get:1 http://archive.eltex.org/ems/ 3.11/main eltex-portal all 1.7-572 [43.7 MB]
Fetched 43.7 MB in 1s (37.5 MB/s)
Selecting previously unselected package eltex-portal.
(Reading database ... 68583 files and directories currently installed.)
Preparing to unpack .../eltex-portal_1.7-572_all.deb ...
Unpacking eltex-portal (1.7-572) ...
Setting up eltex-portal (1.7-572) ...
Enter databases host (default is 'localhost'):
Finishing installation of Eltex.Portal. Tomcat service will be restarted...
* Stopping Tomcat servlet engine tomcat6
...done.
* Starting Tomcat servlet engine tomcat6
...done.

Установка схемы в БД MySQL для службы 'eltex-ems'

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install eltex-ems-db
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
eltex-ems-db
0 upgraded, 1 newly installed, 0 to remove and 153 not upgraded.
Need to get 51.1 kB of archives.
After this operation, 528 kB of additional disk space will be used.
Get:1 http://archive.eltex.org/ems/ 3.11/main eltex-ems-db all 3.11-370 [51.1 kB]
Fetched 51.1 kB in 0s (2,072 kB/s)
Selecting previously unselected package eltex-ems-db.
(Reading database ... 68995 files and directories currently installed.)
Preparing to unpack .../eltex-ems-db_3.11-370_all.deb ...
Unpacking eltex-ems-db (3.11-370) ...
Setting up eltex-ems-db (3.11-370) ...
Enter your MySQL administrator login (default is 'root'):
Enter your MySQL administrator password: root
Enable remote access to database? (y/N) y
Restarting MySQL after config update ...
mysql stop/waiting
mysql start/running, process 18945
Creating database eltex_ems ...
Creating database eltex_ont ...
Creating database eltex_alert ...
Creating database Syslog ...
Creating database wireless ...
Creating additional grants ...
Preparing main EMS database ...
Select default language for EMS:
1. Russian
2. English (default)
Enter number: 1
Using locale ru_RU
Select access control type:
1 - Role based
2 - Domain based (default)
Enter number: 2
Using domain based access control
Enter root domain name (default is 'root'):
Please restart EMS manually with "service eltex-ems restart"

Установка

...

пакета eltex-ems

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install eltex-ems
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
eltex-ems
0 upgraded, 1 newly installed, 0 to remove and 153 not upgraded.
Need to get 53.6 MB of archives.
After this operation, 76.6 MB of additional disk space will be used.
Get:1 http://archive.eltex.org/ems/ 3.11/main eltex-ems all 3.11-370 [53.6 MB]
Fetched 53.6 MB in 1s (40.8 MB/s)
Selecting previously unselected package eltex-ems.
(Reading database ... 69065 files and directories currently installed.)
Preparing to unpack .../eltex-ems_3.11-370_all.deb ...
Unpacking eltex-ems (3.11-370) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up eltex-ems (3.11-370) ...
Detected OS: x86_64
Replace /etc/default/tftpd-hpa? (type 'd' to view diff) [y/N/d] y
File /etc/default/tftpd-hpa is overwritten
Restarting tftpd-hpa..
tftpd-hpa stop/waiting
tftpd-hpa start/running, process 19261
Replace /etc/snmp/snmpd.conf? (type 'd' to view diff) [y/N/d] y
File /etc/snmp/snmpd.conf is overwritten
Restarting snmpd..
* Restarting network management services:
Replace /etc/rsyslog.conf? (type 'd' to view diff) [y/N/d] y
File /etc/rsyslog.conf is overwritten
Replace /etc/rsyslog.d/50-default.conf? (type 'd' to view diff) [y/N/d] y
File /etc/rsyslog.d/50-default.conf is overwritten
Replace /etc/rsyslog.d/mysql.conf? (type 'd' to view diff) [y/N/d] y
File /etc/rsyslog.d/mysql.conf is overwritten
Restarting service rsyslog..
rsyslog stop/waiting
rsyslog start/running, process 19307
Using demo license (from distribution)
Configure rsync backup in /etc/cron.d/ems-backup (if necessary)
cron stop/waiting
cron start/running, process 19328
* Restarting Eltex.EMS Server eltex-ems
...done.
* Stopping Tomcat servlet engine tomcat6
...done.
* Starting Tomcat servlet engine tomcat6
...done.

Установка личного кабинета B2B, интерфейса управления

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install eltex-wifi-cab
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
eltex-wifi-cab
0 upgraded, 1 newly installed, 0 to remove and 153 not upgraded.
Need to get 78.5 MB of archives.

Установка пакета PCRF

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install eltex-lease-saverpcrf

Reading package lists... Done
Building dependency tree tree 
Reading state information... DoneThe following NEW packages will be installed:
eltex-lease-saver
0 upgraded, 1 newly installed, 0 to remove and 153 not upgraded.
Need to get 1,868 kB of archives.
After this operation, 2,106 kB

of additional disk space will be used.
Get:1 http://archive.eltex.org/ems/ 3.11/main eltex-lease-saver all 1.7-34 [1,868 kB]
Fetched 1,868 kB in 0s (17.0 MB/s)
Selecting previously unselected package eltex-lease-saver.
(Reading database ... 70902 files and directories currently installed.)
Preparing to unpack .../vagrant/eltex-lease-saverpcrf_1.7-34_all.deb ...

Unpacking eltex-lease-saver pcrf (1.7-34188) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up eltex-lease-saver pcrf (1.7-34188) ...
Modifying /etc/apparmor.d/usr.sbin.dhcpd
* Reloading AppArmor profiles
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
...done.
Adding system user `leasesaver' (UID 120Adding group `pcrf' (GID 126) ...
Done.
Adding system user `pcrf' (UID 122) ...
Adding new user `leasesaver`pcrf' (UID 120122) with group `nogroup`pcrf' ...
Not creating home directory `/home/leasesavervar/lib/eltex-pcrf'.
* Starting eltex-lease-saverpcrf
...done.

root@vagrant-ubuntu-trusty-64:/home/vagrant# apt-get install eltex-lease-saver
Reading package lists... Done
Building dependency tree
Reading state information... Done
eltex-lease-saver is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 153 not upgraded

Установка лицензии для Eltex EMS

Информация

Лицензионный файл для пакета Eltex EMS license.xml содержит информацию количестве и типе устройств, с которыми может работать EMS. Данный файл предоставляется Коммерческими подразделениями компании Элтекс или ее партнерами.


root@vagrant-ubuntu-trusty-64:/home/vagrant# cp /vagrant/ licence.xml /usr/lib/eltex-ems/conf/licence/
root@vagrant-ubuntu-trusty-64:/home/vagrant# service eltex-ems restart
* Restarting Eltex.EMS Server eltex-ems
...done.

After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.eltex.org/ems/ 3.11/main eltex-wifi-cab all 1.7-545 [78.5 MB]
Fetched 78.5 MB in 2s (34.2 MB/s)
Selecting previously unselected package eltex-wifi-cab.
(Reading database ... 70528 files and directories currently installed.)
Preparing to unpack .../eltex-wifi-cab_1.7-545_all.deb ...
Unpacking eltex-wifi-cab (1.7-545) ...
Setting up eltex-wifi-cab (1.7-545) ...
* Stopping Tomcat servlet engine tomcat6
...done.
* Starting Tomcat servlet engine tomcat6
...done.




Reading package lists... Done
Building dependency tree 
Reading state information... Done