<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2167376130645271148</id><updated>2024-08-30T20:52:13.021+02:00</updated><title type='text'>Royal Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-7256061193498136195</id><published>2012-01-22T22:51:00.001+01:00</published><updated>2012-01-22T22:51:55.448+01:00</updated><title type='text'>Новый сайт по грузовым перевозкам</title><content type='html'>Здравствуйте. Не так давно мои коллеги, занимающиеся логистикой и грузовыми перевозками по Европе, решили заявить о себе в интернете. Вот ссылка на их сайт, пока, правда на польском языке &lt;a href=&quot;http://royalfracht.com&quot;&gt;http://royalfracht.com&lt;/a&gt;
&lt;a href=&quot;http://royalfracht.com&quot;&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/7256061193498136195/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2012/01/blog-post.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/7256061193498136195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/7256061193498136195'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2012/01/blog-post.html' title='Новый сайт по грузовым перевозкам'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-2566800813063984727</id><published>2011-10-21T11:33:00.002+02:00</published><updated>2011-10-21T11:33:29.989+02:00</updated><title type='text'>Настройка IP-телефона Cisco  7960</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;h1&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small; font-weight: normal;&quot;&gt;Настройка IP-телефона Cisco 7940 для работы по SIP&lt;/span&gt;&lt;/h1&gt;Как настроить IP-телефон Cisco 7940/7960 для работы по протоколу SIP. &lt;br /&gt;
Для работы IP-телефона Cisco 7940/7960 по протоколу SIP необходимо  провести несколько подготовительных операций. Во-первых, скачать по  адресу http://www.cisco.com/pcgi-bin/tablebuild.pl/sip-ip-phone7960  последнюю версию прошивки для телефона и создать конфигурационный файл  на основе рассматриваемого шаблона. После того, как телефон будет  включен и загрузит эту информацию с TFTP-сервера, он будет готов к  работе. \&lt;br /&gt;
Рассмотрим настройку по шагам. Когда телефон инициализируется, он запрашивает с TFTP-сервера: &lt;br /&gt;
• Последний файл прошивки &lt;br /&gt;
• Dual-boot файл (OS79XX.TXT) &lt;br /&gt;
• Специально созданный для этого телефона конфигурационный файл (именуемый с учетом MAC-адреса) &lt;br /&gt;
• Конфигурационный файл по умолчанию &lt;br /&gt;
• Ring-list файл • Dial-plan файл DHCP-сервер должен отдавать  следующие опции (или их придется настроить вручную): • dhcp option #1  (маска подсети) &lt;br /&gt;
• dhcp option #3 (шлюз по умолчанию) &lt;br /&gt;
• dhcp option #6 (адрес DNS-сервера) • dhcp option #15 (имя домена) &lt;br /&gt;
• dhcp option #50 (IP-адрес) &lt;br /&gt;
• dhcp option #66 (адрес TFTP-сервера) &lt;br /&gt;
&lt;br /&gt;
Процесс инициализации IP-телефона Cisco &lt;br /&gt;
1. Телефон загружает файл прошивки. &lt;br /&gt;
2. Телефон получает номер своего VLAN – для того, чтобы получить  параметры с DHCP-сервера, телефон, в случае подключения к коммутатору  Cisco Catalyst, должен получить номер Voice-VLAN’а, настроенного на  коммутаторе. &lt;br /&gt;
3. Телефон получает IP-адрес – с DHCP-сервера или из своих настроек. &lt;br /&gt;
4. Телефон скачивает с TFTP-сервера или загружает из памяти следующие файлы: &lt;br /&gt;
• SEP.cnf.xml – Созданный на TFTP-сервере файл SEP.cnf.xml в котором находится следующее содержимое (версия прошивки): &lt;device&gt;&lt;loadinformation&gt;P0S3-08-2-00&lt;/loadinformation&gt; &lt;/device&gt;Телефон проверяет версию своей прошивки и, если она не совпадает с версией, указанной в секции , обновляет ее. &lt;br /&gt;
• &amp;lt;Версия прошивки&amp;gt;.loads – если версия совпадает, телефон  использует уже имеющийся в памяти файл, указанный в файле SEP.cnf.xml. &lt;br /&gt;
• OS79XX.TXT – использование этого файла обеспечивает совместимость  переключения телефонов между SIP, MGCP или SCCP с использованием одного и  того же TFTP-сервера. &lt;br /&gt;
• SIPDefault.cnf – параметры по умолчанию для всех телефонов, настройки рассматриваются далее. &lt;br /&gt;
• SIP&lt;mac-адрес&gt;.cnf – параметры для одного телефона, структура рассматривается далее. &lt;/mac-адрес&gt;&lt;br /&gt;
• RINGLIST.DAT – перечисляет файлы с мелодиями звонков и их местоположение. &lt;br /&gt;
• dialplan.xml - содержит примерный номерной план. Его можно  отправить в телефон с помощью сообщения Notify (NTFY) через  Event-заголовок. &lt;br /&gt;
5. Телефон проверяет версию прошивки. Конфигурационные файлы  IP-телефонов Cisco Формат имени файла должен быть SIPXXXXYYYYZZZZ.cnf,  где XXXXYYYYZZZZ – MAC-адрес телефона в верхнем регистре. &lt;br /&gt;
Пример имени файла: SIP00503EFFD842.cnf. Каждая строка файла должна  иметь вид: имя_переменной : значение ; необязательный комментарий &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Необходимо изменить в следующем примере параметры: &lt;br /&gt;
• line1_name – номер или адрес электронной почты, используемый при  регистрации. Номер вводится без дефисов, e-mail – без имени хоста. &lt;br /&gt;
• proxy1_address – IP-адрес прокси-сервера SIP, используемого телефоном. &lt;br /&gt;
• proxy1_port – Номер порта прокси-сервера SIP, используемого телефоном. Остальные параметры изменяются при необходимости. &lt;br /&gt;
&lt;br /&gt;
Пример конфигурационного файла &lt;br /&gt;
&lt;div class=&quot;Section1&quot;&gt;  &lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; mso-ansi-language: EN-US;&quot;&gt;# SIP Default Configuration File&lt;br /&gt;
# Image Version&lt;br /&gt;
image_version: P0S3-08-3-00&lt;br /&gt;
# Proxy Server&lt;br /&gt;
proxy1_address: 172.16.255.255&lt;br /&gt;
proxy2_address:&amp;nbsp;&quot;&quot;; Can be dotted IP or FQDN&lt;br /&gt;
proxy3_address:&amp;nbsp;&quot;&quot;; Can be dotted IP or FQDN&lt;br /&gt;
proxy4_address:&amp;nbsp;&quot;&quot;; Can be dotted IP or FQDN&lt;br /&gt;
proxy5_address:&amp;nbsp;&quot;&quot;; Can be dotted IP or FQDN&lt;br /&gt;
proxy6_address:&amp;nbsp;&quot;&quot;; Can be dotted IP or FQDN&lt;br /&gt;
# Proxy Server Port (default - 5060)&lt;br /&gt;
proxy1_port: 5060&lt;br /&gt;
proxy2_port: 5060&lt;br /&gt;
proxy3_port: 5060&lt;br /&gt;
proxy4_port: 5060&lt;br /&gt;
proxy5_port: 5060&lt;br /&gt;
proxy6_port: 5060&lt;br /&gt;
# Proxy Registration (0-disable (default), 1-enable)&lt;br /&gt;
proxy_register: 0&lt;br /&gt;
# Phone Registration Expiration [1-3932100 sec] (Default - 3600)&lt;br /&gt;
timer_register_expires: 3600&lt;br /&gt;
# Codec for media stream (g711ulaw (default), g711alaw, g729a)&lt;br /&gt;
preferred_codec: g711ulaw&lt;br /&gt;
# TOS bits in media stream [0-5] (Default - 5)&lt;br /&gt;
tos_media: 5&lt;br /&gt;
# Inband DTMF Settings (0-disable, 1-enable (default))&lt;br /&gt;
dtmf_inband: 1&lt;br /&gt;
# Out of band DTMF Settings&lt;br /&gt;
#(none-disable, avt-avt enable (default), avt_always-always avt)&lt;br /&gt;
dtmf_outofband: avt&lt;br /&gt;
# DTMF dB Level Settings&lt;br /&gt;
#(1-6dB down, 2-3db down, 3-nominal (default), 4-3db up, 5-6dB up)&lt;br /&gt;
dtmf_db_level: 3&lt;br /&gt;
# SIP Timers&lt;br /&gt;
timer_t1: 500; Default 500 msec&lt;br /&gt;
timer_t2: 4000; Default 4 sec&lt;br /&gt;
sip_retx: 10; Default 10&lt;br /&gt;
sip_invite_retx: 6; Default 6&lt;br /&gt;
timer_invite_expires: 180 &amp;nbsp;; Default 180 sec&lt;br /&gt;
####### New Parameters added in Release 2.0 #######&lt;br /&gt;
# Dialplan template (.xml format file relative to the TFTP root directory)&lt;br /&gt;
dial_template: dialplan&lt;br /&gt;
# TFTP Phone Specific Configuration File Directory&lt;br /&gt;
tftp_cfg_dir: &quot;&quot;; Example:&amp;nbsp; ./sip_phone/&lt;br /&gt;
# Time Server&lt;br /&gt;
#(There are multiple values and configurations refer to Admin Guide for Specifics)&lt;br /&gt;
sntp_server: &quot;&quot;; SNTP Server IP Address&lt;br /&gt;
sntp_mode: anycast (default); unicast, multicast, or directedbroadcast&lt;br /&gt;
time_zone: EST; Time Zone Phone is in&lt;br /&gt;
dst_offset: 1; Offset from Phone&#39;s time when DST is in effect&lt;br /&gt;
dst_start_month: April; Month in which DST starts&lt;br /&gt;
dst_start_day: &quot;&quot;; Day of month in which DST starts&lt;br /&gt;
dst_start_day_of_week: Sun; Day of week in which DST starts&lt;br /&gt;
dst_start_week_of_month: 1; Week of month in which DST starts&lt;br /&gt;
dst_start_time: 02; Time of day in which DST starts&lt;br /&gt;
dst_stop_month: Oct; Month in which DST stops&lt;br /&gt;
dst_stop_day: &quot;&quot;; Day of month in which DST stops&lt;br /&gt;
dst_stop_day_of_week: Sunday; Day of week in which DST stops&lt;br /&gt;
dst_stop_week_of_month: 8; Week of month in which DST stops 8=last week of month&lt;br /&gt;
dst_stop_time: 2; Time of day in which DST stops&lt;br /&gt;
dst_auto_adjust: 1; Enable(1-Default)/Disable(0) DST automatic adjustment&lt;br /&gt;
time_format_24hr: 1; Enable(1 - 24Hr Default)/Disable(0 - 12Hr)&lt;br /&gt;
# Do Not Disturb Control&lt;br /&gt;
#(0-off (default), 1-on, 2-off with no user control, 3-on with no user control)&lt;br /&gt;
dnd_control: 0;&lt;br /&gt;
# Caller ID Blocking&lt;br /&gt;
#(0-disabled, 1-enabled, 2-disabled no user control, 3-enabled no user control)&lt;br /&gt;
callerid_blocking: 0; (Default is 0 - disabled and sending all calls as anonymous)&lt;br /&gt;
# Anonymous Call Blocking&lt;br /&gt;
#(0-disabled, 1-enabled, 2-disabled no user control, 3-enabled no user control)&lt;br /&gt;
anonymous_call_block: 0; (Default is 0 - disabled and blocking of anonymous calls)&lt;br /&gt;
# DTMF AVT Payload (Dynamic payload range for AVT tones - 96-127)&lt;br /&gt;
dtmf_avt_payload: 101; Default 101&lt;br /&gt;
# Sync value of the phone used for remote reset&lt;br /&gt;
sync: 1; Default 1&lt;br /&gt;
####### New Parameters added in Release 2.1 #######&lt;br /&gt;
# Backup Proxy Support&lt;br /&gt;
proxy_backup: &quot;&quot;; Dotted IP of Backup Proxy&lt;br /&gt;
proxy_backup_port: 5060; Backup Proxy port (default is 5060)&lt;br /&gt;
# Emergency Proxy Support&lt;br /&gt;
proxy_emergency: &quot;&quot;; Dotted IP of Emergency Proxy&lt;br /&gt;
proxy_emergency_port: 5060; Emergency Proxy port (default is 5060)&lt;br /&gt;
# Configurable VAD option&lt;br /&gt;
enable_vad: 0; VAD setting 0-disable (Default), 1-enable&lt;br /&gt;
####### New Parameters added in Release 2.2 ######&lt;br /&gt;
# NAT/Firewall Traversal&lt;br /&gt;
nat_enable: 0; 0-Disabled (default), 1-Enabled&lt;br /&gt;
nat_address: &quot;&quot;; WAN IP address of NAT box (dotted IP or DNS A record only)&lt;br /&gt;
voip_control_port: 5060; UDP port used for SIP messages (default - 5060)&lt;br /&gt;
start_media_port: 16384; Start RTP range for media (default - 16384)&lt;br /&gt;
end_media_port: 32766; End RTP range for media (default - 32766)&lt;br /&gt;
nat_received_processing: 0; 0-Disabled (default), 1-Enabled&lt;br /&gt;
# Outbound Proxy Support&lt;br /&gt;
outbound_proxy: &quot;&quot;; restricted to dotted IP or DNS A record only&lt;br /&gt;
outbound_proxy_port: 5060; default is 5060&lt;br /&gt;
####### New Parameter added in Release 3.0 #######&lt;br /&gt;
# Allow for the bridge on a 3way call to join remaining parties upon hangup&lt;br /&gt;
cnf_join_enable: 1; 0-Disabled, 1-Enabled (default)&lt;br /&gt;
####### New Parameters added in Release 3.1 #######&lt;br /&gt;
# Allow Transfer to be completed while target phone is still ringing&lt;br /&gt;
semi_attended_transfer: 1; 0-Disabled, 1-Enabled (default)&lt;br /&gt;
# Telnet Level (enable or disable the ability to Telnet into the phone)&lt;br /&gt;
telnet_level: 1; 0-Disabled (default), 1-Enabled, 2-Privileged&lt;br /&gt;
####### New Parameters added in Release 4.0 #######&lt;br /&gt;
# XML URLs&lt;br /&gt;
services_url: &quot;&quot;; URL for external Phone Services&lt;br /&gt;
directory_url: &quot;&quot;; URL for external Directory location&lt;br /&gt;
logo_url: &quot;&quot;; URL for branding logo to be used on phone display&lt;br /&gt;
# HTTP Proxy Support&lt;br /&gt;
http_proxy_addr: &quot;&quot;; Address of HTTP Proxy server&lt;br /&gt;
http_proxy_port: 80; Port of HTTP Proxy Server (80-default)&lt;br /&gt;
# Dynamic DNS/TFTP Support&lt;br /&gt;
dyn_dns_addr_1: &quot;&quot;; restricted to dotted IP&lt;br /&gt;
dyn_dns_addr_2: &quot;&quot;; restricted to dotted IP&lt;br /&gt;
dyn_tftp_addr: &quot;&quot;; restricted to dotted IP&lt;br /&gt;
# Remote Party ID&lt;br /&gt;
remote_party_id: 0; 0-Disabled (default), 1-Enabled&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2&gt;Настройка&lt;span&gt; &lt;/span&gt;файла&lt;span&gt; &lt;/span&gt;конфигурации&lt;span&gt; &lt;/span&gt;для&lt;span&gt; &lt;/span&gt;отдельного&lt;span lang=&quot;EN-US&quot;&gt; IP-&lt;/span&gt;телефона&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;В&lt;span&gt; &lt;/span&gt;файле&lt;span&gt; &lt;/span&gt;можно&lt;span&gt; &lt;/span&gt;изменить&lt;span&gt; &lt;/span&gt;следующие&lt;span&gt; &lt;/span&gt;параметры&lt;span lang=&quot;EN-US&quot;&gt;: &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; mso-ansi-language: EN-US;&quot;&gt;anonymous_call_block, autocomplete, callerid_blocking, call_hold_ringback, call_waiting, dnd_control&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt; – &lt;/span&gt;остальные&lt;span&gt; &lt;/span&gt;при&lt;span&gt;  &lt;/span&gt;необходимости&lt;span lang=&quot;EN-US&quot;&gt;. &lt;/span&gt;Файлу&lt;span&gt; &lt;/span&gt;нужно&lt;span&gt; &lt;/span&gt;присвоить&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&lt;/span&gt;имя&lt;span&gt; &lt;/span&gt;вида&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;SIP&amp;lt;MAC-&lt;/span&gt;адрес&lt;span lang=&quot;EN-US&quot;&gt;&amp;gt;&lt;mac-адрес&gt;.cnf. &lt;/mac-адрес&gt;&lt;/span&gt;Пример&lt;span&gt;  &lt;/span&gt;файла&lt;span&gt; &lt;/span&gt;конфигурации&lt;span&gt; &lt;/span&gt;для&lt;span&gt;  &lt;/span&gt;отдельного&lt;span&gt; &lt;/span&gt;телефона&lt;span lang=&quot;EN-US&quot;&gt;: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; mso-ansi-language: EN-US;&quot;&gt;# SIP Configuration Generic File&lt;br /&gt;
# Line 1 appearance&lt;br /&gt;
line1_name: 1234567&lt;br /&gt;
# Line 1 Registration Authentication&lt;br /&gt;
line1_authname: &quot;UNPROVISIONED&quot;&lt;br /&gt;
# Line 1 Registration Password&lt;br /&gt;
line1_password: &quot;UNPROVISIONED&quot;&lt;br /&gt;
# Line 2 appearance&lt;br /&gt;
line2_name: football&lt;br /&gt;
# Line 2 Registration Authentication&lt;br /&gt;
line2_authname: &quot;UNPROVISIONED&quot;&lt;br /&gt;
# Line 2 Registration Password&lt;br /&gt;
line2_password: &quot;UNPROVISIONED&quot;&lt;br /&gt;
####### New Parameters added in Release 2.0 #######&lt;br /&gt;
# Phone Label (Text desired to be displayed in upper right corner)&lt;br /&gt;
phone_label: &quot;&quot;; Has no effect on SIP messaging&lt;br /&gt;
# Line 1 Display Name (Display name to use for SIP messaging)&lt;br /&gt;
line1_displayname: &quot;User ID&quot;&lt;br /&gt;
# Line 2 Display Name (Display name to use for SIP messaging)&lt;br /&gt;
line2_displayname: &quot;&quot;&lt;br /&gt;
####### New Parameters added in Release 3.0 ######&lt;br /&gt;
# Phone Prompt (The prompt that will be displayed on console and Telnet)&lt;br /&gt;
phone_prompt: &quot;SIP Phone&quot;; Limited to 15 characters (Default - SIP Phone)&lt;br /&gt;
# Phone Password (Password to be used for console or Telnet login)&lt;br /&gt;
phone_password: &quot;cisco&quot;; Limited to 31 characters (Default - cisco)&lt;br /&gt;
# User classification used when Registering [ none (default), phone, ip ]&lt;br /&gt;
user_info: none&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2&gt;Настройка параметров из меню IP-телефона Cisco&lt;o:p&gt;&lt;/o:p&gt;&lt;/h2&gt;Некоторые параметры можно настроить вручную, из меню IP-телефона Cisco. По умолчанию настройки в IP-телефоне Cisco 7940/7960 заблокированы. Для разблокирования нужно ввести пароль, заданный в конфигурационном файле телефона, нажав &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;Settings &amp;gt; Unlock Config&lt;/span&gt;. Для блокировки нажмите &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;Lock Config&lt;/span&gt; или &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;Exit&lt;/span&gt;. После изменения параметров нужно их сохранить и телефон перезагрузится с новыми настройками. &lt;span class=&quot;GramE&quot;&gt;Помимо&lt;/span&gt; &lt;span class=&quot;GramE&quot;&gt;основный&lt;/span&gt;  настроек, таких как IP-адрес или адрес TFTP-сервера, при настройке вручную нужно настроить параметры SIP. После разблокировки телефона выберите &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;Settings &amp;gt; SIP Configuration&lt;/span&gt;. В появившемся меню установите &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;line1_name, proxy1_address, proxy1_port&lt;/span&gt; – их формат описан выше. Если телефон должен авторизоваться на прокси-сервере SIP, введите также &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;line1_authname и line1_password&lt;/span&gt;. По умолчанию их значение равно &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;UNPROVISIONED&lt;/span&gt;. &lt;br /&gt;
Настройку времени рекомендуем задавать из общего конфигурационного файла, пример секции с такой настройкой для Москвы:&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; mso-ansi-language: EN-US;&quot;&gt;time_zone : BT&lt;br /&gt;
dst_offset : 01/00&lt;br /&gt;
dst_start_month : April&lt;br /&gt;
dst_start_day : 1&lt;br /&gt;
dst_start_time : 02/00&lt;br /&gt;
dst_stop_month : October&lt;br /&gt;
dst_stop_day : 1&lt;br /&gt;
dst_stop_time : 02/00&lt;br /&gt;
dst_stop_autoadjust : 1&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
DST – это даты перехода на летнее и зимнее время соответственно.&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;h2&gt;Настройка dial-plan для IP-телефонов Cisco&lt;o:p&gt;&lt;/o:p&gt;&lt;/h2&gt;Номерные планы позволяют IP-телефонам Cisco, работающим по протоколу SIP поддерживать автоматический набор и генерировать вторичный тоновый сигнал. При использовании общего номерного плана его лучше всего задавать в общем конфигурационном файле. Правила в файле номерного плана анализируются с первого до последнего, пишутся в XML-формате и хранятся на TFTP-сервере. &lt;br /&gt;
Начало файла обозначается таким тэгом:&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;&amp;lt;DIALTEMPLATE&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;dialtemplate&gt;&lt;/dialtemplate&gt;Для каждой схемы нумерации добавьте строку:&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; mso-ansi-language: EN-US;&quot;&gt;&amp;lt;TEMPLATE MATCH=&quot;pattern&quot; Timeout=&quot;sec&quot; User=&quot;type&quot; Rewrite=&quot;xxx&quot; Route=&quot;route&quot; Tone=&quot;tone&quot; /&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;template match=&quot;pattern&quot; rewrite=&quot;xxx&quot; route=&quot;route&quot; timeout=&quot;sec&quot; tone=&quot;tone&quot; user=&quot;type&quot;&gt;&lt;/template&gt;, где:&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;pattern&lt;/span&gt; может содержать:&lt;span class=&quot;GramE&quot;&gt; .&lt;/span&gt; (точка) для замены любого символа, * (звездочка) для замены одного или более символов, , (запятая) для генерации вторичного сигнала.&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;sec&lt;/span&gt; – время в секундах, после которого начинается набор.&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;type&lt;/span&gt; – может быть &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;IP&lt;/span&gt; или &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;Phone&lt;/span&gt;.   &lt;span class=&quot;GramE&quot;&gt;Тэг, добавляемый к номеру, регистронезависим.&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;xxx&lt;/span&gt; – номер, который будет набираться вместо введенного пользователем при совпадении с pattern.&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;route&lt;/span&gt; – адрес прокси-сервера SIP, на который перенаправляется звонок, значение может быть &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;default, emergency&lt;/span&gt; или имя прокси-сервера.&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;tone&lt;/span&gt; – если не задан, используется вторичный гудок по умолчанию, если стоит запятая и затем имя гудка, то проигрывает этот звук;&lt;/span&gt; без запятой гудок игнорируется.&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
Также можно указать решетку&lt;span class=&quot;GramE&quot;&gt; (#) &lt;/span&gt;и звездочку (*) как набираемые символы. По умолчанию # означает «набрать сейчас», не дожидаясь совпадения с шаблоном из номерного плана. * по умолчанию означает * или&lt;span class=&quot;GramE&quot;&gt; .&lt;/span&gt; в шаблоне (wildcard-символ). &lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
В качестве вторичного гудка можно использовать следующие значения (после запятой): &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;Bellcore-Alerting, Bellcore-dr5, Bellcore-Reorder, Bellcore-Busy, Bellcore-dr6, Bellcore-Stutter, Bellcore-BusyVerify, Bellcore-Hold, CallWaiting-2, Bellcore-CallWaiting, Bellcore-Inside, CallWaiting-3, Bellcore-Confirmation, Bellcore-None, CallWaiting-4, Bellcore-dr1, Bellcore-Outside (default), Cisco-BeepBonk, Bellcore-dr2, Bellcore-Permanent, Cisco-Zip, Bellcore-dr3, Bellcore-Reminder, Cisco-ZipZip, Bellcore-dr4&lt;/span&gt;. &amp;nbsp; &lt;br /&gt;
При желании к каждому правилу можно добавить &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;&amp;lt;!&lt;span class=&quot;GramE&quot;&gt;—к&lt;/span&gt;омментарий --&amp;gt;&lt;/span&gt; в конце каждой строки.&lt;br /&gt;
Файл номерного плана заканчивается строкой&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;&amp;lt;/DIALTEMPLATE&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
После этого номерной план сохраняется в файл xml с уникальным именем и помещается на TFTP-сервер.&lt;br /&gt;
Примеры файлов с номерным планом:&lt;br /&gt;
С использованием решетки как набираемого символа: &lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; mso-ansi-language: EN-US;&quot;&gt;&amp;lt;DIALTEMPLATE&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;TEMPLATE MATCH=&quot;123#45#6&quot; TIMEOUT=&quot;0&quot;  User=&quot;Phone&quot;/&amp;gt; &amp;lt;!-- Match `#&#39; --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;TEMPLATE MATCH=&quot;34#...&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp; TIMEOUT=&quot;0&quot; User=&quot;Phone&quot;/&amp;gt; &amp;lt;!-- Match `#&#39; --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;TEMPLATE MATCH=&quot;*&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TIMEOUT=&quot;15&quot; User=&quot;Phone&quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/DIALTEMPLATE&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
С использованием двух разных гудков: &lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; mso-ansi-language: EN-US;&quot;&gt;&amp;lt;DIALTEMPLATE&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;TEMPLATE MATCH=&quot;7,...&quot; TIMEOUT=&quot;0&quot; /&amp;gt; &amp;lt;!-- Default Secondary Dial Tone --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;TEMPLATE MATCH=&quot;9,...&quot; TIMEOUT=&quot;0&quot;  Tone=&quot;Zip&quot; /&amp;gt; &amp;lt;!-- Play Zip Tone --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;TEMPLATE MATCH=&quot;8,....&quot; TIMEOUT=&quot;0&quot; Tone=&quot;Hold&quot; /&amp;gt; &amp;lt;!-- Play Hold Tone --&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;TEMPLATE MATCH=&quot;8,123,....&quot; TIMEOUT=&quot;0&quot;  Tone=&quot;Hold&quot; Tone=&quot;Zip&quot; /&amp;gt; &amp;lt;!--Play Hold Tone after 8, Play Zip Tone after 123--&amp;gt;&lt;br /&gt;
&amp;lt;/DIALTEMPLATE&amp;gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Как проверить, что IP-телефон Cisco правильно инициализировался&lt;o:p&gt;&lt;/o:p&gt;&lt;/h2&gt;После включения питания телефон проходит через следующие стадии. Сначала загораются и гаснут по очереди индикаторы: Headset, Mute, Speaker. Затем появляются сообщения:&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;ul type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot;&gt;Configuring VLAN –      настройка Ethernet-соединения.&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;Configuring IP – связь с      DHCP-сервером для получения параметров.&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;Requesting Configuration –      связь с TFTP-сервером для сравнения и получения конфигурации и      прошивки.&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;Upgrading Software –      обновление программного обеспечения и перезагрузка при необходимости. &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;
&lt;/ul&gt;После этого на главном экране отображается номер из конфигурации: если он появился, значит, телефон запустился успешно.&lt;br /&gt;
Дополнительно о настройке IP-телефонов Cisco для использования SIP можно почитать по адресу &lt;a href=&quot;http://cisco.com/en/US/products/sw/voicesw/ps2156/products_administration_guide_book09186a00801d1978.html&quot;&gt;http://cisco.com/en/US/products/sw/voicesw/ps2156/products_administration_guide_book09186a00801d1978.html&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/2566800813063984727/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/10/ip-cisco-7960.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/2566800813063984727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/2566800813063984727'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/10/ip-cisco-7960.html' title='Настройка IP-телефона Cisco  7960'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-1868701010156143210</id><published>2011-10-15T15:06:00.001+02:00</published><updated>2011-10-15T15:06:24.477+02:00</updated><title type='text'>Как узнать внешний адрес из терминала</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;curl ifconfig.me&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/1868701010156143210/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/10/blog-post.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/1868701010156143210'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/1868701010156143210'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/10/blog-post.html' title='Как узнать внешний адрес из терминала'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-4850859433109032351</id><published>2011-10-07T22:37:00.002+02:00</published><updated>2011-10-07T22:37:54.323+02:00</updated><title type='text'>Настройка 3G модемов</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Перенастройка 3G модемов различных производителей для требуемых условий работы.&lt;br /&gt;
Для настройки модемов, подключаться нужно либо через гипертерминал, либо через putty.&lt;span id=&quot;more-2696&quot;&gt;&lt;/span&gt;&lt;br /&gt;
Затем запускаем гипертерминал (Hyper Terminal). Он находится в меню Пуск &amp;gt; Программы &amp;gt; Стандартные &amp;gt; Связь &amp;gt; Hyper Terminal, либо вызовите апплет «Выполнить» и наберите команду hypertrm.&lt;br /&gt;
Здесь мы пытаемся настроить ZTE MF112, ZTE MF120, ZTE MF626, Huawei E150&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;1. ZTE MF112 (МТС) – не имеют возможности работать с передачей голоса с IP ATC&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;2. ZTE MF626 (Билайн) – Подходит для работы с IP ATC&lt;/strong&gt;&lt;br /&gt;
Затем в окне задания настроек подключения нужно установить следующие параметры:&lt;br /&gt;
Скорость: 115200&lt;br /&gt;
Биты данных: 8&lt;br /&gt;
Четность: Нет&lt;br /&gt;
Стоповые биты: 1&lt;br /&gt;
Управление потоком: Нет&lt;br /&gt;
Откроется терминал, в котором вы сможете давать команды напрямую устройству. Для проверки, что вы именно к модему подключены, вводим команду AT и жмем Enter, вы должны получить ответ OK.&lt;br /&gt;
&lt;strong&gt;AT+ZCDRUN=8&lt;/strong&gt; (отключения автозапуска CD/Flashdrive)&lt;br /&gt;
&lt;strong&gt;AT+ZCDRUN=9&lt;/strong&gt; (включение автозапуска CD/Flashdrive)&lt;br /&gt;
&lt;strong&gt;AT+CUSD=1,»#102#»,15&lt;/strong&gt; (проверить баланс абонентам Билайн)&lt;br /&gt;
&lt;strong&gt;ATI&lt;/strong&gt; (возвращает информацию о модеме)&lt;br /&gt;
&lt;strong&gt;AT+ZBANDI=0&lt;/strong&gt; (Automatic band selection (default))&lt;br /&gt;
&lt;strong&gt;AT+ZBANDI=1&lt;/strong&gt; (UMTS 850 + GSM 900/1800)&lt;br /&gt;
&lt;strong&gt;AT+ZBANDI=2&lt;/strong&gt; (UMTS 2100 + GSM 900/1800 (Europe))&lt;br /&gt;
&lt;strong&gt;AT+ZBANDI=3&lt;/strong&gt; (UMTS 850/2100 + GSM 900/1800)&lt;br /&gt;
&lt;strong&gt;AT+ZBANDI=4&lt;/strong&gt; (UMTS 850/1900 + GSM 850/1900)&lt;br /&gt;
&lt;strong&gt;AT+ZBANDI?&lt;/strong&gt; (Report band selection mode)&lt;br /&gt;
&lt;strong&gt;AT+ZSNT=0,0,0&lt;/strong&gt; (AUTOMATIC network selection, GSM+WCDMA)&lt;br /&gt;
&lt;strong&gt;AT+ZSNT=0,0,1&lt;/strong&gt; (AUTOMATIC network selection, GSM+WCDMA,GSM preferred)&lt;br /&gt;
&lt;strong&gt;AT+ZSNT=0,0,2&lt;/strong&gt; (AUTOMATIC network selection, GSM+WCDMA,WCDMA preferred)&lt;br /&gt;
&lt;strong&gt;AT+ZSNT=1,0,0&lt;/strong&gt; (AUTOMATIC network selection, GSM only)&lt;br /&gt;
&lt;strong&gt;AT+ZSNT=2,0,0&lt;/strong&gt; (AUTOMATIC network selection, WCDMA only)&lt;br /&gt;
&lt;strong&gt;AT+ZSNT?&lt;/strong&gt; (Returns network selection mode)&lt;br /&gt;
&lt;strong&gt;3. Huawei E150 – работает с IP ATC (голос ходит в одну сторону – проверено)&lt;/strong&gt;&lt;br /&gt;
Инструкция:&lt;br /&gt;
Подключить модем к ПК под управлением Windows и убедиться, что он работает.&lt;br /&gt;
Сохранить все файлы, содержащиеся на виртуальном CD модема.&lt;br /&gt;
Отключить компьютер от сети и Интернета и запустить программу Hyper Terminal.&lt;br /&gt;
Программа Hyper Terminal находится в разделе Пуск &amp;gt; Программы &amp;gt; Стандартные &amp;gt; Связь &amp;gt; Hyper Terminal – в ос Windows XP, а для Windows7 ее нужно загрузить.&lt;br /&gt;
В окне «Описание подключения» пишем любое название, скажем «Huawei», и нажимаем ENTER. Ждем появления окна «Подключение». В его последней графе «Подключаться через” нужно выбрать «HUAWEI Mobile Connect – 3G Modem» и нажать ОК.&lt;br /&gt;
Следующее после этого окно с номерами телефона и прочими параметрами нужно просто закрыть, нажав кнопку «Отмена».&lt;br /&gt;
Теперь на панели программы следует нажать последнюю кнопку «Свойства»:&lt;br /&gt;
И в открывшемся окне «Свойства: модем» перейти на вкладку «Параметры:&lt;br /&gt;
Нажать кнопку «Параметры ASCII»:&lt;br /&gt;
Поставить галочку во второй сверху графе «Отображать вводимые символы на экране».&lt;br /&gt;
Нажать ОК. Верхнее окошко закроется. Нажать ОК. Последнее окошко закроется, и в главном окне программы замигает курсор.&lt;br /&gt;
Включаем CAPS LOCK и печатаем команду АТ. Нажимаем ENTER. Появляется ответ: ОК. Значит связь с модемом установлена. Вводим одну из следующих команд:&lt;br /&gt;
&lt;strong&gt;AT^U2DIAG=0&lt;/strong&gt; (устройство в режиме только модем)&lt;br /&gt;
&lt;strong&gt;AT^U2DIAG=1&lt;/strong&gt; (устройство в режиме модем + CD-ROM)&lt;br /&gt;
&lt;strong&gt;AT^U2DIAG=255&lt;/strong&gt; (устройство в режиме модем + CD-ROM + Card Reader)&lt;br /&gt;
&lt;strong&gt;AT^U2DIAG=256&lt;/strong&gt; (устройство в режиме модем + Card Reader)&lt;br /&gt;
Если возникнет необходимость вернуть модем в первоначальное состояние, необходимо повторить всю процедуру, но уже с командой AT^U2DIAG=255 (устройство в режиме модем + CD-ROM + Card Reader).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/4850859433109032351/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/10/3g.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/4850859433109032351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/4850859433109032351'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/10/3g.html' title='Настройка 3G модемов'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-7810393307104549652</id><published>2011-10-07T22:33:00.002+02:00</published><updated>2011-10-08T22:03:27.495+02:00</updated><title type='text'>Установка модуля канала chan_dongle</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;1. Скачиваем модуль канала &lt;a href=&quot;http://asterisk-chan-dongle.googlecode.com/files/chan_dongle-1.1.r10.tgz&quot;&gt;&lt;span style=&quot;color: #21759b;&quot;&gt;chan_dongle-1.1.r10.tgz&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
2. Распаковываем, собираем и ставим, копируем конфигурационный файл в директорию asterisk:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;cd /tmp&lt;br /&gt;
wget asterisk-chan-dongle.googlecode.com/files/chan_dongle-1.1.r10.tgz&lt;br /&gt;
tar zxvf chan_dongle-1.1.r10.tgz&lt;br /&gt;
cd chan_dongle-1.1.r10&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
cp etc/dongle.conf /etc/asterisk/&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;chmod 666 /dev/ttyUSB*&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/7810393307104549652/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/10/chandongle.html#comment-form' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/7810393307104549652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/7810393307104549652'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/10/chandongle.html' title='Установка модуля канала chan_dongle'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-9087768979308824617</id><published>2011-10-06T08:34:00.001+02:00</published><updated>2011-10-08T22:03:28.255+02:00</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h3&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;Установка ОС (ubuntu 10.04 LTS)&lt;/span&gt;&lt;/h3&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;1. Скачиваем и устанавливаем: &lt;/span&gt;&lt;a href=&quot;http://www.ubuntu.com/download/ubuntu/download&quot; target=&quot;_blank&quot; title=&quot;ubuntu&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;ubuntu&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;2. Обновляем систему apt-get update &amp;amp;&amp;amp; apt-get upgrade&lt;br /&gt;
3. Обновляем релиз до Maverick:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;syntaxhighlighter &quot; id=&quot;highlighter_589431&quot;&gt;&lt;div class=&quot;bar&quot;&gt;&lt;div class=&quot;toolbar&quot;&gt;&lt;a class=&quot;item viewSource&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#viewSource&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;view source&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;view source&lt;/span&gt;&lt;/a&gt;&lt;a class=&quot;item printSource&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#printSource&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;print&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;print&lt;/span&gt;&lt;/a&gt;&lt;a class=&quot;item about&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#about&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;?&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;?&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;lines&quot;&gt;&lt;div class=&quot;line alt1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;1.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;apt-get install update-manager-core&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt2&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;2.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;3.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;vim /etc/update-manager/release-upgrades&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt2&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;4.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;Prompt=normal&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;5.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt2&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;6.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;keyword&quot;&gt;do&lt;/code&gt;&lt;code class=&quot;plain&quot;&gt;-release-upgrade&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;Установка asterisk из исходников&lt;/span&gt;&lt;/h3&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;1. Скачиваем asterisk &lt;/span&gt;&lt;a href=&quot;http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.8-current.tar.gz&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;asterisk&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;2. Распаковываем, устанавливаем необходимые пакеты, собираем и ставим:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;syntaxhighlighter &quot; id=&quot;highlighter_807001&quot;&gt;&lt;div class=&quot;bar&quot;&gt;&lt;div class=&quot;toolbar&quot;&gt;&lt;a class=&quot;item viewSource&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#viewSource&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;view source&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;view source&lt;/span&gt;&lt;/a&gt;&lt;a class=&quot;item printSource&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#printSource&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;print&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;print&lt;/span&gt;&lt;/a&gt;&lt;a class=&quot;item about&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#about&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;?&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;?&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;lines&quot;&gt;&lt;div class=&quot;line alt1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;1.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;tar zxvf asterisk-1.8-current.tar.gz&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt2&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;2.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;cd asterisk-1.8-current.tar.gz&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;3.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;apt-get install g++ libncurses-dev libxml2-dev subversion&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt2&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;4.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;./configure&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;5.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;make install&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt2&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;6.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;make config&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;7.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;make samples&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;Установка модуля канала chan_dongle&lt;/span&gt;&lt;/h3&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;1. Скачиваем модуль канала &lt;/span&gt;&lt;a href=&quot;http://asterisk-chan-dongle.googlecode.com/files/chan_dongle-1.1.r10.tgz&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;chan_dongle-1.1.r10.tgz&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;2. Распаковываем, собираем и ставим, копируем конфигурационный файл в директорию asterisk:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;syntaxhighlighter &quot; id=&quot;highlighter_442315&quot;&gt;&lt;div class=&quot;bar&quot;&gt;&lt;div class=&quot;toolbar&quot;&gt;&lt;a class=&quot;item viewSource&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#viewSource&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;view source&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;view source&lt;/span&gt;&lt;/a&gt;&lt;a class=&quot;item printSource&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#printSource&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;print&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;print&lt;/span&gt;&lt;/a&gt;&lt;a class=&quot;item about&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#about&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;?&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;?&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;lines&quot;&gt;&lt;div class=&quot;line alt1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;1.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;tar zxvf chan_dongle-1.1.r10.tgz&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt2&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;2.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;cd chan_dongle-1.1.r10.tgz&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;3.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;./configure&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt2&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;4.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;make install&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;5.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;cp etc/dongle.conf /etc/asterisk/&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;Убедимся что модем Huawei E1550 определился в системе&lt;/span&gt;&lt;/h3&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;syntaxhighlighter &quot; id=&quot;highlighter_221933&quot;&gt;&lt;div class=&quot;bar&quot;&gt;&lt;div class=&quot;toolbar&quot;&gt;&lt;a class=&quot;item viewSource&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#viewSource&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;view source&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;view source&lt;/span&gt;&lt;/a&gt;&lt;a class=&quot;item printSource&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#printSource&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;print&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;print&lt;/span&gt;&lt;/a&gt;&lt;a class=&quot;item about&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#about&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;?&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;?&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;lines&quot;&gt;&lt;div class=&quot;line alt1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;1.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;ls -la /dev/ttyUSB*&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt2&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;2.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;ttyUSB0&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;3.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;ttyUSB1&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt2&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;4.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;ttyUSB2&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;Проверка работы модулей&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;syntaxhighlighter &quot; id=&quot;highlighter_442703&quot;&gt;&lt;div class=&quot;bar&quot;&gt;&lt;div class=&quot;toolbar&quot;&gt;&lt;a class=&quot;item viewSource&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#viewSource&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;view source&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;view source&lt;/span&gt;&lt;/a&gt;&lt;a class=&quot;item printSource&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#printSource&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;print&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;print&lt;/span&gt;&lt;/a&gt;&lt;a class=&quot;item about&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#about&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;?&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;?&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;lines&quot;&gt;&lt;div class=&quot;line alt1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;1.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;asterisk*CLI&amp;gt; dongle show devices&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt2&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;2.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;ID           Group State      RSSI Mode Submode Provider Name  Model      Firmware          IMEI             IMSI       Number&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;line alt1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;3.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;dongle0    1     Free       15   3    3       MTS          E1550&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;Для исходящей связи&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;syntaxhighlighter &quot; id=&quot;highlighter_854567&quot;&gt;&lt;div class=&quot;bar&quot;&gt;&lt;div class=&quot;toolbar&quot;&gt;&lt;a class=&quot;item viewSource&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#viewSource&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;view source&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;view source&lt;/span&gt;&lt;/a&gt;&lt;a class=&quot;item printSource&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#printSource&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;print&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;print&lt;/span&gt;&lt;/a&gt;&lt;a class=&quot;item about&quot; href=&quot;http://a.dmin.msk.ru/?p=2703#about&quot; style=&quot;height: 16px; width: 16px;&quot; title=&quot;?&quot;&gt;&lt;span style=&quot;color: black; font-family: inherit;&quot;&gt;?&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;lines&quot;&gt;&lt;div class=&quot;line alt1&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;number&quot;&gt;1.&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px !important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;exten =&amp;gt; _X.,1,Dial(Dongle/dongle0/${EXTEN})&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/9087768979308824617/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/10/ubuntu-10.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/9087768979308824617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/9087768979308824617'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/10/ubuntu-10.html' title=''/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-4252398038459407667</id><published>2011-10-03T23:29:00.001+02:00</published><updated>2011-10-08T16:25:56.607+02:00</updated><title type='text'>Ubuntu 11.04 + Asterisk 1.8.6 + FreePBX 2.9</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:OfficeDocumentSettings&gt;   &lt;o:AllowPNG/&gt;  &lt;/o:OfficeDocumentSettings&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:WordDocument&gt;   &lt;w:View&gt;Normal&lt;/w:View&gt;   &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:TrackMoves/&gt;   &lt;w:TrackFormatting/&gt;   &lt;w:PunctuationKerning/&gt;   &lt;w:ValidateAgainstSchemas/&gt;   &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:DoNotPromoteQF/&gt;   &lt;w:LidThemeOther&gt;RU&lt;/w:LidThemeOther&gt;   &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:Compatibility&gt;    &lt;w:BreakWrappedTables/&gt;    &lt;w:SnapToGridInCell/&gt;    &lt;w:WrapTextWithPunct/&gt;    &lt;w:UseAsianBreakRules/&gt;    &lt;w:DontGrowAutofit/&gt;    &lt;w:SplitPgBreakAndParaMark/&gt;    &lt;w:EnableOpenTypeKerning/&gt;    &lt;w:DontFlipMirrorIndents/&gt;    &lt;w:OverrideTableStyleHps/&gt;   &lt;/w:Compatibility&gt;   &lt;m:mathPr&gt;    &lt;m:mathFont m:val=&quot;Cambria Math&quot;/&gt;    &lt;m:brkBin m:val=&quot;before&quot;/&gt;    &lt;m:brkBinSub m:val=&quot;&amp;#45;-&quot;/&gt;    &lt;m:smallFrac m:val=&quot;off&quot;/&gt;    &lt;m:dispDef/&gt;    &lt;m:lMargin m:val=&quot;0&quot;/&gt;    &lt;m:rMargin m:val=&quot;0&quot;/&gt;    &lt;m:defJc m:val=&quot;centerGroup&quot;/&gt;    &lt;m:wrapIndent m:val=&quot;1440&quot;/&gt;    &lt;m:intLim m:val=&quot;subSup&quot;/&gt;    &lt;m:naryLim m:val=&quot;undOvr&quot;/&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:LatentStyles DefLockedState=&quot;false&quot; DefUnhideWhenUsed=&quot;true&quot;
  DefSemiHidden=&quot;true&quot; DefQFormat=&quot;false&quot; DefPriority=&quot;99&quot;
  LatentStyleCount=&quot;267&quot;&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;0&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Normal&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;heading 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 7&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 8&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 9&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 7&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 8&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 9&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;35&quot; QFormat=&quot;true&quot; Name=&quot;caption&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;10&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Title&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; Name=&quot;Default Paragraph Font&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;11&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtitle&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;22&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Strong&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;20&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Emphasis&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;59&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Table Grid&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Placeholder Text&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;No Spacing&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Revision&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;34&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;List Paragraph&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;29&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Quote&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;30&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Quote&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 1&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 2&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 3&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 4&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 5&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 6&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;19&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Emphasis&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;21&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Emphasis&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;31&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Reference&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;32&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Reference&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;33&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Book Title&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;37&quot; Name=&quot;Bibliography&quot;/&gt;   &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; QFormat=&quot;true&quot; Name=&quot;TOC Heading&quot;/&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
 {mso-style-name:&quot;Обычная таблица&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-priority:99;
 mso-style-parent:&quot;&quot;;
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-para-margin-top:0cm;
 mso-para-margin-right:0cm;
 mso-para-margin-bottom:10.0pt;
 mso-para-margin-left:0cm;
 line-height:115%;
 mso-pagination:widow-orphan;
 font-size:11.0pt;
 font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
 mso-ascii-font-family:Calibri;
 mso-ascii-theme-font:minor-latin;
 mso-hansi-font-family:Calibri;
 mso-hansi-theme-font:minor-latin;
 mso-bidi-font-family:&quot;Times New Roman&quot;;
 mso-bidi-theme-font:minor-bidi;
 mso-fareast-language:EN-US;}
&lt;/style&gt; &lt;![endif]--&gt;  &lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;sudo -i&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;1&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;. Теперь установим пакеты которые необходимы для работы&amp;nbsp;&lt;b&gt;Asterisk&lt;/b&gt;&amp;nbsp;и&amp;nbsp;&lt;b&gt;FreePBX&lt;/b&gt;&amp;nbsp;(во время установки пакетов потребуется ввести пароль для MySQL сервера в дальнейшем он нам понадобиться):&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;apt-get update&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;apt-get install php5-mysql libapache2-mod-php5 mysql-server libmysqlclient15-dev php-db php5-gd php-pear sox curl g++ libncurses-dev libxml2-dev subversion&amp;nbsp; openssh-server openssh-client&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;2&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;. Установим пакеты необходимые для работы плат и модемов (если не планируется использовать платы или модемы с&amp;nbsp;&lt;b&gt;Asterisk&lt;/b&gt;&amp;nbsp;то данный шаг можно пропустить):&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;apt-get install dahdi&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;/etc/init.d/dahdi start&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;cd /tmp&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;wget http://downloads.&lt;b&gt;asterisk&lt;/b&gt;.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.5.0+2.5.0.tar.gz&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;cd /usr/src&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;tar -zxvf /tmp/dahdi-linux-complete-2.5.0+2.5.0.tar.gz&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;cd dahdi-linux-complete-2.5.0+2.5.0/&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;make&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;make install&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;make config&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;3. Качаем исходники&amp;nbsp;&lt;b&gt;Asterisk&lt;/b&gt;&amp;nbsp;и&amp;nbsp;&lt;b&gt;FreePBX&lt;/b&gt;&amp;nbsp;и распаковываем их:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;cd /tmp&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;wget http://downloads.&lt;b&gt;asterisk&lt;/b&gt;.org/pub/telephony/&lt;b&gt;asterisk&lt;/b&gt;/releases/&lt;b&gt;asterisk&lt;/b&gt;-1.8.6.0.tar.gz&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;wget http://mirror.&lt;b&gt;freepbx&lt;/b&gt;.org/&lt;b&gt;freepbx&lt;/b&gt;-2.9.0.tar.gz&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;cd /usr/src&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;tar xvfz /tmp/&lt;b&gt;asterisk&lt;/b&gt;-1.8.6.0.tar.gz&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;tar xvfz /tmp/&lt;b&gt;freepbx&lt;/b&gt;-2.9.0.tar.gz&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;4. А теперь устанавливаем&amp;nbsp;&lt;b&gt;Asterisk&lt;/b&gt;:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;cd /usr/src/&lt;b&gt;asterisk&lt;/b&gt;-1.8.6.0&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;./configure&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Следующую команду выполняем в окне терминала размером 80×27 и выбираем модули&amp;nbsp;&lt;b&gt;Asterisk&lt;/b&gt;&amp;nbsp;которые нам понадобятся для работы:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;make menuselect&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Выбираем модули в категори Add-ons – app_mysql, cdr_mysql, format_mp3, res_config_mysql. (Чтобы выбрать категорию нажмите – Enter, чтобы отметить модуль нажмите – Space(пробел), вернутся к выбору категорий – Стрелка Влево, чтобы сохранить изменения и выйти нажмите – X.)&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Качаем файлы для поддержки mp3 формата:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;contrib/scripts/get_mp3_source.sh&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Собираем и устанавливаем&amp;nbsp;&lt;b&gt;Asterisk&lt;/b&gt;:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;make&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;make install&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;make config&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;make samples&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;5. Начинаем настраивать&amp;nbsp;&lt;b&gt;Asterisk&lt;/b&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Создаем пользователя&amp;nbsp;&lt;b&gt;asterisk&lt;/b&gt;&amp;nbsp;и добавляем пользователя www-data в группу&amp;nbsp;&lt;b&gt;asterisk&lt;/b&gt;:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;adduser&amp;nbsp;&lt;b&gt;asterisk&lt;/b&gt;&amp;nbsp;--disabled-password --gecos &quot;&lt;b&gt;Asterisk&lt;/b&gt;&amp;nbsp;PBX&quot;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;adduser www-data&amp;nbsp;&lt;b&gt;asterisk&lt;/b&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Теперь сделаем так чтобы Apache запускался от пользователя&amp;nbsp;&lt;b&gt;asterisk&lt;/b&gt;:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;nano /etc/apache2/envvars&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Закомментируем следующие строки поставив в начале строки символ #&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;#export APACHE_RUN_USER&lt;b&gt;=&lt;/b&gt;www-data&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;#export APACHE_RUN_GROUP&lt;b&gt;=&lt;/b&gt;www-data&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;И после них добавим новые строки&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;export APACHE_RUN_USER&lt;b&gt;=asterisk&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;export APACHE_RUN_GROUP&lt;b&gt;=asterisk&lt;/b&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Чтобы сохранить изменения нажмите Ctrl+O и Ctrl+X для выхода.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Теперь применим изменения к Apache:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;apache2ctl graceful&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;6&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;.&amp;nbsp;&lt;b&gt;Asterisk&lt;/b&gt;&amp;nbsp;установлен переходим к установке&amp;nbsp;&lt;b&gt;FreePBX&lt;/b&gt;:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;cd /usr/src/&lt;b&gt;freepbx&lt;/b&gt;-2.9.0&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Создадим и настроим базы MySQL необходимые для работы&amp;nbsp;&lt;b&gt;FreePBX&lt;/b&gt;. Выполним для этого следующие команды – где 377265 это ваш пароль к MySQL серверу указанный в пункте&amp;nbsp;&lt;b&gt;1&lt;/b&gt;&amp;nbsp;при его установке:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;mysqladmin create&amp;nbsp;&lt;b&gt;asterisk&lt;/b&gt;&amp;nbsp;-p377265&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;mysqladmin create asteriskcdrdb -p377265&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;mysql&amp;nbsp;&lt;b&gt;asterisk&lt;/b&gt;&amp;nbsp;&amp;lt; SQL/newinstall.sql -p377265&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;mysql asteriskcdrdb &amp;lt; SQL/cdr_mysql_table.sql -p377265&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;mysql -p377265&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;GRANT ALL PRIVILEGES ON&amp;nbsp;&lt;b&gt;asterisk&lt;/b&gt;.* TO asteriskuser@localhost IDENTIFIED BY &#39;377265&#39;;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
GRANT ALL PRIVILEGES ON asteriskcdrdb.* TO asteriskuser@localhost IDENTIFIED BY &#39;377265&#39;;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
flush privileges;&lt;br /&gt;
quit;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Перезапустим&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&amp;nbsp;&lt;b&gt;Asterisk&lt;/b&gt;:&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;/etc/init.d/&lt;b&gt;asterisk&lt;/b&gt;&amp;nbsp;start&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;И запускаем установку&amp;nbsp;&lt;b&gt;FreePBX&lt;/b&gt;:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;./install_amp&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Во время установки указываем только следующие параметры все остальные оставляем стандартными(не указываем).&amp;nbsp; Вместо&lt;/span&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt; &lt;span lang=&quot;EN-US&quot;&gt;377265 &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;ваш&lt;/span&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;пароль&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;а&lt;/span&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;вместо&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt; 192.168.0.101 – &lt;/span&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;ваш&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt; ip.&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Enter your PASSWORD to connect to the &#39;&lt;b&gt;asterisk&lt;/b&gt;&#39; database:&lt;br /&gt;
[amp109] 377265&lt;br /&gt;
Enter a PASSWORD to connect to the&amp;nbsp;&lt;b&gt;Asterisk&lt;/b&gt;&amp;nbsp;Manager interface:&lt;br /&gt;
[amp111] 377265&lt;br /&gt;
Enter the path to use for your AMP web root:&lt;br /&gt;
[/var/www/html]&lt;br /&gt;
/var/www/&lt;b&gt;freepbx&lt;/b&gt;&lt;br /&gt;
Enter the IP ADDRESS or hostname used to access the AMP web-admin:&lt;br /&gt;
[xx.xx.xx.xx]&lt;br /&gt;
192.168.0.101&lt;br /&gt;
Enter a PASSWORD to perform call transfers with the Flash Operator Panel:&lt;br /&gt;
[passw0rd]&lt;br /&gt;
377265&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;7.&amp;nbsp;&lt;b&gt;FreePBX&lt;/b&gt;&amp;nbsp;установлена, теперь надо изменить настройки для её нормальной работы:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;nano /etc/amportal.conf&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Проверяем в этом конфиге установлена ли авторизация через базу данных.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;AUTHTYPE&lt;b&gt;=&lt;/b&gt;database&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Если в AUTHTYPE выбран database всё ок. Если нет то меняем параметр на database.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Далее меняем пароль для доступ к админке записи разговоров для этого в следующей строке меняем 377265 на ваш пароль.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;ARI_ADMIN_PASSWORD&lt;b&gt;=&lt;/b&gt;377265&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Сохраняем изменения нажав Ctrl+O и Ctrl+X для выхода.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Делаем исправление в конфиге кодировки, если вы в дальнейшем захотите использовать русский интерфейс в&amp;nbsp;&lt;b&gt;FreePBX&lt;/b&gt;&amp;nbsp;(мне например удобнее оригинальный английский, но если вам будет нужен русский делаем следующее действие):&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;nano /usr/share/locale/locale.alias&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Удаляем стандартную строку кодировки russian и вместо нее добавляем следующие строки:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;russian&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ru&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;ru&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ru_RU&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;ru_RU&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ru_RU.UTF-&lt;b&gt;8&lt;/b&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Сохраняем изменения нажав Ctrl+O и Ctrl+X для выхода.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Теперь сделаем автостарт&amp;nbsp;&lt;b&gt;FreePBX&lt;/b&gt;:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;nano /etc/rc.local&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Перед строкой exit 0 добавим следующую строку:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;/usr/local/sbin/amportal start&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Сохраняем изменения нажав Ctrl+O и Ctrl+X для выхода.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;8&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;. Выставим права на папки для нормальной работы:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;chown -R&amp;nbsp;&lt;b&gt;asterisk&lt;/b&gt;:&lt;b&gt;asterisk&lt;/b&gt;&amp;nbsp;/var/run/&lt;b&gt;asterisk&lt;/b&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;chown -R&amp;nbsp;&lt;b&gt;asterisk&lt;/b&gt;:&lt;b&gt;asterisk&lt;/b&gt;&amp;nbsp;/var/www/&lt;b&gt;freepbx&lt;/b&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;chown -R&amp;nbsp;&lt;b&gt;asterisk&lt;/b&gt;:&lt;b&gt;asterisk&lt;/b&gt;&amp;nbsp;/var/lib/&lt;b&gt;asterisk&lt;/b&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;9&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;. Перезагрузим систему для применения всех изменений и проверки авто запуска:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;reboot&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Asterisk&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&amp;nbsp;и&amp;nbsp;&lt;b&gt;FreePBX&lt;/b&gt;&amp;nbsp;установлены. Зайдем в админку&amp;nbsp;&lt;b&gt;FreePBX&lt;/b&gt;&amp;nbsp;по адресу – http://192.168.1.101/&lt;b&gt;freepbx&lt;/b&gt;/ – где вместо 192.168.1.101 ваш ip. Логин и пароль по умолчанию – admin / admin.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Применим настройки нажав кнопку –&amp;nbsp;&lt;b&gt;Apply Confiruration Changes&lt;/b&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Если после этого появится ошибка связанная с файлом – sip_notify.conf:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Удалим файл – sip_notify.conf:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;sudo -i&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;rm /etc/&lt;b&gt;asterisk&lt;/b&gt;/sip_notify.conf&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;После этого установим и обновим модули&amp;nbsp;&lt;b&gt;FreePBX&lt;/b&gt;. Для этого перейдём в меню&amp;nbsp;&lt;b&gt;Admin &amp;gt; Module Admin&lt;/b&gt;&amp;nbsp;и нажмем кнопку&amp;nbsp;&lt;b&gt;Check Online&lt;/b&gt;, выберем модули которые хотим обновить и установить и нажмем кнопку&amp;nbsp;&lt;b&gt;Process&lt;/b&gt;, по окончанию скачки, обновления и установки модулей нажмем кнопку&amp;nbsp;&lt;b&gt;Return&lt;/b&gt;&amp;nbsp;и затем применим изменения&amp;nbsp;&lt;b&gt;Apply Configuration Settings&lt;/b&gt;.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Если после установки модулей появится ошибка связанная с файлом – ccss.conf, удалим его:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;rm /etc/&lt;b&gt;asterisk&lt;/b&gt;/ccss.conf&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Ошибка исчезнет после следующего применения настроек или после перезагрузки.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background: #EEEEEE; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;Вот и всё&amp;nbsp;&lt;b&gt;Asterisk&lt;/b&gt;&amp;nbsp;и&amp;nbsp;&lt;b&gt;FreePBX&lt;/b&gt;&amp;nbsp;полностью установлены. О том как настроить&amp;nbsp;&lt;b&gt;FreePBX&lt;/b&gt;&amp;nbsp;для работы с Sipnet и модемом Huawei E1750 читайте в следующих частях.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: RU;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/4252398038459407667/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/10/ubuntu-1104-asterisk-186-freepbx-29.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/4252398038459407667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/4252398038459407667'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/10/ubuntu-1104-asterisk-186-freepbx-29.html' title='Ubuntu 11.04 + Asterisk 1.8.6 + FreePBX 2.9'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-5842599437015265732</id><published>2011-10-02T19:14:00.000+02:00</published><updated>2011-10-02T19:14:23.547+02:00</updated><title type='text'>phpMyAdmin - Install phpMyAdmin - Configure phpMyAdmin - phpMyAdmin CentOS | Antoine Solutions Development</title><content type='html'>&lt;a href=&quot;http://dev.antoinesolutions.com/phpmyadmin&quot;&gt;phpMyAdmin - Install phpMyAdmin - Configure phpMyAdmin - phpMyAdmin CentOS | Antoine Solutions Development&lt;/a&gt;: &quot;phpMyAdmin&lt;br /&gt;phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the Web. Visit the phpMyAdmin website for more information.&lt;br /&gt;&lt;br /&gt;Version&lt;br /&gt;CentOS 5.x&lt;br /&gt;phpMyAdmin 3.1.x&lt;br /&gt;Requirements:&lt;br /&gt;Install and Configure the Remi Repository&lt;br /&gt;Install phpMyAdmin 3.1.x&lt;br /&gt;Run the following yum install command&lt;br /&gt;yum install phpmyadmin&lt;br /&gt;Restart the Apache Server&lt;br /&gt;service httpd restart&lt;br /&gt;Test&lt;br /&gt;Visit http://localhost/phpmyadmin in your local web browser. You should be prompted for authentication&lt;br /&gt;Enter the system root username and password and click OK&lt;br /&gt;You should now be presented with the phpMyAdmin home page&quot;&lt;br /&gt;&lt;br /&gt;&lt;a style=&quot;font-size:13px&quot; href=&quot;https://chrome.google.com/webstore/detail/pengoopmcjnbflcjbmoeodbmoflcgjlk&quot;&gt;&#39;via Blog this&#39;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/5842599437015265732/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/10/phpmyadmin-install-phpmyadmin-configure.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/5842599437015265732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/5842599437015265732'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/10/phpmyadmin-install-phpmyadmin-configure.html' title='phpMyAdmin - Install phpMyAdmin - Configure phpMyAdmin - phpMyAdmin CentOS | Antoine Solutions Development'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-5804825225949516131</id><published>2011-10-02T14:46:00.002+02:00</published><updated>2011-10-02T14:46:26.916+02:00</updated><title type='text'>INSTALL ASTERISK 1.8 ON CENTOS 6</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: Arial, Verdana; font-size: 14px; line-height: 20px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;This guide explains step by step how to install Asterisk 1.8 on CentOS 6 x86_64 however you should be able to follow this guide for i686 &amp;amp; RHEL Linux, I have also included a video guide for those of you that prefer to watch a video rather than read.&lt;/div&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Asterisk is an enterprise level telephone system that uses real desk phones capable of seamlessly calling normal phones, your users probably wont even realise they are using a VoIP phone system. Asterisk VoIP PBX can connect to existing ISDN30e / POTS telephone lines or over the Internet via a&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Internet_telephony_service_provider&quot; rel=&quot;no follow&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #3695a3; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;ITSP&lt;/a&gt;.&lt;br /&gt;
&lt;span id=&quot;more-979&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
To start off with follow my guide on how to&amp;nbsp;&lt;a href=&quot;http://techspotting.org/how-to-install-centos-6-linux-for-servers-desktops/&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #3695a3; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;&quot; title=&quot;How To Install CentOS 6 Linux for Servers &amp;amp; Desktops&quot;&gt;install CentOS 6&lt;/a&gt;, use the minimal server install as suggested. Do not install a GUI on Asterisk, this is a PBX it needs to be reliable do not waste resources on X Windows. I would also like to point out that this guide is for an Asterisk server with no bloat, this is not a guide for setting up Trixbox or Elastix I recommend straight Asterisk, this has caused me less issues over the years. It might be more complicated to configure bu that is what this guide is for&amp;nbsp;&lt;img alt=&quot;:)&quot; class=&quot;wp-smiley&quot; src=&quot;http://techspotting.org/wp-includes/images/smilies/icon_smile.gif&quot; style=&quot;border-bottom-style: none; border-color: initial; border-color: initial; border-left-style: none; border-right-style: none; border-style: initial; border-top-style: none; border-width: initial; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; max-height: 12px; max-width: 680px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot; /&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;iframe frameborder=&quot;0&quot; height=&quot;390&quot; src=&quot;http://www.youtube.com/embed/4caAQzv5inA?hd=1&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Update the system &amp;amp; reboot:&lt;/div&gt;&lt;pre style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font: normal normal normal 1em/normal &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: 470px;&quot;&gt;yum update&lt;/pre&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Review the updates and accept, when they have completed reboot with:&lt;/div&gt;&lt;pre style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font: normal normal normal 1em/normal &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: 470px;&quot;&gt;init 6&lt;/pre&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Install wget to pull down Asterisk:&lt;/div&gt;&lt;pre style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font: normal normal normal 1em/normal &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: 470px;&quot;&gt;yum install wget&lt;/pre&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Download Asterisk 1.8 &amp;amp; DAHDI + Tools&lt;/div&gt;&lt;pre style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font: normal normal normal 1em/normal &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: 470px;&quot;&gt;wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8.5.0.tar.gz &amp;amp;&amp;amp; wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.5.0+2.5.0.tar.gz&lt;/pre&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Asterisk &amp;amp; DAHDI Tools need extracting, to extract the tar.gz&lt;/div&gt;&lt;pre style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font: normal normal normal 1em/normal &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: 470px;&quot;&gt;tar -xvzf asterisk-1.8* &amp;amp;&amp;amp; tar -xvzf dahdi-linux-complete-*&lt;/pre&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Install dependencies so we can compile Asterisk 1.8&lt;/div&gt;&lt;pre style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font: normal normal normal 1em/normal &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: 470px;&quot;&gt;yum install kernel-devel gcc make gcc-c++ libxml2-devel&lt;/pre&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;This should look like:&lt;/div&gt;&lt;pre style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font: normal normal normal 1em/normal &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: 470px;&quot;&gt;Dependencies Resolved

================================================================================
 Package              Arch        Version                    Repository    Size
================================================================================
Installing:
 gcc                  x86_64      4.4.4-13.el6               base          10 M
 gcc-c++              x86_64      4.4.4-13.el6               base         4.7 M
 kernel-devel         x86_64      2.6.32-71.29.1.el6         updates      6.5 M
 libxml2-devel        x86_64      2.7.6-1.el6                base         1.1 M
 make                 x86_64      1:3.81-19.el6              base         389 k
Installing for dependencies:
 cloog-ppl            x86_64      0.15.7-1.2.el6             base          93 k
 cpp                  x86_64      4.4.4-13.el6               base         3.7 M
 glibc-devel          x86_64      2.12-1.7.el6_0.5           updates      961 k
 glibc-headers        x86_64      2.12-1.7.el6_0.5           updates      592 k
 kernel-headers       x86_64      2.6.32-71.29.1.el6         updates      991 k
 libgomp              x86_64      4.4.4-13.el6               base         108 k
 libstdc++-devel      x86_64      4.4.4-13.el6               base         1.5 M
 mpfr                 x86_64      2.4.1-6.el6                base         157 k
 pkgconfig            x86_64      1:0.23-9.1.el6             base          70 k
 ppl                  x86_64      0.10.2-11.el6              base         1.3 M
 zlib-devel           x86_64      1.2.3-25.el6               base          43 k

Transaction Summary
================================================================================
Install      16 Package(s)
Upgrade       0 Package(s)

Total download size: 32 M
Installed size: 90 M
Is this ok [y/N]: y&lt;/pre&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;You also need to install Perl &amp;amp; ncurses-devel&lt;/div&gt;&lt;pre style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font: normal normal normal 1em/normal &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: 470px;&quot;&gt;yum install perl ncurses-devel&lt;/pre&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Build DAHDi, this needs to be built first so you can build Asterisk with support for conference rooms and anything else that requires DAHDi. MAKE SURE YOU DO THIS FIRST.&lt;/div&gt;&lt;pre style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font: normal normal normal 1em/normal &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: 470px;&quot;&gt;cd  dahdi-linux-complete*
make all
make install
make config&lt;/pre&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;For this tutorial I am only going to be using SIP trunks, I have no hardware installed. If you have are using cards / hardware you might want to check out /etc/dahdi/system.conf and /etc/asterisk/chan_dahdi.conf.&lt;/div&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Start DAHDi at Boot&lt;/div&gt;&lt;pre style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font: normal normal normal 1em/normal &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: 470px;&quot;&gt;chkconfig dahdi on
service dahdi start&lt;/pre&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Build Asterisk&lt;/div&gt;&lt;pre style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font: normal normal normal 1em/normal &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: 470px;&quot;&gt;cd asterisk-*
make clean
./configure&lt;/pre&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Configure your Asterisk Server options and install&lt;/div&gt;&lt;pre style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font: normal normal normal 1em/normal &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: 470px;&quot;&gt;make menuselect
make
make install&lt;/pre&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Install sample config files in /etc/asterisk and set Asterisk to start at boot.&lt;/div&gt;&lt;pre style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font: normal normal normal 1em/normal &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: 470px;&quot;&gt;make samples
make config
chkconfig asterisk on&lt;/pre&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Start Asterisk to test it runs!&lt;/div&gt;&lt;pre style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font: normal normal normal 1em/normal &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: 470px;&quot;&gt;asterisk -vvvvc&lt;/pre&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;To stop asterisk&lt;/div&gt;&lt;pre style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font: normal normal normal 1em/normal &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: 470px;&quot;&gt;core stop now&lt;/pre&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;If Asterisk does not run chances are you made a mistake, it happens. Check you have follow my guide exactly and start again if necessary.&lt;/div&gt;&lt;div style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; margin-bottom: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Once you have tested Asterisk is working start the service&lt;/div&gt;&lt;pre style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 14px; font-style: inherit; font: normal normal normal 1em/normal &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; line-height: 1.5; margin-bottom: 1.5em; margin-top: 1.5em; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; white-space: pre; width: 470px;&quot;&gt;/etc/init.d/asterisk start&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/5804825225949516131/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/10/install-asterisk-18-on-centos-6.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/5804825225949516131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/5804825225949516131'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/10/install-asterisk-18-on-centos-6.html' title='INSTALL ASTERISK 1.8 ON CENTOS 6'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/4caAQzv5inA/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-1877519721552304433</id><published>2011-09-30T13:44:00.000+02:00</published><updated>2011-09-30T13:44:22.364+02:00</updated><title type='text'>Сеть в Linux на примере CentOS 5</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #444444; font-family: Geneva, Helvetica, Verdana, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2 style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #be261e; font-family: Geneva, Helvetica, Verdana, Arial, sans-serif; font-size: 2em; line-height: 1.2em; margin-bottom: 0cm; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Сетевой интерфейс Linux&lt;/h2&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Сетевой интерфейс – это точка присутствия сервера в локальной сети. В свою очередь, локальная сеть скорее всего будет иметь доступ в глобальные сети.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Настройка сетевого интерфейса это типичная задача при установке сервер на colocation и в ней нет нечего сложного.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Какие файлы влияют на работу сетевого интерфейса в Linux CentOS 5:&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;/etc/modprobe.conf – здесь загружаются модули ядра для различных устройств:&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;alias eth0 pcnet32&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;alias eth1 pcnet32&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;...&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;/etc/hosts – здесь находится список ip-адресов и назначенных им имен.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Удобно в отсутствие DNS-сервера или когда нет необходимости сообщать эти имена на всю сеть.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;/etc/resolv.conf – в этом файле указываются DNS сервера. DNS-сервер задается директивой nameserver&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# cat /etc/resolv.conf&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;nameserver 192.168.146.2&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;/etc/host.conf – файл указывает последовательность использования механизмов разрешения имени. В нашем случае сначала используем /etc/hosts а только потом DNS-сервер.&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# cat /etc/host.conf&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;order hosts,bind&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;/etc/init.d/network – скрипт останавливающий и запускающий работу сети&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;/proc/sys/net/ipv4/ip_forward – включение маршрутизации для своих интерфейсов, если у вас два или более интерфейсов её нужно включить. Включение осуществляется передачей “1” в этот файл.&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# echo &#39;1&#39; &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;/etc/sysconfig/network — здесь мы указываем, является ли наш сервер доступным по сети, если да то по каким протоколам и указываем наш hostname, то есть имя сервера. Default gateway рекомендуется указывать здесь.&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# cat /etc/sysconfig/network&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NETWORKING=yes&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NETWORKING_IPV6=no&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;HOSTNAME=centos52&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NETWORKING=yes — будет ли наш сервер работать в сети, наверно 99% случаев ответ будет — да, то есть yes &lt;img alt=&quot;:)&quot; class=&quot;wp-smiley&quot; src=&quot;http://www.manageserver.ru/wp-includes/images/smilies/icon_smile.gif&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot; /&gt;  Эта директива для Ipv4&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NETWORKING_IPV6=no — Ipv6 уже где-то используется но не настолько чтобы переводить сервера на его использование. Пока я не буду его включать.&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;HOSTNAME=centos52 — имя нашего сервера&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;В /etc/sysconfig/network-scripts/ находятся различные скрипты влияющие на работу сетевого интерфейса:&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# ls -l /etc/sysconfig/network-scripts/&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;-rw-r--r-- 1 root root 140 Feb 14 19:23 ifcfg-eth0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;-rw-r--r-- 1 root root 254 Mar 3 2008 ifcfg-lo&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;...&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;/etc/sysconfig/network-scripts/ifcfg-*&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Для нас самое большое значение имеют скрипты ifcfg-*. Именно в них описываются настройки сетевых интерфейсов присутствующих в сервере.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Давайте посмотрим что у них внутри.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;DHCP iface&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Данный интерфейс работает с использованием службы DHCP.&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# cat /etc/sysconfig/network-scripts/ifcfg-eth0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;DEVICE=eth0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;BOOTPROTO=dhcp&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;HWADDR=00:0C:29:43:5B:3D&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;ONBOOT=yes&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Мой компьютер работает по DHCP, что отчетливо видно по директиве BOOTPROTO=dhcp. То есть сетевые настройки мы получаем у dhcp-сервера при загрузке нашего сервера. Другие директивы означают следующее:&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;DEVICE=eth0 — как будет называться наш интерфейс, принято первый интерфейс называть как eth0, второй eth1 и так далее&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;HWADDR=00:0C:29:43:5B:3D — MAC-адрес нашей сетевой карты. Media Access Control — это уникальный идентификатор сетевой карты. У каждой сетевой карты свой MAC-адрес и в идеале он не повторяется больше ни с каким в мире. Иногда MAC-адрес пытаются подменить чтобы выдать свой компьютер за чужой, по каким либо соображениям, обычно враждебным.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Длина MAC-адреса составляет 48 бит что позволяет иметь 281 474 976 710&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;656 уникальных комбинаций. У каждого производителя сетевых плат есть свой диапазон в котором он назначает MAC-адреса своим платам. MAC-адрес пишется в шестнадцатеричной форме счисления.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;ONBOOT=yes — включать ли этот интерфейс автоматически при включение сервера. Думаю, что скорее всего это и нужно.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Loopback iface&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;loopback-интерфейс необходим для нормальной работы ОС.&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# cat /etc/sysconfig/network-scripts/ifcfg-lo&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;DEVICE=lo&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;IPADDR=127.0.0.1&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NETMASK=255.0.0.0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NETWORK=127.0.0.0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;BROADCAST=127.255.255.255&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;ONBOOT=yes&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NAME=loopback&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;DEVICE=lo — это loopback интерфейс. Интерфейс есть в любой системе и всегда поднят. Он нужен для нормальной работы ОС.&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;IPADDR=127.0.0.1 — ip-адрес loopback интерфейса. Он всегда такой.&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NETMASK=255.0.0.0 — сетевая маска&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NETWORK=127.0.0.0 — сеть в которой находится наш ip-адрес&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;BROADCAST=127.255.255.255 — адрес широковещательной рассылки&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;ONBOOT=yes — включать ли интерфейс при загрузке сервера, конечно да!&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NAME=loopback — имя сетевого интерфейса. Вывод команды ifconfig будет показывать значение указанное именно в DEVICE.&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Custom iface&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Выше мы рассмотрели интерфейс работающий по протолу dhcp. Но как правило придется работать именно с custom-интерфейсами, то есть вручную задавать параметры и маршрутизацию о которой мы поговорим немного позже.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Вот custom-интерфейс&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;DEVICE=eth0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;IPADDR=192.168.0.2&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NETMASK=255.255.255.0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NETWORK=192.168.0.0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;BROADCAST=255.255.255.255&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;GATEWAY=192.168.0.1&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;ONBOOT=yes&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;BOOTPROTO=dhcp здесь отсутствует но есть другие директивы.&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;IPADDR=192.168.0.2 — здесь мы задаем ip-адрес нашего интерфейса&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NETMASK=255.255.255.0 — сетевая маска&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NETWORK=192.168.0.0 — сеть в которой находится наш ip-адрес&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;BROADCAST=255.255.255.255 — адрес широковещательной рассылки&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;GATEWAY=192.168.0.1 — шлюз через который мы попадаем в другие сети&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;ONBOOT=yes — включать ли интерфейс при загрузке сервера&lt;/pre&gt;&lt;h3 style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #be261e; font-family: Geneva, Helvetica, Verdana, Arial, sans-serif; font-size: 1.6em; line-height: 1.2em; margin-bottom: 0cm; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Практика&lt;/h3&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Настроим сетевой интерфейс в Linux. Мы знаем что lo всегда включен и его не нужно вообще трогать.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Редактируем /etc/sysconfig/network-scripts/ifcfg-eth0&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Мой конфигурационный файл выглядит так:&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;DEVICE=eth0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;HWADDR=00:0C:29:43:5B:3D&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;IPADDR=192.168.146.130&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NETMASK=255.255.255.0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;BROADCAST=192.168.146.255&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;GATEWAY=192.168.146.2&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;ONBOOT=yes&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Далее нужно перезагрузить сетевой интерфейс чтобы прочитались новые настройки&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# service network restart&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;или&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# /etc/init.d/network restart&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Shutting down interface eth0:               [ OK ]&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Shutting down loopback interface:            [ OK ]&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Bringing up loopback interface:            [ OK ]&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Bringing up interface eth0:               [ OK ]&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Проверим все ли поднялось&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# ifconfig&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;eth0 Link encap:Ethernet &lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;HWaddr 00:0C:29:43:5B:3D&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;inet addr:192.168.146.130 Bcast:192.168.146.255 Mask:255.255.255.0&lt;/strong&gt;&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;inet6 addr: fe80::20c:29ff :fe43:5b3d/64 Scope:Link&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;UP&lt;/strong&gt; BROADCAST RUNNING MULTICAST MTU:1500 Metric:1&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;RX packets:1327 errors:0 dropped:0 overruns:0 frame:0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;TX packets:1340 errors:0 dropped:0 overruns:0 carrier:0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;collisions:0 txqueuelen:1000&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;RX bytes:149547 (146.0 KiB) TX bytes:232486 (227.0 KiB)&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Interrupt:59 Base address:0x2000&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;...&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Жирным выделены особенно интересные нам участки в выводе команды ifconfig. Как видим все похоже на правду и интерфейс «поднят», то есть находится в рабочем режиме.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Для большей ясности разберем и некоторые другие параметры сетевого интерфейса:&lt;/div&gt;&lt;ul style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 2em; margin-left: 1.7em; margin-right: 1.5em; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;MTU:1500 — это Maximum Transfer Unit. Различные сети и каналы передачи имеют разные скорости обмена. Это определяет максимальную длину пакета, пересылка которого с высокой вероятностью произойдет без ошибок. Для Ethernet — сетей значение MTU составляет 1500 байт.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Metric:1 — чем меньше это значение тем лучше считается маршрут до этой сети. На серверах скорее всего это менять не придется. Этот параметр играет большую роль в работе протоколов маршрутизации.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Сollisions:0 — нулевое значение говорит о том, что с сетевым интерфейсом все в порядке на физическом уровне.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;RX bytes — сколько данных принято&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;TX bytes — сколько данных отослано&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Так идем дальше. В примере выше, после настройки сетевого интерфейса мы полностью перезагружали службу network. Когда на сервере только один интерфейс это не страшно, но если их несколько и какие-то уже работают и выполняют свои функции прерывать их работу нежелательно. Тут нам на помощь приходит скрипт ifup/ifdown. Он нужен для перезагрузки какого либо одного сетевого интерфейса. Короткий пример.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Шаг 1. Вносим изменения в /etc/sysconfig/network-scripts/ifcfg-eth0&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Шаг 2. # ifdown eth0&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Шаг 3. # ifup eth0&lt;/div&gt;&lt;h3 style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #be261e; font-family: Geneva, Helvetica, Verdana, Arial, sans-serif; font-size: 1.6em; line-height: 1.2em; margin-bottom: 0cm; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Маршрутизация&lt;/h3&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Маршрутизация — это процесс поиска наилучшего пути от источника к получателю. Это набор правил по которым будет передаваться трафик. Мы вроде бы с ней еще нечего не делали, но она уже у вас работает. Не верите ? Сейчас проверим.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;netstat – команда позволяющая отслеживать сетевые подключения сервера&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# netstat -r&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Kernel IP routing table&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Destination          Gateway          Genmask        Flags MSS Window irtt Iface&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;192.168.146.0 *                     255.255.255.0 U       0   0       0 eth0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;default              192.168.146.2 0.0.0.0          UG 0      0       0 eth0&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;В выводе мы увидим список сетей и как до них добраться. То есть какой шлюз использовать для достижения пункта назначения. Помните, когда мы настраивали сетевой интерфейс eth0 мы указали директиву GATEWAY в ifcfg-eth0 ? Этот gateway был помечен как default, то есть шлюз по умолчанию.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Весь трафик в сети, которые явно не описаны в таблице маршрутизации, отправляются через шлюз по умолчанию. В нашем случае default gateway —192.168.146.2&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Вывод команды “netstat -r” нам говорит следующее:&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Первая строка. Чтобы попасть в подсеть 192.168.146.0 нам не нужен никакой шлюз (*), поскольку мы и так находимся в этой сети&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Вторая строка — это default, то есть маршрут по умолчанию. Весь трафик предназначенный по все остальные сети будет уходить через этот шлюз.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Genmask — это сетевая маска, благодаря маске можно отделить сетевую часть адреса от адреса хоста&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Flags: U — это UP, то есть маршрут поднят и функционирует сейчас&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Flags: UG — UP, Gateway. Маршрут поднят и использует gateway в своей работе&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;MSS – Maximum Segment Size, определяет максимальный размер пакета для этого маршрута.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Window – размер окна. Максимальный размер пакета, который система готова принять.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;irtt&amp;nbsp;— initial round trip time, задает значение которое используется при установке соединения. Round trip time – представляет из себя отрезок времени, если в течение которого от удаленного хоста не пришло подтверждение о получение пакета, пакет будет выслан снова.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Iface – показывает к какому интерфейсу относится маршрут&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Прописываем маршруты&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Если на сервере несколько сетевых интерфейсов то скорее всего понадобится вручную составить таблицу маршрутизации.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Приведу пример. У нас два сетевых интерфейса eth0 и eth1. Через eth0 мы получаем доступ во внешние сети и по умолчанию весь трафик направляется через него. Через eth1 мы получаем доступ ко внутренней сети 192.168.147.0/24 но что еще важнее, в этой сети есть сервер 192.168.147.1 у которого есть сетевой интерфейс в подсеть 192.168.148.0/24 и мы очень хотим туда попадать. А для того что туда попадать необходимо прописать правильные маршруты у себя в ОС.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Так выглядит таблица маршрутизации в нашем случае&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# netstat -r&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Kernel IP routing table&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Destination Gateway           Genmask       Flags MSS Window irtt Iface&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;192.168.147.0 *               255.255.255.0 U      0     0     0  eth1&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;192.168.146.0 *               255.255.255.0 U      0     0     0  eth0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;192.168.148.0 192.168.147.1 255.255.255.0 UG       0     0     0  eth1&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;192.168.146.2 0.0.0.0        UG    0     0     0  eth0  default&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;То есть в подсеть 192.168.148.0/24 (внутренняя подсеть) мы попадаем через eth1 -&amp;gt; 192.168.147.1, сервер выполняющий роль шлюза в эту подсеть. Все остальное идет через default шлюз. Все очень просто. Ну и собственно как привести настройки к этому.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Шлюз по умолчанию&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# cat /etc/sysconfig/network&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;...&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;GATEWAY=192.168.146.2&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;...&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;eth0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# cat /etc/sysconfig/network-scripts/ifcfg-eth0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;DEVICE=eth0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;HWADDR=00:0C:29:43:5B:3D&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;IPADDR=192.168.146.130&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NETMASK=255.255.255.0&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;BROADCAST=192.168.146.255&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;ONBOOT=yes&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;eth1&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# cat /etc/sysconfig/network-scripts/ifcfg-eth1&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;DEVICE=eth1&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;ONBOOT=yes&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;HWADDR=00:0c:29:43:5b:47&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;IPADDR=192.168.147.2&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;NETMASK=255.255.255.0&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;И самое главное, файл в котором мы прописываем статический маршрут для eth1.&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# cat /etc/sysconfig/network-scripts/route-eth1&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;192.168.148.0/24 via 192.168.147.1&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Для того чтобы прописать маршруты для какого либо интерфейса, необходимо создать файл route-&amp;lt;название интерфейса&amp;gt; в каталоге /etc/sysconfig/network-scripts/ После того как все готово к работе, мы перезагружаем сетевой сервис.&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# service network restart&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Теперь подведем итоги, что и как мы сделали.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Есть три вида маршрутов. Динамические – которые динамически назначаются сетевому интерфейсу, например сервером DHCP. Статические – которые вы вручную прописываете и они остаются в настройках после перезагрузки сервера. И маршруты по умолчанию – когда никакие другие маршруты не подходят для того, чтобы отослать по ним пакеты.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Мы могли добавить маршрут в подсеть 192.168.148.0/24 командой route&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# route add -net 192.168.148.0/24 gw 192.168.147.1&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Но после перезагрузки сервера информация о маршруте пропала бы. Чтобы такого не произошло используется специальный механизм. А именно создание файла вида route-&amp;lt;имя интерфейса&amp;gt; в /etc/sysconfig/network-scripts В него мы вносим список сетей и как до них добраться. Каждая новая запись начинается с новой строки.&lt;/div&gt;&lt;h3 style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #be261e; font-family: Geneva, Helvetica, Verdana, Arial, sans-serif; font-size: 1.6em; line-height: 1.2em; margin-bottom: 0cm; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Про шлюз&lt;/h3&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Чтобы сервер был шлюзом для других компьютеров необходимо удовлетворить ряд условий:&lt;/div&gt;&lt;ol style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; list-style-image: initial; list-style-position: initial; list-style-type: decimal; margin-bottom: 2em; margin-left: 1.7em; margin-right: 1.5em; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;На сервере корректная таблица маршрутизации благодаря которой он поймет что делать с пакетами дальше;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Включена передача пакетов между интерфейсами;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Включен маскарадинг (или установлен прокси) для нужной нам сети, например вот так (перенаправлять пакеты для хостов из подсети 192.168.146.0/24):&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 1em; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# iptables -t nat -A POSTROUTING -s 192.168.146.0/24 -j MASQUERADE&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Полезные ключи netstat&lt;/strong&gt;&lt;/div&gt;&lt;ul style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 2em; margin-left: 1.7em; margin-right: 1.5em; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;r – показывает таблицу маршрутизации&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;n – выводит статистику по ip-адресу, не пытается определить имя хоста. Это работает несколько быстрее и обычно, вывод команды удобнее читать&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;a – показывает состояние всех сокетов на сервере. Сокет – это конечная точка сетевых коммуникаций. Каждый сокет имеет тип и ассоциированный с ним процесс.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;t – протокол tcp&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;u – протокол udp&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;i – отображает таблицу сетевых интерфейсов&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;l – отображает сокеты в режиме LISTEN, то есть ожидающие соединения&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;p – показать PID (process ID) и имя программы с которой взаимодействует сокет&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;netstat на практике&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Параметров выше вполне достаточно, чтобы многое узнать из жизни сетевых служб.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Слушает ли кто нибудь 25-й порт ?&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# netstat -nlp | grep :25&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;tcp     0    0 127.0.0.1:25          0.0.0.0:*             LISTEN    2710/sendmail:&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Видим что 25-й порт слушает процесс sendmail с PID 2710&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;# ps ux | grep 2710&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #666666; font-size: 14px; font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;root 2710 0.0 0.7 8992 1836 ? Ss 11:17 0:00 sendmail: accepting connections&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Посмотрим текущие ESTABLISHED-соединения по tcp, то есть с кем у нас есть подключение и по какому порту&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# netstat -nt&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Active Internet connections (w/o servers)&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Proto Recv-Q Send-Q Local Address                 Foreign Address        State&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;tcp     0    0 ::ffff :192.168.146.130:22    ::ffff :192.168.146.1:2642 ESTABLISHED&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;tcp     0 132 ::ffff :192.168.146.130:22 ::ffff :192.168.146.1:2027 ESTABLISHED&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Как видим это только соединения по ssh&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Также, будет полезно знать какие состояния бывают у сокетов:&lt;/div&gt;&lt;ul style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 2em; margin-left: 1.7em; margin-right: 1.5em; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;ESTABLISHED – сокет с установленным соединением;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;SYN_SENT – сокет в процессе установки соединения;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;SYN_RECV – был принят запрос установки соединения из сети;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;FIN_WAIT1 – сокет закрыт и соединение закрывается;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;FIN_WAIT2 – сокет закрыт и сокет ждет закрытия соединения с удаленного хоста;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;TIME_WAIT – сокет после своего закрытия, еще какое-то время принимает пакеты из сети;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;CLOSED – сокет не используется;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;CLOSE_WAIT – удаленный хост отключился, ожидаем закрытия сокета;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;LAST_ACK – удаленный хост отключился и сокет закрыт. Ожиданиепотдверждения;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;LISTEN – сокет ожидает входящие подключения;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;CLOSING – оба сокета отключились но еще не все наши данные отосланы;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;UNKNOWN – статус сокета неизвестен.&lt;/li&gt;
&lt;/ul&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Мы научились настраивать один и более сетевых интерфейсов. Разобрались с маршрутизацией. Узнали какие файлы и как влияют на работу сети в Linux CentOS 5. Сейчас мы познакомимся с двумя программами которые играют существенную роль в работе сети. Это программа nmap – которая сканирует порты удаленного хоста и сообщается какие порты на нем открыты. И программа tcpdump, она переводит вашу сетевую плату в режим promiscuous, что позволяет перехватывать весь трафик проходящий через карту.&lt;/div&gt;&lt;h3 style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #be261e; font-family: Geneva, Helvetica, Verdana, Arial, sans-serif; font-size: 1.6em; line-height: 1.2em; margin-bottom: 0cm; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;NMAP&lt;/h3&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Nmap позволяет сканировать удаленные компьютеры на предмет открытых портов. С более агрессивными опциями можно узнать версию ОС и некоторые другие вещи.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Устанавливаем программу&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# yum -y install nmap&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Просканируем удаленный хост. Как видим есть кое что интересное.&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# nmap -A -T5 192.168.146.132&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2009-02-18 19:36 MSK&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Interesting ports on unixbox (192.168.146.132):&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Not shown: 1677 closed ports&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;PORT STATE SERVICE VERSION&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;22/tcp open ssh      OpenSSH 4.3 (protocol 2.0)&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;111/tcp open rpcbind 2 (rpc #100000)&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;935/tcp open status 1 (rpc #100024)&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;MAC Address: 00:0C:29:25:04:55 (VMware)&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Device type: general purpose&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Running: Linux 2.4.X|2.5.X|2.6.X&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;OS details: Linux 2.4.7 - 2.6.11&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Uptime 0.195 days (since Wed Feb 18 14:55:10 2009)&lt;/pre&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;Nmap finished: 1 IP address (1 host up) scanned in 14.239 seconds&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;У nmap много различных опций, подробнее о них можно прочитать в man nmap&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;/div&gt;&lt;h3 style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #be261e; font-family: Geneva, Helvetica, Verdana, Arial, sans-serif; font-size: 1.6em; line-height: 1.2em; margin-bottom: 0cm; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;tcpdump&lt;/h3&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Иногда в целях выявления неисправностей нам нужно выяснить, какие пакеты передаются по сети. Это не сложно сделать с помощью tcpdump.&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Слушаем весь трафик для MAC-адреса 00:a0:80:00:2f:fe на интерфейсе eth1&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# tcpdump -n -i eth1 «ether host 00:a0:80:00:2f:fe»&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Слушаем трафик для определенного ip-адреса и порта&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# tcpdump -nn host 192.168.146.130 and port 22&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Сканируем диапазон портов&lt;/div&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f1f1f1; background-image: initial; background-origin: initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; color: black; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 1em; margin-bottom: 0cm; margin-top: 1em; outline-color: initial; outline-style: initial; outline-width: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; vertical-align: baseline;&quot;&gt;# nmap -sT -p 13722-13783 linuxbox&lt;/pre&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; line-height: 1.5em; margin-bottom: 0cm; margin-top: 0.5em; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;Надеюсь, что данной информации будет достаточно. Если возникли какие-то вопросы, то пишите их в комментарии.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/1877519721552304433/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/linux-centos-5.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/1877519721552304433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/1877519721552304433'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/linux-centos-5.html' title='Сеть в Linux на примере CentOS 5'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-8860785300957089181</id><published>2011-09-27T22:46:00.002+02:00</published><updated>2011-09-27T22:46:55.639+02:00</updated><title type='text'>UBUNTU 10.04 LTS Server + Asterisk+FreePBX+GSM HUAWAY E1550</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: Helvetica, Arial, serif; font-size: 13px; line-height: 19px;&quot;&gt;&lt;br /&gt;
**UBUNTU 10.04 LTS Server + Asterisk+FreePBX+GSM HUAWAY E1550**&lt;br /&gt;
===== 1. Установка операционной системы =====&lt;br /&gt;
&lt;br /&gt;
Выполняется типовая установка ОС Ubuntu 10.04 LTS Server со следующими предустановленными компонентами:&lt;br /&gt;
&lt;br /&gt;
LAMP Server&lt;br /&gt;
OpenSSH Server&lt;br /&gt;
Samba file Server&lt;br /&gt;
&lt;br /&gt;
Локализация: русская&lt;br /&gt;
Везде пароли: YourPass&lt;br /&gt;
&lt;br /&gt;
После установки необходимо активировать учетку root, так-как вся настройка выполянется с полными правами.&lt;br /&gt;
sudo passwd root&lt;br /&gt;
===== 2. Загрузка компонентов из сети =====&lt;br /&gt;
&lt;br /&gt;
Качаем и ставим компоненты из репозитория ~44,4 Мб +~12 Мб апдейтов&lt;br /&gt;
apt-get update&lt;br /&gt;
apt-get install php5-mysql libapache2-mod-php5 mysql-server libmysqlclient15-dev php-db php5-gd php-pear sox curl g++ libncurses-dev libxml2-dev subversion libspandsp-dev&lt;br /&gt;
&lt;br /&gt;
Установка драйверов DAHDI (можно не выполнять, если не нужны конференции и нет соответствующего оборудования).&lt;br /&gt;
apt-get install dahdi&lt;br /&gt;
/etc/init.d/dahdi start&lt;br /&gt;
cd /tmp&lt;br /&gt;
wget&amp;nbsp;&lt;a href=&quot;http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.4.0+2.4.0.tar.gz&quot; rel=&quot;nofollow&quot; style=&quot;border-bottom-color: rgb(178, 178, 178); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #a92242; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;http://downloads.asterisk.org/pub/telep&lt;wbr style=&quot;cursor: pointer;&quot;&gt;&lt;/wbr&gt;hony/dahdi-linux-complete/releases/dahdi-l&lt;wbr style=&quot;cursor: pointer;&quot;&gt;&lt;/wbr&gt;inux-complete-2.4.0+2.4.0.tar.gz&lt;/a&gt;&lt;br /&gt;
cd /usr/src&lt;br /&gt;
tar -zxvf /tmp/dahdi-linux-complete-2.4.0+2.4.0.ta&lt;wbr&gt;&lt;/wbr&gt;r.gz&lt;br /&gt;
cd dahdi-linux-complete-2.4.0+2.4.0/&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
make config&lt;br /&gt;
&lt;br /&gt;
Качаем исходники Asterisk и FreePBX от производителей. Ориентировочный объём: 24Мб+0.9Мб+6.2Мб&lt;br /&gt;
&lt;br /&gt;
cd /tmp&lt;br /&gt;
wget&amp;nbsp;&lt;a href=&quot;http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.2.13.tar.gz&quot; rel=&quot;nofollow&quot; style=&quot;border-bottom-color: rgb(178, 178, 178); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #a92242; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;http://downloads.asterisk.org/pub/telep&lt;wbr style=&quot;cursor: pointer;&quot;&gt;&lt;/wbr&gt;hony/asterisk/releases/asterisk-1.6.2.13.t&lt;wbr style=&quot;cursor: pointer;&quot;&gt;&lt;/wbr&gt;ar.gz&lt;/a&gt;&lt;br /&gt;
wget&amp;nbsp;&lt;a href=&quot;http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-addons-1.6.2.2.tar.gz&quot; rel=&quot;nofollow&quot; style=&quot;border-bottom-color: rgb(178, 178, 178); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #a92242; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;http://downloads.asterisk.org/pub/telep&lt;wbr style=&quot;cursor: pointer;&quot;&gt;&lt;/wbr&gt;hony/asterisk/asterisk-addons-1.6.2.2.ta&lt;wbr style=&quot;cursor: pointer;&quot;&gt;&lt;/wbr&gt;r.gz&lt;/a&gt;&lt;br /&gt;
wget&amp;nbsp;&lt;a href=&quot;http://mirror.freepbx.org/freepbx-2.8.0.tar.gz&quot; rel=&quot;nofollow&quot; style=&quot;border-bottom-color: rgb(178, 178, 178); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #a92242; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;http://mirror.freepbx.org/freepbx-2.8.0.t&lt;wbr style=&quot;cursor: pointer;&quot;&gt;&lt;/wbr&gt;ar.gz&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Распаковываем запакованные исходнички:&lt;br /&gt;
&lt;br /&gt;
cd /usr/src&lt;br /&gt;
tar xvfz /tmp/asterisk-1.6.2.13.tar.gz&lt;br /&gt;
tar xvfz /tmp/asterisk-addons-1.6.2.2.tar.gz&lt;br /&gt;
tar xvfz /tmp/freepbx-2.8.0.tar.gz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== 3. Устанавливаем Астериск =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/asterisk-1.6.2.13&lt;br /&gt;
./configure&lt;br /&gt;
Во время установки программа автоматически скачиваются звуковые файы. Необходимо убедиться, что выход в интернет работает.&lt;br /&gt;
make install&lt;br /&gt;
make config&lt;br /&gt;
make samples&lt;br /&gt;
&lt;br /&gt;
===== 4. Ставим дополнения к Астериску =====&lt;br /&gt;
Дополнения требуются для включения возможности записи информации о звонках (cdr) в mysql в формате, требуемом для корректной работы FreePBX&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/asterisk-addons-1.6.2.2&lt;br /&gt;
perl -p -i.bak -e &#39;s/CFLAGS.*D_GNU_SOURCE/CFLAGS+=-D_GNU_S&lt;wbr&gt;&lt;/wbr&gt;OURCE\nCFLAGS+=-DMYSQL_LOGUNIQUEID/&#39; Makefile&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== 5. Конфигурируем Апач =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Добавляем юзера и даем ему права&lt;br /&gt;
&lt;br /&gt;
adduser asterisk --disabled-password --gecos &quot;Asterisk PBX&quot;&lt;br /&gt;
adduser www-data asterisk&lt;br /&gt;
&lt;br /&gt;
Заставляем апач стартовать от имени юзера астериск&lt;br /&gt;
nano /etc/apache2/envvars&lt;br /&gt;
&lt;br /&gt;
закомментируем следующие строки&lt;br /&gt;
#export APACHE_RUN_USER=www-data&lt;br /&gt;
#export APACHE_RUN_GROUP=www-data&lt;br /&gt;
&lt;br /&gt;
и добавляем данные строки&lt;br /&gt;
export APACHE_RUN_USER=asterisk&lt;br /&gt;
export APACHE_RUN_GROUP=asterisk&lt;br /&gt;
&lt;br /&gt;
записываем изменения Ctrl+O и выходим из редактора nano Ctrl+X&lt;br /&gt;
&lt;br /&gt;
Применяем параметры апачу&lt;br /&gt;
&lt;br /&gt;
apache2ctl graceful&lt;br /&gt;
&lt;br /&gt;
===== 6. Ставим FREEPBX =====&lt;br /&gt;
&lt;br /&gt;
==== Подготовка баз MYSQL для FREEPBX ====&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/freepbx-2.8.0&lt;br /&gt;
mysqladmin create asterisk -pYourPass&lt;br /&gt;
mysqladmin create asteriskcdrdb -pYourPass&lt;br /&gt;
mysql asterisk &amp;lt; SQL/newinstall.sql -pYourPass&lt;br /&gt;
mysql asteriskcdrdb &amp;lt; SQL/cdr_mysql_table.sql -pYourPass&lt;br /&gt;
mysql -pYourPass&lt;br /&gt;
GRANT ALL PRIVILEGES ON asterisk.* TO asteriskuser@localhost IDENTIFIED BY &#39;YourPass&#39;;&lt;br /&gt;
GRANT ALL PRIVILEGES ON asteriskcdrdb.* TO asteriskuser@localhost IDENTIFIED BY &#39;YourPass&#39;;&lt;br /&gt;
flush privileges;&lt;br /&gt;
quit;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Установка FREEPBX ====&lt;br /&gt;
&lt;br /&gt;
Запускаем Астериск перед установкой Freepbx&lt;br /&gt;
&lt;br /&gt;
/etc/init.d/asterisk start&lt;br /&gt;
&lt;br /&gt;
Запускаем установку:&lt;br /&gt;
./install_amp&lt;br /&gt;
&lt;br /&gt;
ВАЖНО остальные параметры __кроме указанных__, менять НЕЛЬЗЯ!!! Параметры которые надо поменять в мастере установки:&lt;br /&gt;
&lt;br /&gt;
Enter your PASSWORD to connect to the &#39;asterisk&#39; database:&lt;br /&gt;
[amp109] YourPass&lt;br /&gt;
&lt;br /&gt;
Enter a PASSWORD to connect to the Asterisk Manager interface:&lt;br /&gt;
[amp111] YourPass&lt;br /&gt;
&lt;br /&gt;
Enter the path to use for your AMP web root:&lt;br /&gt;
[/var/www/html]&lt;br /&gt;
/var/www/freepbx&lt;br /&gt;
&lt;br /&gt;
Enter a PASSWORD to perform call transfers with the Flash Operator Panel:&lt;br /&gt;
[passw0rd] YourPass&lt;br /&gt;
&lt;br /&gt;
в случае, если в конце установки, вы получите данное сообщение (которое стало появляться при установке с версии freepbx-2.8.0)&lt;br /&gt;
PHP Fatal error: Cannot redeclare __parse_DialRulesFile() (previously declared in /usr/src/freepbx-2.8.0/upgrades/2.6.0bet&lt;wbr&gt;&lt;/wbr&gt;a1/tables.php:87) in /usr/src/freepbx-2.8.0/upgrades/2.8.0alp&lt;wbr&gt;&lt;/wbr&gt;ha2/tables.php on line 239&lt;br /&gt;
необходимо повторно выполнить установку:&lt;br /&gt;
./install_amp&lt;br /&gt;
&lt;br /&gt;
==== Корректировка параметров FreePBX после установки для его правильной работы ====&lt;br /&gt;
&lt;br /&gt;
nano /etc/amportal.conf&lt;br /&gt;
Коментируем параметр, для работы FOP (флеш панель):&lt;br /&gt;
#AMPWEBADDRESS=xx.xx.xx.xx&lt;br /&gt;
Исправляем параметр для включения авторизации доступа к web-админке и хранения учеток в базе данных (по умолчанию adminadmin):&lt;br /&gt;
AUTHTYPE=database&lt;br /&gt;
Исправляем пароль авторизации доступа к web-админке по управлению записями разговоров.&lt;br /&gt;
ARI_ADMIN_PASSWORD=YourPass&lt;br /&gt;
записываем изменения Ctrl+O и выходим из редактора nano Ctrl+X&lt;br /&gt;
&lt;br /&gt;
Исправление, для включения русского языка в web-интерфейсе FreePBX&lt;br /&gt;
&lt;br /&gt;
nano /usr/share/locale/locale.alias&lt;br /&gt;
Удаляем строку с кодировкой для russian и добавляем 3 строки вместо нее:&lt;br /&gt;
russian ru&lt;br /&gt;
ru ru_RU&lt;br /&gt;
ru_RU ru_RU.UTF-8&lt;br /&gt;
&lt;br /&gt;
записываем изменения Ctrl+O и выходим из редактора nano Ctrl+X&lt;br /&gt;
&lt;br /&gt;
Делаем автостарт&lt;br /&gt;
nano /etc/rc.local&lt;br /&gt;
дописываем перед строчкой exit 0 следующую строчку&lt;br /&gt;
/usr/local/sbin/amportal start&lt;br /&gt;
&lt;br /&gt;
Перезагружаем сервер для проверки успешного автозапуска.&lt;br /&gt;
reboot&lt;br /&gt;
==== Обновление и получение модулей FreePBX с сервера разработчка ====&lt;br /&gt;
Заходим в web-админку&lt;br /&gt;
&lt;a href=&quot;http://192.168.0.218/freepbx/admin&quot; rel=&quot;nofollow&quot; style=&quot;border-bottom-color: rgb(178, 178, 178); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #a92242; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;http://192.168.0.218/freepbx/admin&lt;/a&gt;&lt;wbr&gt;&lt;/wbr&gt;&amp;nbsp;(admin/admin)&lt;br /&gt;
&lt;br /&gt;
Первым делом применяем параметры конфигурации&lt;br /&gt;
&lt;br /&gt;
&quot;Управление модулями&quot; -&amp;gt; &quot;Проверить обновление on-line&quot; -&amp;gt; &quot;Скачать все&quot; -&amp;gt; &quot;Обновить все&quot; -&amp;gt; &quot;Запустить процесс&quot;&lt;br /&gt;
&lt;br /&gt;
Прокручиваем список обновляемых модулей вниз жмем &quot;Подтвердить&quot;&lt;br /&gt;
&lt;br /&gt;
в процессе выполнения в случае остановки процесса, его необходимо повторить пока все не обновится!&lt;br /&gt;
&lt;br /&gt;
===== 7. Подключение модема HUAWEI e1550 к Asterisk =====&lt;br /&gt;
&lt;br /&gt;
==== Некоторые приготовления перед подключением модема ====&lt;br /&gt;
&lt;br /&gt;
Обновление прошивок:&amp;nbsp;&lt;a href=&quot;http://www.dc-files.com/files/huawei/modems/E1550/&quot; rel=&quot;nofollow&quot; style=&quot;border-bottom-color: rgb(178, 178, 178); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #a92242; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;http://www.dc-files.com/files/huawei/mo&lt;wbr style=&quot;cursor: pointer;&quot;&gt;&lt;/wbr&gt;dems/E1550/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Обязательное условие - отключение встроенных в модем устройств - (кард-ридер и вируальный CD-ROM с ПО для Windows). Для этого необходимо через терминал подключиться к консоли модема и выполнить AT комманду AT^U2DIAG=0. Если этого не сделать, то появится проблема с переподключениями модема по причине некорректного отмонтирования портов устройств.&lt;br /&gt;
&lt;br /&gt;
==== Установка модуля DATACARD ====&lt;br /&gt;
&lt;br /&gt;
Получение текущих исходников из SVN и сборка модуля:&lt;br /&gt;
svn co&amp;nbsp;&lt;a href=&quot;http://www.makhutov.org/svn/chan_datacard/trunk/&quot; rel=&quot;nofollow&quot; style=&quot;border-bottom-color: rgb(178, 178, 178); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #a92242; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;http://www.makhutov.org/svn/chan_dataca&lt;wbr style=&quot;cursor: pointer;&quot;&gt;&lt;/wbr&gt;rd/trunk/&lt;/a&gt;&amp;nbsp;/usr/src/chan_datacard&lt;br /&gt;
&lt;br /&gt;
cd /usr/src/chan_datacard&lt;br /&gt;
./configure&lt;br /&gt;
make install&lt;br /&gt;
cp etc/datacard.conf /etc/asterisk&lt;br /&gt;
&lt;br /&gt;
==== Настройка параметров модуля ====&lt;br /&gt;
&lt;br /&gt;
nano /etc/asterisk/datacard.conf&lt;br /&gt;
в самом низу конфигурационного файла удаляем все данные (Ctrl+k) после последней черты и вставляем данный конфиг&lt;br /&gt;
&lt;br /&gt;
[000101]&lt;br /&gt;
context=from-gsm ; context для входящих звонков&lt;br /&gt;
audio=/dev/ttyUSB1 ; tty порт для аудио подключения&lt;br /&gt;
data=/dev/ttyUSB2 ; tty порт для управляющих AT комманд модема&lt;br /&gt;
group=1 ; Группа вызова&lt;br /&gt;
rxgain=10 ; Изменение громкости динамика&lt;br /&gt;
txgain=-5 ; Изменение громкости микрофона&lt;br /&gt;
resetdatacard=yes ; Перезагрузка модема при перезапуске модуля&lt;br /&gt;
autodeletesms=yes ; Удаление смс с симкарты при перезапуске&lt;br /&gt;
usecallingpres=yes ; use the caller ID presentation or not&lt;br /&gt;
callingpres=allowed_passed_screen ; set caller ID presentation&lt;br /&gt;
&lt;br /&gt;
записываем изменения Ctrl+O и выходим из редактора nano Ctrl+X&lt;br /&gt;
&lt;br /&gt;
Создаем специальный контекст в диалплане:&lt;br /&gt;
nano /etc/asterisk/extensions_custom.conf&lt;br /&gt;
&lt;br /&gt;
[from-gsm]&lt;br /&gt;
exten =&amp;gt; s,1,Set(CALLERID(all)=${CALLERID(num)})&lt;br /&gt;
exten =&amp;gt; s,n,Set(CALLERID(num)=8${CALLERID(num):2}&lt;wbr&gt;&lt;/wbr&gt;)&lt;br /&gt;
exten =&amp;gt; s,n,goto(from-trunk,${IMEI},1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Перезапускаем Asterisk&lt;br /&gt;
service asterisk restart&lt;br /&gt;
&lt;br /&gt;
==== Методы контроля и управления модемом ====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Проверка состояния модема&lt;br /&gt;
asterisk -r&lt;br /&gt;
datacard show devices&lt;br /&gt;
&lt;br /&gt;
Отключаем и включаем питание конкретному модему:&lt;br /&gt;
&lt;br /&gt;
Определяем порт:&lt;br /&gt;
dmesg usb | grep ttyUSB&lt;br /&gt;
смотрим последнюю строку:&lt;br /&gt;
[ 5191.602917] usb 1-3.5: GSM modem (1-port) converter now attached to ttyUSB3&lt;br /&gt;
Отключаем и включаем питание устройсту usb 1-3.5&lt;br /&gt;
echo suspend &amp;gt; /sys/bus/usb/devices/1-3.5/power/level&lt;br /&gt;
echo on &amp;gt; /sys/bus/usb/devices/1-3.5/power/level&lt;br /&gt;
&lt;br /&gt;
Послылаем модему команду перезагрузки&lt;br /&gt;
datacard cmd 000101 AT+CFUN=1,1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Настройка FreePBX для работы с модемами ====&lt;br /&gt;
&lt;br /&gt;
* Создаем специальный транк&lt;br /&gt;
&lt;br /&gt;
Конфигурация =&amp;gt; Транки =&amp;gt; Добавить специальный транк =&amp;gt; Исходящие настройки Специальный набор =&amp;gt; datacard/i:123456789012345/$OUTNUM$&lt;br /&gt;
где 123456789012345 (IMEI модема)&lt;br /&gt;
* Создаем исходящий маршрут&lt;br /&gt;
&lt;br /&gt;
Конфигурация =&amp;gt; Исходящая маршрутизация =&amp;gt; math patern =&amp;gt; . (ставим точку в это поле), а в Trunk Sequence for Matched Routes выбираем наш транк.&lt;br /&gt;
{{:match_pattern.png?500|}}&lt;br /&gt;
* Делаем входящий маршрут&lt;br /&gt;
Конфигурация =&amp;gt; Входящая маршрутизация =&amp;gt; Добавить входящий маршрут =&amp;gt; Номер DID =&amp;gt; 123456789012345 (IMEI модема), а в &quot;Установить направление&quot; выбрать получателя звонков, поступающих на модем.&lt;br /&gt;
&lt;br /&gt;
===== 9. Руссификация озвучки =====&lt;br /&gt;
&lt;br /&gt;
Скачиваем файлы в формате wav ~20 Mb&lt;br /&gt;
cd /tmp&lt;br /&gt;
wget&amp;nbsp;&lt;a href=&quot;http://195.242.215.60/ivr/asterisk-sounds-ru-wav.tar.gz&quot; rel=&quot;nofollow&quot; style=&quot;border-bottom-color: rgb(178, 178, 178); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #a92242; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;http://195.242.215.60/ivr/asterisk-soun&lt;wbr style=&quot;cursor: pointer;&quot;&gt;&lt;/wbr&gt;ds-ru-wav.tar.gz&lt;/a&gt;&lt;br /&gt;
cd /var/lib/asterisk/sounds&lt;br /&gt;
tar xvfz /tmp/asterisk-sounds-ru-wav.tar.gz&lt;br /&gt;
&lt;br /&gt;
Включаем русскоязычную озвучку для протоколов, например для SIP, через WEB-интерфейс&lt;br /&gt;
&lt;br /&gt;
Инструменты =&amp;gt; Asterisk SIP Settings =&amp;gt; language =&amp;gt; ru&lt;br /&gt;
&lt;br /&gt;
Поставить галочки:&lt;br /&gt;
&lt;br /&gt;
NAT =&amp;gt; no&lt;br /&gt;
&lt;br /&gt;
IP Configuration =&amp;gt; Public IP&lt;br /&gt;
&lt;br /&gt;
===== 10. Взаимодействие со сторонним внешним ПО =====&lt;br /&gt;
&lt;br /&gt;
==== Доступ к mysql ====&lt;br /&gt;
&lt;br /&gt;
nano /etc/mysql/my.cnf&lt;br /&gt;
Комментируем строку:&lt;br /&gt;
# bind-address = 127.0.0.1&lt;br /&gt;
&lt;br /&gt;
записываем изменения Ctrl+O и выходим из редактора nano Ctrl+X&lt;br /&gt;
&lt;br /&gt;
Для предоставления удаленного доступа к MySQL, в командной строке копируем и выполняем следующие команды:&lt;br /&gt;
&lt;br /&gt;
mysql --user=root mysql --pass=YourPass&lt;br /&gt;
GRANT ALL PRIVILEGES ON *.* TO monty@localhost&lt;br /&gt;
IDENTIFIED BY &#39;some_pass&#39; WITH GRANT OPTION;&lt;br /&gt;
GRANT ALL PRIVILEGES ON *.* TO monty@&quot;%&quot;&lt;br /&gt;
IDENTIFIED BY &#39;some_pass&#39; WITH GRANT OPTION;&lt;br /&gt;
quit;&lt;br /&gt;
&lt;br /&gt;
Перезапускаем MYSQL&lt;br /&gt;
/etc/init.d/mysql restart&lt;br /&gt;
&lt;br /&gt;
==== Доступ к AMI ====&lt;br /&gt;
&lt;br /&gt;
Редактируем файл:&lt;br /&gt;
nano /etc/asterisk/manager.conf&lt;br /&gt;
&lt;br /&gt;
Дописываем в секцию&lt;br /&gt;
[general]&lt;br /&gt;
webenabled = yes&lt;br /&gt;
&lt;br /&gt;
[admin]&lt;br /&gt;
enabled = yes&lt;br /&gt;
secret = YourPass&lt;br /&gt;
permit=0.0.0.0/0.0.0.0&lt;br /&gt;
read = all,system,call,log,verbose,command,agen&lt;wbr&gt;&lt;/wbr&gt;t,user,config,dtmf,reporting,cdr,dialpla&lt;wbr&gt;&lt;/wbr&gt;n,originate&lt;br /&gt;
write = all,system,call,log,verbose,command,agen&lt;wbr&gt;&lt;/wbr&gt;t,user,config,dtmf,reporting,cdr,dialpla&lt;wbr&gt;&lt;/wbr&gt;n,originate&lt;br /&gt;
&lt;br /&gt;
соответственно удаляем строки&lt;br /&gt;
deny=0.0.0.0/0.0.0.0&lt;br /&gt;
&lt;br /&gt;
записываем изменения Ctrl+O и выходим из редактора nano Ctrl+X&lt;br /&gt;
&lt;br /&gt;
Делаем подключение к AMI через HTTP&lt;br /&gt;
&lt;br /&gt;
Редактируем файл&lt;br /&gt;
nano /etc/asterisk/http.conf&lt;br /&gt;
Раскоменчиваем:&lt;br /&gt;
&lt;br /&gt;
enabled=yes&lt;br /&gt;
enablestatic=yes&lt;br /&gt;
bindaddr=0.0.0.0/0&lt;br /&gt;
bindport=8088&lt;br /&gt;
prefix=asterisk&lt;br /&gt;
&lt;br /&gt;
записываем изменения Ctrl+O и выходим из редактора nano Ctrl+X&lt;br /&gt;
&lt;br /&gt;
перезапускаем Asterisk&lt;br /&gt;
service asterisk restart&lt;br /&gt;
&lt;br /&gt;
Логинимся:&lt;br /&gt;
&lt;a href=&quot;http://192.168.0.218:8088/asterisk/manager?action=login&amp;amp;username=admin&amp;amp;secret=YourPass&quot; rel=&quot;nofollow&quot; style=&quot;border-bottom-color: rgb(178, 178, 178); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #a92242; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;http://192.168.0.218:8088/asterisk/mana&lt;wbr style=&quot;cursor: pointer;&quot;&gt;&lt;/wbr&gt;ger?action=login&amp;amp;username=admin&amp;amp;secret=YourPass&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Получаем информацию о текущих звонках (нужно производить запросы постоянно, при простое происходит отлогивание)&lt;br /&gt;
&lt;a href=&quot;http://192.168.0.218:8088/asterisk/manager?action=Status&quot; rel=&quot;nofollow&quot; style=&quot;border-bottom-color: rgb(178, 178, 178); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #a92242; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;http://192.168.0.218:8088/asterisk/mana&lt;wbr style=&quot;cursor: pointer;&quot;&gt;&lt;/wbr&gt;ger?action=Status&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
==== Доступ к записям (через Самбу) ====&lt;br /&gt;
&lt;br /&gt;
редактируем&lt;br /&gt;
nano /etc/samba/smb.conf&lt;br /&gt;
&lt;br /&gt;
Все коментим или удаляем и оставляем только это:&lt;br /&gt;
[global]&lt;br /&gt;
workgroup = WORKGROUP&lt;br /&gt;
netbios name = ugw&lt;br /&gt;
hosts allow = 0.0.0.0/0&lt;br /&gt;
security = share&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[records]&lt;br /&gt;
browseable = yes&lt;br /&gt;
writable = yes&lt;br /&gt;
guest ok = yes&lt;br /&gt;
path = /var/spool/asterisk/monitor/&lt;br /&gt;
&lt;br /&gt;
записываем изменения Ctrl+O и выходим из редактора nano Ctrl+X&lt;br /&gt;
&lt;br /&gt;
Перегружаем самбу&lt;br /&gt;
/etc/init.d/smbd restart&lt;br /&gt;
&lt;br /&gt;
==== Прямой доступ к файлам через Апач ====&lt;br /&gt;
&lt;br /&gt;
Добавляем симлинк&lt;br /&gt;
ln -s /var/spool/asterisk/monitor/ /var/www&lt;br /&gt;
&lt;br /&gt;
Доступ через&amp;nbsp;&lt;a href=&quot;http://192.168.0.218/monitor/&quot; rel=&quot;nofollow&quot; style=&quot;border-bottom-color: rgb(178, 178, 178); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #a92242; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;http://192.168.0.218/monitor/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== 11. Основные настройки FreePBX =====&lt;br /&gt;
&lt;br /&gt;
заходим во FreePBX&lt;br /&gt;
&lt;a href=&quot;http://ip_adress_servera/freepbx&quot; rel=&quot;nofollow&quot; style=&quot;border-bottom-color: rgb(178, 178, 178); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #a92242; font-size: 13px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;http://ip_adress_servera/freepbx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
выбираем пункт&lt;br /&gt;
FreePBX Administration&lt;br /&gt;
&lt;br /&gt;
при первом входе следует применить настройки&lt;br /&gt;
&lt;br /&gt;
выбираем русский язык&lt;br /&gt;
применяем настройки&lt;br /&gt;
&lt;br /&gt;
слева в панели &quot;ОСНОВНОЙ&quot; выбираем пункт &quot;Внутренние номера&quot;&lt;br /&gt;
выбираем &quot;Какое-то SIP устройство&quot; жмем &quot;Сохранить&quot;&lt;br /&gt;
&lt;br /&gt;
Далее выбираем и заполняем следующие поля:&lt;br /&gt;
&lt;br /&gt;
&quot;Внутренний номер пользователя&quot; указываем номер телефона&lt;br /&gt;
&lt;br /&gt;
&quot;Отображаемое имя&quot; указываем отображаемое имя абонента&lt;br /&gt;
&lt;br /&gt;
&quot;Secret&quot; указываем пароль&lt;br /&gt;
&lt;br /&gt;
&quot;Запись входящих&quot; выбираем всегда&lt;br /&gt;
&lt;br /&gt;
&quot;Запись исходящих&quot; выбираем всегда&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/8860785300957089181/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/ubuntu-1004-lts-server.html#comment-form' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/8860785300957089181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/8860785300957089181'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/ubuntu-1004-lts-server.html' title='UBUNTU 10.04 LTS Server + Asterisk+FreePBX+GSM HUAWAY E1550'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-843228952515447648</id><published>2011-09-26T12:13:00.002+02:00</published><updated>2011-09-26T12:13:15.133+02:00</updated><title type='text'>Upgrading FreePBX</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Lucida Sans Unicode&#39;, Helvetica, Verdana, Arial, Tahoma, sans-serif; font-size: 12px; line-height: 17px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;overflow-x: auto; overflow-y: auto;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Note: You may need to install subversion for your linux distribution if you have any errors. Do this by typing yum -y install subversion at the root prompt.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Upgrading to the latest Released Version: 2.9.0&lt;/span&gt;&lt;br /&gt;
You will want to pull the release tarball, and follow the instructions below. Once you have installed it you will want to navigate to&amp;nbsp;&lt;span style=&quot;font-weight: bold;&quot;&gt;Module Admin&lt;/span&gt;&amp;nbsp;menu item and update all modules as well as install other available modules not included in the release tarball.&lt;/div&gt;&lt;pre class=&quot;bb-code-block&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 0.1em; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 0.1em; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 0.1em; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 0.1em; margin-bottom: 1.3em; overflow-x: auto; overflow-y: auto;&quot;&gt;cd /usr/src/
wget &lt;a href=&quot;http://mirror.freepbx.org/freepbx-2.9.0.tar.gz&quot; style=&quot;color: #6ba400; text-decoration: none;&quot;&gt;http://mirror.freepbx.org/freepbx-2.9.0.tar.gz&lt;/a&gt;
tar zxvf freepbx-2.9.0.tar.gz
cd freepbx-2.9.0
./start_asterisk start # for upgrades use: amportal start 
./install_amp
&lt;/pre&gt;&lt;div style=&quot;overflow-x: auto; overflow-y: auto;&quot;&gt;On some rare cases you may experience an issue with the SQL database not being correctly updated. If that appears to be the case, you can safely add the --force-version option. For example, if you were upgrading from version 2.6.0 you might type:&lt;/div&gt;&lt;pre class=&quot;bb-code-block&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 0.1em; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 0.1em; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 0.1em; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 0.1em; margin-bottom: 1.3em; overflow-x: auto; overflow-y: auto;&quot;&gt;cd /usr/src/freepbx-2.9.0
./install_amp --force-version=2.6.0
&lt;/pre&gt;&lt;div style=&quot;overflow-x: auto; overflow-y: auto;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;(Replace 2.6.0 with the version you are upgrading from, or an earlier version which is also safe)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;overflow-x: auto; overflow-y: auto;&quot;&gt;You can also pull directly from SVN for beta/RC testing by following the instructions below but using the 2.9 branch instead of the 2.8 branch.&lt;/div&gt;&lt;div style=&quot;overflow-x: auto; overflow-y: auto;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Upgrading to the 2.10 Beta/RC&lt;/span&gt;&lt;br /&gt;
You will want to pull the release tarball, and follow the instructions below. Once you have installed it you will want to navigate to&amp;nbsp;&lt;span style=&quot;font-weight: bold;&quot;&gt;Module Admin&lt;/span&gt;&amp;nbsp;menu item and update all modules as well as install other available modules not included in the release tarball.&lt;/div&gt;&lt;pre class=&quot;bb-code-block&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 0.1em; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 0.1em; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 0.1em; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 0.1em; margin-bottom: 1.3em; overflow-x: auto; overflow-y: auto;&quot;&gt;cd /usr/src/
wget &lt;a href=&quot;http://mirror.freepbx.org/freepbx-2.10.0beta1.tar.gz&quot; style=&quot;color: #6ba400; text-decoration: none;&quot;&gt;http://mirror.freepbx.org/freepbx-2.10.0beta1.tar.gz&lt;/a&gt;
tar zxvf freepbx-2.10.0beta1.tar.gz
cd freepbx-2.10.0beta1
./start_asterisk start # for upgrades use: amportal start 
./install_amp
&lt;/pre&gt;&lt;div style=&quot;overflow-x: auto; overflow-y: auto;&quot;&gt;On some rare cases you may experience an issue with the SQL database not being correctly updated. If that appears to be the case, you can safely add the --force-version option. For example, if you were upgrading from version 2.6.0 you might type:&lt;/div&gt;&lt;pre class=&quot;bb-code-block&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 0.1em; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 0.1em; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 0.1em; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 0.1em; margin-bottom: 1.3em; overflow-x: auto; overflow-y: auto;&quot;&gt;cd /usr/src/freepbx-2.10.0beta1
./install_amp --force-version=2.9.0
&lt;/pre&gt;&lt;div style=&quot;overflow-x: auto; overflow-y: auto;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;(Replace 2.9.0 with the version you are upgrading from, or an earlier version which is also safe)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;overflow-x: auto; overflow-y: auto;&quot;&gt;You can also pull directly from SVN for beta/RC testing by following the instructions below but using the 2.10 branch.&lt;/div&gt;&lt;div style=&quot;overflow-x: auto; overflow-y: auto;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Upgrading to the latest stable 2.9 branch from SVN&lt;/span&gt;&lt;br /&gt;
If you prefer to pull directly from the SVN repository you can follow these instructions below. Once you have installed FreePBX it is important to navigate to&amp;nbsp;&lt;span style=&quot;font-weight: bold;&quot;&gt;Module Admin&lt;/span&gt;&amp;nbsp;in FreePBX and upgrade your modules. Installing FreePBX in this way (vs. using the release tarball) is not recommended for initial installs unless you are very familiar with the project. Without loading critical modules like core, framework, voicemail and some others your system will not be able to do anything for you or will function improperly.&lt;/div&gt;&lt;pre class=&quot;bb-code-block&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 0.1em; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 0.1em; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 0.1em; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 0.1em; margin-bottom: 1.3em; overflow-x: auto; overflow-y: auto;&quot;&gt;cd /usr/src/
svn co &lt;a href=&quot;http://svn.freepbx.org/freepbx/branches/2.9&quot; style=&quot;color: #6ba400; text-decoration: none;&quot;&gt;http://svn.freepbx.org/freepbx/branches/2.9&lt;/a&gt; freepbx-2.9
&lt;/pre&gt;&lt;div style=&quot;overflow-x: auto; overflow-y: auto;&quot;&gt;Installation instructions are the same as above after exploding the tarball&lt;/div&gt;&lt;div style=&quot;overflow-x: auto; overflow-y: auto;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Note:&lt;/span&gt;Need to get the new func_devstate features to take advantage of the optional BLF? You can get a version that works on 1.4 from&amp;nbsp;&lt;a href=&quot;http://svncommunity.digium.com/view/russell/asterisk-1.4/func_devstate-1.4/&quot; style=&quot;color: #6ba400; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;this website&lt;/a&gt;, and then you simply put the file in your apps subdirectory of your asterisk source and re-run make and make install. To use this mode, amportal.conf needs the setting:&lt;/div&gt;&lt;pre class=&quot;bb-code-block&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 0.1em; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 0.1em; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 0.1em; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 0.1em; margin-bottom: 1.3em; overflow-x: auto; overflow-y: auto;&quot;&gt;USEDEVSTATE=true
&lt;/pre&gt;&lt;div style=&quot;overflow-x: auto; overflow-y: auto;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Upgrading to 2.6 From trixbox&lt;/span&gt;&lt;br /&gt;
If you are using a version of trixbox that no longer connects to the FreePBX repository and does not provide you with the 2.6 Upgrade Tool, you can upgrade to 2.6 by following these simple instructions. The process will simply install a special version of the Upgrade Tool and then you will upgrade just the same as the normal GUI upgrade process. Although the tool may indicate you are upgrading to a beta or release candidate program, since 2.6 has gone final, you will actually be upgraded to the current 2.6 released version. The steps are simply:&lt;/div&gt;&lt;ol class=&quot;bb-list&quot; style=&quot;list-style-type: decimal; margin-left: 35px;&quot;&gt;&lt;li&gt;Download the upgrade module to your desktop by pressing this link:&amp;nbsp;&lt;a class=&quot;bb-url&quot; href=&quot;http://mirror.freepbx.org/versionupgrade-2.4.0.1.tgz&quot; style=&quot;color: #6ba400; text-decoration: none;&quot;&gt;Download trixbox Upgrade Tool&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Navigate to Module Admin in FreeBPX, click on the&amp;nbsp;&lt;span style=&quot;font-weight: bold;&quot;&gt;Upload module&lt;/span&gt;&amp;nbsp;link and then browse to the module you downloaded in step 1, choose it, and then press upload.&lt;/li&gt;
&lt;li&gt;Now you simply install the module as if you were downloading it from the Online Repository and then you can follow the instructions provided by the module to upgrade!&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;overflow-x: auto; overflow-y: auto;&quot;&gt;The process is almost identical to pulling the module from our repository and once you do this, you will have access to all the great features and many bug fixes no present elsewhere.&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Upgrading to the trunk branch&lt;/span&gt;&lt;br /&gt;
The trunk is where active development happens. The project tries hard to keep it relatively stable and you will find it is fairly safe to run off of this branch most of the time, although it is actively being developed on so glitches can occur. This differs from release branches where they are limited to the latest bug fixes. You can access the development trunk as described below.&lt;br /&gt;
To run off of trunk and keep up-to-date with every change even before modules get published, there is a set of tools that will help you build an install environment where you do NOT use Module Admin to keep up-to-date. The instructions are:&lt;/div&gt;&lt;pre class=&quot;bb-code-block&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 0.1em; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 0.1em; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 0.1em; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 0.1em; margin-bottom: 1.3em; overflow-x: auto; overflow-y: auto;&quot;&gt;cd /usr/src/
svn co &lt;a href=&quot;http://svn.freepbx.org/freepbx/trunk&quot; style=&quot;color: #6ba400; text-decoration: none;&quot;&gt;http://svn.freepbx.org/freepbx/trunk&lt;/a&gt; freepbx-trunk
cd freepbx-trunk
./setup_svn.php
&lt;/pre&gt;&lt;div style=&quot;overflow-x: auto; overflow-y: auto;&quot;&gt;At this point, you will now have a special SVN environment where all the FreePBX modules are pulled into your install directory. You can then do a normal install:&lt;/div&gt;&lt;pre class=&quot;bb-code-block&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 0.1em; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 0.1em; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 0.1em; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 0.1em; margin-bottom: 1.3em; overflow-x: auto; overflow-y: auto;&quot;&gt;./install_amp --force-version=2.4.1
&lt;/pre&gt;&lt;div style=&quot;overflow-x: auto; overflow-y: auto;&quot;&gt;Note that you will always want to do a force-version in case there are new schema changes introduced since the last time you updated. If you are updating from a release prior to 2.4.1, you should use that release number the first time, but 2.4.1 after that is fine.&lt;br /&gt;
Now, instead of using Module admin with this setup, you can simply follow the following procedure to update yourself to the newest updates that may have been committed:&lt;/div&gt;&lt;pre class=&quot;bb-code-block&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 0.1em; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 0.1em; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 0.1em; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 0.1em; margin-bottom: 1.3em; overflow-x: auto; overflow-y: auto;&quot;&gt;cd /usr/src/freepbx-trunk
svn update
./install_amp --force-version=2.4.1 #&lt;span style=&quot;font-style: italic;&quot;&gt;(*)&lt;/span&gt;
&lt;/pre&gt;&lt;div style=&quot;overflow-x: auto; overflow-y: auto;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;(*) if there were no updates pulled, then there is no need to do an install amp again&lt;/span&gt;&lt;br /&gt;
The install will take longer because it will be going through the process of reinstalling all modules, but it will do such with all new changes even before they are published to the Online Repository.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/843228952515447648/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/upgrading-freepbx.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/843228952515447648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/843228952515447648'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/upgrading-freepbx.html' title='Upgrading FreePBX'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-8887663892651502814</id><published>2011-09-26T12:12:00.000+02:00</published><updated>2011-10-08T22:03:28.266+02:00</updated><title type='text'>Upgrading your system | FreePBX</title><content type='html'>&lt;a href=&quot;http://www.freepbx.org/support/documentation/installation/upgrading-your-system&quot;&gt;Upgrading your system | FreePBX&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;a style=&quot;font-size:13px&quot; href=&quot;https://chrome.google.com/webstore/detail/pengoopmcjnbflcjbmoeodbmoflcgjlk&quot;&gt;&#39;via Blog this&#39;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/8887663892651502814/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/upgrading-your-system-freepbx.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/8887663892651502814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/8887663892651502814'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/upgrading-your-system-freepbx.html' title='Upgrading your system | FreePBX'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-477544238197197636</id><published>2011-09-22T20:33:00.000+02:00</published><updated>2011-09-22T20:33:33.470+02:00</updated><title type='text'>VoIP-GSM шлюз для Asterisk на USB модеме HUAWEI E1550</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: &#39;Lucida Grande&#39;, Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;level1&quot; style=&quot;margin-bottom: 0px; margin-left: 3px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Голосовой модуль по умолчанию активирован только в модемах МТС.&amp;nbsp;&lt;img alt=&quot;:!:&quot; class=&quot;middle&quot; src=&quot;http://asterisk-pbx.ru/wiki/lib/images/smileys/icon_exclaim.gif&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: middle;&quot; /&gt;&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Рекомендованное ядро Linux 2.6.33+&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Asterisk 1.6.+&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;USB 2.0&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Заведомо рабочие прошивки (firmware - не путать с dashboard):&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;МТС 11.608.12.00.143&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;11.608.14.15.311&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Нерабочая firmware:&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Мегафон 11.608.12.10.209 -при активированном голосе из под винды звонит, из под Linux - нет.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Активировать голосовую функцию можно программой&amp;nbsp;&lt;a class=&quot;urlextern&quot; href=&quot;http://www.dc-unlocker.com/downloads&quot; rel=&quot;nofollow&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: url(http://asterisk-pbx.ru/wiki/lib/tpl/newday/images/link_icon.gif); background-origin: initial; background-position: 0px 1px; background-repeat: no-repeat no-repeat; color: #436976; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 16px; padding-right: 0px; padding-top: 1px; text-decoration: underline;&quot; target=&quot;_blank&quot; title=&quot;http://www.dc-unlocker.com/downloads&quot;&gt;DC-UNLOCKER&lt;/a&gt;&amp;nbsp;за 4 кредита - 4 евро.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;a class=&quot;urlextern&quot; href=&quot;http://rutracker.org/forum/viewtopic.php?t=3160701&quot; rel=&quot;nofollow&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: url(http://asterisk-pbx.ru/wiki/lib/tpl/newday/images/link_icon.gif); background-origin: initial; background-position: 0px 1px; background-repeat: no-repeat no-repeat; color: #436976; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1px; padding-left: 16px; padding-right: 0px; padding-top: 1px; text-decoration: underline;&quot; target=&quot;_blank&quot; title=&quot;http://rutracker.org/forum/viewtopic.php?t=3160701&quot;&gt;набор утилит для активации голоса&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: transparent; border-bottom-color: rgb(212, 212, 212); border-bottom-style: dotted; border-bottom-width: 1px; clear: left; color: black; font-family: &#39;Lucida Grande&#39;, Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 19px; margin-bottom: 1em; margin-left: 3px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; id=&quot;установка_asterisk_из_исходников&quot; name=&quot;установка_asterisk_из_исходников&quot; style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;Установка asterisk из исходников&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot; style=&quot;margin-bottom: 0px; margin-left: 6px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;pre class=&quot;code&quot; style=&quot;background-color: #eef3f8; border-bottom-color: rgb(140, 172, 187); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(140, 172, 187); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(140, 172, 187); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(140, 172, 187); border-top-style: dashed; border-top-width: 1px; color: black; font-size: 12px; margin-bottom: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em;&quot;&gt;# wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.6.2-current.tar.gz
# tar zxvf asterisk-1.6.2-current.tar.gz
# cd asterisk-1.6.2-current.tar.gz
# apt-get install g++ libncurses-dev libxml2-dev subversion
# ./configure
# make install
# make config
# make samples
&lt;/pre&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: transparent; border-bottom-color: rgb(212, 212, 212); border-bottom-style: dotted; border-bottom-width: 1px; clear: left; color: black; font-family: &#39;Lucida Grande&#39;, Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 19px; margin-bottom: 1em; margin-left: 3px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; id=&quot;установка_модуля_канала_chan_datacard_для_huawei&quot; name=&quot;установка_модуля_канала_chan_datacard_для_huawei&quot; style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;Установка модуля канала chan_datacard для Huawei&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot; style=&quot;margin-bottom: 0px; margin-left: 6px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Файл&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;datacard.conf&lt;/em&gt;&amp;nbsp;из&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;~/chan_datacard/etc&lt;/em&gt;&amp;nbsp;копируем в каталог&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/etc/asterisk&lt;/em&gt;&lt;/div&gt;
&lt;pre class=&quot;code&quot; style=&quot;background-color: #eef3f8; border-bottom-color: rgb(140, 172, 187); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(140, 172, 187); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(140, 172, 187); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(140, 172, 187); border-top-style: dashed; border-top-width: 1px; color: black; font-size: 12px; margin-bottom: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em;&quot;&gt;# svn co http://www.makhutov.org/svn/chan_datacard/trunk/ chan_datacard
# cd ~/chan_datacard/
# ./configure
# make install
# cp ~/chan_datacard/etc/datacard.conf /etc/asterisk
&lt;/pre&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: transparent; border-bottom-color: rgb(212, 212, 212); border-bottom-style: dotted; border-bottom-width: 1px; clear: left; color: black; font-family: &#39;Lucida Grande&#39;, Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 19px; margin-bottom: 1em; margin-left: 3px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; id=&quot;установите_usb-modeswitch&quot; name=&quot;установите_usb-modeswitch&quot; style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;Установите usb-modeswitch&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot; style=&quot;margin-bottom: 0px; margin-left: 6px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Пакет исходного кода: usb-modeswitch применяется в Unix системах для подключения устройств через USB интерфейс&lt;/div&gt;
&lt;pre class=&quot;code&quot; style=&quot;background-color: #eef3f8; border-bottom-color: rgb(140, 172, 187); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(140, 172, 187); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(140, 172, 187); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(140, 172, 187); border-top-style: dashed; border-top-width: 1px; color: black; font-size: 12px; margin-bottom: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em;&quot;&gt;#apt-get install libusb libusb-dev

# wget http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-1.1.4.tar.bz2
# tar -jxvf  usb-modeswitch-1.1.4.tar.bz2
# cd ~/usb-modeswitch-1.1.4
# make install

# wget http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-20100826.tar.bz2
# tar -jxvf  usb-modeswitch-data-20100826.tar
# cd ~/usb-modeswitch-data-20100826
# make install
&lt;/pre&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: transparent; border-bottom-color: rgb(212, 212, 212); border-bottom-style: dotted; border-bottom-width: 1px; clear: left; color: black; font-family: &#39;Lucida Grande&#39;, Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 19px; margin-bottom: 1em; margin-left: 3px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; id=&quot;убедимся_что_модем_huawei_e1550_определился_в_системе&quot; name=&quot;убедимся_что_модем_huawei_e1550_определился_в_системе&quot; style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;Убедимся что модем Huawei E1550 определился в системе&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot; style=&quot;margin-bottom: 0px; margin-left: 6px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;pre class=&quot;code&quot; style=&quot;background-color: #eef3f8; border-bottom-color: rgb(140, 172, 187); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(140, 172, 187); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(140, 172, 187); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(140, 172, 187); border-top-style: dashed; border-top-width: 1px; color: black; font-size: 12px; margin-bottom: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em;&quot;&gt;ls /dev | grep USB
ttyUSB0
ttyUSB1
ttyUSB2
&lt;/pre&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: transparent; border-bottom-color: rgb(212, 212, 212); border-bottom-style: dotted; border-bottom-width: 1px; clear: left; color: black; font-family: &#39;Lucida Grande&#39;, Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 19px; margin-bottom: 1em; margin-left: 3px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; id=&quot;настройка_модулей&quot; name=&quot;настройка_модулей&quot; style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;Настройка модулей&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot; style=&quot;margin-bottom: 0px; margin-left: 6px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Канальный модуль Huawei настраивается в&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;datacard.conf&lt;/em&gt;.&lt;/div&gt;
&lt;pre class=&quot;code&quot; style=&quot;background-color: #eef3f8; border-bottom-color: rgb(140, 172, 187); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(140, 172, 187); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(140, 172, 187); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(140, 172, 187); border-top-style: dashed; border-top-width: 1px; color: black; font-size: 12px; margin-bottom: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em;&quot;&gt;[datacard0]
audio=/dev/ttyUSB1   ; tty for audio connection
data=/dev/ttyUSB2   ; tty for AT commands

context=datacard-incoming       ; context for incoming calls
group=1                         ; calling group

rxgain=3                        ; increase the incoming volume
txgain=3                        ; increase the outgoint volume



[datacard1]
context=datacard-incoming	; context for incoming calls
audio=/dev/ttyUSB4		; tty port for audio connection
data=/dev/ttyUSB5		; tty port for AT commands
group=2				; calling group
rxgain=3			; increase the incoming volume
txgain=3			; increase the outgoint volume
autodeletesms=yes		; auto delete incoming sms
resetdatacard=yes		; reset datacard during initialization
u2diag=0			; set U2DIAG parameter (0 = disable everything except modem function)
usecallingpres=yes		; use the caller ID presentation or not
callingpres=allowed_passed_screen ; set caller ID presentation


&lt;/pre&gt;
&lt;div style=&quot;margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Проверим состояние модема из командной строки Asterisk (CLI).&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Перегрузить asterisk можно командой&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;core restart now&lt;/em&gt;,&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;а если система рабочая и идут вызовы, то&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;core restart gracefully&lt;/em&gt;.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Запущенные модули каналов просмотрим командой&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;module show like chan_&lt;/em&gt;&lt;/div&gt;
&lt;pre class=&quot;code&quot; style=&quot;background-color: #eef3f8; border-bottom-color: rgb(140, 172, 187); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(140, 172, 187); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(140, 172, 187); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(140, 172, 187); border-top-style: dashed; border-top-width: 1px; color: black; font-size: 12px; margin-bottom: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em;&quot;&gt;asterisk*CLI&amp;gt; datacard show devices
ID           Group State      RSSI Mode Submode Provider Name  Model      Firmware          IMEI             IMSI       Number        
datacard1    2     Free       13   3    3       MTS RUS        E1550      11.608.12.00.143  352......        25....... Unknown       
datacard0    1     Free       15   3    3       TELE2          E1550      11.608.14.15.311  359......        25....... Unknown 
&lt;/pre&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: transparent; border-bottom-color: rgb(212, 212, 212); border-bottom-style: dotted; border-bottom-width: 1px; clear: left; color: black; font-family: &#39;Lucida Grande&#39;, Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 19px; margin-bottom: 1em; margin-left: 3px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; id=&quot;для_входящих_вызовов_sms_и_ussd_запросов_настроим_extensions.conf&quot; name=&quot;для_входящих_вызовов_sms_и_ussd_запросов_настроим_extensions.conf&quot; style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;Для входящих вызовов, sms и ussd запросов настроим extensions.conf:&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot; style=&quot;margin-bottom: 0px; margin-left: 6px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;pre class=&quot;code&quot; style=&quot;background-color: #eef3f8; border-bottom-color: rgb(140, 172, 187); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(140, 172, 187); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(140, 172, 187); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(140, 172, 187); border-top-style: dashed; border-top-width: 1px; color: black; font-size: 12px; margin-bottom: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em;&quot;&gt;[datacard-incoming]
exten =&amp;gt; sms,1,Verbose(Incoming SMS from ${CALLERID(num)} ${SMS})
exten =&amp;gt; sms,n,System(echo &#39;${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} - ${DATACARD} - ${CALLERID(num)}: ${SMS}&#39; &amp;gt;&amp;gt; /var/log/asterisk/sms.txt)
exten =&amp;gt; sms,n,Hangup()

exten =&amp;gt; ussd,1,Verbose(Incoming USSD: ${USSD})
exten =&amp;gt; ussd,n,System(echo &#39;${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} - ${DATACARD}: ${USSD}&#39; &amp;gt;&amp;gt; /var/log/asterisk/ussd.txt)
exten =&amp;gt; ussd,n,Hangup()

exten =&amp;gt; s,1,Dial(SIP/100,,)
exten =&amp;gt; s,n,Hangup()

&lt;/pre&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: transparent; border-bottom-color: rgb(212, 212, 212); border-bottom-style: dotted; border-bottom-width: 1px; clear: left; color: black; font-family: &#39;Lucida Grande&#39;, Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 19px; margin-bottom: 1em; margin-left: 3px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; id=&quot;для_исходящей_связи&quot; name=&quot;для_исходящей_связи&quot; style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;Для исходящей связи&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot; style=&quot;margin-bottom: 0px; margin-left: 6px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;pre class=&quot;code&quot; style=&quot;background-color: #eef3f8; border-bottom-color: rgb(140, 172, 187); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(140, 172, 187); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(140, 172, 187); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(140, 172, 187); border-top-style: dashed; border-top-width: 1px; color: black; font-size: 12px; margin-bottom: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em;&quot;&gt;exten =&amp;gt; _X.,1,Dial(Datacard/g1/${EXTEN})
или
exten =&amp;gt; _X.,1,Dial(Datacard/datacard0/${EXTEN})
&lt;/pre&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: transparent; border-bottom-color: rgb(212, 212, 212); border-bottom-style: dotted; border-bottom-width: 1px; clear: left; color: black; font-family: &#39;Lucida Grande&#39;, Verdana, Lucida, Helvetica, Arial, sans-serif; font-size: 19px; margin-bottom: 1em; margin-left: 3px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0.5em;&quot;&gt;
&lt;a href=&quot;&quot; id=&quot;отключение_функций_cd-rom_и_card_reader&quot; name=&quot;отключение_функций_cd-rom_и_card_reader&quot; style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;Отключение функций CD-ROM и card reader&lt;/a&gt;&lt;/h2&gt;
&lt;div class=&quot;level2&quot; style=&quot;margin-bottom: 0px; margin-left: 6px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Отключим ненужные функции.&lt;/div&gt;
&lt;pre class=&quot;code&quot; style=&quot;background-color: #eef3f8; border-bottom-color: rgb(140, 172, 187); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(140, 172, 187); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(140, 172, 187); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(140, 172, 187); border-top-style: dashed; border-top-width: 1px; color: black; font-size: 12px; margin-bottom: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em;&quot;&gt;# minicom -s

            +-----[configuration]------+
            | Filenames and paths      |
            | File transfer protocols  |
            | Serial port setup        |
            | Modem and dialing        |
            | Screen and keyboard      |
            | Save setup as dfl        |
            | Save setup as..          |
            | Exit                     |
            | Exit from Minicom        |
            +--------------------------+
&lt;/pre&gt;
&lt;div style=&quot;margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Выбираем Serial port setup и жмем ENTER. Жмем &#39;А&#39; Редактируем порт:&lt;/div&gt;
&lt;pre class=&quot;code&quot; style=&quot;background-color: #eef3f8; border-bottom-color: rgb(140, 172, 187); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(140, 172, 187); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(140, 172, 187); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(140, 172, 187); border-top-style: dashed; border-top-width: 1px; color: black; font-size: 12px; margin-bottom: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em;&quot;&gt;    +-----------------------------------------------------------------------+
    | A -    Serial Device      : /dev/ttyUSB0                              |
    | B - Lockfile Location     : /var/lock                                 |
    | C -   Callin Program      :                                           |
    | D -  Callout Program      :                                           |
    | E -    Bps/Par/Bits       : 115200 8N1                                |
    | F - Hardware Flow Control : Yes                                       |
    | G - Software Flow Control : No                                        |
    |                                                                       |
    |    Change which setting?                                              |
    +-----------------------------------------------------------------------+
            | Screen and keyboard      |
            | Save setup as dfl        |
            | Save setup as..          |
            | Exit                     |
            | Exit from Minicom        |
            +--------------------------
&lt;/pre&gt;
&lt;div style=&quot;margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Жмем ENTER 2 раза и выбираем Exit.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
После подключения вводим команду:AT^U2DIAG=0&lt;/div&gt;
&lt;pre class=&quot;code&quot; style=&quot;background-color: #eef3f8; border-bottom-color: rgb(140, 172, 187); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(140, 172, 187); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(140, 172, 187); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(140, 172, 187); border-top-style: dashed; border-top-width: 1px; color: black; font-size: 12px; margin-bottom: 1em; overflow-x: auto; overflow-y: auto; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em;&quot;&gt;Welcome to minicom 2.4

OPTIONS: I18n                                                                
Compiled on Jan 25 2010, 06:49:09.                                           
Port /dev/ttyUSB0                                                            
                                                                             
Press CTRL-A Z for help on special keys                                      
                                                                             
AT S7=45 S0=0 L1 V1 X4 &amp;amp;c1 E1 Q0                                             
OK
AT^U2DIAG=0
OK                                                                           
&lt;/pre&gt;
&lt;div style=&quot;margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Выходим Ctrl-A Q&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
AT^U2DIAG=0 (девайс в режиме только модем)&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;AT^U2DIAG=1 (девайс в режиме модем + CD-ROM)&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;AT^U2DIAG=255 (девайс в режиме модем + CD-ROM + Card Reader)&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;AT^U2DIAG=256 (девайс в режиме модем + Card Reader)&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;AT^CARDLOCK=«NCK-code» (разблокировка модема)&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Ещё команды:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;a class=&quot;wikilink1&quot; href=&quot;http://asterisk-pbx.ru/wiki/doku.php/at_cmd_huawei&quot; style=&quot;color: #436976; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: underline;&quot; title=&quot;at_cmd_huawei&quot;&gt;AT команды USB модемов HUAWEI&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/477544238197197636/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/voip-gsm-asterisk-usb-huawei-e1550.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/477544238197197636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/477544238197197636'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/voip-gsm-asterisk-usb-huawei-e1550.html' title='VoIP-GSM шлюз для Asterisk на USB модеме HUAWEI E1550'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-7172564515004180671</id><published>2011-09-22T20:32:00.002+02:00</published><updated>2011-09-22T20:32:33.274+02:00</updated><title type='text'>Chan_datacard +Huawei E1550 от МТС+asterisk+ubuntu 9.10</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #333333; font-family: Georgia, serif; font-size: 13px; line-height: 20px;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Это не HOWTO,&amp;nbsp;&lt;/span&gt;скорее, для себя плохопомнящего:) ,но инфы по данному вопросу пока мало, может, и людям поможет.&lt;br /&gt;Ну, собственно, начнем....&lt;br /&gt;Ubuntu 9.10 - из-за ядра(на старых ядрах может не получиться или , если получится, то возможен плохой звук и т.д.)&lt;br /&gt;Ставим нужные пакеты:&lt;br /&gt;apt-get install subversion g++ libncurses-dev libxml2-dev&lt;br /&gt;Ставим asterisk 1.6.2.0 (на момент написания он последний), asterisk-addons пока без надобности.&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Warning!&amp;nbsp;&lt;/span&gt;С asterisk-1.4 chan_datacard не работает, для него есть chan_sebi.&lt;br /&gt;Выкачиваем chan_datacard:&lt;br /&gt;svn co https://www.makhutov.org/svn/chan_datacard/trunk&lt;code&gt;&lt;/code&gt;&lt;br /&gt;заходим в папку:&lt;br /&gt;cd .../trunk (из какой директории давали команду, в той и ищите папку)&lt;br /&gt;ставим:&lt;br /&gt;make install&lt;br /&gt;(а вот здесь добавочка! теперь нужно&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;все по-взрослому - проект растет&lt;br /&gt;не могу только сказать с какой ревизии нужно делать так&lt;br /&gt;6.09.2010)&lt;br /&gt;Можно проверить сел ли chan_datacard.so в /usr/lib/asterisk/modules - сел!&lt;br /&gt;Затем копируем из папки /trunk в /etc/asterisk файлик datacard.conf&lt;br /&gt;Все. Chan_datacard установлен.&lt;br /&gt;&lt;br /&gt;Намного &quot;интереснее&quot; с модемом....На данный момент под это дело подходит модем Huawei E1550 от МТС, но он залочен(&lt;span style=&quot;font-weight: bold;&quot;&gt;Warning!&lt;/span&gt;&amp;nbsp;Huawei E1550 от Мегафона, по заверениям испытавших его, не работает - там нет голосовых функций). Мне помогли его разлочить на&amp;nbsp;&lt;a href=&quot;http://unlockers.ru/&quot; style=&quot;color: #f2984c; text-decoration: none;&quot;&gt;unlockers.ru&lt;/a&gt;&amp;nbsp;. Там есть ветка, посвященная именно этим модемам. Ну или сходить в сервис по ремонту сотовых телефонов, где вам его разлочат рублей за 400.&lt;br /&gt;После разлочки надо отключить вмонтированный в этот usb-device cd-rom, иначе модем будет постоянно менять порты(посмотрите в datacard.conf и увидите, что они должны быть закреплены). Сделать это можно at командой AT^U2DIAG=0 (из трех устройств в этом брелке останется только одно - модем) или AT^U2DIAG=256 (останется модем и флешка) . После введения этих команд надо извлечь модем из usb и вставить снова.&lt;br /&gt;Для дачи AT команд я пользуюсь прогой minicom.&lt;br /&gt;Эти команды не необратимы:) Вернуть все устройства на брелок можно командой AT^U2DIAG=255&lt;br /&gt;Файл /etc/asterisk/extensions.conf редактируется в соответствии с рекомендациями в файлике README, который лежит в папке chan_datacard&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/7172564515004180671/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/chandatacard-huawei-e1550.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/7172564515004180671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/7172564515004180671'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/chandatacard-huawei-e1550.html' title='Chan_datacard +Huawei E1550 от МТС+asterisk+ubuntu 9.10'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-835999684437545917</id><published>2011-09-22T20:31:00.004+02:00</published><updated>2011-09-22T20:31:55.041+02:00</updated><title type='text'>VoIP-GSM шлюз на основе модема HUAWEI [HOWTO]</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #444444; font-family: &#39;Lucida Grande&#39;, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-size: 1em; text-align: justify;&quot;&gt;
Наша цель – сделать из модема Huawei E1550 загрузочную систему с астериском, чтобы загрузившись с USB брелка на любом компьютере, в том числе на дешевом бездисковом неттопе, мы получили VoIP-GSM шлюз.&lt;/div&gt;
&lt;div style=&quot;font-size: 1em; text-align: justify;&quot;&gt;
Чтобы брелок работал как кард-ридер, на COM-порт модема следует отправить команду&amp;nbsp;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;AT^U2DIAG=256&lt;/code&gt;и заново вставить брелок в USB разъем.&lt;br /&gt;Чтобы не было сюрпризов, стоит проверить, не залочен ли модем под определенного оператора. В этом поможет утилита&amp;nbsp;&lt;a href=&quot;http://slil.ru/28284419&quot; style=&quot;border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; color: #225588; text-decoration: none;&quot;&gt;MICRO-BOX HUAWEI MODEM UNLOCKER&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 1em; text-align: justify;&quot;&gt;
Процесс изготовления рассчитан на пользователей Windows. Предполагается наличие&amp;nbsp;&lt;a href=&quot;http://torrents.ru/forum/viewtopic.php?t=2354830&quot; style=&quot;border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; color: #225588; text-decoration: none;&quot;&gt;VMware Workstation 7&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;font-size: 1em; text-align: justify;&quot;&gt;
На линуксе некоторые шаги можно пропустить.&lt;/div&gt;
&lt;div style=&quot;font-size: 1em; text-align: justify;&quot;&gt;
&lt;span id=&quot;more-157&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;li&gt;Качаем&amp;nbsp;&lt;a href=&quot;http://www.ubuntu.com/getubuntu/download&quot; style=&quot;border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; color: #225588; text-decoration: none;&quot;&gt;Ubuntu 9.10 Desktop&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Создаем виртуальную машину на основе скачанного образа ISO. Процесс проходит автоматически (Easy Install Feature).&lt;/li&gt;
&lt;li&gt;Логинимся в root, ставим ssh сервер:&amp;nbsp;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;apt-get install ssh&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Узнаем наш ip адрес:&amp;nbsp;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;ip ad&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Копируем образ ISO внутрь виртуальной системы с помощью winscp&lt;/li&gt;
&lt;li&gt;Заходим с помощью putty на установленную систему&lt;/li&gt;
&lt;li&gt;Ставим&amp;nbsp;&lt;a href=&quot;http://uck.sourceforge.net/&quot; style=&quot;border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; color: #225588; text-decoration: none;&quot;&gt;UCK&lt;/a&gt;:&amp;nbsp;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;apt-get install uck&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Идем в папку с образом ISO&lt;/li&gt;
&lt;li&gt;Распаковываем образ:&amp;nbsp;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;uck-remaster-unpack-iso ubuntu-9.10-desktop-i386.iso .&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Распаковываем squashfs:&amp;nbsp;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;uck-remaster-unpack-rootfs .&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Скачиваем asterisk-1.6.2 и chan_datacard:&lt;br /&gt;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.6.2.0-rc6.tar.gz&lt;br /&gt;svn co http://www.makhutov.org/svn/chan_datacard/trunk/ chan_datacard&lt;/code&gt;&lt;br /&gt;Другие версии астериска не работают с данным драйвером.&lt;/li&gt;
&lt;li&gt;Копируем исходники внутрь live системы:&lt;br /&gt;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;cp -R asterisk-1.6.2.0-rc6.tar.gz chan_datacard remaster-root/usr/src/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Правим DNS в live системе: cp /etc/resolv.conf remaster-root/etc/resolv.conf&lt;/li&gt;
&lt;li&gt;Делаем chroot в live систему:&amp;nbsp;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;chroot remaster-root&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Устанавливаем астериск внутри live системы:&lt;br /&gt;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;cd /usr/src/&lt;br /&gt;tar xf asterisk-1.6.2.0-rc6.tar.gz&lt;br /&gt;cd asterisk-1.6.2.0-rc6&lt;br /&gt;apt-get install g++ libncurses-dev libxml2-dev&lt;br /&gt;./configure&lt;br /&gt;make install&lt;br /&gt;make config&lt;br /&gt;make samples&lt;br /&gt;cd ../chan_datacard/&lt;br /&gt;make install&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Настраиваем конфигурацию астериска: файлы extensions.conf, sip.conf и datacard.conf (пример этого конфига находится в chan_datacard). Этот пункт отдается на откуп личным предпочтениям астерисководов. Единственное, что наверно стоит упомянуть, – при настройке sip пиров может потребоваться опция insecure=invite.&lt;/li&gt;
&lt;li&gt;Универсальный вариант GSM-шлюза подразумевает веб-интерфейс для конфигурирования его параметров. Это также оставим за пределами данного HOWTO.&lt;/li&gt;
&lt;li&gt;Восстанавливаем дефолтное состояние DNS&amp;nbsp;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;rm /etc/resolv.conf&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Опционально отключаем запуск графической среды&amp;nbsp;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;apt-get remove gdm&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Опционально удаляем тяжелые ненужные пакеты&amp;nbsp;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;apt-get remove openoffice.org-core&lt;/code&gt;&amp;nbsp;и т.п.&lt;/li&gt;
&lt;li&gt;Опционально чистим систему от других ненужных файлов&lt;/li&gt;
&lt;li&gt;Выходим из chroot:&amp;nbsp;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;exit&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Пакуем rootfs обратно:&amp;nbsp;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;uck-remaster-pack-rootfs .&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Уменьшаем таймаут при загрузке:&amp;nbsp;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;nano remaster-iso/isolinux/isolinux.cfg&lt;/code&gt;&amp;nbsp;ставим&amp;nbsp;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;timeout 20&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Пакуем ISO&amp;nbsp;&lt;code style=&quot;background-color: #f8f8f8; color: #111111;&quot;&gt;uck-remaster-pack-iso huawei.iso .&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Вытаскиваем iso-образ из виртуалки (он будет находиться в папке remaster-new-files)&lt;/li&gt;
&lt;li&gt;Записываем его на флешку брелка с помощью&amp;nbsp;&lt;a href=&quot;https://fedorahosted.org/liveusb-creator&quot; style=&quot;border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; color: #225588; text-decoration: none;&quot;&gt;liveusb-creator&lt;/a&gt;&lt;/li&gt;
&lt;div style=&quot;font-size: 1em; text-align: justify;&quot;&gt;
Все. Брелок готов для того, чтобы загрузиться с него и совершать звонки.&lt;/div&gt;
&lt;div style=&quot;font-size: 1em; text-align: justify;&quot;&gt;
В процессе подготовки конфигов будет удобно поставить астериск и chan_datacard в самой виртуалке. VMware позволяет пробрасывать внутрь виртуалки USB устройства, поэтому полноценно протестировать работоспособность системы можно “не отходя от кассы”.&lt;/div&gt;
&lt;div style=&quot;font-size: 1em; text-align: justify;&quot;&gt;
При наличии в неттопе HDD можно пропустить шаги, относящиеся к изготовлению live-iso, и сделать стационарную установку системы.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/835999684437545917/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/voip-gsm-huawei-howto.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/835999684437545917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/835999684437545917'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/voip-gsm-huawei-howto.html' title='VoIP-GSM шлюз на основе модема HUAWEI [HOWTO]'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-2266172497890976963</id><published>2011-09-22T20:31:00.001+02:00</published><updated>2011-09-22T20:31:10.243+02:00</updated><title type='text'>Бесплатные панели управления сервером и хостингом.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #444444; font-family: &#39;Helvetica neue&#39;, Helvetica, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0cm; margin-top: 0.4em;&quot;&gt;
Если вам нужна панель управления для вашего сервера или недавно приобретенного хостинга, важно знать, что вариантов может быть гораздо больше, чем использование коммерческих версий, таких как Cpanel,&lt;span&gt;DerectAdmin,&lt;/span&gt;&amp;nbsp;Plesk&amp;nbsp;&lt;span&gt;или&amp;nbsp;&lt;/span&gt;&lt;span&gt;H-Sphere&lt;/span&gt;. На самом деле, есть свободные панели управления, которые так же могут быть отличным решением для выделенного сервера или веб хостинга. В этой статье пойдет разговор об таких панелях как&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; margin-top: 0.4em;&quot;&gt;
GNUPanel, SysCP и Webmin с модулем&amp;nbsp;&lt;span&gt;Virtualmin&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; margin-top: 0.4em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 class=&quot;western&quot; style=&quot;font-size: 1.2em; margin-bottom: 0.3em;&quot;&gt;
GNUPane&lt;span&gt;l&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;margin-bottom: 0cm; margin-top: 0.4em;&quot;&gt;
Относительно новая панель управления, GNUPanel написана на языке программирования PHP5 и предназначена для установки на Debian Linux. Хорошей особенностью этой панели это возможность управлять доменами, управлять FTP, почтой и выполнять администрирование баз данных. Эта панель управления позволяет контролировать такие популярные приложения, как веб-сервер Apache, а также пакеты, такие как PHP и MySQL. Эта панель также позволяет автоматически устанавливать различные программы&amp;nbsp;&lt;span&gt;CMS&amp;nbsp;&lt;/span&gt;сторонних производителей, включая Joomla,&amp;nbsp;&lt;span&gt;Drupal,&amp;nbsp;&lt;/span&gt;Wordpress, PhpBB, интернет магазин и другое. GNUPanel имеет открытый&amp;nbsp;исходны&lt;span&gt;й&lt;/span&gt;&amp;nbsp;код под лицензией GPL, отсюда и название. Хотя эта панель управления в настоящее время ограничена платформой Debian, разработчики говорят, что в настоящее время разрабатывается портирование для работы на других операционных системах.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; margin-top: 0.4em; text-align: center;&quot;&gt;
&lt;img alt=&quot;GNUPanel панель управления&quot; height=&quot;363&quot; src=&quot;http://servervk.eu/images/gnupanel-screen.jpg&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;510&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; margin-top: 0.4em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 class=&quot;western&quot; style=&quot;font-size: 1.2em; margin-bottom: 0.3em;&quot;&gt;
SysCP&lt;/h2&gt;
&lt;div style=&quot;margin-bottom: 0cm; margin-top: 0.4em;&quot;&gt;
Панель управления SysCP позволяет вам управлять веб-сервер&lt;span&gt;ом&lt;/span&gt;, почтой, CGI скриптами, DNS настройками, создавать пользовательские страницы ошибок, просматривать статистику и многое другое. Функции встроенные в панель управления предоставляют вам возможность контролировать широкий спектра приложений, включая Apache,&amp;nbsp;&lt;span&gt;MySQL,&amp;nbsp;&lt;/span&gt;BIND, почтовые сервера и серверы&amp;nbsp;&lt;span&gt;FTP&amp;nbsp;&lt;/span&gt;&lt;span&gt;такие как&amp;nbsp;&lt;/span&gt;ProFTPD. Хотя панель и обладает многочисленными встроенными модулями, существует множество расширений доступных для скачивания, которые позволяют управлять другими функциями сервера. Некоторые из сторонних модулей для SysCP, инструменты, которые позволяют вам управлять такими приложениями, как&amp;nbsp;&lt;span&gt;F&lt;/span&gt;etchmail и SpamAssassin, выполнять резервное копирование критически важных данных и многое другое. Это панель управления поддерживает 5 основных Unix-подобных дистрибутивов, наиболее заметными из которых являются Debian, Gentoo, FreeBSD, OpenSUSE и Ubuntu. SysCP может свободно распространяться и модифицироваться под лицензией GNU GPL. Перед установкой SysCP, не забудьте проверить вашу операционную систему на совместимость с SysCP, так как эта панель поддерживает только версии вышеупомянутых операционных систем.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; margin-top: 0.4em; text-align: center;&quot;&gt;
&lt;img alt=&quot;syscp панель управления&quot; height=&quot;322&quot; src=&quot;http://servervk.eu/images/syscp-screen.jpg&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;510&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; margin-top: 0.4em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 class=&quot;western&quot; style=&quot;font-size: 1.2em; margin-bottom: 0.3em;&quot;&gt;
Webmin и&amp;nbsp;&lt;span&gt;Virtualmin&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;margin-bottom: 0cm; margin-top: 0.4em;&quot;&gt;
Панель управления Webmin становится все более популярным вариантом для клиентов выделенных серверов. Эта панель невероятно проста в использовании и содержит ряд особенностей, которые в основном модули, и обеспечивают возможность администрирования сервера. Панель поставляется со стандартным модули для Apache и BIND, брандмауэром BSD, модулем для контроля трафика, менеджером&amp;nbsp;&lt;span&gt;cron&lt;/span&gt;&amp;nbsp;и многими другими полезными модулями. Помимо встроенных модулей, Webmin поддерживает множество сторонних расширений, которые можно загрузить из Интернета.&amp;nbsp;&lt;span&gt;Webmin&lt;/span&gt;&amp;nbsp;также дает возможность разрабатывать свои собственные модули.Webmin в настоящее время поддерживается более чем 80 различными операционными системами, включая&amp;nbsp;&lt;span&gt;Linux,&amp;nbsp;&lt;/span&gt;FreeBDS и несколько вариантов&amp;nbsp;&lt;span&gt;UNIX&lt;/span&gt;.&amp;nbsp;&lt;span&gt;В связи с тем, что&amp;nbsp;&lt;/span&gt;&lt;span&gt;Webmin&amp;nbsp;&lt;/span&gt;&lt;span&gt;распространяется под&lt;/span&gt;&amp;nbsp;GNU GPL лицензией с открытым исходным кодом, многие разработчики со всего мира внесли свой вклад в улучшение кода этой панели управления. Самые последние версии Webmin были выпущены под лицензией аналогично BSD, в основном это означает, что код может свободно распространяться и модифицироваться для коммерческого и некоммерческого использования.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0cm; margin-top: 0.4em;&quot;&gt;
Так же для&amp;nbsp;&lt;span&gt;Webmin&amp;nbsp;&lt;/span&gt;&lt;span&gt;существует дополнение&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;a href=&quot;http://servervk.eu/ru/node/how-to-control-virtual-server-using-virtualmin&quot; style=&quot;color: #201fb2; font-weight: bold; text-decoration: none;&quot; title=&quot;панель управления virtualmin&quot;&gt;Virtualmin&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;span&gt;По сути&amp;nbsp;&lt;/span&gt;&lt;span&gt;Virtualmin&amp;nbsp;&lt;/span&gt;&lt;span&gt;это отдельно развивающийся проект.&amp;nbsp;&lt;/span&gt;&lt;span&gt;Virtualmin&amp;nbsp;&lt;/span&gt;&lt;span&gt;дает возможность хостинг провайдерам и их клиентам настраивать и управлять доменами,&amp;nbsp;&lt;/span&gt;&lt;span&gt;DNS&lt;/span&gt;&lt;span&gt;записями и поддерживает много других очень полезных функций.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; margin-top: 0.4em; text-align: center;&quot;&gt;
&lt;img alt=&quot;webmin панель управления&quot; height=&quot;322&quot; src=&quot;http://servervk.eu/images/webmin-screen.jpg&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; width=&quot;510&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/2266172497890976963/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/blog-post_22.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/2266172497890976963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/2266172497890976963'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/blog-post_22.html' title='Бесплатные панели управления сервером и хостингом.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-7797496192345492653</id><published>2011-09-22T20:30:00.002+02:00</published><updated>2011-09-22T20:30:04.820+02:00</updated><title type='text'>Еще вариант как установить панель управления ISPConfig на CentOS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f0f0f0; font-family: Georgia; font-size: 13px;&quot;&gt;Установка&lt;/span&gt;&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;Рекомендую использовать чистую (свежеустановленную) CentOS. Нижеприведённые шаги помогут вам поэтапно установить ISPConfig 3 на ваш сервер:&lt;br /&gt;&lt;br /&gt;Установите несколько базовых программ:&lt;br /&gt;&lt;br /&gt;rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*&lt;br /&gt;yum update&lt;br /&gt;yum groupinstall &#39;Development Tools&#39;&lt;br /&gt;yum groupinstall &#39;Development Libraries&#39;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Вам нужно отключить selinux, потому что некоторые программы не запускаются с включённым selinux:&lt;br /&gt;&lt;br /&gt;system-config-securitylevel-tui&lt;br /&gt;&lt;br /&gt;затем перезагрузите сервер.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1) Установите Postfix, Courier, Saslauthd, MySQL, phpMyAdmin используя нижеприведённую строку (всё в одну строку!):&lt;br /&gt;&lt;br /&gt;yum install ntp httpd mysql-server php php-mysql php-mbstring rpm-build gcc mysql-devel openssl-devel cyrus-sasl-devel pkgconfig zlib-devel phpMyAdmin pcre-devel openldap-devel postgresql-devel expect libtool-ltdl-devel openldap-servers libtool gdbm-devel pam-devel gamin-devel postfix&lt;br /&gt;&lt;br /&gt;rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt&lt;br /&gt;&lt;br /&gt;cd /tmp&lt;br /&gt;wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm&lt;br /&gt;rpm -i rpmforge-release-0.3.6-1.el5.rf.i386.rpm&lt;br /&gt;yum update&lt;br /&gt;&lt;br /&gt;yum install getmail&lt;br /&gt;&lt;br /&gt;useradd -m -s /bin/bash compileuser&lt;br /&gt;passwd compileuser&lt;br /&gt;&lt;br /&gt;visudo&lt;br /&gt;&lt;br /&gt;## Allow root to run any commands anywhere&lt;br /&gt;root ALL=(ALL) ALL&lt;br /&gt;compileuser ALL=(ALL) ALL&lt;br /&gt;&lt;br /&gt;su compileuser&lt;br /&gt;&lt;br /&gt;mkdir $HOME/rpm&lt;br /&gt;mkdir $HOME/rpm/SOURCES&lt;br /&gt;mkdir $HOME/rpm/SPECS&lt;br /&gt;mkdir $HOME/rpm/BUILD&lt;br /&gt;mkdir $HOME/rpm/SRPMS&lt;br /&gt;mkdir $HOME/rpm/RPMS&lt;br /&gt;mkdir $HOME/rpm/RPMS/i386&lt;br /&gt;mkdir $HOME/rpm/RPMS/x86_64&lt;br /&gt;&lt;br /&gt;echo &quot;%_topdir $HOME/rpm&quot; &amp;gt;&amp;gt; $HOME/.rpmmacros&lt;br /&gt;&lt;br /&gt;wget http://prdownloads.sourceforge.net/courier/courier-authlib-0.61.0.tar.bz2&lt;br /&gt;wget http://prdownloads.sourceforge.net/courier/courier-imap-4.4.1.tar.bz2&lt;br /&gt;wget http://prdownloads.sourceforge.net/courier/maildrop-2.0.4.tar.bz2&lt;br /&gt;&lt;br /&gt;sudo rpmbuild -ta courier-authlib-0.61.0.tar.bz2&lt;br /&gt;&lt;br /&gt;sudo rpm -ivh /home/compileuser/rpm/RPMS/i386/courier-authlib-0.61.0-1.i386.rpm&lt;br /&gt;sudo rpm -ivh /home/compileuser/rpm/RPMS/i386/courier-authlib-mysql-0.61.0-1.i386.rpm&lt;br /&gt;sudo rpm -ivh /home/compileuser/rpm/RPMS/i386/courier-authlib-devel-0.61.0-1.i386.rpm&lt;br /&gt;&lt;br /&gt;rpmbuild -ta courier-imap-4.4.1.tar.bz2&lt;br /&gt;&lt;br /&gt;sudo rpm -ivh /home/compileuser/rpm/RPMS/i386/courier-imap-4.4.1-1.i386.rpm&lt;br /&gt;&lt;br /&gt;sudo rpmbuild -ta maildrop-2.0.4.tar.bz2&lt;br /&gt;&lt;br /&gt;sudo rpm -ivh /home/compileuser/rpm/RPMS/i386/maildrop-2.0.4-1.i386.rpm&lt;br /&gt;&lt;br /&gt;exit&lt;br /&gt;&lt;br /&gt;chkconfig --levels 235 mysqld on&lt;br /&gt;/etc/init.d/mysqld start&lt;br /&gt;&lt;br /&gt;chkconfig --levels 235 httpd on&lt;br /&gt;/etc/init.d/httpd start&lt;br /&gt;&lt;br /&gt;chkconfig --levels 235 courier-authlib on&lt;br /&gt;/etc/init.d/courier-authlib start&lt;br /&gt;&lt;br /&gt;chkconfig --levels 235 sendmail off&lt;br /&gt;chkconfig --levels 235 postfix on&lt;br /&gt;chkconfig --levels 235 saslauthd on&lt;br /&gt;/etc/init.d/sendmail stop&lt;br /&gt;/etc/init.d/postfix start&lt;br /&gt;/etc/init.d/saslauthd start&lt;br /&gt;&lt;br /&gt;chkconfig --levels 235 courier-imap on&lt;br /&gt;/etc/init.d/courier-authlib restart&lt;br /&gt;/etc/init.d/courier-imap restart&lt;br /&gt;&lt;br /&gt;Установим пароль на mysql базу:&lt;br /&gt;&lt;br /&gt;mysqladmin -u root password yourrootsqlpassword&lt;br /&gt;mysqladmin -h ispconfig.local -u root password yourrootsqlpassword&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) Установим Amavisd-new, Spamassassin and Clamav (1 строка!):&lt;br /&gt;&lt;br /&gt;yum install amavisd-new spamassassin clamav clamd clamav-data clamav-server clamav-update unzip bzip2 unrar&lt;br /&gt;&lt;br /&gt;chkconfig --levels 235 amavisd on&lt;br /&gt;chkconfig --levels 235 clamd on&lt;br /&gt;/usr/bin/freshclam&lt;br /&gt;/etc/init.d/amavisd start&lt;br /&gt;/etc/init.d/clamd start&lt;br /&gt;&lt;br /&gt;Если Вы используете amavisd из rpmforge и не из centos, Вам нужно выполнить эти пункты:&lt;br /&gt;&lt;br /&gt;добавьте нижеприведённые строки в /etc/sysconfig/amavisd:&lt;br /&gt;&lt;br /&gt;CONFIG_FILE=&quot;/etc/amavisd/amavisd.conf&lt;br /&gt;&lt;br /&gt;запустите:&lt;br /&gt;&lt;br /&gt;mkdir /var/run/amavisd /var/spool/amavisd /var/spool/amavisd/tmp /var/spool/amavisd/db chown amavis /var/run/amavisd /var/spool/amavisd /var/spool/amavisd/tmp /var/spool/amavisd/db yum install perl-DBD-mysql&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3) Установим apache, PHP5 и phpmyadmin (1 строка!):&lt;br /&gt;&lt;br /&gt;yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc php-eaccelerator php-magickwand php-magpierss php-mapserver php-mbstring php-mcrypt php-mhash php-mssql php-shout php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel phpmyadmin&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4) Установим pure-ftpd и quota&lt;br /&gt;&lt;br /&gt;cd /tmp&lt;br /&gt;wget http://centos.karan.org/el5/extras/testing/i386/RPMS/pure-ftpd-1.0.21-15.el5.kb.i386.rpm&lt;br /&gt;rpm -i pure-ftpd-1.0.21-15.el5.kb.i386.rpm&lt;br /&gt;&lt;br /&gt;yum install quota&lt;br /&gt;&lt;br /&gt;chkconfig --levels 235 pure-ftpd on&lt;br /&gt;/etc/init.d/pure-ftpd start&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5) Установим mydns&lt;br /&gt;&lt;br /&gt;wget http://mydns.bboy.net/download/mydns-mysql-1.1.0-1.i386.rpm&lt;br /&gt;rpm -ivh mydns-mysql-1.1.0-1.i386.rpm&lt;br /&gt;&lt;br /&gt;chkconfig --levels 235 mydns on&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6) Установим vlogger и webalizer&lt;br /&gt;&lt;br /&gt;yum install webalizer perl-DateTime-Format-HTTP perl-DateTime-Format-Builder&lt;br /&gt;&lt;br /&gt;cd /tmp&lt;br /&gt;wget http://n0rp.chemlab.org/vlogger/vlogger-1.3.tar.gz&lt;br /&gt;tar xvfz vlogger-1.3.tar.gz&lt;br /&gt;mv vlogger-1.3/vlogger /usr/sbin/&lt;br /&gt;rm -rf vlogger*&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7) Установим ISPConfig 3&lt;br /&gt;&lt;br /&gt;Отключаем файрволл:&lt;br /&gt;&lt;br /&gt;system-config-securitylevel-tui&lt;br /&gt;&lt;br /&gt;Дальше есть 2 пути:&lt;br /&gt;7.1) Установить последнюю версию&lt;br /&gt;7.2) Установить напрямую из SVN&lt;br /&gt;&lt;br /&gt;7.1) Установка beta 3 из tar.gz&lt;br /&gt;&lt;br /&gt;cd /tmp&lt;br /&gt;wget http://www.ispconfig.org/downloads/ISPConfig-3.0.0.9-rc2.tar.gz&lt;br /&gt;tar xvfz ISPConfig-3.0.0.9-rc2.tar.gz&lt;br /&gt;cd ispconfig3_install/install/&lt;br /&gt;&lt;br /&gt;7.2) Установка из SVN&lt;br /&gt;&lt;br /&gt;yum install subversion&lt;br /&gt;cd /tmp&lt;br /&gt;svn export svn://svn.ispconfig.org/ispconfig3/trunk/&lt;br /&gt;cd trunk/install&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7.1+7.2) Сейчас начнём установку ISPConfig.&lt;br /&gt;&lt;br /&gt;Начать установку можно выполнив команду:&lt;br /&gt;&lt;br /&gt;php -q install.php&lt;br /&gt;&lt;br /&gt;Установщик сконфигурирует все сервисы, такие как postfix, sasl, courier, и т.д. для Вас. Ручная установка рекомендуется для ISPConfig 2 (на офф. сайте есть хорошие мануалы по установке), но не обязательно. Чтобы войти в панель управления ISPConfig откройте нижеприведённый урл (замените IP на ваш из настроек!):&lt;br /&gt;&lt;br /&gt;http://192.168.0.100:8080/&lt;br /&gt;&lt;br /&gt;логин по умолчанию:&lt;br /&gt;&lt;br /&gt;user: admin&lt;br /&gt;password: admin&lt;br /&gt;&lt;br /&gt;Если выскакивает ошибка permission denied у apache, то перезагрузите apache веб-сервер.&lt;br /&gt;&lt;br /&gt;Дополнительно:&lt;br /&gt;&lt;br /&gt;Установите веб-почтового клиента:&lt;br /&gt;&lt;br /&gt;yum install squirrelmail&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;
&lt;br /&gt;Хинты:&lt;br /&gt;&lt;br /&gt;debian 4.0 под openvz:&lt;br /&gt;&lt;br /&gt;VPSID=101&lt;br /&gt;for CAP in CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE CHOWN DAC_READ_SEARCH SETGID SETUID NET_BIND_SERVICE NET_ADMIN SYS_CHROOT SYS_NICE&lt;br /&gt;do&lt;br /&gt;vzctl set $VPSID --capability ${CAP}:on --save&lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;
&lt;br /&gt;Установка Jailkit:&lt;br /&gt;&lt;br /&gt;cd /tmp&lt;br /&gt;wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz&lt;br /&gt;tar xvfz jailkit-2.5.tar.gz&lt;br /&gt;cd jailkit-2.5&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;rm -rf jailkit-2.5*&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/7797496192345492653/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/ispconfig-centos.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/7797496192345492653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/7797496192345492653'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/ispconfig-centos.html' title='Еще вариант как установить панель управления ISPConfig на CentOS'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-2278251018005179128</id><published>2011-09-22T20:29:00.000+02:00</published><updated>2011-09-22T20:29:14.796+02:00</updated><title type='text'>Установка CentOS 5.5 x86_64 и ISPConfig 3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ebebeb; color: #555555; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;1 Требования&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Для установки такой системы необходимо следующее:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li style=&quot;font: normal normal normal 12px/normal tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif;&quot;&gt;Скачать&amp;nbsp;&lt;b&gt;два DVD&amp;nbsp;&lt;/b&gt;образа&amp;nbsp;&lt;b&gt;CentOS 5.5&lt;/b&gt;&amp;nbsp;или&amp;nbsp;&lt;b&gt;восемь CD&amp;nbsp;&lt;/b&gt;образов&amp;nbsp;&lt;b&gt;CentOS 5.5&lt;/b&gt;&amp;nbsp;(список зеркал можно найти здесь:&amp;nbsp;&lt;span class=&quot;ext_link&quot; id=&quot;extlink_6668f4e5db&quot; style=&quot;background-image: url(http://pcvector.ru/clientscript/pcv/link_external.png); background-position: 100% 0%; background-repeat: no-repeat no-repeat; color: #296fdf; cursor: pointer; display: inline-block; margin-bottom: 3px; margin-left: 0px; margin-right: 0px; margin-top: 3px; padding-bottom: 3px; padding-left: 7px; padding-right: 20px; padding-top: 3px;&quot; title=&quot;Внешняя ссылка, реферер не передается http://isoredirect.centos.org/centos/5/isos/x86_64/&quot;&gt;http://isoredirect.centos.org/centos/5/isos/x86_64/&lt;/span&gt;).&lt;/li&gt;
&lt;li style=&quot;font: normal normal normal 12px/normal tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif;&quot;&gt;&lt;div align=&quot;left&quot;&gt;
Быстрое подключение к Интернету.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;2 Замечание&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;В этом руководстве используется имя хоста&amp;nbsp;&lt;b&gt;server1.example.com&lt;/b&gt;&amp;nbsp;с&amp;nbsp;&lt;b&gt;IP&amp;nbsp;&lt;/b&gt;адресом&amp;nbsp;&lt;b&gt;192.168.0.100&lt;/b&gt;, а шлюз&amp;nbsp;&lt;b&gt;192.168.0.1&lt;/b&gt;. Эти параметры могут отличаться от ваших, поэтому придется заменить их в случае необходимости.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;3 Установка базовой системы&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Загрузитесь с вашего первого&amp;nbsp;&lt;b&gt;CD1&amp;nbsp;&lt;/b&gt;&lt;b&gt;CentOS 5.5&lt;/b&gt;&amp;nbsp;или с первого&amp;nbsp;&lt;b&gt;DVD1 CentOS 5.5&lt;/b&gt;. Нажмите &amp;lt;&lt;b&gt;ENTER&lt;/b&gt;&amp;gt; в окне загрузчика:&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/1.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;Проверка установочного диска может занять довольно много времени, поэтому в данном случае мы&amp;nbsp;&lt;b&gt;пропустим&amp;nbsp;&lt;/b&gt;(&lt;b&gt;Skip&lt;/b&gt;) этот шаг (но вы можете протестировать диск, чтобы исключить ошибки):&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/2.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;left&quot;&gt;
Появился экран приветствия программы установки&amp;nbsp;&lt;b&gt;CentOS&lt;/b&gt;. Нажмите&lt;b&gt;&amp;nbsp;Next&lt;/b&gt;:&lt;/div&gt;
&lt;br /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/3.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;left&quot;&gt;
Выберите далее язык:&lt;/div&gt;
&lt;br /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/install_centos_5.5_ispconfig3/4.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;left&quot;&gt;
Выберите раскладку клавиатуры:&lt;/div&gt;
&lt;br /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/5.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;left&quot;&gt;
В данном случае&amp;nbsp;&lt;b&gt;CentOS 5.5&lt;/b&gt;&amp;nbsp;устанавливается на новую систему, поэтому отвечаем&amp;nbsp;&lt;b&gt;да&amp;nbsp;&lt;/b&gt;на вопрос: &quot;&lt;b&gt;Вы бы хотели, инициализировать этот диск, удалятся все данные ?&lt;/b&gt;&quot;&lt;br /&gt;&lt;/div&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/6.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;left&quot;&gt;
Теперь мы должны выбрать схему разделов диска. Для простоты мы выберем&amp;nbsp;&lt;b&gt;Удалить разделы Linux на выбранных дисках и создать макет по умолчанию&lt;/b&gt;. Это приведет к созданию малого раздела&amp;nbsp;&lt;b&gt;/boot&lt;/b&gt;&amp;nbsp;, большого&amp;nbsp;&lt;b&gt;/partition&lt;/b&gt;, а также создание раздела для файла подкачки&amp;nbsp;&lt;b&gt;/swap&lt;/b&gt;. Естественно, вы сами можете настроить разделы жесткого диска. Жмем&amp;nbsp;&lt;b&gt;Далее&lt;/b&gt;:&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/7.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;left&quot;&gt;
Ответьте на следующие вопросы (Вы уверены, что хотите это сделать?) согласием&amp;nbsp;&lt;b&gt;Да&lt;/b&gt;:&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/8.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;left&quot;&gt;
&lt;b&gt;Включить&amp;nbsp;&lt;/b&gt;для настройки сети.&amp;nbsp;&lt;b&gt;По умолчанию&lt;/b&gt;&amp;nbsp;здесь настройки для сетевых интерфейсов с&amp;nbsp;&lt;b&gt;DHCP&lt;/b&gt;, но мы устанавливаем сервер, поэтому статические IP-адреса не плохая идея ... Нажмите на кнопку &quot;&lt;b&gt;Edit&lt;/b&gt;&quot; в правом верхнем углу.&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/9.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;left&quot;&gt;
Во всплывающем окне снимите флажок Использование динамической конфигурации&amp;nbsp;&lt;b&gt;IP (DHCP)&lt;/b&gt;&amp;nbsp;и включите поддержку протокола&amp;nbsp;&lt;b&gt;IPv6&lt;/b&gt;, и дайте вашей сетевой карте статический&amp;nbsp;&lt;b&gt;IP&amp;nbsp;&lt;/b&gt;адрес (в данной статье, используется&amp;nbsp;&lt;b&gt;IP&lt;/b&gt;&amp;nbsp;адрес&amp;nbsp;&lt;b&gt;192.168.0.100&lt;/b&gt;&amp;nbsp;для демонстрационных целей) и подходящую ему маску ( например,&amp;nbsp;&lt;b&gt;255.255.255.0&lt;/b&gt;, если вы не уверены в правильных значениях, почитайте тут&amp;nbsp;&lt;span class=&quot;ext_link&quot; id=&quot;extlink_33ef38312e&quot; style=&quot;background-image: url(http://pcvector.ru/clientscript/pcv/link_external.png); background-position: 100% 0%; background-repeat: no-repeat no-repeat; color: #296fdf; cursor: pointer; display: inline-block; margin-bottom: 3px; margin-left: 0px; margin-right: 0px; margin-top: 3px; padding-bottom: 3px; padding-left: 7px; padding-right: 20px; padding-top: 3px;&quot; title=&quot;Внешняя ссылка, реферер не передается http://www.subnetmask.info/&quot;&gt;http://www.subnetmask.info&lt;/span&gt;):&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/10.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;Установите имя хоста вручную, например&amp;nbsp;&lt;b&gt;server1.example.com&lt;/b&gt;&amp;nbsp;и введите шлюз (например,&amp;nbsp;&lt;b&gt;192.168.0.1&lt;/b&gt;) и введите до двух&amp;nbsp;&lt;b&gt;DNS&lt;/b&gt;-серверов (например,&amp;nbsp;&lt;b&gt;213.191.92.86&lt;/b&gt;&amp;nbsp;и&amp;nbsp;&lt;b&gt;145.253.2.75&lt;/b&gt;):&lt;br /&gt;&lt;/div&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/11.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;left&quot;&gt;
Выберите свой часовой пояс:&lt;/div&gt;
&lt;br /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/12.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;left&quot;&gt;
Введите&amp;nbsp;&lt;b&gt;root&amp;nbsp;&lt;/b&gt;пароль:&lt;/div&gt;
&lt;br /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/13.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;Теперь выберите программное обеспечение, которое хотите установить. Выберите тольео&amp;nbsp;&lt;b&gt;Server&amp;nbsp;&lt;/b&gt;(уберите галочку со всего остального). Также, не отмечайте пакеты&amp;nbsp;&lt;b&gt;CentOS Extras&lt;/b&gt;. Затем отметьте&amp;nbsp;&lt;b&gt;Настроить сейчас (Customize now&lt;/b&gt;&lt;b&gt;)&lt;/b&gt;, и нажмите кнопку &quot;&lt;b&gt;Далее&lt;/b&gt;&quot;:&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/14.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;Теперь мы должны выбрать группы пакетов, которые хотим установить. Выберите&lt;div align=&quot;left&quot;&gt;
&lt;b&gt;Editors&amp;nbsp;&lt;/b&gt;,&amp;nbsp;&lt;b&gt;Text-based Internet&lt;/b&gt;,&amp;nbsp;&lt;b&gt;Development Libraries&lt;/b&gt;,&amp;nbsp;&lt;b&gt;Development Tools&lt;/b&gt;,&amp;nbsp;&lt;b&gt;DNS Name Server&lt;/b&gt;,&amp;nbsp;&lt;b&gt;FTP Server&lt;/b&gt;,&amp;nbsp;&lt;b&gt;Mail Server&lt;/b&gt;,&amp;nbsp;&lt;b&gt;MySQL Database&lt;/b&gt;,&amp;nbsp;&lt;b&gt;Server Configuration Tools&lt;/b&gt;,&amp;nbsp;&lt;b&gt;Web Server&lt;/b&gt;,&amp;nbsp;&lt;b&gt;Administration Tools&lt;/b&gt;,&amp;nbsp;&lt;b&gt;Base&lt;/b&gt;, и&amp;nbsp;&lt;b&gt;System Tools&lt;/b&gt;&amp;nbsp;(не отмечайте все остальные группы пакетов) и нажмите&amp;nbsp;&lt;b&gt;Next&lt;/b&gt;:&lt;/div&gt;
&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/15.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;Установщик проверяет зависимости от выбранного пакета:&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/16.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;Нажмите&amp;nbsp;&lt;b&gt;Далее&lt;/b&gt;, чтобы начать установку:&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/17.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;Жесткий диск форматируется:&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/18.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;Начнется установка. Это займет несколько минут:&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/19.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;Наконец, установка завершена, и вы можете извлечь ваш CD или DVD диск из компьютера и перезагрузить его:&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/20.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;После перезагрузки вы увидите этот экран. Выберете конфигурации брандмауэра (&lt;b&gt;Firewall configuration&lt;/b&gt;) и нажмите&lt;b&gt;Run Tool&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/21.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;Я хочу установить панель&amp;nbsp;&lt;b&gt;ISPConfig&amp;nbsp;&lt;/b&gt;в конце этой статьи, которая поставляется с собственным брандмауэром. Вот почему мы сейчас отключим брандмауэр по умолчанию в&amp;nbsp;&lt;b&gt;CentOS&lt;/b&gt;. Конечно, вы можете включить его и настроить под свои нужды (но тогда вы не должны использовать позже любой другой брандмауэр, который скорее всего, будет конфликтовать с брандмауэром&amp;nbsp;&lt;b&gt;CentOS&lt;/b&gt;).&lt;br /&gt;&lt;div align=&quot;left&quot;&gt;
&lt;b&gt;SELinux&amp;nbsp;&lt;/b&gt;- расширение безопасности&amp;nbsp;&lt;b&gt;CentOS&lt;/b&gt;, который должен обеспечить расширенную безопасность. По нашему мнению, вам ненужно это, чтобы создать безопасную систему, так как это обычно вызывает больше проблем, чем преимуществ (подумайте об этом после недели поиска неисправностей из-за неработающих служб, а затем Вы узнаете, что все было в порядке, только&amp;nbsp;&lt;b&gt;SELinux&amp;nbsp;&lt;/b&gt;вызывал проблему). Поэтому мы отключаем его (это необходимо, если вы хотите позже установить&amp;nbsp;&lt;b&gt;ISPConfig&lt;/b&gt;). Нажмите &quot;&lt;b&gt;ОК&lt;/b&gt;&quot;:&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/22.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;Затем покиньте окно агента установки (&lt;b&gt;Setup agent)&lt;/b&gt;, выбрав&amp;nbsp;&lt;b&gt;Выход&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/23.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;Затем войдите в систему как root и перезагрузите систему, чтобы изменения вступили в силу:&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;reboot
         &lt;/pre&gt;
&lt;/div&gt;
Теперь переходим к конфигурации ...&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;&lt;div align=&quot;left&quot;&gt;
4 Отредактируем /etc/hosts&lt;/div&gt;
&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align=&quot;left&quot;&gt;
Далее мы отредактируем&amp;nbsp;&lt;b&gt;/etc/hosts&lt;/b&gt;.&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Сделаем это так:&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;vi  /etc/hosts
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font: normal normal normal 11px/normal tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin-bottom: 2px;&quot;&gt;
PHP код:&lt;/div&gt;
&lt;div class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(2, 151, 255); border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(2, 151, 255); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(2, 151, 255); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(2, 151, 255); border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; border-top-style: solid; border-top-width: 1px; color: #404040; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 98px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;
&lt;code style=&quot;white-space: nowrap;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #ff8000;&quot;&gt;#&amp;nbsp;Do&amp;nbsp;not&amp;nbsp;remove&amp;nbsp;the&amp;nbsp;following&amp;nbsp;line,&amp;nbsp;or&amp;nbsp;various&amp;nbsp;programs&lt;br /&gt;#&amp;nbsp;that&amp;nbsp;require&amp;nbsp;network&amp;nbsp;functionality&amp;nbsp;will&amp;nbsp;fail.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;127.0.0.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;localhost&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;localdomain&amp;nbsp;localhost&lt;br /&gt;192.168.0.100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;server1&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;example&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;com&amp;nbsp;server1&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;::&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;localhost6&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;localdomain6&amp;nbsp;localhost6&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: silver;&quot;&gt;Добавлено через 1 минуту&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;5 Настройка дополнительных IP-адресов&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;(В данной части показано, как добавить дополнительные IP адреса для сетевого интерфейса&amp;nbsp;&lt;b&gt;eth0&lt;/b&gt;, если вам требуется больше, чем один IP адрес. Если у вас 1 IP адрес, вы можете пропустить этот шаг.)&lt;br /&gt;&lt;br /&gt;Давайте предположим, что сетевой интерфейс находится в eth0. Тогда существует файл&amp;nbsp;&lt;b&gt;/etc/sysconfig/network-scripts/ifcfg-eth0&lt;/b&gt;, который содержит настройки для&amp;nbsp;&lt;b&gt;eth0&lt;/b&gt;. Мы можем использовать это в качестве образца для нового виртуального сетевого интерфейса&lt;b&gt;eth0:0&lt;/b&gt;&amp;nbsp;:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0
         &lt;/pre&gt;
&lt;/div&gt;
Теперь мы хотим использовать&amp;nbsp;&lt;b&gt;IP&lt;/b&gt;-адрес&amp;nbsp;&lt;b&gt;192.168.0.101&lt;/b&gt;&amp;nbsp;на виртуальном интерфейсе eth0:0. Поэтому мы открываем файл&lt;b&gt;&amp;nbsp;/etc/sysconfig/network-scripts/ifcfg-eth0:0&lt;/b&gt;&amp;nbsp;и изменяем его следующим образом (мы можем неучитывать линию&amp;nbsp;&lt;b&gt;HWADDR&lt;/b&gt;,так как это та же самая физическая сетевая плата):&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;vi /etc/sysconfig/network-scripts/ifcfg-eth0:0
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font: normal normal normal 11px/normal tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin-bottom: 2px;&quot;&gt;
PHP код:&lt;/div&gt;
&lt;div class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(2, 151, 255); border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(2, 151, 255); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(2, 151, 255); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(2, 151, 255); border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; border-top-style: solid; border-top-width: 1px; color: #404040; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 146px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;
&lt;code style=&quot;white-space: nowrap;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #ff8000;&quot;&gt;#&amp;nbsp;Intel&amp;nbsp;Corporation&amp;nbsp;82545EM&amp;nbsp;Gigabit&amp;nbsp;Ethernet&amp;nbsp;Controller&amp;nbsp;(Copper)&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;DEVICE&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;eth0&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;0&lt;br /&gt;BOOTPROTO&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=static&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;BROADCAST&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;192.168.0.255&lt;br /&gt;IPADDR&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;192.168.0.101&lt;br /&gt;NETMASK&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;255.255.255.0&lt;br /&gt;NETWORK&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;192.168.0.0&lt;br /&gt;ONBOOT&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;yes&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
Затем мы должны перезапустить сеть:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;/etc/init.d/network restart
         &lt;/pre&gt;
&lt;/div&gt;
Вы также можете настроить&amp;nbsp;&lt;b&gt;/etc/hosts&lt;/b&gt;&amp;nbsp;после добавления нового IP-адреса , хотя это и не нужно.&lt;br /&gt;&lt;br /&gt;Теперь запустите&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;ifconfig
         &lt;/pre&gt;
&lt;/div&gt;
Теперь вы должны увидеть на выходе ваш новый IP-адрес :&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 434px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;[root@server1 ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0C:29:FD:78:BE
inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fefd:78be/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:130 errors:0 dropped:0 overruns:0 frame:0
TX packets:137 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12592 (12.2 KiB)  TX bytes:31876 (31.1 KiB)
Base address:0x1070 Memory:ec820000-ec840000

eth0:0    Link encap:Ethernet  HWaddr 00:0C:29:FD:78:BE
inet addr:192.168.0.101  Bcast:192.168.0.255  Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
Base address:0x1070 Memory:ec820000-ec840000

lo        Link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)

[root@server1 ~]#
         &lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;6 Отключение брандмауэра и SELinux&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;(Вы можете пропустить этот шаг, если вы уже отключили брандмауэр, и SELinux в конце базовой установки системы (окно установки агента).)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;Мы хотим установить панель ISPConfig в конце этой статьи, которая поставляется со своим собственным брандмауэром. Вот поэтому мы и отключаем брандмауэр по умолчанию в CentOS. Конечно, вы можете не делать этого и настроить его под свои нужды (но тогда вы не должны использовать любой другой брандмауэр,который скорее всего, будет конфликтовать с брандмауэром CentOS).&lt;br /&gt;&lt;br /&gt;SELinux представляет собой расширение безопасности CentOS, которые должны обеспечить расширенную безопасность. Отключим его (это необходимо, если мы хотим установить ISPConfig).&lt;br /&gt;&lt;br /&gt;Запустим&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;system-config-securitylevel
         &lt;/pre&gt;
&lt;/div&gt;
Отелючим&amp;nbsp;&lt;b&gt;Security Level&lt;/b&gt;&amp;nbsp;и&amp;nbsp;&lt;b&gt;SELinux&lt;/b&gt;, отметив&amp;nbsp;&lt;b&gt;Disabled&amp;nbsp;&lt;/b&gt;и нажмем&amp;nbsp;&lt;b&gt;OK&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/24.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;Затем мы должны перезагрузить систему:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;reboot
         &lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;7 Установка программ&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Сначала мы импортируем GPG ключи для программных пакетов:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*
         &lt;/pre&gt;
&lt;/div&gt;
Включим репозитории&amp;nbsp;&lt;b&gt;Contrib&amp;nbsp;&lt;/b&gt;и&amp;nbsp;&lt;b&gt;centosplus&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;vi /etc/yum.repos.d/CentOS-Base.repo
         &lt;/pre&gt;
&lt;/div&gt;
Изменим следующие строки:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font: normal normal normal 11px/normal tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin-bottom: 2px;&quot;&gt;
PHP код:&lt;/div&gt;
&lt;div class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(2, 151, 255); border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(2, 151, 255); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(2, 151, 255); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(2, 151, 255); border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; border-top-style: solid; border-top-width: 1px; color: #404040; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 290px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;
&lt;code style=&quot;white-space: nowrap;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;base&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;]&lt;br /&gt;[...]&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;exclude&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;postfix&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;[...]&lt;br /&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;update&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;]&lt;br /&gt;[...]&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;exclude&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;postfix&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;[...]&lt;br /&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;centosplus&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;]&lt;br /&gt;[...]&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;enabled&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;1&lt;br /&gt;includepkgs&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;postfix&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;[...]&lt;br /&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;contrib&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;]&lt;br /&gt;[...]&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;enabled&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;[...]&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
Далее мы обновляем существующие пакеты в системе:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum update
         &lt;/pre&gt;
&lt;/div&gt;
Сейчас мы установим некоторые программные пакеты, которые понадобятся в дальнейшем:&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum groupinstall &#39;Development Tools&#39;
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum groupinstall &#39;Development Libraries&#39;
         &lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;8 Quota&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(Если вы выбрали другую схему разбиения диска, то вам нужно изменить эту часть статьи, с учетом того, что quota распространяется на разделы, где это необходимо.)&lt;br /&gt;&lt;br /&gt;Чтобы установить quota, мы выполним следующую команду:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum install quota
         &lt;/pre&gt;
&lt;/div&gt;
Отредактируем /etc/fstab и добавим,usrquota,grpquota в /partition ( /dev/VolGroup00/LogVol00 ):&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;vi /etc/fstab
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font: normal normal normal 11px/normal tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin-bottom: 2px;&quot;&gt;
PHP код:&lt;/div&gt;
&lt;div class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(2, 151, 255); border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(2, 151, 255); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(2, 151, 255); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(2, 151, 255); border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; border-top-style: solid; border-top-width: 1px; color: #404040; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 130px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;
&lt;code style=&quot;white-space: nowrap;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;dev&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;VolGroup00&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;LogVol00&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;ext3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;defaults&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;usrquota&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;grpquota&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1&amp;nbsp;1&lt;br /&gt;LABEL&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;boot&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;boot&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ext3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;defaults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1&amp;nbsp;2&lt;br /&gt;tmpfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;dev&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;shm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tmpfs&amp;nbsp;&amp;nbsp;&amp;nbsp;defaults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0&amp;nbsp;0&lt;br /&gt;devpts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;dev&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;pts&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;devpts&amp;nbsp;&amp;nbsp;gid&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;mode&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;620&amp;nbsp;&amp;nbsp;0&amp;nbsp;0&lt;br /&gt;sysfs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sysfs&amp;nbsp;&amp;nbsp;&amp;nbsp;defaults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0&amp;nbsp;0&lt;br /&gt;proc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;proc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;proc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;defaults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0&amp;nbsp;0&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;dev&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;VolGroup00&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;LogVol01&amp;nbsp;swap&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;swap&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;defaults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;0&amp;nbsp;0&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
Затем запустите:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 98px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;touch /aquota.user /aquota.group
chmod 600 /aquota.*
mount -o remount /
quotacheck -avugm
quotaon -avug
         &lt;/pre&gt;
&lt;/div&gt;
,чтобы включить quota.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;9 Установка Apache, MySQL, PhpMyAdmin&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Сначала мы включим RPMforge репозиторий на CentOS, чтобы установить пакеты, которые не доступны в официальном репозитории CentOS 5.5:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 66px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;cd /tmp
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
rpm -ivh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
         &lt;/pre&gt;
&lt;/div&gt;
(Если ссылка выше не работает, вы можете найти текущую версию rpmforge здесь:&amp;nbsp;&lt;span class=&quot;ext_link&quot; id=&quot;extlink_58fd25a4cc&quot; style=&quot;background-image: url(http://pcvector.ru/clientscript/pcv/link_external.png); background-position: 100% 0%; background-repeat: no-repeat no-repeat; color: #296fdf; cursor: pointer; display: inline-block; margin-bottom: 3px; margin-left: 0px; margin-right: 0px; margin-top: 3px; padding-bottom: 3px; padding-left: 7px; padding-right: 20px; padding-top: 3px;&quot; title=&quot;Внешняя ссылка, реферер не передается http://packages.sw.be/rpmforge-release/&quot;&gt;Index of /rpmforge-release&lt;/span&gt;&amp;nbsp;)&lt;br /&gt;&lt;br /&gt;После этого мы можем установить необходимые пакеты с помощью одной команды:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum install ntp httpd mysql-server php php-mysql php-mbstring php-mcrypt phpmyadmin
         &lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;color: silver;&quot;&gt;Добавлено через 24 секунды&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;10 Установка Dovecot&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;Dovecot есть в репозиториях CentOS, но, к сожалению, не поддерживает MySQL. Поэтому мы должны удалить существующий Dovecot и установить другой пакет Dovecot (от ATrpms), который поставляется с поддержкой MySQL:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum remove dovecot
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 50px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;rpm -ivh http://dl.atrpms.net/all/dovecot-1.2.11-3_108.el5.x86_64.rpm
rpm -ivh http://dl.atrpms.net/all/dovecot-sieve-0.1.15-4.el5.x86_64.rpm
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 50px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;rm -fr /usr/lib/dovecot/
ln -s /usr/lib64/dovecot/ /usr/lib/dovecot
         &lt;/pre&gt;
&lt;/div&gt;
Теперь сделаем автозапуск для Dovecot:&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 50px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;chkconfig --levels 235 dovecot on
/etc/init.d/dovecot start
         &lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;11 Установка Postfix с поддержкой MySQL&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&quot;Нормальный&quot; пакет Postfix из репозитория CentOS не содержит MySQL, а пакет Postfix из репозитория CentOS Plus включает его в себя. Поэтому мы удалим Postfix ...&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum remove postfix
         &lt;/pre&gt;
&lt;/div&gt;
... и установим его снова, на этот раз из репозитория CentOS Plus:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum install postfix
         &lt;/pre&gt;
&lt;/div&gt;
Затем отключим Sendmail и запустим Postfix и MySQL:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 50px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;chkconfig --levels 235 mysqld on
/etc/init.d/mysqld start
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 82px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;chkconfig --levels 235 sendmail off
chkconfig --levels 235 postfix on
/etc/init.d/sendmail stop
/etc/init.d/postfix start
         &lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;12 Установка GetMail&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;GetMail можно установить следующим образом:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum install getmail
         &lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;13 Установка паролей на MySQL и настройка phpMyAdmin&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Установите пароль для root пользователя MySQL:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;mysql_secure_installation
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 498px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;[root@server1 tmp]# mysql_secure_installation


NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!


In order to log into MySQL to secure it, we&#39;ll need the current
password for the root user.  If you&#39;ve just installed MySQL, and
you haven&#39;t set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.

Set root password? [Y/n] &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- ENTER&lt;/b&gt;&lt;/span&gt;
New password: &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- yourrootsqlpassword&lt;/b&gt;&lt;/span&gt;
Re-enter new password:&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt; &amp;lt;-- yourrootsqlpassword&lt;/b&gt;&lt;/span&gt;
Password updated successfully!
Reloading privilege tables..
 ... Success!


By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them.  This is intended only for testing, and to make the installation
go a bit smoother.  You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- ENTER&lt;/b&gt;&lt;/span&gt;
 ... Success!

Normally, root should only be allowed to connect from &#39;localhost&#39;.  This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- ENTER&lt;/b&gt;&lt;/span&gt;
 ... Success!

By default, MySQL comes with a database named &#39;test&#39; that anyone can
access.  This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;[Y/n] &amp;lt;-- ENTER&lt;/span&gt;&lt;/b&gt;
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- ENTER&lt;/b&gt;&lt;/span&gt;
 ... Success!

Cleaning up...



All done!  If you&#39;ve completed all of the above steps, your MySQL
installation should now be secure.

Thanks for using MySQL!


[root@server1 tmp]#
         &lt;/pre&gt;
&lt;/div&gt;
Теперь настроим&amp;nbsp;&lt;b&gt;PhpMyAdmin&lt;/b&gt;. Мы изменим конфигурацию Apache, так чтобы phpMyAdmin позволял соединяться не только из localhost (за комментируем строку &amp;lt;Directory &quot;/usr/share/phpmyadmin&quot;&amp;gt;):&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;vi /etc/httpd/conf.d/phpmyadmin.conf
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font: normal normal normal 11px/normal tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin-bottom: 2px;&quot;&gt;
PHP код:&lt;/div&gt;
&lt;div class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(2, 151, 255); border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(2, 151, 255); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(2, 151, 255); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(2, 151, 255); border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; border-top-style: solid; border-top-width: 1px; color: #404040; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 226px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;
&lt;code style=&quot;white-space: nowrap;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #ff8000;&quot;&gt;#&lt;br /&gt;#&amp;nbsp;&amp;nbsp;Web&amp;nbsp;application&amp;nbsp;to&amp;nbsp;manage&amp;nbsp;MySQL&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;#&amp;lt;Directory&amp;nbsp;&quot;/usr/share/phpmyadmin&quot;&amp;gt;&lt;br /&gt;#&amp;nbsp;&amp;nbsp;Order&amp;nbsp;Deny,Allow&lt;br /&gt;#&amp;nbsp;&amp;nbsp;Deny&amp;nbsp;from&amp;nbsp;all&lt;br /&gt;#&amp;nbsp;&amp;nbsp;Allow&amp;nbsp;from&amp;nbsp;127.0.0.1&lt;br /&gt;#&amp;lt;/Directory&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Alias&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;phpmyadmin&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;usr&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;share&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;phpmyadmin&lt;br /&gt;Alias&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;phpMyAdmin&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;usr&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;share&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;phpmyadmin&lt;br /&gt;Alias&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;mysqladmin&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;usr&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;share&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;phpmyadmin&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
Далее мы изменим аутентификацию в phpMyAdmin из cookie в http:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;vi /usr/share/phpmyadmin/config.inc.php
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font: normal normal normal 11px/normal tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin-bottom: 2px;&quot;&gt;
PHP код:&lt;/div&gt;
&lt;div class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(2, 151, 255); border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(2, 151, 255); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(2, 151, 255); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(2, 151, 255); border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; border-top-style: solid; border-top-width: 1px; color: #404040; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 82px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;
&lt;code style=&quot;white-space: nowrap;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;[...]&lt;/span&gt;&lt;span style=&quot;color: #ff8000;&quot;&gt;/*&amp;nbsp;Authentication&amp;nbsp;type&amp;nbsp;*/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;$cfg&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&#39;Servers&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;$i&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;][&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&#39;auth_type&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;]&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&#39;http&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;br /&gt;[...]&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
Далее сделаем автозапуск для Apache и запустим его:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 50px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;chkconfig --levels 235 httpd on
/etc/init.d/httpd start
         &lt;/pre&gt;
&lt;/div&gt;
Теперь мы можем ввести в адресной строке браузера&amp;nbsp;&lt;span class=&quot;ext_link&quot; id=&quot;extlink_289840854e&quot; style=&quot;background-image: url(http://pcvector.ru/clientscript/pcv/link_external.png); background-position: 100% 0%; background-repeat: no-repeat no-repeat; color: #296fdf; cursor: pointer; display: inline-block; margin-bottom: 3px; margin-left: 0px; margin-right: 0px; margin-top: 3px; padding-bottom: 3px; padding-left: 7px; padding-right: 20px; padding-top: 3px;&quot; title=&quot;Внешняя ссылка, реферер не передается http://server1.example.com/phpmyadmin/&quot;&gt;http://server1.example.com/phpmyadmin/&lt;/span&gt;&amp;nbsp;или&amp;nbsp;&lt;span class=&quot;ext_link&quot; id=&quot;extlink_c8a7001433&quot; style=&quot;background-image: url(http://pcvector.ru/clientscript/pcv/link_external.png); background-position: 100% 0%; background-repeat: no-repeat no-repeat; color: #296fdf; cursor: pointer; display: inline-block; margin-bottom: 3px; margin-left: 0px; margin-right: 0px; margin-top: 3px; padding-bottom: 3px; padding-left: 7px; padding-right: 20px; padding-top: 3px;&quot; title=&quot;Внешняя ссылка, реферер не передается http://192.168.0.100/phpmyadmin/&quot;&gt;http://192.168.0.100/phpmyadmin/&lt;/span&gt;&amp;nbsp;и залогиниться с именем суперпользователя root и новым root паролем MySQL.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;14 Установка Amavisd-new, SpamAssassin и ClamAV&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Чтобы установить amavisd-new, spamassassin и clamav, выполните следующую команду:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum install amavisd-new spamassassin clamav clamd unzip bzip2 unrar perl-DBD-mysql
         &lt;/pre&gt;
&lt;/div&gt;
Откройте /etc/sysconfig/amavisd ...&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;vi /etc/sysconfig/amavisd
         &lt;/pre&gt;
&lt;/div&gt;
... и добавьте строчку CONFIG_FILE=&quot;/etc/amavisd/amavisd.conf&quot; :&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font: normal normal normal 11px/normal tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin-bottom: 2px;&quot;&gt;
PHP код:&lt;/div&gt;
&lt;div class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(2, 151, 255); border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(2, 151, 255); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(2, 151, 255); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(2, 151, 255); border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; border-top-style: solid; border-top-width: 1px; color: #404040; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 194px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;
&lt;code style=&quot;white-space: nowrap;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #ff8000;&quot;&gt;###&amp;nbsp;Uncomment&amp;nbsp;this&amp;nbsp;if&amp;nbsp;you&amp;nbsp;want&amp;nbsp;to&amp;nbsp;use&amp;nbsp;amavis&amp;nbsp;with&amp;nbsp;sendmail&amp;nbsp;milter&amp;nbsp;interface.&lt;br /&gt;###&amp;nbsp;See&amp;nbsp;README.milter&amp;nbsp;for&amp;nbsp;details.&lt;br /&gt;#&lt;br /&gt;#MILTER_SOCKET=&quot;local:/var/amavis/amavis-milter.sock&quot;&lt;br /&gt;#MILTER_SOCKET=&quot;10024@127.0.0.1&quot;&lt;br /&gt;&lt;br /&gt;###&amp;nbsp;These&amp;nbsp;are&amp;nbsp;other&amp;nbsp;defaults.&lt;br /&gt;#AMAVIS_ACCOUNT=&quot;amavis&quot;&lt;br /&gt;#CONFIG_FILE=&quot;/etc/amavisd.conf&quot;&lt;br /&gt;#MILTER_FLAGS=&quot;&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;CONFIG_FILE&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;/etc/amavisd/amavisd.conf&quot;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
Затем запустим freshclam, amavisd, и clamd...&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 114px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;sa-update
chkconfig --levels 235 amavisd on
chkconfig --levels 235 clamd on
/usr/bin/freshclam
/etc/init.d/amavisd start
/etc/init.d/clamd start
         &lt;/pre&gt;
&lt;/div&gt;
(Это нормально, если вы видите ошибку: Starting Mail Virus Scanner (amavisd): Config file &quot;/etc/amavisd/amavisd.conf&quot; does not exist, at /usr/sbin/amavisd line 1795. - Отсутствует файл конфигурации /etc/amavisd/amavisd.conf который будет создан во время установки ISPConfig.)&lt;br /&gt;&lt;br /&gt;... и создадим необходимые нам каталоги&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 66px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;mkdir /var/run/amavisd /var/spool/amavisd /var/spool/amavisd/tmp /var/spool/amavisd/db
chown amavis /var/run/amavisd /var/spool/amavisd /var/spool/amavisd/tmp /var/spool/amavisd/db
ln -s /var/run/clamav/clamd.sock /var/spool/amavisd/clamd.sock
         &lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;15 Установка Apache2 с mod_php, mod_fcgi/PHP5 и suPHP&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;ISPConfig 3 позволяет использовать mod_php, mod_fcgi/PHP5, cgi/PHP5 и suPHP для каждого сайта.&lt;br /&gt;&lt;br /&gt;mod_fcgid отсутствует в официальном репозитории CentOS, но есть пакет для CentOS 5.x в centos.karan.org. Подключим репозитории следующим образом:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 50px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;cd /etc/yum.repos.d/
wget http://centos.karan.org/kbsingh-CentOS-Extras.repo
         &lt;/pre&gt;
&lt;/div&gt;
Далее откроем /etc/yum.repos.d/kbsingh-CentOS-Extras.repo ...&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;vi /etc/yum.repos.d/kbsingh-CentOS-Extras.repo
         &lt;/pre&gt;
&lt;/div&gt;
... и поставим 0 напротив gpgcheck и напротив enabled поставим 1 в секции [kbs-CentOS-Testing]:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font: normal normal normal 11px/normal tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin-bottom: 2px;&quot;&gt;
PHP код:&lt;/div&gt;
&lt;div class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(2, 151, 255); border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(2, 151, 255); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(2, 151, 255); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(2, 151, 255); border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; border-top-style: solid; border-top-width: 1px; color: #404040; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 130px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;
&lt;code style=&quot;white-space: nowrap;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;[...]&lt;br /&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;kbs&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;CentOS&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Testing&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;CentOS&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Karan&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Org&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;EL$releasever&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Testing&lt;br /&gt;gpgcheck&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;0&lt;br /&gt;gpgkey&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;http&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #ff8000;&quot;&gt;//centos.karan.org/RPM-GPG-KEY-karan.org.txt&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;enabled&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;1&lt;br /&gt;baseurl&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;http&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #ff8000;&quot;&gt;//centos.karan.org/el$releasever/extras/testing/$basearch/RPMS/&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
После этого мы сможем установить Apache2with mod_php5, mod_fcgid, и PHP5:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc php-eaccelerator php-mbstring php-mcrypt php-mhash php-mssql php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel mod_fcgid php-cli httpd-devel
         &lt;/pre&gt;
&lt;/div&gt;
Далее откроем /etc/php.ini...&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;vi /etc/php.ini
         &lt;/pre&gt;
&lt;/div&gt;
... и изменим сообщений об ошибках (так, чтобы уведомления не показывались больше) и добавим cgi.fix_pathinfo = 1 в конце файла:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font: normal normal normal 11px/normal tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin-bottom: 2px;&quot;&gt;
PHP код:&lt;/div&gt;
&lt;div class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(2, 151, 255); border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(2, 151, 255); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(2, 151, 255); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(2, 151, 255); border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; border-top-style: solid; border-top-width: 1px; color: #404040; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 98px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;
&lt;code style=&quot;white-space: nowrap;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;[...]&lt;br /&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;error_reporting&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;E_ALL&lt;br /&gt;error_reporting&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;E_ALL&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;&amp;amp;&amp;nbsp;~&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;E_NOTICE&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;[...]&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;cgi&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;fix_pathinfo&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;1&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
Далее установим suPHP:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 130px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;cd /tmp
wget http://suphp.org/download/suphp-0.7.1.tar.gz
tar xvfz suphp-0.7.1.tar.gz
cd suphp-0.7.1/
./configure --prefix=/usr --sysconfdir=/etc --with-apr=/usr/bin/apr-1-config --with-apxs=/usr/sbin/apxs --with-apache-user=apache --with-setid-mode=owner --with-php=/usr/bin/php-cgi --with-logfile=/var/log/httpd/suphp_log --enable-SUPHP_USE_USERGROUP=yes
make
make install
         &lt;/pre&gt;
&lt;/div&gt;
Затем добавим модуль suPHP в нашу конфигурацию Apache ...&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;vi /etc/httpd/conf.d/suphp.conf
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font: normal normal normal 11px/normal tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin-bottom: 2px;&quot;&gt;
PHP код:&lt;/div&gt;
&lt;div class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(2, 151, 255); border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(2, 151, 255); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(2, 151, 255); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(2, 151, 255); border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; border-top-style: solid; border-top-width: 1px; color: #404040; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;
&lt;code style=&quot;white-space: nowrap;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;LoadModule&amp;nbsp;suphp_module&amp;nbsp;modules&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;mod_suphp&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;so&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
... и создадим файл /etc/suphp.conf&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;vi /etc/suphp.conf
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font: normal normal normal 11px/normal tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin-bottom: 2px;&quot;&gt;
PHP код:&lt;/div&gt;
&lt;div class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(2, 151, 255); border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(2, 151, 255); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(2, 151, 255); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(2, 151, 255); border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; border-top-style: solid; border-top-width: 1px; color: #404040; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 498px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;
&lt;code style=&quot;white-space: nowrap;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;[global]&lt;br /&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Path&amp;nbsp;to&amp;nbsp;logfile&lt;br /&gt;logfile&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=/var/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;httpd&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;suphp&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Loglevel&lt;br /&gt;loglevel&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;info&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;User&amp;nbsp;Apache&amp;nbsp;is&amp;nbsp;running&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;as&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;webserver_user&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;apache&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Path&amp;nbsp;all&amp;nbsp;scripts&amp;nbsp;have&amp;nbsp;to&amp;nbsp;be&amp;nbsp;in&lt;br /&gt;docroot&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=/&lt;br /&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Path&amp;nbsp;to&amp;nbsp;chroot&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;()&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;to&amp;nbsp;before&amp;nbsp;executing&amp;nbsp;script&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;chroot&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;mychroot&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Security&amp;nbsp;options&lt;br /&gt;allow_file_group_writeable&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;true&lt;br /&gt;allow_file_others_writeable&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;false&lt;br /&gt;allow_directory_group_writeable&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;true&lt;br /&gt;allow_directory_others_writeable&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;false&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Check&amp;nbsp;wheter&amp;nbsp;script&amp;nbsp;is&amp;nbsp;within&amp;nbsp;DOCUMENT_ROOT&lt;br /&gt;check_vhost_docroot&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Send&amp;nbsp;minor&amp;nbsp;error&amp;nbsp;messages&amp;nbsp;to&amp;nbsp;browser&lt;br /&gt;errors_to_browser&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;false&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;PATH&amp;nbsp;environment&amp;nbsp;variable&lt;br /&gt;env_path&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;bin&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;:/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;usr&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;bin&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Umask&amp;nbsp;to&amp;nbsp;set&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;specify&amp;nbsp;in&amp;nbsp;octal&amp;nbsp;notation&lt;br /&gt;umask&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;0077&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Minimum&amp;nbsp;UID&lt;br /&gt;min_uid&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Minimum&amp;nbsp;GID&lt;br /&gt;min_gid&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;100&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;handlers&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;]&lt;br /&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Handler&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;for&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;php&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;scripts&lt;br /&gt;x&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;httpd&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;suphp&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;php:/usr/bin/php-cgi&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;Handler&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;for&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;CGI&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;scripts&lt;br /&gt;x&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;suphp&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;cgi&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;execute:!self&quot;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
И в завершении перезапустим Apache&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;/etc/init.d/httpd restart
         &lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;16 Установка PureFTPd&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;PureFTPd может быть установлена с помощью следующей команды:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum install pure-ftpd
         &lt;/pre&gt;
&lt;/div&gt;
Затем создадим ссылки загрузки и запуска PureFTPd:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 50px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;chkconfig --levels 235 pure-ftpd on
/etc/init.d/pure-ftpd start
         &lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;17 Установка A Chrooted DNS Server (BIND9)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Делаем так:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum install bind-chroot
         &lt;/pre&gt;
&lt;/div&gt;
Затем сделайте следующее:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 210px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;chmod 755 /var/named/
chmod 775 /var/named/chroot/
chmod 775 /var/named/chroot/var/
chmod 775 /var/named/chroot/var/named/
chmod 775 /var/named/chroot/var/run/
chmod 777 /var/named/chroot/var/run/named/
cd /var/named/chroot/var/named/
ln -s ../../ chroot
cp /usr/share/doc/bind-9.3.6/sample/var/named/named.local /var/named/chroot/var/named/named.local
cp /usr/share/doc/bind-9.3.6/sample/var/named/named.root /var/named/chroot/var/named/named.root
touch /var/named/chroot/etc/named.conf.local
vi /var/named/chroot/etc/named.conf
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font: normal normal normal 11px/normal tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin-bottom: 2px;&quot;&gt;
PHP код:&lt;/div&gt;
&lt;div class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(2, 151, 255); border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(2, 151, 255); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(2, 151, 255); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(2, 151, 255); border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; border-top-style: solid; border-top-width: 1px; color: #404040; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 482px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;
&lt;code style=&quot;white-space: nowrap;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #ff8000;&quot;&gt;//&lt;br /&gt;//&amp;nbsp;named.conf&lt;br /&gt;//&lt;br /&gt;//&amp;nbsp;Provided&amp;nbsp;by&amp;nbsp;Red&amp;nbsp;Hat&amp;nbsp;bind&amp;nbsp;package&amp;nbsp;to&amp;nbsp;configure&amp;nbsp;the&amp;nbsp;ISC&amp;nbsp;BIND&amp;nbsp;named(8)&amp;nbsp;DNS&lt;br /&gt;//&amp;nbsp;server&amp;nbsp;as&amp;nbsp;a&amp;nbsp;caching&amp;nbsp;only&amp;nbsp;nameserver&amp;nbsp;(as&amp;nbsp;a&amp;nbsp;localhost&amp;nbsp;DNS&amp;nbsp;resolver&amp;nbsp;only).&lt;br /&gt;//&lt;br /&gt;//&amp;nbsp;See&amp;nbsp;/usr/share/doc/bind*/sample/&amp;nbsp;for&amp;nbsp;example&amp;nbsp;named&amp;nbsp;configuration&amp;nbsp;files.&lt;br /&gt;//&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;options&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;listen&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;on&amp;nbsp;port&amp;nbsp;53&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;127.0.0.1&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&amp;nbsp;};&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;listen&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;on&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;v6&amp;nbsp;port&amp;nbsp;53&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;{&amp;nbsp;::&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&amp;nbsp;};&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;directory&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;/var/named/chroot/var/named&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;dump&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;file&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;/var/named/chroot/var/named/data/cache_dump.db&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;statistics&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;file&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;/var/named/chroot/var/named/data/named_stats.txt&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;memstatistics&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;file&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;/var/named/chroot/var/named/data/named_mem_stats.txt&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;allow&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;query&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;localhost&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&amp;nbsp;};&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;recursion&amp;nbsp;yes&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;br /&gt;};&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;logging&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;channel&amp;nbsp;default_debug&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;file&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;data/named.run&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;severity&amp;nbsp;dynamic&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br /&gt;};&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;zone&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;.&quot;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;IN&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;type&amp;nbsp;hint&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;file&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;named.root&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&lt;br /&gt;};&lt;br /&gt;include&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dd0000;&quot;&gt;&quot;/var/named/chroot/etc/named.conf.local&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700;&quot;&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 50px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;chkconfig --levels 235 named on
/etc/init.d/named start
         &lt;/pre&gt;
&lt;/div&gt;
BIND будет запускаться в пределах одной директории /var/named/chroot/var/named/. Мы будем использовать ISPConfig для настроики BIND (зон и т.д.).&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;18 Установка Vlogger и Webalizer&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Vlogger и Webalizer могут быть установлены следующим образом:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum install webalizer perl-DateTime-Format-HTTP perl-DateTime-Format-Builder
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 98px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;cd /tmp
wget http://n0rp.chemlab.org/vlogger/vlogger-1.3.tar.gz
tar xvfz vlogger-1.3.tar.gz
mv vlogger-1.3/vlogger /usr/sbin/
rm -rf vlogger*
         &lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;19 Установка Jailkit&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Jailkit необходим только если вы хотите запереть SSH пользователей в пределах одной директории. Она может быть установлена следующим образом (&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;важно: Jailkit должен быть установлен до ISPConfig - он не может быть установлен позже!&lt;/span&gt;&lt;/b&gt;):&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 162px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.11.tar.gz
tar xvfz jailkit-2.11.tar.gz
cd jailkit-2.11
./configure
make
make install
cd ..
rm -rf jailkit-2.11*
         &lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;20 Установка fail2ban&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Это необязательно, но рекомендуется, так как монитор ISPConfig пытается показать лог:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum install fail2ban
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 50px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;chkconfig --levels 235 fail2ban on
/etc/init.d/fail2ban start
         &lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;21 Установка RkHunter&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;RkHunter можно установить следующим образом:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum install rkhunter
         &lt;/pre&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;22 Установка SquirrelMail&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Чтобы установить клиент веб-почты SquirrelMail, запустим...&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;yum install squirrelmail
         &lt;/pre&gt;
&lt;/div&gt;
... и перезагрузим Apache:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;/etc/init.d/httpd restart
         &lt;/pre&gt;
&lt;/div&gt;
Затем настроим SquirrelMail:&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;/usr/share/squirrelmail/config/conf.pl
         &lt;/pre&gt;
&lt;/div&gt;
Мы должны &quot;сказать&quot; SquirrelMail, что используем Courier-IMAP/-POP3:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 354px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Main Menu --
1.  Organization Preferences
2.  Server Settings
3.  Folder Defaults
4.  General Options
5.  Themes
6.  Address Books
7.  Message of the Day (MOTD)
8.  Plugins
9.  Database
10. Languages

D.  Set pre-defined settings for specific IMAP servers

C   Turn color off
S   Save data
Q   Quit

Command &amp;gt;&amp;gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt; &amp;lt;-- D&lt;/b&gt;&lt;/span&gt;
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 402px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;SquirrelMail Configuration : Read: config.php
---------------------------------------------------------
While we have been building SquirrelMail, we have discovered some
preferences that work better with some servers that don&#39;t work so
well with others.  If you select your IMAP server, this option will
set some pre-defined settings for that server.

Please note that you will still need to go through and make sure
everything is correct.  This does not change everything.  There are
only a few settings that this will change.

Please select your IMAP server:
    bincimap    = Binc IMAP server
    courier     = Courier IMAP server
    cyrus       = Cyrus IMAP server
    dovecot     = Dovecot Secure IMAP server
    exchange    = Microsoft Exchange IMAP server
    hmailserver = hMailServer
    macosx      = Mac OS X Mailserver
    mercury32   = Mercury/32
    uw          = University of Washington&#39;s IMAP server

    quit        = Do not change anything
Command &amp;gt;&amp;gt; &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- dovecot&lt;/b&gt;&lt;/span&gt;
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 498px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;SquirrelMail Configuration : Read: config.php
---------------------------------------------------------
While we have been building SquirrelMail, we have discovered some
preferences that work better with some servers that don&#39;t work so
well with others.  If you select your IMAP server, this option will
set some pre-defined settings for that server.

Please note that you will still need to go through and make sure
everything is correct.  This does not change everything.  There are
only a few settings that this will change.

Please select your IMAP server:
    bincimap    = Binc IMAP server
    courier     = Courier IMAP server
    cyrus       = Cyrus IMAP server
    dovecot     = Dovecot Secure IMAP server
    exchange    = Microsoft Exchange IMAP server
    hmailserver = hMailServer
    macosx      = Mac OS X Mailserver
    mercury32   = Mercury/32
    uw          = University of Washington&#39;s IMAP server

    quit        = Do not change anything
Command &amp;gt;&amp;gt; dovecot

              imap_server_type = dovecot
         default_folder_prefix = &amp;lt;none&amp;gt;
                  trash_folder = Trash
                   sent_folder = Sent
                  draft_folder = Drafts
            show_prefix_option = false
          default_sub_of_inbox = false
show_contain_subfolders_option = false
            optional_delimiter = detect
                 delete_folder = false

Press any key to continue... &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- press a key &lt;/b&gt;&lt;/span&gt;
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 354px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Main Menu --
1.  Organization Preferences
2.  Server Settings
3.  Folder Defaults
4.  General Options
5.  Themes
6.  Address Books
7.  Message of the Day (MOTD)
8.  Plugins
9.  Database
10. Languages

D.  Set pre-defined settings for specific IMAP servers

C   Turn color off
S   Save data
Q   Quit

Command &amp;gt;&amp;gt; &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;--S&lt;/b&gt;&lt;/span&gt;
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 354px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Main Menu --
1.  Organization Preferences
2.  Server Settings
3.  Folder Defaults
4.  General Options
5.  Themes
6.  Address Books
7.  Message of the Day (MOTD)
8.  Plugins
9.  Database
10. Languages

D.  Set pre-defined settings for specific IMAP servers

C   Turn color off
S   Save data
Q   Quit

Command &amp;gt;&amp;gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt; &amp;lt;--Q&lt;/b&gt;&lt;/span&gt;
         &lt;/pre&gt;
&lt;/div&gt;
Последнее, что нам нужно сделать, это внести изменения в файл /etc/squirrelmail/config_local.php и закомментировать $default_folder_prefix переменной - если вы не сделаете этого, то увидите следующее сообщение об ошибке в SquirrelMail после того, как войдете в систему : Query: CREATE &quot;Sent&quot; Reason Given: Invalid mailbox name&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;vi /etc/squirrelmail/config_local.php
         &lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;div class=&quot;smallfont&quot; style=&quot;font: normal normal normal 11px/normal tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; margin-bottom: 2px;&quot;&gt;
PHP код:&lt;/div&gt;
&lt;div class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(2, 151, 255); border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(2, 151, 255); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(2, 151, 255); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(2, 151, 255); border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; border-top-style: solid; border-top-width: 1px; color: #404040; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 306px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;
&lt;code style=&quot;white-space: nowrap;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #ff8000;&quot;&gt;/**&lt;br /&gt;&amp;nbsp;*&amp;nbsp;Local&amp;nbsp;config&amp;nbsp;overrides.&lt;br /&gt;&amp;nbsp;*&lt;br /&gt;&amp;nbsp;*&amp;nbsp;You&amp;nbsp;can&amp;nbsp;override&amp;nbsp;the&amp;nbsp;config.php&amp;nbsp;settings&amp;nbsp;here.&lt;br /&gt;&amp;nbsp;*&amp;nbsp;Don&#39;t&amp;nbsp;do&amp;nbsp;it&amp;nbsp;unless&amp;nbsp;you&amp;nbsp;know&amp;nbsp;what&amp;nbsp;you&#39;re&amp;nbsp;doing.&lt;br /&gt;&amp;nbsp;*&amp;nbsp;Use&amp;nbsp;standard&amp;nbsp;PHP&amp;nbsp;syntax,&amp;nbsp;see&amp;nbsp;config.php&amp;nbsp;for&amp;nbsp;examples.&lt;br /&gt;&amp;nbsp;*&lt;br /&gt;&amp;nbsp;*&amp;nbsp;@copyright&amp;nbsp;&amp;amp;copy;&amp;nbsp;2002-2006&amp;nbsp;The&amp;nbsp;SquirrelMail&amp;nbsp;Project&amp;nbsp;Team&lt;br /&gt;&amp;nbsp;*&amp;nbsp;@license&amp;nbsp;http://opensource.org/licenses/gpl-license.php&amp;nbsp;GNU&amp;nbsp;Public&amp;nbsp;License&lt;br /&gt;&amp;nbsp;*&amp;nbsp;@version&amp;nbsp;$Id:&amp;nbsp;config_local.php,v&amp;nbsp;1.2&amp;nbsp;2006/07/11&amp;nbsp;03:33:47&amp;nbsp;wtogami&amp;nbsp;Exp&amp;nbsp;$&lt;br /&gt;&amp;nbsp;*&amp;nbsp;@package&amp;nbsp;squirrelmail&lt;br /&gt;&amp;nbsp;*&amp;nbsp;@subpackage&amp;nbsp;config&lt;br /&gt;&amp;nbsp;*/&lt;br /&gt;&lt;br /&gt;//$default_folder_prefix&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&#39;&#39;;&lt;/span&gt;&lt;span style=&quot;color: #0000bb;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;/div&gt;
Теперь вы можете ввести&amp;nbsp;&lt;span class=&quot;ext_link&quot; id=&quot;extlink_05dd992b3d&quot; style=&quot;background-image: url(http://pcvector.ru/clientscript/pcv/link_external.png); background-position: 100% 0%; background-repeat: no-repeat no-repeat; color: #296fdf; cursor: pointer; display: inline-block; margin-bottom: 3px; margin-left: 0px; margin-right: 0px; margin-top: 3px; padding-bottom: 3px; padding-left: 7px; padding-right: 20px; padding-top: 3px;&quot; title=&quot;Внешняя ссылка, реферер не передается http://server1.example.com/webmail&quot;&gt;http://server1.example.com/webmail&lt;/span&gt;&amp;nbsp;или&amp;nbsp;&lt;span class=&quot;ext_link&quot; id=&quot;extlink_6aa6c2b781&quot; style=&quot;background-image: url(http://pcvector.ru/clientscript/pcv/link_external.png); background-position: 100% 0%; background-repeat: no-repeat no-repeat; color: #296fdf; cursor: pointer; display: inline-block; margin-bottom: 3px; margin-left: 0px; margin-right: 0px; margin-top: 3px; padding-bottom: 3px; padding-left: 7px; padding-right: 20px; padding-top: 3px;&quot; title=&quot;Внешняя ссылка, реферер не передается http://192.168.0.100/webmail&quot;&gt;http://192.168.0.100/webmail&lt;/span&gt;&amp;nbsp;в браузере для доступа к SquirrelMail.&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/25.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;23 Установка ISPConfig 3&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Чтобы установить последний релиз ISPConfig 3, сделайте следующее:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 82px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;cd /tmp
wget http://downloads.sourceforge.net/ispconfig/ISPConfig-3.0.2.1.tar.gz?use_mirror=
tar xvfz ISPConfig-3.0.2.1.tar.gz
cd ispconfig3_install/install/
         &lt;/pre&gt;
&lt;/div&gt;
(Замените ISPConfig-3.0.2.1.tar.gz последней версией.)&lt;br /&gt;&lt;br /&gt;Следующим шагом является запуск&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 34px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;php -q install.php
         &lt;/pre&gt;
&lt;/div&gt;
Это приведет к запуску установки ISPConfig 3 :&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-bottom: 20px; margin-left: 20px; margin-right: 20px; margin-top: 5px;&quot;&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: black; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-left-radius: 0.375em 0.375em; border-bottom-right-radius: 0.375em 0.375em; border-left-color: rgb(255, 153, 0); border-left-style: solid; border-left-width: 5px; border-top-left-radius: 0.375em 0.375em; border-top-right-radius: 0.375em 0.375em; color: lime; font-family: tahoma, verdana, geneva, lucida, &#39;lucida grande&#39;, arial, helvetica, sans-serif; height: 498px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left; width: 640px;&quot;&gt;[root@server1 install]# php -q install.php


--------------------------------------------------------------------------------
 _____ ___________   _____              __ _
|_   _/  ___| ___ \ /  __ \            / _(_)
  | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _
  | |  `--. \  __/  | |    / _ \| &#39;_ \|  _| |/ _` |
 _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| |
 \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, |
                                              __/ |
                                             |___/
--------------------------------------------------------------------------------


&amp;gt;&amp;gt; Initial configuration

Operating System: Redhat or compatible, unknown version.

    Following will be a few questions for primary configuration so be careful.
    Default values are in [brackets] and can be accepted with &amp;lt;ENTER&amp;gt;.
    Tap in &quot;quit&quot; (without the quotes) to stop the installer.


Select language (en,de) [en]: &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- ENTER&lt;/b&gt;&lt;/span&gt;

Installation mode (standard,expert) [standard]: &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- ENTER&lt;/b&gt;&lt;/span&gt;

Full qualified hostname (FQDN) of the server, eg server1.domain.tld  [server1.example.com]: &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- ENTER&lt;/b&gt;&lt;/span&gt;

MySQL server hostname [localhost]: &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;-- ENTER&lt;/span&gt;&lt;/b&gt;

MySQL root username [root]: &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;-- ENTER&lt;/span&gt;&lt;/b&gt;

MySQL root password []: &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;-- yourrootsqlpassword&lt;/span&gt;&lt;/b&gt;

MySQL database to create [dbispconfig]: &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- ENTER&lt;/b&gt;&lt;/span&gt;

MySQL charset [utf8]: &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;-- ENTER&lt;/span&gt;&lt;/b&gt;

Generating a 2048 bit RSA private key
......+++
.................+++
writing new private key to &#39;smtpd.key&#39;
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter &#39;.&#39;, the field will be left blank.
-----
Country Name (2 letter code) [GB]: &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;-- ENTER&lt;/span&gt;&lt;/b&gt;
State or Province Name (full name) [Berkshire]: &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- ENTER&lt;/b&gt;&lt;/span&gt;
Locality Name (eg, city) [Newbury]: &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;-- ENTER&lt;/span&gt;&lt;/b&gt;
Organization Name (eg, company) [My Company Ltd]: &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- ENTER&lt;/b&gt;&lt;/span&gt;
Organizational Unit Name (eg, section) []: &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- ENTER&lt;/b&gt;&lt;/span&gt;
Common Name (eg, your name or your server&#39;s hostname) []: &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- ENTER&lt;/b&gt;&lt;/span&gt;
Email Address []: &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- ENTER&lt;/b&gt;&lt;/span&gt;
Configuring Jailkit
Configuring SASL
Configuring PAM
Configuring Dovecot
Configuring Spamassassin
Configuring Amavisd
Configuring Getmail
Configuring Pureftpd
Configuring BIND
Configuring Apache
Configuring vlogger
Configuring Apps vhost
Configuring Firewall
Installing ISPConfig
ISPConfig Port [8080]: &lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;-- ENTER&lt;/b&gt;&lt;/span&gt;

Configuring DBServer
Installing Crontab
no crontab for root
no crontab for getmail
Restarting services ...
Stopping MySQL:                                            [  OK  ]
Starting MySQL:                                            [  OK  ]
Shutting down postfix:                                     [  OK  ]
Starting postfix:                                          [  OK  ]
Stopping saslauthd:                                        [FAILED]
Starting saslauthd:                                        [  OK  ]
Shutting down Mail Virus Scanner (amavisd):                [FAILED]
Starting Mail Virus Scanner (amavisd):                     [  OK  ]
Stopping Dovecot Imap:                                     [  OK  ]
If you have trouble with authentication failures,
enable auth_debug setting. See http://wiki.dovecot.org/WhyDoesItNotWork
This message goes away after the first successful login.
Starting Dovecot Imap:                                     [  OK  ]
Stopping httpd:                                            [  OK  ]
[Tue May 25 18:15:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
Starting httpd:                                            [  OK  ]
Stopping pure-ftpd:                                        [  OK  ]
Starting pure-ftpd:                                        [  OK  ]
Installation completed.
[root@server1 install]#
         &lt;/pre&gt;
&lt;/div&gt;
Программа установки автоматически настроит все основные параметры, поэтому ручной настройки не требуется.&lt;br /&gt;&lt;br /&gt;После этого Вы можете получить доступ к ISPConfig 3 через&amp;nbsp;&lt;span class=&quot;ext_link&quot; id=&quot;extlink_9dbb308139&quot; style=&quot;background-image: url(http://pcvector.ru/clientscript/pcv/link_external.png); background-position: 100% 0%; background-repeat: no-repeat no-repeat; color: #296fdf; cursor: pointer; display: inline-block; margin-bottom: 3px; margin-left: 0px; margin-right: 0px; margin-top: 3px; padding-bottom: 3px; padding-left: 7px; padding-right: 20px; padding-top: 3px;&quot; title=&quot;Внешняя ссылка, реферер не передается http://server1.example.com:8080/&quot;&gt;http://server1.example.com:8080/&lt;/span&gt;&amp;nbsp;или&amp;nbsp;&lt;span class=&quot;ext_link&quot; id=&quot;extlink_5081f7ab81&quot; style=&quot;background-image: url(http://pcvector.ru/clientscript/pcv/link_external.png); background-position: 100% 0%; background-repeat: no-repeat no-repeat; color: #296fdf; cursor: pointer; display: inline-block; margin-bottom: 3px; margin-left: 0px; margin-right: 0px; margin-top: 3px; padding-bottom: 3px; padding-left: 7px; padding-right: 20px; padding-top: 3px;&quot; title=&quot;Внешняя ссылка, реферер не передается http://192.168.0.100:8080/&quot;&gt;http://192.168.0.100:8080/&lt;/span&gt;. Войти с именем пользователя admin и паролем admin (необходимо изменить пароль по умолчанию после первого входа):&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/26.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; class=&quot;bbCodeImage&quot; src=&quot;http://pcvector.ru/files/linux/distributiv/other/install_centos_5.5_ispconfig3/27.png&quot; style=&quot;cursor: pointer; max-width: 600px;&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;И теперь система готова к использованию.&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/2278251018005179128/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/centos-55-x8664-ispconfig-3.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/2278251018005179128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/2278251018005179128'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/centos-55-x8664-ispconfig-3.html' title='Установка CentOS 5.5 x86_64 и ISPConfig 3'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-4017827893883443365</id><published>2011-09-22T20:25:00.001+02:00</published><updated>2011-09-22T20:25:14.946+02:00</updated><title type='text'>Где в iPhone лежат приложения, рингтоны, темы, обои, фотографии, SMS, Mail, адресная книга</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fafafa; color: #333333; font-family: &#39;Lucida Grande&#39;, &#39;Trebuchet MS&#39;, Verdana, Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Стандартные приложения&lt;/span&gt;&amp;nbsp;находятся в /Applications&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;span style=&quot;font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Приложения из App Store&lt;/span&gt;&amp;nbsp;находятся в папке /private/var/mobile/Applications&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;span style=&quot;font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Обои&amp;nbsp;&lt;/span&gt;лежат в /Library/Wallpaper&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;span style=&quot;font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Фото с камеры&lt;/span&gt;&amp;nbsp;находятся в папке /private/var/mobile/Media/DCIM/100APPLE&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;span style=&quot;font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;AddressBook, SMS и Mail&lt;/span&gt;&amp;nbsp;расположены в папке /private/var/mobile/Library&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;span style=&quot;font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Темы&lt;/span&gt;&amp;nbsp;расположены в папке /Library/Themes&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;span style=&quot;font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Звуки&lt;/span&gt;&amp;nbsp;- /System/Library/Audio/UISounds .&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Здесь&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;alarm.caf - звук для напоминания в календаре.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;dtmf-0.caf -:- dtmf-9.caf - звуки (тоновые) при нажатии клавиш при наборе номера на телефоне.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;span style=&quot;font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;новая почта&lt;/span&gt;&amp;nbsp;- new-mail.caf&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;span style=&quot;font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;пришла смска&lt;/span&gt;&amp;nbsp;- sms-received1.caf-:-sms-received6.caf&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;/private/var/mobile/Library/Cookies - без комментария&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;/private/var/mobile/Library/WebClips -&amp;nbsp;&lt;span style=&quot;font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Сохранённые на рабочий стол ссылки (&quot;домой&quot;)&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Для телефона с джейлбрейком:&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;/private/var/stash - Сюда перенесены стандартные приложения.&amp;nbsp;&lt;span style=&quot;font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Здесь же приложения из Cydia, рингтоны , обои и темы&lt;/span&gt;&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;\private\var\mobile\Media\iTunes_Control\Music\ лежит&amp;nbsp;&lt;span style=&quot;font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;музыка и фильмы.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;\private\var\mobile\Media\iTunes_Control\Ringtones\ -&amp;nbsp;&lt;span style=&quot;font-weight: bold; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;рингтоны&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/4017827893883443365/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/iphone-sms-mail.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/4017827893883443365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/4017827893883443365'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/iphone-sms-mail.html' title='Где в iPhone лежат приложения, рингтоны, темы, обои, фотографии, SMS, Mail, адресная книга'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-8380152163983529377</id><published>2011-09-18T19:47:00.002+02:00</published><updated>2011-09-18T19:48:58.776+02:00</updated><title type='text'>RPMForge для CentOS 5</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: arial; font-size: 15px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2 style=&quot;background-attachment: initial; background-clip: initial; background-color: #cccccc; background-image: url(http://centos.name/css/h2.png); background-origin: initial; background-position: initial initial; background-repeat: initial initial; clear: both; color: #204c8d; font-size: 14pt; font-weight: bold; line-height: 19px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;&quot;&gt;

&lt;/h2&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
На данный момент более не требуется установки пакета&amp;nbsp;&lt;a href=&quot;http://centos.name/?page/howto/priorities&quot; style=&quot;color: #0000a0; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;&quot;&gt;&lt;strong style=&quot;font-style: normal; font-weight: bold;&quot;&gt;priorities&lt;/strong&gt;&lt;/a&gt;, для защиты системы от обновления не стабильными пакетами из данного репозитория.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Скачайте пакет rpmforge-release. Выберите одну из двух ссылок ниже, в зависимости от вашей архитектуры. Если не уверены, какую из них использовать, то узнайте свою архитектуру командой&amp;nbsp;&lt;strong style=&quot;font-style: normal; font-weight: bold;&quot;&gt;uname -i&lt;/strong&gt;&lt;/div&gt;
&lt;ul style=&quot;margin-bottom: 5px; margin-left: 25px; margin-right: 0px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong style=&quot;font-style: normal; font-weight: bold;&quot;&gt;i386&amp;nbsp;&lt;/strong&gt;&lt;a href=&quot;http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm&quot; style=&quot;color: #0000a0; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;&quot;&gt;http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;strong style=&quot;font-style: normal; font-weight: bold;&quot;&gt;x86_64&amp;nbsp;&lt;/strong&gt;&lt;a href=&quot;http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm&quot; style=&quot;color: #0000a0; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;&quot;&gt;http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Установка ключа Dag GPG&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #fffae9; background-image: initial; background-origin: initial; border-bottom-color: rgb(229, 229, 229); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(229, 229, 229); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(229, 229, 229); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(229, 229, 229); border-top-style: solid; border-top-width: 1px; font-family: &#39;Courier New&#39;, monospace; font-size: 10pt; font-weight: bold; margin-bottom: 3px; margin-top: 3px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;&quot;&gt;rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt&lt;/pre&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Убедитесь что вы скачали пакет без ошибок:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #fffae9; background-image: initial; background-origin: initial; border-bottom-color: rgb(229, 229, 229); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(229, 229, 229); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(229, 229, 229); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(229, 229, 229); border-top-style: solid; border-top-width: 1px; font-family: &#39;Courier New&#39;, monospace; font-size: 10pt; font-weight: bold; margin-bottom: 3px; margin-top: 3px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;&quot;&gt;rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm&lt;/pre&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Установите пакет&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #fffae9; background-image: initial; background-origin: initial; border-bottom-color: rgb(229, 229, 229); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(229, 229, 229); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(229, 229, 229); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(229, 229, 229); border-top-style: solid; border-top-width: 1px; font-family: &#39;Courier New&#39;, monospace; font-size: 10pt; font-weight: bold; margin-bottom: 3px; margin-top: 3px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;&quot;&gt;rpm -i rpmforge-release-0.5.1-1.el5.rf.*.rpm&lt;/pre&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Это позволит добавить файл конфигурации репозитория в YUM и импортировать соответствующие ключи GPG.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Можно попробовать установить что-нибудь, например:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 5px; margin-top: 5px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #fffae9; background-image: initial; background-origin: initial; border-bottom-color: rgb(229, 229, 229); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(229, 229, 229); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(229, 229, 229); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(229, 229, 229); border-top-style: solid; border-top-width: 1px; font-family: &#39;Courier New&#39;, monospace; font-size: 10pt; font-weight: bold; margin-bottom: 3px; margin-top: 3px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; font-family: arial; font-size: 15px; font-weight: normal; white-space: normal;&quot;&gt;&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #fffae9; background-image: initial; background-origin: initial; border-bottom-color: rgb(229, 229, 229); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(229, 229, 229); border-left-style: solid; border-left-width: 5px; border-right-color: rgb(229, 229, 229); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(229, 229, 229); border-top-style: solid; border-top-width: 1px; font-family: &#39;Courier New&#39;, monospace; font-size: 10pt; font-weight: bold; margin-bottom: 3px; margin-top: 3px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;&quot;&gt;yum install phpmyadmin&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/8380152163983529377/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/rpmforge-centos-5.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/8380152163983529377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/8380152163983529377'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/rpmforge-centos-5.html' title='RPMForge для CentOS 5'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-2577417069826777838</id><published>2011-09-18T17:59:00.001+02:00</published><updated>2011-09-18T18:01:59.385+02:00</updated><title type='text'>шаблон для OpenVZ</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #202020; font-family: &#39;Droid Sans&#39;, arial, sans-serif; font-size: 13px;&quot;&gt;Сегодня будем самостоятельно изготавливать шаблон для OpenVZ. Для&lt;br /&gt;большинства популярных linux-дистрибутивов не составляет труда найти&lt;br /&gt;готовый шаблон в интернете (например на сайте OpenVZ), но не для всех.&lt;br /&gt;Поэтому будем учиться тому, как изготовить шаблон самостоятельно. В&lt;br /&gt;качестве цели я выбрал дистрибутив Trixbox версии 2.8 (текущий&lt;br /&gt;стабильный релиз 2.8.0.4).&lt;br /&gt;&lt;br /&gt;Собственно Trixbox 2.8 это CentsOS 5.5 с предустановленными Asterisk,&lt;br /&gt;FreePBX и прочими приятными мелочами. Распространяется он в виде&lt;br /&gt;iso-файла. Наша конечная цель - сделать из этого iso полноценный&lt;br /&gt;шаблон для OpenVZ и заставить его работать.&lt;br /&gt;&lt;br /&gt;Первое, что нам нужно сделать это установить систему на отдельный&lt;br /&gt;компьютер или на виртуальную машину. Разницы нет никакой, выбирайте&lt;br /&gt;тот вариант, который удобней вам. Я буду устанавливать в виртуалку на&lt;br /&gt;VMWare. Выделите для системы 512 Mb оперативки и диск размером 10 Gb -&lt;br /&gt;нам понадобится сделать архив всей системы.&lt;br /&gt;&lt;br /&gt;Установка Trixbox не отличается от установки любого другого&lt;br /&gt;дистрибутива linux, только вопросов при установке будет значительно&lt;br /&gt;меньше. Система полностью сконфигурирована, вам останется только&lt;br /&gt;выбрать ваш регион и задать пароль root-а. После этого система&lt;br /&gt;самостоятельно установится в течении 10 минут.&lt;br /&gt;&lt;br /&gt;При возникновении вопросов с установкой обращайтесь к официальному&lt;br /&gt;руководству trixbox quick install guide.&lt;br /&gt;&lt;br /&gt;Заходим в систему под root-ом. Нам нужно сделать архив всех файлов и&lt;br /&gt;после передать его на компьютер с OpenVZ. Сначала создадим файл со&lt;br /&gt;списком того, что не нужно включать в архив. Для этого выполним&lt;br /&gt;команду:&lt;br /&gt;&lt;br /&gt;nano /tmp/exclude-list&lt;br /&gt;Запишем в файл следующее:&lt;br /&gt;&lt;br /&gt;.bash_history&lt;br /&gt;lost+found&lt;br /&gt;/dev/*&lt;br /&gt;/mnt/*&lt;br /&gt;/tmp/*&lt;br /&gt;/proc/*&lt;br /&gt;/sys/*&lt;br /&gt;/usr/src/*&lt;br /&gt;Теперь архивируем:&lt;br /&gt;&lt;br /&gt;tar --numeric-owner -czvf /tmp/centos-5-i386-trixbox-2.&lt;wbr&gt;&lt;/wbr&gt;8-image.tar.gz&lt;br /&gt;-X /tmp/exclude-list /&lt;br /&gt;Архив готов и занимает чуть меньше 500 Mb. Нужно передать его на&lt;br /&gt;целевую систему. Сделать это можно как угодно, например с помощью scp:&lt;br /&gt;&lt;br /&gt;scp /tmp/centos-5-i386-trixbox-2.&lt;wbr&gt;&lt;/wbr&gt;8-image.tar.gz tea@server.com:/tmp&lt;br /&gt;Как видно из предыдущей команды архив передается на наш сервер в папку /tmp.&lt;br /&gt;&lt;br /&gt;Виртуальная машина нам больше не нужна, можете смело ее удалять. Все&lt;br /&gt;дальнейшие действия будут производится непосредственно на сервере.&lt;br /&gt;&lt;br /&gt;ВАЖНО! Все последующие действия будут производиться на работающем&lt;br /&gt;сервере с полными правами доступа (root). Очень внимательно вводите&lt;br /&gt;команды и перед тем как нажать Enter еще раз проверьте, что вы&lt;br /&gt;собираетесь редактировать или удалять!&lt;br /&gt;&lt;br /&gt;Теперь мы вручную создадим виртуальное окружение (VE). После того как&lt;br /&gt;мы закончим мы получим работающий VPS с которого и снимем шаблон для&lt;br /&gt;дальнейшего использования.&lt;br /&gt;&lt;br /&gt;Итак приступим. У меня все, что касается OpenVZ, лежит в директории&lt;br /&gt;/vz. Это символическая ссылка на /var/lib/vz. Сделать ее просто:&lt;br /&gt;&lt;br /&gt;ln -s /var/lib/vz /vz&lt;br /&gt;Создаем пустой контейнер для Trixbox и разархивируем в него полученный&lt;br /&gt;ранее архив. VID у меня будет 102:&lt;br /&gt;&lt;br /&gt;cd /vz/private&lt;br /&gt;mkdir 102&lt;br /&gt;cd 102&lt;br /&gt;tar xvfz /tmp/centos-5-i386-trixbox-2.&lt;wbr&gt;&lt;/wbr&gt;8-image.tar.gz&lt;br /&gt;Создаем конфигурационный файл для нашего контейнера:&lt;br /&gt;&lt;br /&gt;cp /etc/vz/conf/ve-vps.basic.&lt;wbr&gt;&lt;/wbr&gt;conf-sample /etc/vz/conf/102.conf&lt;br /&gt;Отредактируем файл /etc/vz/conf/102.conf:&lt;br /&gt;&lt;br /&gt;nano /etc/vz/conf/102.conf&lt;br /&gt;Сразу после окончания шапки с комментарием допишем строку:&lt;br /&gt;&lt;br /&gt;OSTEMPLATE=&quot;centos-5&quot;&lt;br /&gt;Создадим директории для шаблона:&lt;br /&gt;&lt;br /&gt;mkdir -p /vz/template/centos/5/i386/{&lt;wbr&gt;&lt;/wbr&gt;config,vz-addons,yum-cache}&lt;br /&gt;В директории /vz/template/centos/5/i386/&lt;wbr&gt;&lt;/wbr&gt;config создадим файл rpm и&lt;br /&gt;запишем в него 43:&lt;br /&gt;&lt;br /&gt;echo 43 &amp;gt; /vz/template/centos/5/i386/&lt;wbr&gt;&lt;/wbr&gt;config/rpm&lt;br /&gt;В директории /vz/template/centos/5/i386/&lt;wbr&gt;&lt;/wbr&gt;config создадим файл yum.conf&lt;br /&gt;&lt;br /&gt;nano /vz/template/centos/5/i386/&lt;wbr&gt;&lt;/wbr&gt;config/yum.conf&lt;br /&gt;Запишем в него следующее:&lt;br /&gt;&lt;br /&gt;[main]&lt;br /&gt;cachedir=/vz/template/centos/&lt;wbr&gt;&lt;/wbr&gt;5/i386/yum-cache/&lt;br /&gt;reposdir=/dev/null&lt;br /&gt;installonlypkgs=&lt;br /&gt;&lt;br /&gt;[centos5-base]&lt;br /&gt;name=CentOS 5 - i386 - Base&lt;br /&gt;baseurl=&lt;a href=&quot;http://mirror.centos.org/centos/5/os/i386/&quot; style=&quot;color: #67753a;&quot; target=&quot;_blank&quot;&gt;http://mirror.centos.&lt;wbr&gt;&lt;/wbr&gt;org/centos/5/os/i386/&lt;/a&gt;&lt;br /&gt;enabled=1&lt;br /&gt;gpgcheck=1&lt;br /&gt;&lt;br /&gt;[centos5-updates-released]&lt;br /&gt;name=CentOS 5 - i386 - Released Updates&lt;br /&gt;baseurl=&lt;a href=&quot;http://mirror.centos.org/centos/5/updates/i386/&quot; style=&quot;color: #67753a;&quot; target=&quot;_blank&quot;&gt;http://mirror.centos.&lt;wbr&gt;&lt;/wbr&gt;org/centos/5/updates/i386/&lt;/a&gt;&lt;br /&gt;enabled=1&lt;br /&gt;gpgcheck=1&lt;br /&gt;В директории /vz/template/centos/5/i386/&lt;wbr&gt;&lt;/wbr&gt;config создадим файл minimal.list&lt;br /&gt;&lt;br /&gt;nano /vz/template/centos/5/i386/&lt;wbr&gt;&lt;/wbr&gt;config/minimal.list&lt;br /&gt;Запишем в него следующее:&lt;br /&gt;&lt;br /&gt;# $Id: minimal.list,v 1.1 2005/10/10 15:23:38 kir Exp $&lt;br /&gt;#&lt;br /&gt;# List of packages to be installed into VPS&lt;br /&gt;# to form a &quot;base&quot; of Fedora Core 4 &quot;minimal&quot; template&lt;br /&gt;#&lt;br /&gt;# NOTE: if you change this file, you have to re-create OS template cache&lt;br /&gt;# from scratch, e.g. run vzpkgcache -f fedora-core-4--minimal&lt;br /&gt;&lt;br /&gt;ed&lt;br /&gt;basesystem&lt;br /&gt;coreutils&lt;br /&gt;openssh-clients&lt;br /&gt;openssh-server&lt;br /&gt;less&lt;br /&gt;vim-minimal&lt;br /&gt;iptables&lt;br /&gt;rpm&lt;br /&gt;crontabs&lt;br /&gt;gzip&lt;br /&gt;passwd&lt;br /&gt;rootfiles&lt;br /&gt;sudo&lt;br /&gt;tar&lt;br /&gt;tmpwatch&lt;br /&gt;&lt;br /&gt;# Add-ons for VZ&lt;br /&gt;dummy-centos-4&lt;br /&gt;vzdev&lt;br /&gt;MAKEDEV&lt;br /&gt;Теперь приступим к подготовке самой системы. Нам нужно адаптировать ее&lt;br /&gt;для корректного функционирования в виртуальном окружении.&lt;br /&gt;&lt;br /&gt;Убедитесь, что вы редактируете файлы в виртуальном окружении, а не в&lt;br /&gt;директории /etc своего сервера!&lt;br /&gt;&lt;br /&gt;Удаляем пароль пользователя root. Для этого отредактируем файл&lt;br /&gt;/vz/private/102/etc/shadow и заменим хеш пароля на !!.&lt;br /&gt;&lt;br /&gt;nano /vz/private/102/etc/shadow&lt;br /&gt;После редактирования строка с записями root должна выглядеть примерно так:&lt;br /&gt;&lt;br /&gt;root:!!:15027:0:99999:7:::&lt;br /&gt;Удалим из файла /vz/private/102/etc/inittab вызов mingetty, т.к. у нас&lt;br /&gt;отсутствуют физические консоли:&lt;br /&gt;&lt;br /&gt;sed -i -e &#39;/getty/d&#39; /vz/private/102/etc/inittab&lt;br /&gt;В виртуальном окружении нет физических устройств для монтирования&lt;br /&gt;поэтому удалим файл /vz/private/102/etc/mtab и заменим его&lt;br /&gt;символической ссылкой на /proc/mounts:&lt;br /&gt;&lt;br /&gt;rm -f /vz/private/102/etc/mtab&lt;br /&gt;ln -s /proc/mounts /vz/private/102/etc/mtab&lt;br /&gt;Отредактируем файл /vz/private/102/etc/rc.sysinit и закомментируем&lt;br /&gt;команды отвечающие за очистку mtab:&lt;br /&gt;&lt;br /&gt;nano /vz/private/102/etc/rc.sysinit&lt;br /&gt;После редактирования эти строки будут выглядеть так:&lt;br /&gt;&lt;br /&gt;# Clear mtab&lt;br /&gt;# (&amp;gt; /etc/mtab) &amp;amp;&amp;gt; /dev/null&lt;br /&gt;&lt;br /&gt;# Remove stale backups&lt;br /&gt;# rm -f /etc/mtab~ /etc/mtab~~&lt;br /&gt;Так же закомментируем в /vz/private/102/etc/rc.sysinit запуск udev:&lt;br /&gt;&lt;br /&gt;# /sbin/start_udev&lt;br /&gt;Удалим в файле /vz/private/102/etc/fstab все строки кроме той, в&lt;br /&gt;которой монтируется устройство /dev/pts:&lt;br /&gt;&lt;br /&gt;nano /vz/private/102/etc/fstab&lt;br /&gt;Останется только это:&lt;br /&gt;&lt;br /&gt;devpts &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/dev/pts &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;devpts &amp;nbsp;gid=5,mode=620 &amp;nbsp;0 0&lt;br /&gt;Создадим ноды устройств:&lt;br /&gt;&lt;br /&gt;cd /vz/private/102/dev&lt;br /&gt;mknod ptmx c 5 2&lt;br /&gt;mkdir pts&lt;br /&gt;/sbin/MAKEDEV ttyp ptyp&lt;br /&gt;mknod null c 1 3&lt;br /&gt;mknod -m 644 random c 1 8&lt;br /&gt;mknod -m 644 urandom c 1 9&lt;br /&gt;Чтобы не глючил yum сделаем еще вот такой финт ушами:&lt;br /&gt;&lt;br /&gt;mknod -m 644 /vz/private/102/lib/udev/&lt;wbr&gt;&lt;/wbr&gt;devices/urandom c 1 9&lt;br /&gt;Создадим директорию /vz/private/102/var/lock/rpm:&lt;br /&gt;&lt;br /&gt;mkdir -p /vz/private/102/var/lock/rpm&lt;br /&gt;Запретим IPv6. Для этого отредактируем файл&lt;br /&gt;/vz/private/102/etc/sysconfig/&lt;wbr&gt;&lt;/wbr&gt;network и изменим значение параметра&lt;br /&gt;NETWORKING_IPV6 на no:&lt;br /&gt;&lt;br /&gt;nano /vz/private/102/etc/sysconfig/&lt;wbr&gt;&lt;/wbr&gt;network&lt;br /&gt;Добавим в файл /vz/private/102/etc/modprobe.&lt;wbr&gt;&lt;/wbr&gt;d/blacklist две строки:&lt;br /&gt;&lt;br /&gt;blacklist ipv6&lt;br /&gt;blacklist net-pf-10&lt;br /&gt;Отключим все физические сетевые интерфейсы. Для этого отредактируем&lt;br /&gt;файл /vz/private/102/etc/sysconfig/&lt;wbr&gt;&lt;/wbr&gt;network-scripts/ifcfg-ethX, где X -&lt;br /&gt;номер интерфейса начиная с нуля. Изменим значение параметра ONBOOT на&lt;br /&gt;no:&lt;br /&gt;&lt;br /&gt;nano /vz/private/102/etc/sysconfig/&lt;wbr&gt;&lt;/wbr&gt;network-scripts/ifcfg-eth0&lt;br /&gt;Удаляем файл /vz/private/102/etc/resolv.&lt;wbr&gt;&lt;/wbr&gt;conf - он будет создаваться&lt;br /&gt;системой при каждом запуске виртуального окружения:&lt;br /&gt;&lt;br /&gt;rm -f /vz/private/102/etc/resolv.&lt;wbr&gt;&lt;/wbr&gt;conf&lt;br /&gt;У меня в сети есть proxy-сервер с адресом 192.168.0.100 и портом 3128&lt;br /&gt;и я хочу что бы yum работал через него. Для этого создадим файл&lt;br /&gt;/vz/private/102/etc/profile.d/&lt;wbr&gt;&lt;/wbr&gt;proxy.sh:&lt;br /&gt;&lt;br /&gt;nano /vz/private/102/etc/profile.d/&lt;wbr&gt;&lt;/wbr&gt;proxy.sh&lt;br /&gt;Добавим в него две строки:&lt;br /&gt;&lt;br /&gt;export http_proxy=&lt;a href=&quot;http://192.168.0.100:3128/&quot; style=&quot;color: #67753a;&quot; target=&quot;_blank&quot;&gt;http://192.168.0.&lt;wbr&gt;&lt;/wbr&gt;100:3128&lt;/a&gt;&lt;br /&gt;export HTTP_PROXY=&lt;a href=&quot;http://192.168.0.100:3128/&quot; style=&quot;color: #67753a;&quot; target=&quot;_blank&quot;&gt;http://192.168.0.&lt;wbr&gt;&lt;/wbr&gt;100:3128&lt;/a&gt;&lt;br /&gt;Сделаем его исполняемым:&lt;br /&gt;&lt;br /&gt;chmod +x /vz/private/102/etc/profile.d/&lt;wbr&gt;&lt;/wbr&gt;proxy.sh&lt;br /&gt;На этом подготовка закончена. Осталось задать параметры новому&lt;br /&gt;виртуальному окружению и попробовать запустить его. Не буду описывать&lt;br /&gt;все параметры, т.к. я это уже делал в предыдущей статье, просто&lt;br /&gt;перечислю их:&lt;br /&gt;&lt;br /&gt;vzctl set 102 --cpulimit 100 --save&lt;br /&gt;vzctl set 102 --ipadd 192.168.0.102 --save&lt;br /&gt;vzctl set 102 --name trixbox --save&lt;br /&gt;vzctl set 102 --hostname&amp;nbsp;&lt;a href=&quot;http://ve102.server.com/&quot; style=&quot;color: #67753a;&quot; target=&quot;_blank&quot;&gt;ve102.server.com&lt;/a&gt;&amp;nbsp;--save&lt;br /&gt;vzctl set 102 --nameserver 192.168.0.1 --save&lt;br /&gt;vzctl set 102 --vmguarpages 510M:512M --privvmpages 750M:768M --save&lt;br /&gt;vzctl set 102 --diskspace 4G:5G --save&lt;br /&gt;vzctl set 102 --onboot yes --save&lt;br /&gt;Запускаем:&lt;br /&gt;&lt;br /&gt;vzctl start 102&lt;br /&gt;Для нормального функционирования asterisk ему необходим tty9. Разрешим&lt;br /&gt;VE его использование:&lt;br /&gt;&lt;br /&gt;vzctl set 102 --devices c:4:9:rw --save&lt;br /&gt;vzctl exec 102 /sbin/MAKEDEV tty&lt;br /&gt;vzctl exec 102 /sbin/MAKEDEV pty&lt;br /&gt;Проверим работоспособность Trixbox. Для этого зайдем по адресу&lt;br /&gt;&lt;a href=&quot;http://192.168.0.102/&quot; style=&quot;color: #67753a;&quot; target=&quot;_blank&quot;&gt;http://192.168.0.102&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Все в порядке, все службы работают! Для входа в панель администратора&lt;br /&gt;используйте логин maint и пароль password - это данные по умолчанию.&lt;br /&gt;&lt;br /&gt;Заходим в VPS:&lt;br /&gt;&lt;br /&gt;vzctl enter 102&lt;br /&gt;Обновляем систему:&lt;br /&gt;&lt;br /&gt;yum -y --skip-broken update&lt;br /&gt;shutdown -r now&lt;br /&gt;Некоторые модули ядра не будут обновляться, т.к. у них в зависимостях&lt;br /&gt;стоит более новая версия ядра, чем у меня, поэтому я использую ключ&lt;br /&gt;--skip-broken.&lt;br /&gt;&lt;br /&gt;Осталось теперь только создать шаблон и после этого разворачивать&lt;br /&gt;новый сервер за пару кликов. Выходим из виртуального окружения и&lt;br /&gt;останавливаем его:&lt;br /&gt;&lt;br /&gt;vzctl stop 102&lt;br /&gt;Создаем шаблон:&lt;br /&gt;&lt;br /&gt;tar --numeric-owner -czvf&lt;br /&gt;/vz/template/cache/centos-5-&lt;wbr&gt;&lt;/wbr&gt;trixbox-2.8-x86.tar.gz /vz/private/102/&lt;br /&gt;Так же сделаем копию текущей конфигурации для дальнейшего использования:&lt;br /&gt;&lt;br /&gt;cp /etc/vz/conf/102.conf /etc/vz/conf/ve-trixbox.conf-&lt;wbr&gt;&lt;/wbr&gt;sample&lt;br /&gt;Теперь, чтобы создать новый VPS из нашего нового шаблона достаточно&lt;br /&gt;ввести следующую команду:&lt;br /&gt;&lt;br /&gt;vzctl create 103 --ostemplate centos-5-trixbox-2.8-x86 --config trixbox&lt;br /&gt;На этом пока все. В следующем посте попытаемся сконфигурировать Trixbox.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/2577417069826777838/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/openvz.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/2577417069826777838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/2577417069826777838'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/openvz.html' title='шаблон для OpenVZ'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-7106430701048168039</id><published>2011-09-18T17:42:00.002+02:00</published><updated>2011-09-18T18:40:14.502+02:00</updated><title type='text'>Автозапуск vmware</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
устанавливаем программку&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
C:\windows\system32\srvany.exe&lt;br /&gt;
&lt;br /&gt;
в реестре&lt;br /&gt;
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\&lt;br /&gt;
создаем раздел vmware_winxp&lt;br /&gt;
c запуском C:\windows\system32\srvany.exe&lt;br /&gt;
в разделе HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\vmware_winxp\Parameters&lt;br /&gt;
в параметре Application задаем значение типа &quot;C:\Program&lt;br /&gt;
Files\VMware\VMware Workstation\vmware.exe&quot; -x&lt;br /&gt;
&quot;D:\elastix\elastix.vmx&quot;&lt;br /&gt;
&lt;br /&gt;
в управлении компьютером заходим в службы&lt;br /&gt;
находим vmware_winxp включаем автозапуск и вход в систему с системной&lt;br /&gt;
учетной записью и доступом к рабочему столу&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;color: #333333; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: top;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;color: #333333; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: top;&quot;&gt;&lt;td style=&quot;color: #333333; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: top;&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;color: #333333; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: top;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;color: #333333; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: top;&quot;&gt;&lt;td rowspan=&quot;2&quot; style=&quot;color: #333333; font-size: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: top;&quot; valign=&quot;top&quot; width=&quot;100%&quot;&gt;&lt;h1 class=&quot;blog&quot; style=&quot;color: #4b7600; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 13px;&quot;&gt;
Как настроить запуск виртуальных машин VMware Workstation и Server при старте Windows&lt;/h1&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;Многие пользователи настольной платформы VMware Workstation и серверной VMware Server хотели бы настроить автоматический запуск виртуальных машин при старте Windows, но до входа в систему. Это необходимо для того, чтобы в случае перезагрузки компьютера виртуальные машины автоматически бы «поднимались», и не требовалось бы вмешательства администратора.&lt;br /&gt;
Чтобы реализовать это, вам понадобится настроить запуск виртуальной машины в качестве службы. Итак, для начала вам понадобится:&lt;br /&gt;
&lt;ol&gt;
&lt;li style=&quot;padding-bottom: 5px;&quot;&gt;Утилита&amp;nbsp;&lt;b&gt;Instsrv.exe&lt;/b&gt;.&lt;/li&gt;
&lt;li style=&quot;padding-bottom: 5px;&quot;&gt;Утилита&amp;nbsp;&lt;b&gt;Srvany.exe&lt;/b&gt;.&lt;/li&gt;
&lt;/ol&gt;
Все это можно достать в пакете&amp;nbsp;&lt;a href=&quot;http://www.vmgu.ru/articles/%E2%80%9Dhttp://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;amp;DisplayLang=en%94&quot; style=&quot;color: #3366ff; text-decoration: none;&quot;&gt;&lt;b&gt;Windows 2003 Resource Kit tools&lt;/b&gt;&lt;/a&gt;&amp;nbsp;(rktools.exe), загруженном с сайта Microsoft.&lt;br /&gt;
Установите этот пакет и после этого скопируйте&amp;nbsp;&lt;b&gt;instsrv.exe&lt;/b&gt;&amp;nbsp;и&amp;nbsp;&lt;b&gt;srvany.exe&lt;/b&gt;&amp;nbsp;в каталог&amp;nbsp;&lt;b&gt;windows\system32&lt;/b&gt;. После этого необходимо перезагрузить компьютер.&lt;br /&gt;
Теперь найдите исполняемый файл VMware Workstation или Server (например,&amp;nbsp;&lt;b&gt;c:\program files\vmware\vmware workstation\vmware.exe&lt;/b&gt;) и главный конфигурационный файл виртуальной машины (например,&lt;b&gt;C:\mymachines\WinXp\winxp.vmx&lt;/b&gt;).&lt;br /&gt;
Далее выполните следующую команду в командной строке, чтобы вручную создать новую службу:&lt;br /&gt;
&lt;b&gt;Instsrv vmware_winxp C:\windows\system32\srvany.exe&lt;/b&gt;, здесь vmware_winxp – имя вашей новой службы.&lt;br /&gt;
После этого идем в редактор реестра (regedit.exe) и находим этот ключ&lt;br /&gt;
&lt;b&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vmware_winxp&lt;/b&gt;&lt;br /&gt;
Создаем новый ключ&amp;nbsp;&lt;b&gt;Parameters&lt;/b&gt;&amp;nbsp;(для этого нажимаем правой клавишей на имя службы, далее New-&amp;gt;Key).&lt;br /&gt;
Создаем новое значение типа&amp;nbsp;&lt;b&gt;String Value&lt;/b&gt;&amp;nbsp;в ключе&amp;nbsp;&lt;b&gt;Parameters&lt;/b&gt;, как показано на рисунке:&lt;br /&gt;
&lt;img src=&quot;http://www.vmgu.ru/content_images/vmware_service_parameters.jpg&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;&quot; /&gt;&lt;br /&gt;
Называем значение&amp;nbsp;&lt;b&gt;Application&lt;/b&gt;.&lt;br /&gt;
Два раза нажимаем на значение и в поле&amp;nbsp;&lt;b&gt;Value Data&lt;/b&gt;&amp;nbsp;прописываем путь к VMware Workstation, ключ запуска виртуальной машины и путь к vmx-файлу виртуальной машины (не забывайте про кавычки):&lt;br /&gt;
&lt;b&gt;«C:\program files\vmware\VMware Workstation\VMware.exe» –x «C:\mymachines\WinXp\winxp.vmx»&lt;/b&gt;&lt;br /&gt;
Теперь после того, как вы создали службу, необходимо настроить параметры запуска для нее. Для этого выполните&amp;nbsp;&lt;b&gt;Start-&amp;gt;Run&lt;/b&gt;&amp;nbsp;и напишите&amp;nbsp;&lt;b&gt;services.msc&lt;/b&gt;.&lt;br /&gt;
Вы увидите список имеющихся служб. Найдите созданную вами службу vmware_winxp и два раза кликните на нее. Появятся свойства службы. Установите на вкладке&amp;nbsp;&lt;b&gt;General&lt;/b&gt;&amp;nbsp;тип запуска&amp;nbsp;&lt;b&gt;Automatic&lt;/b&gt;, перейдите на вкладку&amp;nbsp;&lt;b&gt;Log On&lt;/b&gt;. Здесь установите для параметра&amp;nbsp;&lt;b&gt;Log on as&lt;/b&gt;&amp;nbsp;значение&amp;nbsp;&lt;b&gt;Local System account&lt;/b&gt;&amp;nbsp;и обязательно отметьте галку&amp;nbsp;&lt;b&gt;Allow service to interact with desktop&lt;/b&gt;.&lt;br /&gt;
Теперь можно протестировать автозапуск виртуальной машины, выбрав из контекстного меню сервиса пункт&amp;nbsp;&lt;b&gt;Run&lt;/b&gt;. При запуске виртуальной машины может выскочить запрос о смене уникального идентификатора (UUID), надо выбрать выбрать пункт&amp;nbsp;&lt;b&gt;Create&lt;/b&gt;. Кроме того, надо убедиться, что все ненужные устройства для виртуальной машины отключены (Virtual CD-ROM, floppy). Также добавьте в vmx-файл следующую строчку для отключения всплывающих подсказок:&lt;br /&gt;
&lt;b&gt;Hints.hideall=&quot;TRUE&quot;&lt;/b&gt;&lt;br /&gt;
Теперь все – перезагружайте компьютер и тестируйте автозапуск виртуальной машины в качестве службы.&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/7106430701048168039/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/vmware.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/7106430701048168039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/7106430701048168039'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/vmware.html' title='Автозапуск vmware'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-7201025084172654444</id><published>2011-09-18T17:25:00.000+02:00</published><updated>2011-09-18T17:55:56.661+02:00</updated><title type='text'>Как настроить IP-телефон Cisco 7940/7960 для работы по протоколу SIP.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;text&quot; style=&quot;font: normal normal normal 13px/normal Arial, Helvetica, sans-serif; line-height: 22px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 10px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Для работы IP-телефона Cisco 7940/7960 по протоколу SIP необходимо провести несколько подготовительных операций. Во-первых, скачать по адресу&amp;nbsp;&lt;a href=&quot;http://www.cisco.com/pcgi-bin/tablebuild.pl/sip-ip-phone7960&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;http://www.cisco.com/pcgi-bin/tablebuild.pl/sip-ip-phone7960&lt;/a&gt;&amp;nbsp;последнюю версию прошивки для телефона и создать конфигурационный файл на основе рассматриваемого шаблона. После того, как телефон будет включен и загрузит эту информацию с TFTP-сервера, он будет готов к работе. Рассмотрим настройку по шагам. &lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=2167376130645271148&quot; name=&quot;cat&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;&lt;/a&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Когда телефон инициализируется, он запрашивает с TFTP-сервера&lt;/em&gt;:&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;* Последний файл прошивки&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;* Dual-boot файл (OS79XX.TXT)&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;* Специально созданный для этого телефона конфигурационный файл (именуемый с учетом MAC-адреса)&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;* Конфигурационный файл по умолчанию&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;* Ring-list файл&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;* Dial-plan файл&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;DHCP-сервер должен отдавать следующие опции (или их придется настроить вручную)&lt;/em&gt;:&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;* dhcp option #1 (маска подсети)&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;* dhcp option #3 (шлюз по умолчанию)&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;* dhcp option #6 (адрес DNS-сервера)&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;* dhcp option #15 (имя домена)&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;* dhcp option #50 (IP-адрес)&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;* dhcp option #66 (адрес TFTP-сервера)&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Процесс инициализации IP-телефона Cisco&lt;/strong&gt;&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;1.&lt;/strong&gt;&amp;nbsp;Телефон загружает файл прошивки.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;2.&lt;/strong&gt;&amp;nbsp;Телефон получает номер своего VLAN – для того, чтобы получить параметры с DHCP-сервера, телефон, в случае подключения к коммутатору Cisco Catalyst, должен получить номер Voice-VLAN’а, настроенного на коммутаторе.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;3.&lt;/strong&gt;&amp;nbsp;Телефон получает IP-адрес – с DHCP-сервера или из своих настроек.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;4.&lt;/strong&gt;&amp;nbsp;Телефон скачивает с TFTP-сервера или загружает из памяти следующие файлы:&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;*&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;SEP.cnf.xml&lt;/em&gt;&amp;nbsp;– Созданный на TFTP-сервере файл&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;SEP.cnf.xml&lt;/em&gt;&amp;nbsp;в котором находится следующее содержимое (версия прошивки):&lt;br /&gt;
&lt;pre class=&quot;powershell&quot; style=&quot;border-bottom-color: black; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: black; border-left-style: solid; border-left-width: 1px; border-right-color: black; border-right-style: solid; border-right-width: 1px; border-top-color: black; border-top-style: solid; border-top-width: 1px; font-family: monospace; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 4px; padding-right: 0px; padding-top: 0px;&quot;&gt;      &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;&lt;/span&gt;device&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;
      &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;&lt;/span&gt;loadInformation&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;P0S3&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;-&lt;/span&gt;08&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;-&lt;/span&gt;00&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;/&lt;/span&gt;loadInformation&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;
      &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;/&lt;/span&gt;device&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Телефон проверяет версию своей прошивки и, если она не совпадает с версией, указанной в секции , обновляет ее.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;* &amp;lt;Версия прошивки&amp;gt;.loads&lt;/em&gt;&amp;nbsp;– если версия совпадает, телефон использует уже имеющийся в памяти файл, указанный в файле SEP.cnf.xml.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;* OS79XX.TXT&lt;/em&gt;&amp;nbsp;– использование этого файла обеспечивает совместимость переключения телефонов между SIP, MGCP или SCCP с использованием одного и того же TFTP-сервера.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;* SIPDefault.cnf&lt;/em&gt;&amp;nbsp;– параметры по умолчанию для всех телефонов, настройки рассматриваются далее.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;* SIP&lt;mac-адрес style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;.cnf&lt;/mac-адрес&gt;&lt;/em&gt;&amp;nbsp;– параметры для одного телефона, структура рассматривается далее.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;* RINGLIST.DAT&lt;/em&gt;&amp;nbsp;– перечисляет файлы с мелодиями звонков и их местоположение.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;* dialplan.xml&amp;nbsp;&lt;/em&gt;- содержит примерный номерной план. Его можно отправить в телефон с помощью сообщения Notify (NTFY) через Event-заголовок.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;5.&lt;/strong&gt;&amp;nbsp;Телефон проверяет версию прошивки.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Конфигурационные файлы IP-телефонов Cisco&lt;/strong&gt;&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Формат имени файла должен быть&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;SIPXXXXYYYYZZZZ.cnf&lt;/em&gt;, где XXXXYYYYZZZZ – MAC-адрес телефона в верхнем регистре. Пример имени файла: SIP00503EFFD842.cnf.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Каждая строка файла должна иметь вид:&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;имя_переменной : значение ; необязательный комментарий&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Необходимо изменить в следующем примере параметры:&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;* line1_name&lt;/em&gt;&amp;nbsp;– номер или адрес электронной почты, используемый при регистрации. Номер вводится без дефисов, e-mail – без имени хоста.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;* proxy1_address&lt;/em&gt;&amp;nbsp;– IP-адрес прокси-сервера SIP, используемого телефоном.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;* proxy1_port&lt;/em&gt;&amp;nbsp;– Номер порта прокси-сервера SIP, используемого телефоном.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Остальные параметры изменяются при необходимости. Пример конфигурационного файла&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;SIPDefault.cnf&lt;/em&gt;:&lt;br /&gt;
&lt;pre class=&quot;powershell&quot; style=&quot;border-bottom-color: black; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: black; border-left-style: solid; border-left-width: 1px; border-right-color: black; border-right-style: solid; border-right-width: 1px; border-top-color: black; border-top-style: solid; border-top-width: 1px; font-family: monospace; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 4px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;# SIP Default Configuration File&lt;/span&gt;
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;# Image Version&lt;/span&gt;
image_version: P0S3&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;-&lt;/span&gt;08&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;-&lt;/span&gt;00
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;# Proxy Server&lt;/span&gt;
proxy1_address: 172.16.255.255
proxy2_address: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;&quot;&lt;/span&gt;; Can be dotted IP or FQDN
proxy3_address: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;&quot;&lt;/span&gt;; Can be dotted IP or FQDN
proxy4_address: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;&quot;&lt;/span&gt;; Can be dotted IP or FQDN
proxy5_address: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;&quot;&lt;/span&gt;; Can be dotted IP or FQDN
proxy6_address: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;&quot;&lt;/span&gt;; Can be dotted IP or FQDN
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;# Proxy Server Port (default - 5060)&lt;/span&gt;
proxy1_port: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;5060&lt;/span&gt;
proxy2_port: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;5060&lt;/span&gt;
proxy3_port: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;5060&lt;/span&gt;
proxy4_port: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;5060&lt;/span&gt;
proxy5_port: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;5060&lt;/span&gt;
proxy6_port: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;5060&lt;/span&gt;
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;# Proxy Registration (0-disable (default), 1-enable)&lt;/span&gt;
proxy_register: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;0&lt;/span&gt;
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;# Phone Registration Expiration [1-3932100 sec] (Default - 3600)&lt;/span&gt;
timer_register_expires: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;3600&lt;/span&gt;
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;# Codec for media stream (g711ulaw (default), g711alaw, g729a)&lt;/span&gt;
preferred_codec: g711ulaw
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;# TOS bits in media stream [0-5] (Default - 5)&lt;/span&gt;
tos_media: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;5&lt;/span&gt;
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;# Inband DTMF Settings (0-disable, 1-enable (default))&lt;/span&gt;
dtmf_inband: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;1&lt;/span&gt;
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;# Out of band DTMF Settings&lt;/span&gt;
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;#(none-disable, avt-avt enable (default), avt_always-always avt)&lt;/span&gt;
dtmf_outofband: avt
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;# DTMF dB Level Settings&lt;/span&gt;
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;#(1-6dB down, 2-3db down, 3-nominal (default), 4-3db up, 5-6dB up)&lt;/span&gt;
dtmf_db_level: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;3&lt;/span&gt;
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;# SIP Timers&lt;/span&gt;
timer_t1: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;500&lt;/span&gt;; Default 500 msec
timer_t2: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;4000&lt;/span&gt;; Default 4 sec
sip_retx: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;10&lt;/span&gt;; Default 10
sip_invite_retx: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;6&lt;/span&gt;; Default 6
timer_invite_expires: 180  ; Default &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;180&lt;/span&gt; sec
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;####### New Parameters added in Release 2.0 #######&lt;/span&gt;
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;# Dialplan template (.xml format file relative to the TFTP root directory)&lt;/span&gt;
dial_template: dialplan
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;# TFTP Phone Specific Configuration File Directory&lt;/span&gt;
tftp_cfg_dir: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;&quot;&lt;/span&gt;; Example:  .&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/&lt;/span&gt;sip_phone&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/&lt;/span&gt;
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;# Time Server&lt;/span&gt;
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;#(There are multiple values and configurations refer to Admin Guide for Specifics)&lt;/span&gt;
sntp_server: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;&quot;&lt;/span&gt;; SNTP Server IP Address
sntp_mode: anycast &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;(&lt;/span&gt;default&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;)&lt;/span&gt;; unicast&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;,&lt;/span&gt; multicast&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;,&lt;/span&gt; or directedbroadcast
time_zone: EST; Time Zone Phone is &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;in&lt;/span&gt;
dst_offset: &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;1&lt;/span&gt;; Offset from Phone&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&#39;s time when DST is in effect
dst_start_month: April; Month in which DST starts
dst_start_day: &quot;&quot;; Day of month in which DST starts
dst_start_day_of_week: Sun; Day of week in which DST starts
dst_start_week_of_month: 1; Week of month in which DST starts
dst_start_time: 02; Time of day in which DST starts
dst_stop_month: Oct; Month in which DST stops
dst_stop_day: &quot;&quot;; Day of month in which DST stops
dst_stop_day_of_week: Sunday; Day of week in which DST stops
dst_stop_week_of_month: 8; Week of month in which DST stops 8=last week of month
dst_stop_time: 2; Time of day in which DST stops
dst_auto_adjust: 1; Enable(1-Default)/Disable(0) DST automatic adjustment
time_format_24hr: 1; Enable(1 - 24Hr Default)/Disable(0 - 12Hr)
# Do Not Disturb Control
#(0-off (default), 1-on, 2-off with no user control, 3-on with no user control)
dnd_control: 0;
# Caller ID Blocking
#(0-disabled, 1-enabled, 2-disabled no user control, 3-enabled no user control)
callerid_blocking: 0; (Default is 0 - disabled and sending all calls as anonymous)
# Anonymous Call Blocking
#(0-disabled, 1-enabled, 2-disabled no user control, 3-enabled no user control)
anonymous_call_block: 0; (Default is 0 - disabled and blocking of anonymous calls)
# DTMF AVT Payload (Dynamic payload range for AVT tones - 96-127)
dtmf_avt_payload: 101; Default 101
# Sync value of the phone used for remote reset
sync: 1; Default 1
####### New Parameters added in Release 2.1 #######
# Backup Proxy Support
proxy_backup: &quot;&quot;; Dotted IP of Backup Proxy
proxy_backup_port: 5060; Backup Proxy port (default is 5060)
# Emergency Proxy Support
proxy_emergency: &quot;&quot;; Dotted IP of Emergency Proxy
proxy_emergency_port: 5060; Emergency Proxy port (default is 5060)
# Configurable VAD option
enable_vad: 0; VAD setting 0-disable (Default), 1-enable
####### New Parameters added in Release 2.2 ######
# NAT/Firewall Traversal
nat_enable: 0; 0-Disabled (default), 1-Enabled
nat_address: &quot;&quot;; WAN IP address of NAT box (dotted IP or DNS A record only)
voip_control_port: 5060; UDP port used for SIP messages (default - 5060)
start_media_port: 16384; Start RTP range for media (default - 16384)
end_media_port: 32766; End RTP range for media (default - 32766)
nat_received_processing: 0; 0-Disabled (default), 1-Enabled
# Outbound Proxy Support
outbound_proxy: &quot;&quot;; restricted to dotted IP or DNS A record only
outbound_proxy_port: 5060; default is 5060
####### New Parameter added in Release 3.0 #######
# Allow for the bridge on a 3way call to join remaining parties upon hangup
cnf_join_enable: 1; 0-Disabled, 1-Enabled (default)
####### New Parameters added in Release 3.1 #######
# Allow Transfer to be completed while target phone is still ringing
semi_attended_transfer: 1; 0-Disabled, 1-Enabled (default)
# Telnet Level (enable or disable the ability to Telnet into the phone)
telnet_level: 1; 0-Disabled (default), 1-Enabled, 2-Privileged
####### New Parameters added in Release 4.0 #######
# XML URLs
services_url: &quot;&quot;; URL for external Phone Services
directory_url: &quot;&quot;; URL for external Directory location
logo_url: &quot;&quot;; URL for branding logo to be used on phone display
# HTTP Proxy Support
http_proxy_addr: &quot;&quot;; Address of HTTP Proxy server
http_proxy_port: 80; Port of HTTP Proxy Server (80-default)
# Dynamic DNS/TFTP Support
dyn_dns_addr_1: &quot;&quot;; restricted to dotted IP
dyn_dns_addr_2: &quot;&quot;; restricted to dotted IP
dyn_tftp_addr: &quot;&quot;; restricted to dotted IP
# Remote Party ID
remote_party_id: 0; 0-Disabled (default), 1-Enabled
Настройка файла конфигурации для отдельного IP-телефона
&amp;nbsp;
В файле можно изменить следующие параметры: anonymous_call_block, autocomplete, callerid_blocking, call_hold_ringback, call_waiting, dnd_control – остальные при необходимости. Файлу нужно присвоить имя вида SIP&amp;lt;MAC-адрес&amp;gt;.cnf. Пример файла конфигурации для отдельного телефона:
&amp;nbsp;
# SIP Configuration Generic File
# Line 1 appearance
line1_name: 1234567
# Line 1 Registration Authentication
line1_authname: &quot;UNPROVISIONED&quot;
# Line 1 Registration Password
line1_password: &quot;UNPROVISIONED&quot;
# Line 2 appearance
line2_name: football
# Line 2 Registration Authentication
line2_authname: &quot;UNPROVISIONED&quot;
# Line 2 Registration Password
line2_password: &quot;UNPROVISIONED&quot;
####### New Parameters added in Release 2.0 #######
# Phone Label (Text desired to be displayed in upper right corner)
phone_label: &quot;&quot;; Has no effect on SIP messaging
# Line 1 Display Name (Display name to use for SIP messaging)
line1_displayname: &quot;User ID&quot;
# Line 2 Display Name (Display name to use for SIP messaging)
line2_displayname: &quot;&quot;
####### New Parameters added in Release 3.0 ######
# Phone Prompt (The prompt that will be displayed on console and Telnet)
phone_prompt: &quot;SIP Phone&quot;; Limited to 15 characters (Default - SIP Phone)
# Phone Password (Password to be used for console or Telnet login)
phone_password: &quot;cisco&quot;; Limited to 31 characters (Default - cisco)
# User classification used when Registering [ none (default), phone, ip ]
user_info: none&lt;/span&gt;&lt;/pre&gt;
&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Настройка параметров из меню IP-телефона Cisco&lt;/strong&gt;&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Некоторые параметры можно настроить вручную, из меню IP-телефона Cisco. По умолчанию настройки в IP-телефоне Cisco 7940/7960 заблокированы. Для разблокирования нужно ввести пароль, заданный в конфигурационном файле телефона, нажав&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Settings &amp;gt; Unlock Config&lt;/em&gt;. Для блокировки нажмите&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Lock Config&lt;/em&gt;&amp;nbsp;или&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Exit&lt;/em&gt;. После изменения параметров нужно их сохранить и телефон перезагрузится с новыми настройками. Помимо основный настроек, таких как IP-адрес или адрес TFTP-сервера, при настройке вручную нужно настроить параметры SIP. После разблокировки телефона выберите&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Settings &amp;gt; SIP Configuration&lt;/em&gt;. В появившемся меню установите&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;line1_name&lt;/em&gt;,&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;proxy1_address&lt;/em&gt;,&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;proxy1_port&lt;/em&gt;&amp;nbsp;– их формат описан выше. Если телефон должен авторизоваться на прокси-сервере SIP, введите также&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;line1_authname&lt;/em&gt;&amp;nbsp;и&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;line1_password&lt;/em&gt;. По умолчанию их значение равно&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;UNPROVISIONED&lt;/em&gt;.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Настройку времени рекомендуем задавать из общего конфигурационного файла, пример секции с такой настройкой для Москвы:&lt;br /&gt;
&lt;pre class=&quot;powershell&quot; style=&quot;border-bottom-color: black; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: black; border-left-style: solid; border-left-width: 1px; border-right-color: black; border-right-style: solid; border-right-width: 1px; border-top-color: black; border-top-style: solid; border-top-width: 1px; font-family: monospace; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 4px; padding-right: 0px; padding-top: 0px;&quot;&gt;time_zone : BT
dst_offset : 01&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/&lt;/span&gt;00
dst_start_month : April
dst_start_day : &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;1&lt;/span&gt;
dst_start_time : 02&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/&lt;/span&gt;00
dst_stop_month : October
dst_stop_day : &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;1&lt;/span&gt;
dst_stop_time : 02&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/&lt;/span&gt;00
dst_stop_autoadjust : &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;1&lt;/span&gt;&lt;/pre&gt;
&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;DST – это даты перехода на летнее и зимнее время соответственно.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Настройка dial-plan для IP-телефонов Cisco&lt;/strong&gt;&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Номерные планы позволяют IP-телефонам Cisco, работающим по протоколу SIP поддерживать автоматический набор и генерировать вторичный тоновый сигнал. При использовании общего номерного плана его лучше всего задавать в общем конфигурационном файле. Правила в файле номерного плана анализируются с первого до последнего, пишутся в XML-формате и хранятся на TFTP-сервере.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Начало файла обозначается таким тэгом:&lt;br /&gt;
&lt;pre class=&quot;powershell&quot; style=&quot;border-bottom-color: black; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: black; border-left-style: solid; border-left-width: 1px; border-right-color: black; border-right-style: solid; border-right-width: 1px; border-top-color: black; border-top-style: solid; border-top-width: 1px; font-family: monospace; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 4px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;&lt;/span&gt;DIALTEMPLATE&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Для каждой схемы нумерации добавьте строку:&lt;br /&gt;
&lt;pre class=&quot;powershell&quot; style=&quot;border-bottom-color: black; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: black; border-left-style: solid; border-left-width: 1px; border-right-color: black; border-right-style: solid; border-right-width: 1px; border-top-color: black; border-top-style: solid; border-top-width: 1px; font-family: monospace; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 4px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;&lt;/span&gt;TEMPLATE MATCH&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;pattern&quot;&lt;/span&gt; Timeout&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;sec&quot;&lt;/span&gt; User&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;type&quot;&lt;/span&gt; Rewrite&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;xxx&quot;&lt;/span&gt; Route&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;route&quot;&lt;/span&gt; Tone&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;tone&quot;&lt;/span&gt; &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/&amp;gt;&lt;/span&gt;
&amp;nbsp;&lt;/pre&gt;
&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;, где:&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;pattern&lt;/em&gt;&amp;nbsp;может содержать:&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;.&lt;/em&gt;&amp;nbsp;(точка) для замены любого символа,&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;*&amp;nbsp;&lt;/em&gt;(звездочка) для замены одного или более символов,&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;,&lt;/em&gt;&amp;nbsp;(запятая) для генерации вторичного сигнала.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;sec&lt;/em&gt;&amp;nbsp;– время в секундах, после которого начинается набор.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;type&lt;/em&gt;&amp;nbsp;– может быть&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;IP&lt;/em&gt;&amp;nbsp;или&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Phone&lt;/em&gt;. Тэг, добавляемый к номеру, регистронезависим.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;xxx&lt;/em&gt;&amp;nbsp;– номер, который будет набираться вместо введенного пользователем при совпадении с&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;pattern&lt;/em&gt;.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;route&lt;/em&gt;&amp;nbsp;– адрес прокси-сервера SIP, на который перенаправляется звонок, значение может быть&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;default&lt;/em&gt;,&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;emergency&lt;/em&gt;&amp;nbsp;или имя прокси-сервера.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;tone&amp;nbsp;&lt;/em&gt;– если не задан, используется вторичный гудок по умолчанию, если стоит запятая и затем имя гудка, то проигрывает этот звук; без запятой гудок игнорируется.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Также можно указать решетку (&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;#&lt;/em&gt;) и звездочку (&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;*&lt;/em&gt;) как набираемые символы. По умолчанию&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;#&lt;/em&gt;&amp;nbsp;означает «набрать сейчас», не дожидаясь совпадения с шаблоном из номерного плана.&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;*&lt;/em&gt;&amp;nbsp;по умолчанию означает&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;*&lt;/em&gt;&amp;nbsp;или&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;.&lt;/em&gt;&amp;nbsp;в шаблоне (wildcard-символ).&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;В качестве вторичного гудка можно использовать следующие значения (после запятой):&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Bellcore-Alerting, Bellcore-dr5, Bellcore-Reorder, Bellcore-Busy, Bellcore-dr6, Bellcore-Stutter, Bellcore-BusyVerify, Bellcore-Hold, CallWaiting-2, Bellcore-CallWaiting, Bellcore-Inside, CallWaiting-3, Bellcore-Confirmation, Bellcore-None, CallWaiting-4, Bellcore-dr1, Bellcore-Outside (default), Cisco-BeepBonk, Bellcore-dr2, Bellcore-Permanent, Cisco-Zip, Bellcore-dr3, Bellcore-Reminder, Cisco-ZipZip, Bellcore-dr4&lt;/em&gt;.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;При желании к каждому правилу можно добавить&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;/em&gt;в конце каждой строки.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Файл номерного плана заканчивается строкой&lt;br /&gt;
&lt;pre class=&quot;powershell&quot; style=&quot;border-bottom-color: black; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: black; border-left-style: solid; border-left-width: 1px; border-right-color: black; border-right-style: solid; border-right-width: 1px; border-top-color: black; border-top-style: solid; border-top-width: 1px; font-family: monospace; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 4px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;/&lt;/span&gt;DIALTEMPLATE&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;После этого номерной план сохраняется в файл xml с уникальным именем и помещается на TFTP-сервер.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Примеры файлов с номерным планом:&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;С использованием решетки как набираемого символа:&lt;br /&gt;
&lt;pre class=&quot;powershell&quot; style=&quot;border-bottom-color: black; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: black; border-left-style: solid; border-left-width: 1px; border-right-color: black; border-right-style: solid; border-right-width: 1px; border-top-color: black; border-top-style: solid; border-top-width: 1px; font-family: monospace; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 4px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;&lt;/span&gt;DIALTEMPLATE&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;
 &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;&lt;/span&gt;TEMPLATE MATCH&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;123#45#6&quot;&lt;/span&gt; TIMEOUT&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;0&quot;&lt;/span&gt; User&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;Phone&quot;&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/&amp;gt;&lt;/span&gt; &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;!--&lt;/span&gt; Match `&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;#&#39; --&amp;gt;&lt;/span&gt;
 &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;&lt;/span&gt;TEMPLATE MATCH&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;34#...&quot;&lt;/span&gt;    TIMEOUT&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;0&quot;&lt;/span&gt; User&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;Phone&quot;&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/&amp;gt;&lt;/span&gt; &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;!--&lt;/span&gt; Match `&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;#&#39; --&amp;gt;&lt;/span&gt;
 &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;&lt;/span&gt;TEMPLATE MATCH&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;*&quot;&lt;/span&gt;      TIMEOUT&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;15&quot;&lt;/span&gt; User&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;Phone&quot;&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/&amp;gt;&lt;/span&gt;
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;/&lt;/span&gt;DIALTEMPLATE&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;С использованием двух разных гудков:&lt;br /&gt;
&lt;pre class=&quot;powershell&quot; style=&quot;border-bottom-color: black; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: black; border-left-style: solid; border-left-width: 1px; border-right-color: black; border-right-style: solid; border-right-width: 1px; border-top-color: black; border-top-style: solid; border-top-width: 1px; font-family: monospace; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 4px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;&lt;/span&gt;DIALTEMPLATE&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;
 &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;&lt;/span&gt;TEMPLATE MATCH&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;7,...&quot;&lt;/span&gt; TIMEOUT&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;0&quot;&lt;/span&gt; &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/&amp;gt;&lt;/span&gt; &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;!--&lt;/span&gt; Default Secondary Dial Tone &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;--&amp;gt;&lt;/span&gt;
 &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;&lt;/span&gt;TEMPLATE MATCH&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;9,...&quot;&lt;/span&gt; TIMEOUT&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;0&quot;&lt;/span&gt; Tone&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;Zip&quot;&lt;/span&gt; &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/&amp;gt;&lt;/span&gt; &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;!--&lt;/span&gt; Play Zip Tone &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;--&amp;gt;&lt;/span&gt;
 &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;&lt;/span&gt;TEMPLATE MATCH&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;8,....&quot;&lt;/span&gt; TIMEOUT&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;0&quot;&lt;/span&gt; Tone&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;Hold&quot;&lt;/span&gt; &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/&amp;gt;&lt;/span&gt; &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;!--&lt;/span&gt; Play Hold Tone &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;--&amp;gt;&lt;/span&gt;
 &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;&lt;/span&gt;TEMPLATE MATCH&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;8,123,....&quot;&lt;/span&gt; TIMEOUT&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;0&quot;&lt;/span&gt; Tone&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;Hold&quot;&lt;/span&gt; Tone&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&quot;Zip&quot;&lt;/span&gt; &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/&amp;gt;&lt;/span&gt; &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;!--&lt;/span&gt;Play Hold Tone after &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;,&lt;/span&gt; Play Zip Tone after &lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;123&lt;/span&gt;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;--&amp;gt;&lt;/span&gt;
&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;/&lt;/span&gt;DIALTEMPLATE&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;strong style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Как проверить, что IP-телефон Cisco правильно инициализировался&lt;/strong&gt;&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;После включения питания телефон проходит через следующие стадии. Сначала загораются и гаснут по очереди индикаторы:&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Headset&lt;/em&gt;,&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Mute&lt;/em&gt;,&amp;nbsp;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Speaker&lt;/em&gt;. Затем появляются сообщения:&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;* Configuring VLAN&lt;/em&gt;&amp;nbsp;– настройка Ethernet-соединения.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;* Configuring IP&lt;/em&gt;&amp;nbsp;– связь с DHCP-сервером для получения параметров.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;* Requesting Configuration&lt;/em&gt;&amp;nbsp;– связь с TFTP-сервером для сравнения и получения конфигурации и прошивки.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;em style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;* Upgrading Software&lt;/em&gt;&amp;nbsp;– обновление программного обеспечения и перезагрузка при необходимости.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;После этого на главном экране отображается номер из конфигурации: если он появился, значит, телефон запустился успешно.&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Дополнительно о настройке IP-телефонов Cisco для использования SIP можно почитать по адресу&amp;nbsp;&lt;a href=&quot;http://cisco.com/en/US/products/sw/voicesw/ps2156/products_administration_guide_book09186a00801d1978.html&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;&quot;&gt;http://cisco.com/en/US/products/sw/voicesw/ps2156/products_administration_guide_book09186a00801d1978.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/7201025084172654444/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/ip-cisco-79407960-sip.html#comment-form' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/7201025084172654444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/7201025084172654444'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/ip-cisco-79407960-sip.html' title='Как настроить IP-телефон Cisco 7940/7960 для работы по протоколу SIP.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2167376130645271148.post-6747135641630627526</id><published>2011-09-18T16:55:00.002+02:00</published><updated>2011-09-18T17:56:08.785+02:00</updated><title type='text'>Как установить phpmyadmin в CentOS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #3b3b3b; color: #878989; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;post-story&quot; style=&quot;border-bottom-color: rgb(0, 153, 255); border-bottom-style: dashed; border-bottom-width: 1px; font-size: 12px; line-height: 18px; margin-bottom: 0px; margin-top: 0px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; padding-top: 3px; text-align: justify; width: 524px;&quot;&gt;
&lt;div id=&quot;news-id-9&quot; style=&quot;margin-bottom: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
1.скачайте последнюю версию phpMyAdmin с www.phpmyadmin.net&lt;br /&gt;
2. распакуйте скачанный дистрибутив&lt;br /&gt;
&amp;gt; tar -xzvf phpMyAdmin-2.7.0-pl1.tar.gz&lt;br /&gt;
3. Перемещаем это в соответствующее место.&lt;br /&gt;
&amp;gt; mv phpMyAdmin-2.7.0-pl1 /usr/share/&lt;br /&gt;
4. Настраиваем phpMyAdmin&lt;br /&gt;
&amp;gt; cd /usr/share/phpMyAdmin-2.7.0-pl1&lt;br /&gt;
&amp;gt; cp config.default.php config.inc.php&lt;br /&gt;
&amp;gt; nano -w config.inc.php&lt;br /&gt;
5. Найдите каждую строку и проверьте что у вас записано именно так.&lt;br /&gt;
$cfg[&#39;Servers&#39;][$i][&#39;auth_type&#39;] = &#39;http&#39;; // Метод аутентификации&lt;br /&gt;
$cfg[&#39;Servers&#39;][$i][&#39;user&#39;] = &#39;root&#39;; // MySQL пользователь&lt;br /&gt;
$cfg[&#39;Servers&#39;][$i][&#39;password&#39;] = &#39;&#39;; // MySQL пароль&lt;br /&gt;
6. Сохраните файлы.&lt;br /&gt;
7. Создайте конфиг apache для phpmyadmin и перезагрузите apache.&lt;br /&gt;
&amp;gt; echo &quot;alias /webdb /usr/share/phpMyAdmin-2.7.0-pl1&quot; &amp;gt; /etc/httpd/conf.d/phpMyAdmin.conf&lt;br /&gt;
&amp;gt; service httpd restart&lt;br /&gt;
8. Теперь можно запускать. Убедитесь что установили пароль администратора&lt;br /&gt;
&lt;br /&gt;
Если у вас выскочит ошибка&lt;br /&gt;
&lt;div class=&quot;scriptcode&quot; style=&quot;background-color: lightyellow; border-bottom-color: rgb(190, 190, 190); border-bottom-style: dotted; border-left-color: rgb(190, 190, 190); border-left-style: dotted; border-right-color: rgb(190, 190, 190); border-right-style: dotted; border-top-color: rgb(190, 190, 190); border-top-style: dotted; font: normal normal normal 8pt/normal Verdana; margin-bottom: 0px; margin-top: 0px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left;&quot;&gt;
#1045 - Access denied for user &#39;root&#39;@&#39;localhost&#39; (using password: NO)&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
То это будет MySQL ошибка и мы запустим эту команду в терминале:&lt;br /&gt;
&lt;br /&gt;
сначала проверим что MySQL доступен (я думаю так и должно быть в вашем случае) на вашем сервере,&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;scriptcode&quot; style=&quot;background-color: lightyellow; border-bottom-color: rgb(190, 190, 190); border-bottom-style: dotted; border-left-color: rgb(190, 190, 190); border-left-style: dotted; border-right-color: rgb(190, 190, 190); border-right-style: dotted; border-top-color: rgb(190, 190, 190); border-top-style: dotted; font: normal normal normal 8pt/normal Verdana; margin-bottom: 0px; margin-top: 0px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left;&quot;&gt;
[root@localhost]# mysqladmin ping -u root -p&lt;br /&gt;
Enter password: your-root-mysql-adminpasswd-here&lt;/div&gt;
&lt;br /&gt;
mysqld работает&lt;br /&gt;
&lt;br /&gt;
Если вы получили ошибку: &#39;Access denied for for user ...и т д&#39;&lt;br /&gt;
тогда вы используете неправильный пароль суперпользователя root (mysql-admin).&lt;br /&gt;
Тогда попробуйте войти под пользователем root без пароля(так установлено по-умолчанию)&lt;br /&gt;
&lt;br /&gt;
Если получите сообщение:&#39;Check that mysqld is running...&#39; то запустите сервис mysqld&lt;br /&gt;
&lt;div class=&quot;scriptcode&quot; style=&quot;background-color: lightyellow; border-bottom-color: rgb(190, 190, 190); border-bottom-style: dotted; border-left-color: rgb(190, 190, 190); border-left-style: dotted; border-right-color: rgb(190, 190, 190); border-right-style: dotted; border-top-color: rgb(190, 190, 190); border-top-style: dotted; font: normal normal normal 8pt/normal Verdana; margin-bottom: 0px; margin-top: 0px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left;&quot;&gt;
[root]# service mysqld start&lt;br /&gt;
Starting MySQL [OK]&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
То теперь можно попытаться войти в MySQL ...&lt;br /&gt;
&lt;div class=&quot;scriptcode&quot; style=&quot;background-color: lightyellow; border-bottom-color: rgb(190, 190, 190); border-bottom-style: dotted; border-left-color: rgb(190, 190, 190); border-left-style: dotted; border-right-color: rgb(190, 190, 190); border-right-style: dotted; border-top-color: rgb(190, 190, 190); border-top-style: dotted; font: normal normal normal 8pt/normal Verdana; margin-bottom: 0px; margin-top: 0px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left;&quot;&gt;
[root@localhost]# mysql -u root -p&lt;br /&gt;
Enter password: the-passwd-you-used-above&lt;br /&gt;
Welcome to the MySQL monitor...&lt;br /&gt;
(--etc--)&lt;br /&gt;
mysql&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
Теперь мы успешно авторизированы сервером MySQL.&lt;br /&gt;
Сделаем так:&lt;br /&gt;
&lt;div class=&quot;scriptcode&quot; style=&quot;background-color: lightyellow; border-bottom-color: rgb(190, 190, 190); border-bottom-style: dotted; border-left-color: rgb(190, 190, 190); border-left-style: dotted; border-right-color: rgb(190, 190, 190); border-right-style: dotted; border-top-color: rgb(190, 190, 190); border-top-style: dotted; font: normal normal normal 8pt/normal Verdana; margin-bottom: 0px; margin-top: 0px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left;&quot;&gt;
mysql&amp;gt;show databases;&lt;br /&gt;
|---------|&lt;br /&gt;
|Database|&lt;br /&gt;
|---------|&lt;br /&gt;
|mysql ---|&lt;br /&gt;
|test-----|&lt;br /&gt;
|---etc---|&lt;br /&gt;
|---------|&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt;use mysql;&lt;br /&gt;
Databse changed&lt;br /&gt;
mysql&amp;gt;select * from mysql.user;&lt;/div&gt;
&lt;br /&gt;
(это покажет список пользователей в MySQL)&lt;/div&gt;
&lt;div class=&quot;post-data&quot; style=&quot;font-size: 11px; margin-bottom: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 0px; padding-top: 5px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://royalcastle-blog.blogspot.com/feeds/6747135641630627526/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/phpmyadmin-centos.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/6747135641630627526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2167376130645271148/posts/default/6747135641630627526'/><link rel='alternate' type='text/html' href='http://royalcastle-blog.blogspot.com/2011/09/phpmyadmin-centos.html' title='Как установить phpmyadmin в CentOS'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02345208743408919095</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>