ViPNet Coordinator/СПТ7: различия между версиями

Материал из ALT Linux Wiki
Нет описания правки
Строка 30: Строка 30:
   inflating: distribute-x86_64-linux-4.1.4-10954.tar.gz   
   inflating: distribute-x86_64-linux-4.1.4-10954.tar.gz   
  extracting: distribute-x86_64-linux-astra-4.1.4-10924.tar.gz   
  extracting: distribute-x86_64-linux-astra-4.1.4-10924.tar.gz   
# tar xf distribute-x86_64-linux-4.1.4-10954.tar.gz
# tar xf distribute-x86_64-linux-4.1.4-10954.tar.gz</source>
# cd distribute</source>


== Установка ключей ==
Обратите внимание, что дистрибутив VipNet Coordinator не имеет конфигурации VipNet в формате .DST.
Демонстрационные ключи можно загрузить по ссылке: https://files.infotecs.ru/_dl/sess/vipnet_demokeys/vipnet_demokeys.zip
Их установка осуществляется по документации VipNet Coordinator (файлы PDF в распакованном каталоге distribute/doc).
1. Распакуем архив и посмотрим пароль:
<source lang="text" highlight="1,19"># unzip vipnet_demokeys.zip
Archive:  vipnet_demokeys.zip
  inflating: Coordinator Windows2/Coordinator Windows2/abn_0016.dst 
  inflating: Coordinator Windows2/Coordinator Windows2/user_info.txt 
  inflating: Client 1 Mobile/Client 1 Mobile/abn_001e.dst 
  inflating: Client 1 Mobile/Client 1 Mobile/user_info.txt 
  inflating: Client 2 Mobile/Client 2 Mobile/abn_001f.dst 
  inflating: Client 2 Mobile/Client 2 Mobile/user_info.txt 
  inflating: Client Windows1/Client Windows1/abn_0018.dst 
  inflating: Client Windows1/Client Windows1/user_info.txt 
  inflating: Client Windows2/Client Windows2/abn_0019.dst 
  inflating: Client Windows2/Client Windows2/user_info.txt 
  inflating: Coordinator Linux/Coordinator Linux/abn_0017.dst 
  inflating: Coordinator Linux/Coordinator Linux/user_info.txt 
  inflating: Coordinator Mobile/Coordinator Mobile/abn_001d.dst 
  inflating: Coordinator Mobile/Coordinator Mobile/user_info.txt 
  inflating: Coordinator Windows1/Coordinator Windows1/abn_001b.dst 
  inflating: Coordinator Windows1/Coordinator Windows1/user_info.txt
# iconv -f cp1251 'Coordinator Linux/Coordinator Linux/user_info.txt'
Имя пользователя: Coordinator Linux                                     
Идентификатор: 10E90017
Тип пароля: Собственный
Пароль: 11111111
</source> 
2. Поместим демо-ключ в каталог установки
<source lang="text" highlight="1"># cp 'Coordinator Linux/Coordinator Linux/abn_0017.dst' distribute</source>
== Запуск установки ==
Затем запустите собственно процедуру установки VipNet Coordinator:
Затем запустите собственно процедуру установки VipNet Coordinator:
<source lang="text" highlight="1"># ./install.sh  
<source lang="text" highlight="1,2"># cd distribute
# ./install.sh  
STEP 0: Checking system requirements
STEP 0: Checking system requirements
Checking presence of required system tools
Checking presence of required system tools
Строка 100: Строка 138:
Install itcscrpt.ko
Install itcscrpt.ko
Install itcskrniface.ko
Install itcskrniface.ko
STEP 7: Installing applications
chmod: cannot operate on dangling symlink '/usr/share/vipnet/webgui/logs/everything.log'
chmod: cannot operate on dangling symlink '/usr/share/vipnet/webgui/logs/everything.log'
Adding user www-data to system
Installing man pages
Installing man pages
STEP 8: Saving startup configuration
STEP 8: Saving startup configuration
STEP 9: Select ViPNet configuration file (*.DST)
STEP 9: Select ViPNet configuration file (*.DST)
Searching in '/root/distribute'...
Searching in '/root/distribute'...
[ 1 ] Change directory
[ 1 ] abn_0017.dst
[ 2 ] Skip selection
[ 2 ] Change directory
Choice:2
[ 3 ] Skip selection
Please select and unmerge ViPNet configuration file manually! (See documentation)
Choice:1
Beware of having 50M of free space for each IP packet log file
STEP 10: Select directory to install ViPNet configuration
Installation completed.
Please enter directory path to install selected ViPNet configuration (default '/etc/vipnet'):
</source>
Total:
 
1 files checked, 1 checks passed, 0 checks failed
Строка «Installation completed.» говорит о том, что VipNet Coordinator успешно установлен.
Total:
 
1 files checked, 1 checks passed, 0 checks failed
== Установка ключей ==
Total:
 
1 files checked, 1 checks passed, 0 checks failed
Обратите внимание, что дистрибутив VipNet Coordinator не имеет конфигурации VipNet в формате .DST.
Total:
Демонстрационные ключи можно загрузить по ссылке: https://files.infotecs.ru/_dl/sess/vipnet_demokeys/vipnet_demokeys.zip
1 files checked, 1 checks passed, 0 checks failed
 
Total:
Их установка осуществляется по документации VipNet Coordinator (файлы PDF в распакованном каталоге distribute/doc).
1 files checked, 1 checks passed, 0 checks failed
 
Total:
1. Распакуем архив и посмотрим пароль:
1 files checked, 1 checks passed, 0 checks failed
 
STEP 11: Abonent authentication
<source lang="text" highlight="1,19"># unzip vipnet_demokeys.zip
Enter your ViPNet password:
Archive: vipnet_demokeys.zip
Station name: Coordinator Linux
  inflating: Coordinator Windows2/Coordinator Windows2/abn_0016.dst 
User login: 10E90017
  inflating: Coordinator Windows2/Coordinator Windows2/user_info.txt 
User password successfully checked
  inflating: Client 1 Mobile/Client 1 Mobile/abn_001e.dst 
Set FirewallIp to RealIp (10.10.3.124) for own station because 'usefirewall' is on and 'fixfirewall' is off.
  inflating: Client 1 Mobile/Client 1 Mobile/user_info.txt 
Do you want to start ViPNet services automatically now? (y/n)y</source>
  inflating: Client 2 Mobile/Client 2 Mobile/abn_001f.dst 
  inflating: Client 2 Mobile/Client 2 Mobile/user_info.txt 
  inflating: Client Windows1/Client Windows1/abn_0018.dst 
  inflating: Client Windows1/Client Windows1/user_info.txt 
  inflating: Client Windows2/Client Windows2/abn_0019.dst 
  inflating: Client Windows2/Client Windows2/user_info.txt 
  inflating: Coordinator Linux/Coordinator Linux/abn_0017.dst 
  inflating: Coordinator Linux/Coordinator Linux/user_info.txt 
  inflating: Coordinator Mobile/Coordinator Mobile/abn_001d.dst 
  inflating: Coordinator Mobile/Coordinator Mobile/user_info.txt 
  inflating: Coordinator Windows1/Coordinator Windows1/abn_001b.dst 
  inflating: Coordinator Windows1/Coordinator Windows1/user_info.txt
# iconv -f cp1251 'Coordinator Linux/Coordinator Linux/user_info.txt'
Имя пользователя: Coordinator Linux                                     
Идентификатор: 10E90017
Тип пароля: Собственный
Пароль: 11111111
</source> 
 
2. Распакуем ключи с этим паролем:
<source lang="text" highlight="1"># unmerge 'Coordinator Linux/Coordinator Linux/abn_0017.dst' /etc/vipnet
Enter user password:</source>
 
3. Пропишите путь к ключам и пароль администратора:
<source lang="text" highlight="1"># echo -e '/etc/vipnet\n11111111' > /etc/iplirpsw</source>
 
4. Проверьте конфигурацию:
<source lang="text" highlight="1"># iplir check
Checking IpLir config files
Error checking product integrity: /etc/vipnetdriversprg code 4
Error checking product integrity: /etc/vipnetdriversprg, exiting
Product integrity check error.</source>
 
= Запуск служб =
 
<source lang="text" highlight="1,2"># chkconfig iplir on
# service iplir start</source>


[[Категория:Enterprise Software]]
[[Категория:Enterprise Software]]
[[Категория:HOWTO]]
[[Категория:HOWTO]]

Версия от 15:02, 27 апреля 2017

О документе

Инструкция описывает установку VipNet Coordinator 4.1.4 на Альт Линукс СПТ 7.0 (x86_64).

Ссылку на загрузку дистрибутива Альт Линукс СПТ можно получить по запросу на support@basealt.ru. Дистрибутив демо-версии Coordinator для Linux можно скачать с официального сайта компании Инфотекс.

Все действия осуществляются под правами суперпользователя root.

Параметр Значение
/etc/altlinux-release ALT Linux 7.0.5 SPT (silo)
Версия ядра (uname -r) 3.14.59-std-def-alt1.M70C.6
Битность (uname -m) x86_64

Подготовка

При установке операционной системы включите пункт «Средства разработки». Впрочем, необходимые пакеты можно доустановить и позже командой

# apt-get install gcc4.7 kernel-headers-modules-std-def

Установка

Полученный архив vipnet_coordinator_linux_x32_x64_rus_4.1.4.zip распаковываем и переходим в полученный каталог:

# unzip vipnet_coordinator_linux_x32_x64_rus_4.1.4.zip
Archive:  vipnet_coordinator_linux_x32_x64_rus_4.1.4.zip
  inflating: distribute-x86_64-linux-4.1.4-10954.tar.gz  
 extracting: distribute-x86_64-linux-astra-4.1.4-10924.tar.gz  
# tar xf distribute-x86_64-linux-4.1.4-10954.tar.gz

Установка ключей

Обратите внимание, что дистрибутив VipNet Coordinator не имеет конфигурации VipNet в формате .DST. Демонстрационные ключи можно загрузить по ссылке: https://files.infotecs.ru/_dl/sess/vipnet_demokeys/vipnet_demokeys.zip

Их установка осуществляется по документации VipNet Coordinator (файлы PDF в распакованном каталоге distribute/doc).

1. Распакуем архив и посмотрим пароль:

# unzip vipnet_demokeys.zip 
Archive:  vipnet_demokeys.zip
  inflating: Coordinator Windows2/Coordinator Windows2/abn_0016.dst  
  inflating: Coordinator Windows2/Coordinator Windows2/user_info.txt  
  inflating: Client 1 Mobile/Client 1 Mobile/abn_001e.dst  
  inflating: Client 1 Mobile/Client 1 Mobile/user_info.txt  
  inflating: Client 2 Mobile/Client 2 Mobile/abn_001f.dst  
  inflating: Client 2 Mobile/Client 2 Mobile/user_info.txt  
  inflating: Client Windows1/Client Windows1/abn_0018.dst  
  inflating: Client Windows1/Client Windows1/user_info.txt  
  inflating: Client Windows2/Client Windows2/abn_0019.dst  
  inflating: Client Windows2/Client Windows2/user_info.txt  
  inflating: Coordinator Linux/Coordinator Linux/abn_0017.dst  
  inflating: Coordinator Linux/Coordinator Linux/user_info.txt  
  inflating: Coordinator Mobile/Coordinator Mobile/abn_001d.dst  
  inflating: Coordinator Mobile/Coordinator Mobile/user_info.txt  
  inflating: Coordinator Windows1/Coordinator Windows1/abn_001b.dst  
  inflating: Coordinator Windows1/Coordinator Windows1/user_info.txt
# iconv -f cp1251 'Coordinator Linux/Coordinator Linux/user_info.txt'
Имя пользователя: Coordinator Linux                                       
Идентификатор: 10E90017
Тип пароля: Собственный
Пароль: 11111111

2. Поместим демо-ключ в каталог установки

# cp 'Coordinator Linux/Coordinator Linux/abn_0017.dst' distribute

Запуск установки

Затем запустите собственно процедуру установки VipNet Coordinator:

# cd distribute
# ./install.sh 
STEP 0: Checking system requirements
Checking presence of required system tools
Checking tool tar ... /bin/tar
Checking tool gunzip ... /bin/gunzip
Checking tool sed ... /bin/sed
Checking tool cat ... /bin/cat
Checking tool grep ... /bin/grep
Checking tool find ... /bin/find
Checking tool wc ... /bin/wc
Checking tool awk ... /bin/awk
Checking tool make ... /usr/bin/make
Checking tool killall ... /usr/bin/killall
Checking tool pidof ... /sbin/pidof
Checking tool zcat ... /bin/zcat
Checking tool install ... /bin/install
Checking tool rmmod ... /sbin/rmmod
Checking tool depmod ... /sbin/depmod
Checking tool lsmod ... /sbin/lsmod
Checking tool patch ... /usr/bin/patch
Checking Linux distribution support...
Checking Linux platform(x64_64/i686/arm) support...
Checking ethtool...
Found ethtool /usr/sbin/ethtool
Checking GCC version...
Found GCC 4.7
Checking Linux kernel headers presence...
Kernel headers found in /lib/modules/3.14.59-std-def-alt1.M70C.6/build/
STEP 1: Select ViPNet installation distribution
Searching in '/root/distribute'...
[ 1 ] distribute.tar.gz
[ 2 ] Change directory
Choice:1
Press ENTER to read warning message

Welcome to the ViPNet Linux Coordinator Setup Wizard.

  This wizard will guide you through the installation of ViPNet Linux Coordinator.
Before starting the installation process make sure that you have a key set 
(*.DST file) and corresponding password. If you do not have a key set and 
password stored on your hard drive or remote media, please abort the 
installation.
  If you have downloaded ViPNet software for demo purposes, you can apply to our
helpdesk at support@infotecs.biz to receive key sets and passwords. 
Alternatively you can generate them by yourself with the ViPNet Manager or 
ViPNet Administrator. If you already use ViPNet in your company, you should ask
your administrator to issue you the required key set and password to
accomplish the installation.

Do you want to continue installation? (y/n)y
STEP 2: Unpacking ViPNet distribution archive
Unpack '/root/distribute/distribute.tar.gz' successfull
Press ENTER to read License Agreement
...
Do you agree to this License (y/n)y
STEP 3: Searching for current ViPNet configuration
No current ViPNet configuration found
STEP 4: Preparing for installation
This script will install
ViPNet Virtual Private Network (x86_64/Linux) Product version: 4.1.4 build 10954
Do you want to continue installation? (y/n)y
STEP 6: Installing drivers
Install drviplir.ko
Install itcswd.ko
Install itcscrpt.ko
Install itcskrniface.ko
STEP 7: Installing applications
chmod: cannot operate on dangling symlink '/usr/share/vipnet/webgui/logs/everything.log'
Installing man pages
STEP 8: Saving startup configuration
STEP 9: Select ViPNet configuration file (*.DST)
Searching in '/root/distribute'...
[ 1 ] abn_0017.dst
[ 2 ] Change directory
[ 3 ] Skip selection
Choice:1
STEP 10: Select directory to install ViPNet configuration
Please enter directory path to install selected ViPNet configuration (default '/etc/vipnet'):
Total:
1 files checked, 1 checks passed, 0 checks failed
Total:
1 files checked, 1 checks passed, 0 checks failed
Total:
1 files checked, 1 checks passed, 0 checks failed
Total:
1 files checked, 1 checks passed, 0 checks failed
Total:
1 files checked, 1 checks passed, 0 checks failed
Total:
1 files checked, 1 checks passed, 0 checks failed
STEP 11: Abonent authentication
Enter your ViPNet password:
Station name: Coordinator Linux
User login: 10E90017
User password successfully checked
Set FirewallIp to RealIp (10.10.3.124) for own station because 'usefirewall' is on and 'fixfirewall' is off.
Do you want to start ViPNet services automatically now? (y/n)y