Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

Вы просматриваете старую версию данной страницы. Смотрите текущую версию.

Сравнить с текущим просмотр истории страницы

« Предыдущий Версия 13 Следующий »

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

Для установки 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

Проверяем CPU:

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 B1FA2DC4
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’

0K ........ ........ ........ ........ ........ ........ 1% 908K 3m16s
3072K ........ ........ ........ ........ ........ ........ 3% 923K 3m11s
6144K ........ ........ ........ ........ ........ ........ 5% 927K 3m7s
9216K ........ ........ ........ ........ ........ ........ 6% 478K 3m46s
12288K ........ ........ ........ ........ ........ ........ 8% 921K 3m34s
15360K ........ ........ ........ ........ ........ ........ 10% 920K 3m24s
18432K ........ ........ ........ ........ ........ ........ 11% 924K 3m16s
21504K ........ ........ ........ ........ ........ ........ 13% 926K 3m10s
24576K ........ ........ ........ ........ ........ ........ 15% 926K 3m4s
27648K ........ ........ ........ ........ ........ ........ 16% 919K 2m58s
30720K ........ ........ ........ ........ ........ ........ 18% 919K 2m54s
33792K ........ ........ ........ ........ ........ ........ 20% 894K 2m49s
36864K ........ ........ ........ ........ ........ ........ 22% 542K 2m53s
39936K ........ ........ ........ ........ ........ ........ 23% 928K 2m48s
43008K ........ ........ ........ ........ ........ ........ 25% 928K 2m43s
46080K ........ ........ ........ ........ ........ ........ 27% 927K 2m38s
49152K ........ ........ ........ ........ ........ ........ 28% 931K 2m33s
52224K ........ ........ ........ ........ ........ ........ 30% 929K 2m29s
55296K ........ ........ ........ ........ ........ ........ 32% 926K 2m25s
58368K ........ ........ ........ ........ ........ ........ 33% 929K 2m20s
61440K ........ ........ ........ ........ ........ ........ 35% 925K 2m16s
64512K ........ ........ ........ ........ ........ ........ 37% 924K 2m12s
67584K ........ ........ ........ ........ ........ ........ 38% 928K 2m8s
70656K ........ ........ ........ ........ ........ ........ 40% 926K 2m4s
73728K ........ ........ ........ ........ ........ ........ 42% 925K 2m0s
76800K ........ ........ ........ ........ ........ ........ 44% 930K 1m57s
79872K ........ ........ ........ ........ ........ ........ 45% 882K 1m53s
82944K ........ ........ ........ ........ ........ ........ 47% 925K 1m49s
86016K ........ ........ ........ ........ ........ ........ 49% 928K 1m46s
89088K ........ ........ ........ ........ ........ ........ 50% 923K 1m42s
92160K ........ ........ ........ ........ ........ ........ 52% 916K 98s
95232K ........ ........ ........ ........ ........ ........ 54% 925K 94s
98304K ........ ........ ........ ........ ........ ........ 55% 927K 91s
101376K ........ ........ ........ ........ ........ ........ 57% 928K 87s
104448K ........ ........ ........ ........ ........ ........ 59% 930K 84s
107520K ........ ........ ........ ........ ........ ........ 61% 925K 80s
110592K ........ ........ ........ ........ ........ ........ 62% 927K 76s
113664K ........ ........ ........ ........ ........ ........ 64% 932K 73s
116736K ........ ........ ........ ........ ........ ........ 66% 929K 69s
119808K ........ ........ ........ ........ ........ ........ 67% 928K 66s
122880K ........ ........ ........ ........ ........ ........ 69% 925K 62s
125952K ........ ........ ........ ........ ........ ........ 71% 923K 59s
129024K ........ ........ ........ ........ ........ ........ 72% 932K 55s
132096K ........ ........ ........ ........ ........ ........ 74% 927K 52s
135168K ........ ........ ........ ........ ........ ........ 76% 928K 48s
138240K ........ ........ ........ ........ ........ ........ 77% 921K 45s
141312K ........ ........ ........ ........ ........ ........ 79% 928K 41s
144384K ........ ........ ........ ........ ........ ........ 81% 927K 38s
147456K ........ ........ ........ ........ ........ ........ 83% 932K 34s
150528K ........ ........ ........ ........ ........ ........ 84% 924K 31s
153600K ........ ........ ........ ........ ........ ........ 86% 925K 27s
156672K ........ ........ ........ ........ ........ ........ 88% 918K 24s
159744K ........ ........ ........ ........ ........ ........ 89% 925K 21s
162816K ........ ........ ........ ........ ........ ........ 91% 910K 17s
165888K ........ ........ ........ ........ ........ ........ 93% 900K 14s
168960K ........ ........ ........ ........ ........ ........ 94% 925K 10s
172032K ........ ........ ........ ........ ........ ........ 96% 925K 7s
175104K ........ ........ ........ ........ ........ ........ 98% 930K 3s
178176K ........ ........ ........ ........ ........ ....... 100% 926K=3m22s

2017-06-05 17:24:12 (899 KB/s) - ‘jdk-8u131-linux-x64.tar.gz’ saved [185540433/185540433]

Download done.
Removing outdated cached downloads...
update-alternatives: error: no alternatives for java
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/ControlPanel to provide /usr/bin/ControlPanel (ControlPanel) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/java to provide /usr/bin/java (java) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/javaws to provide /usr/bin/javaws (javaws) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/jcontrol to provide /usr/bin/jcontrol (jcontrol) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/policytool to provide /usr/bin/policytool (policytool) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/appletviewer to provide /usr/bin/appletviewer (appletviewer) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/extcheck to provide /usr/bin/extcheck (extcheck) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/idlj to provide /usr/bin/idlj (idlj) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jar to provide /usr/bin/jar (jar) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javac to provide /usr/bin/javac (javac) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javafxpackager to provide /usr/bin/javafxpackager (javafxpackager) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javah to provide /usr/bin/javah (javah) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javap to provide /usr/bin/javap (javap) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javapackager to provide /usr/bin/javapackager (javapackager) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jdeps to provide /usr/bin/jdeps (jdeps) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jhat to provide /usr/bin/jhat (jhat) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jmc to provide /usr/bin/jmc (jmc) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jps to provide /usr/bin/jps (jps) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jsadebugd to provide /usr/bin/jsadebugd (jsadebugd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jvisualvm to provide /usr/bin/jvisualvm (jvisualvm) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/native2ascii to provide /usr/bin/native2ascii (native2ascii) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/schemagen to provide /usr/bin/schemagen (schemagen) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/wsgen to provide /usr/bin/wsgen (wsgen) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/wsimport to provide /usr/bin/wsimport (wsimport) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/xjc to provide /usr/bin/xjc (xjc) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libnpjp2.so to provide /usr/lib/mozilla/plugins/libjavaplugin.so (mozilla-javaplugin.so) in auto mode
Oracle JRE 8 browser plugin installed
Oracle JDK 8 installed

#####Important########
To set Oracle JDK8 as default, install the "oracle-java8-set-default" package.
E.g.: sudo apt install oracle-java8-set-default
On Ubuntu systems, oracle-java8-set-default is most probably installed
automatically with this package.
######################

Selecting previously unselected package oracle-java8-set-default.
(Reading database ... 63529 files and directories currently installed.)
Preparing to unpack .../oracle-java8-set-default_8u131-1~webupd8~2_all.deb ...
Unpacking oracle-java8-set-default (8u131-1~webupd8~2) ...
Selecting previously unselected package gsfonts.
Preparing to unpack .../gsfonts_1%3a8.11+urwcyr1.0.7~pre44-4.2ubuntu1_all.deb ...
Unpacking gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) ...
Selecting previously unselected package gsfonts-x11.
Preparing to unpack .../gsfonts-x11_0.22_all.deb ...
Unpacking gsfonts-x11 (0.22) ...
Processing triggers for fontconfig (2.11.0-0ubuntu4.1) ...
Setting up oracle-java8-set-default (8u131-1~webupd8~2) ...
Setting up gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) ...
Setting up gsfonts-x11 (0.22) ...

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 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-mysql

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

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

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

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/tomcat7

Установка пакета 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) ...

Generate CA certificate...

*** Input parameters ***
* MODE=create_ca
* CSR=
* CSR_KEY=
* DAYS=
* DOMAIN=

* O=Eltex
* C=RU
* ST=Novosibirsk Oblast
* L=Novosibirsk
* OU=Wireless network IT
* EMAIL=eltex@eltex.nsk.ru

Invoked by tomcat6
************************

Generating RSA private key, 2048 bit long modulus
..................................+++
...........+++
unable to write 'random state'
e is 65537 (0x10001)
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 15445906189501007977 (0xd65ae1d7eb370869)
Signature Algorithm: sha256WithRSAEncryption
Issuer: CN=wireless-ca, O=Eltex, OU=Wireless network IT/emailAddress=eltex@eltex.nsk.ru, C=RU, ST=Novosibirsk Oblast, L=Novosibirsk
Validity
Not Before: Jun 6 04:50:26 2017 GMT
Not After : May 13 04:50:26 2117 GMT
Subject: CN=wireless-ca, O=Eltex, OU=Wireless network IT/emailAddress=eltex@eltex.nsk.ru, C=RU, ST=Novosibirsk Oblast, L=Novosibirsk
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (2048 bit)
Modulus:
00:bb:ec:51:08:e3:15:f2:53:b2:1d:6a:ef:17:a8:
52:8f:98:12:1a:6b:a0:fc:e7:c8:e7:6f:88:10:a3:
c0:9d:cb:2e:28:38:cd:3c:10:ce:0c:ff:d7:ca:2f:
ee:17:52:0b:32:55:56:de:a1:11:79:88:60:7f:eb:
2c:36:09:2b:66:c4:05:7e:1d:75:b1:e9:c6:ec:9c:
ba:b6:73:ec:a1:63:4e:5c:1e:06:9f:18:16:35:b7:
57:94:d0:14:0d:0e:65:29:e1:0b:1c:d8:7f:ca:a3:
f1:7a:01:4e:3c:10:e0:e7:64:26:5a:c1:12:ec:d5:
88:89:cd:69:40:55:39:cf:1a:83:5a:b4:fe:f3:d3:
fb:2d:43:bc:e2:d7:44:36:d7:12:18:e3:91:8f:28:
aa:d4:b8:e8:6a:c4:13:46:69:5d:07:9c:c9:9e:dc:
7d:37:4f:3e:c4:5d:1e:44:35:ac:07:d6:32:1b:eb:
29:69:f3:c7:71:f4:29:e4:1d:02:25:de:ca:e0:16:
4f:96:55:19:e9:2e:c7:50:da:1a:a5:f5:58:43:0a:
c4:4a:dc:9f:18:7f:23:d9:0e:19:ef:df:be:70:89:
2c:ac:a0:94:0b:ac:9c:18:08:11:68:24:18:8e:75:
7e:4b:a8:7a:5b:dc:16:33:13:28:19:66:75:9c:d1:
8e:eb
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Subject Key Identifier:
67:6A:6B:BD:00:01:1C:7F:86:A4:6D:B6:35:75:60:3D:68:A7:16:51
X509v3 Authority Key Identifier:
keyid:67:6A:6B:BD:00:01:1C:7F:86:A4:6D:B6:35:75:60:3D:68:A7:16:51

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

- Reconfigure file '/etc/eltex-radius-nbi/radius_nbi_config.txt'

SoftWLC Northbound is installed. Tomcat service will be restarted...
* Stopping Tomcat servlet engine tomcat6
...done.
* Starting Tomcat servlet engine tomcat6
...done.
To check the service works, open the URL:
http://localhost:8080/axis2/services/RadiusNbiService?wsdl
To read documentation, visit the following URL:
http://localhost:8080/eltex-radius-nbi/asciidoc/


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 eltex-radius
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
eltex-radius
0 upgraded, 1 newly installed, 0 to remove and 152 not upgraded.
Need to get 724 kB of archives.
After this operation, 4,202 kB of additional disk space will be used.
Get:1 http://archive.eltex.org/ems/ 3.11/main eltex-radius amd64 1.7-23 [724 kB]
Fetched 724 kB in 0s (14.4 MB/s)
Selecting previously unselected package eltex-radius.
(Reading database ... 68298 files and directories currently installed.)
Preparing to unpack .../eltex-radius_1.7-23_amd64.deb ...
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) ...

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

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.

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

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


root@vagrant-ubuntu-trusty-64:/home/vagrant# cp 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.




  • Нет меток