{"id":89,"date":"2018-07-18T23:03:47","date_gmt":"2018-07-18T20:03:47","guid":{"rendered":"http:\/\/guwi.ru\/?p=89"},"modified":"2018-07-18T23:03:47","modified_gmt":"2018-07-18T20:03:47","slug":"%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-asterisk-14-%d0%bd%d0%b0-centos-7","status":"publish","type":"post","link":"http:\/\/guwi.ru\/?p=89","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Asterisk 14 \u0438 FreePBX 14 \u043d\u0430 CentOS 7."},"content":{"rendered":"<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e CentOS Linux release 7.3.1611 (Core) \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u043d\u0430 19.07.2017<br \/>\n\u043d\u0430\u043f\u043e\u043c\u043d\u044e, \u0447\u0442\u043e \u0434\u043b\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443<\/p>\n<pre>yum update<\/pre>\n<p><strong>\u0412\u0430\u0436\u043d\u043e!<\/strong>\u00a0<\/p>\n<p>1. \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c Selinux \u043d\u0430 \u0432\u0440\u0435\u043c\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438. \u0412\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0439 Selinux \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044e \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438.<br \/>\n\u0412\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c Selinux \u043d\u0430 CentOS 7 \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434:<\/p>\n<pre>sed -i 's\/\\(^SELINUX=\\).*\/\\SELINUX=disabled\/' \/etc\/sysconfig\/selinux<\/pre>\n<pre>sed -i 's\/\\(^SELINUX=\\).*\/\\SELINUX=disabled\/' \/etc\/selinux\/config<\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0443:<\/p>\n<pre>reboot<\/pre>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043d\u0430 \u0432\u0440\u0435\u043c\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c firewall(\u043d\u0435 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0439\u0442\u0435, \u0435\u0441\u043b\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0438\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430)<\/p>\n<pre>systemctl stop firewalld<\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c, \u0447\u0442\u043e Selinux, \u0442\u0430\u043a\u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u043b\u0441\u044f:<\/p>\n<pre>sestatus<\/pre>\n<p>SELinux status: \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 disabled<\/p>\n<p>2. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c FreePBX 14 \u0438 Asterisk 14 \u043d\u0430 CentOS 7<\/p>\n<pre>yum -y groupinstall core base \"Development Tools\"<\/pre>\n<p>\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438<\/p>\n<pre>yum -y install lynx tftp-server unixODBC unixODBC-devel mysql-connector-odbc mariadb-server mariadb httpd ncurses-devel sendmail sendmail-cf sox newt-devel libxml2-devel libtiff-devel audiofile-devel gtk2-devel subversion kernel-devel kernel-headers git crontabs cronie cronie-anacron wget vim uuid-devel sqlite sqlite-devel net-tools gnutls-devel python-devel texinfo libuuid-devel libxml2-devel libsrtp-devel libtool-ltdl libtool-ltdl-devel e2fsprogs-devel keyutils-libs-devel krb5-devel libogg libselinux-devel libsepol-devel libxml2-devel libtiff-devel gmp audiofile-devel libogg-devel openssl-devel zlib-devel perl-DateManip sox git wget net-tools psmisc speex-devel gsm-devel libtool libtool-ltdl libtool-ltdl-devel xmlstarlet<\/pre>\n<p>3. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c php 5.6<br \/>\n\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u0430\u0440\u0443 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u0430\u0440\u0438\u0435\u0432:<\/p>\n<pre>rpm -Uvh https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-7.noarch.rpm\nrpm -Uvh https:\/\/mirror.webtatic.com\/yum\/el7\/webtatic-release.rpm<\/pre>\n<p>\u0423\u0434\u0430\u043b\u0438\u043c \u0441\u0442\u0430\u0440\u044b\u0439 php \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c php 5.6 \u0434\u043b\u044f FreePBX 14<\/p>\n<pre>yum remove php*<\/pre>\n<pre>yum install php56w php56w-pdo php56w-mysql php56w-mbstring php56w-pear php56w-process php56w-xml php56w-opcache php56w-ldap php56w-intl php56w-soap<\/pre>\n<pre>php -v<\/pre>\n<p>PHP 5.6.30<br \/>\nCopyright\u00a01997 2016\u00a0The PHP Group<br \/>\nZend Engine v2.6.0, Copyright\u00a01998 2016\u00a0Zend Technologies<br \/>\nwith Zend OPcache v7.0.6-dev, Copyright\u00a01999 2016, by Zend Technologies<\/p>\n<p>4. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c nodeJS<\/p>\n<pre>curl -sL https:\/\/rpm.nodesource.com\/setup_8.x | bash -<\/pre>\n<pre>yum install -y nodejs<\/pre>\n<p>5. \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 mysql \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c. mysql \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 FreePBX \u0438 \u0437\u0430\u043f\u0438\u0441\u0438 cdr \u0438\u0437 asterisk<\/p>\n<pre>systemctl enable mariadb.service<\/pre>\n<pre>systemctl start mariadb<\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c mysql \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0438 \u0437\u0430\u043f\u0443\u0449\u0435\u043d<br \/>\n\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0437\u043c\u0435\u043d\u0438\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445<br \/>\n<strong>\u0412\u0430\u0436\u043d\u043e!<\/strong>\u00a0\u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0439\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u044c root<\/p>\n<pre>mysql_secure_installation<\/pre>\n<p>6. \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f asterisk<\/p>\n<pre>adduser asterisk -m -c \"Asterisk User\"<\/pre>\n<p>7. \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 apache \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0435\u0433\u043e<\/p>\n<pre>systemctl enable httpd.service<\/pre>\n<pre>systemctl start httpd.service<\/pre>\n<p>8. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c Perl \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f<\/p>\n<pre>pear install Console_Getopt<\/pre>\n<p>9. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c srtp \u0434\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0441\u043e\u0431\u0440\u0430\u0442\u044c Asterisk \u0441 srtp \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c rtp \u0432 \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u0432\u0438\u0434\u0435<\/p>\n<pre>cd \/usr\/src && wget http:\/\/sourceforge.net\/projects\/srtp\/files\/srtp\/1.4.4\/srtp-1.4.4.tgz\ntar zxvf srtp-*.tgz &&\nsed -i 's\/RTPW\\=rtpw\/RTPW\\=\\.\\\/rtpw\/' \/usr\/src\/srtp\/test\/rtpw_test.sh &&\ncd srtp && autoconf &&\n.\/configure CFLAGS=-fPIC --prefix=\/usr &&\nmake &&\nmake runtest &&\nmake uninstall &&\nmake install<\/pre>\n<p>10. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 libjansson<\/p>\n<pre>wget -O jansson.tar.gz https:\/\/github.com\/akheron\/jansson\/archive\/v2.10.tar.gz<\/pre>\n<pre>cd \/usr\/src\ntar vxfz jansson.tar.gz\nrm -f jansson.tar.gz\ncd jansson-*\nautoreconf -i\n.\/configure --libdir=\/usr\/lib64\nmake\nmake install<\/pre>\n<p>11. \u0421\u043a\u0430\u0447\u0430\u0435\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 Asterisk 14 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438<\/p>\n<pre>cd \/usr\/src &&\nwget http:\/\/sourceforge.net\/projects\/lame\/files\/lame\/3.98.4\/lame-3.98.4.tar.gz &&\nwget http:\/\/downloads.asterisk.org\/pub\/telephony\/dahdi-linux-complete\/dahdi-linux-complete-current.tar.gz &&\nwget http:\/\/downloads.asterisk.org\/pub\/telephony\/libpri\/libpri-current.tar.gz &&\nwget http:\/\/downloads.asterisk.org\/pub\/telephony\/asterisk\/asterisk-14-current.tar.gz<\/pre>\n<p>12. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Lame \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0430\u0443\u0434\u0438\u043e \u0432 \u0444\u043e\u0440\u043c\u0430\u0442 MP3<\/p>\n<pre>cd \/usr\/src &&\ntar zxvf lame-3.98.4.tar.gz &&\ncd lame-3.98.4 &&\n.\/configure &&\nmake &&\nmake install<\/pre>\n<p>13. \u041a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044f \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Dahdi \u0438 LibPri.<br \/>\n\u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u043f\u043b\u0430\u0442\u044b ISDN \u2014 \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0448\u0430\u0433 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Libpri.<br \/>\n\u041d\u043e, \u0434\u043b\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 Asterisk \u0438 FreePBX \u043c\u043e\u0434\u0443\u043b\u044c DAHDI \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0432\u0441\u0435\u0433\u0434\u0430!<\/p>\n<pre>cd \/usr\/src &&\ntar xvfz dahdi-linux-complete-current.tar.gz &&\ncd dahdi-linux-complete-* &&\nmake all &&\nmake install &&\nmake config<\/pre>\n<p>libpri<\/p>\n<pre>cd \/usr\/src &&\ntar xvfz libpri-*.tar.gz &&\ncd \/usr\/src\/libpri-* &&\nmake &&\nmake install<\/pre>\n<p>14. \u0421\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c asterisk 14<\/p>\n<pre>cd \/usr\/src &&\ntar xvfz asterisk-14*.tar.gz &&\ncd asterisk-14.*\nconfigure\n.\/configure --libdir=\/usr\/lib64 --with-pjproject-bundled --with-crypto --with-ssl=ssl --with-srtp\ncontrib\/scripts\/get_mp3_source.sh\nmake menuselect\nmake && make install && make config && ldconfig<\/pre>\n<p>15. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u0430 \u043d\u0430 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438<\/p>\n<pre>chown asterisk.asterisk \/var\/run\/asterisk &&\nchown -R asterisk.asterisk \/etc\/asterisk &&\nchown -R asterisk.asterisk \/var\/{lib,log,spool}\/asterisk &&\nchown -R asterisk.asterisk \/usr\/lib64\/asterisk <\/pre>\n<p>16. \u0418\u0437\u043c\u0435\u043d\u0438\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 Apache \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/p>\n<pre>sed -i 's\/^upload_max_filesize = .*\/upload_max_filesize = 120M\/' \/etc\/php.ini\nsed -ie 's\/\\;date\\.timezone\\ \\=\/date\\.timezone\\ \\=\\ \"Europe\\\/Kiev\"\/g' \/etc\/php.ini &&\nsed -i 's\/AllowOverride None\/AllowOverride All\/' \/etc\/httpd\/conf\/httpd.conf &&\nsed -i 's\/^\\(User\\|Group\\).*\/\\1 asterisk\/' \/etc\/httpd\/conf\/httpd.conf\nsystemctl restart httpd.service && systemctl enable httpd<\/pre>\n<h4>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 FreePBX 14 \u043d\u0430 CentOS 7<\/h4>\n<p>17. \u0421\u043a\u0430\u0447\u0430\u0435\u043c \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c FreePBX 14<\/p>\n<pre>cd \/usr\/src\nwget http:\/\/mirror.freepbx.org\/modules\/packages\/freepbx\/freepbx-14.0-latest.tgz\ntar xfz freepbx-14.0-latest.tgz<\/pre>\n<p>\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/p>\n<pre>cd freepbx\n.\/start_asterisk start\n.\/install -n<\/pre>\n<p>18. \u0414\u043e\u0431\u0430\u0432\u0438\u043c FreePBX 14 \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443<br \/>\n\u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0444\u0430\u0439\u043b \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435\u043c:<\/p>\n<pre>nano \/etc\/systemd\/system\/freepbx.service<\/pre>\n<pre>[Unit]\nDescription=FreePBX VoIP Server\nAfter=mariadb.service[Service]\nType=oneshot\nRemainAfterExit=yes\nExecStart=\/usr\/sbin\/fwconsole start -q\nExecStop=\/usr\/sbin\/fwconsole stop -q[Install]\nWantedBy=multi-user.target<\/pre>\n<p>\u0434\u043e\u0431\u0430\u0432\u0438\u043c FreePBX \u0432 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443<\/p>\n<pre>systemctl enable freepbx.service<\/pre>\n<p>\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 FreePBX<\/p>\n<pre>systemctl start freepbx<\/pre>\n<p>\u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c, \u0447\u0442\u043e \u043e\u043d \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0441\u044f<\/p>\n<pre>systemctl status -l freepbx.service<\/pre>\n<pre>\u25cf freepbx.service \u2014 FreePBX VoIP Server\nLoaded: loaded (\/etc\/systemd\/system\/freepbx.service; enabled; vendor preset: disabled)\nActive: active (exited) since Wed 2017-07-19 16:49:19 EEST; 4s ago\nProcess: 3921 ExecStart=\/usr\/sbin\/fwconsole start -q (code=exited, status=0\/SUCCESS)\nMain PID: 3921 (code=exited, status=0\/SUCCESS)<\/pre>\n<p>\u041d\u0430 \u044d\u0442\u043e\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Asterisk \u0438\u00a0<strong>FreePBX14<\/strong>\u00a0\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e CentOS Linux release 7.3.1611 (Core) \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u043d\u0430 19.07.2017 \u043d\u0430\u043f\u043e\u043c\u043d\u044e, \u0447\u0442\u043e \u0434\u043b\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 yum update \u0412\u0430\u0436\u043d\u043e!\u00a0 1. \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c Selinux \u043d\u0430 \u0432\u0440\u0435\u043c\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438. \u0412\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0439 Selinux \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044e \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438. \u0412\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c Selinux \u043d\u0430 CentOS 7 \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434: sed -i &#8216;s\/\\(^SELINUX=\\).*\/\\SELINUX=disabled\/&#8217; \/etc\/sysconfig\/selinux\u2026 <span class=\"read-more\"><a href=\"http:\/\/guwi.ru\/?p=89\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[],"class_list":["post-89","post","type-post","status-publish","format-standard","hentry","category-asterisk","category-centos-7"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Asterisk 14 \u0438 FreePBX 14 \u043d\u0430 CentOS 7. - \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\u0430\u043b GUWi.ru<\/title>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"http:\/\/guwi.ru\/?p=89\" \/>\r\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Asterisk 14 \u0438 FreePBX 14 \u043d\u0430 CentOS 7. - \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\u0430\u043b GUWi.ru\" \/>\r\n<meta property=\"og:description\" content=\"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e CentOS Linux release 7.3.1611 (Core) \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u043d\u0430 19.07.2017 \u043d\u0430\u043f\u043e\u043c\u043d\u044e, \u0447\u0442\u043e \u0434\u043b\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 yum update \u0412\u0430\u0436\u043d\u043e!\u00a0 1. \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c Selinux \u043d\u0430 \u0432\u0440\u0435\u043c\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438. \u0412\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0439 Selinux \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044e \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438. \u0412\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c Selinux \u043d\u0430 CentOS 7 \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434: sed -i &#039;s\/(^SELINUX=).*\/SELINUX=disabled\/&#039; \/etc\/sysconfig\/selinux\u2026 \u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 &raquo;\" \/>\r\n<meta property=\"og:url\" content=\"http:\/\/guwi.ru\/?p=89\" \/>\r\n<meta property=\"og:site_name\" content=\"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\u0430\u043b GUWi.ru\" \/>\r\n<meta property=\"article:published_time\" content=\"2018-07-18T20:03:47+00:00\" \/>\r\n<meta name=\"author\" content=\"admin\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u043c\u0438\u043d\u0443\u0442\u044b\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/guwi.ru\/?p=89\",\"url\":\"http:\/\/guwi.ru\/?p=89\",\"name\":\"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Asterisk 14 \u0438 FreePBX 14 \u043d\u0430 CentOS 7. - \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\u0430\u043b GUWi.ru\",\"isPartOf\":{\"@id\":\"http:\/\/guwi.ru\/#website\"},\"datePublished\":\"2018-07-18T20:03:47+00:00\",\"dateModified\":\"2018-07-18T20:03:47+00:00\",\"author\":{\"@id\":\"http:\/\/guwi.ru\/#\/schema\/person\/8389c039a09ca9a7a03b90d05f430762\"},\"breadcrumb\":{\"@id\":\"http:\/\/guwi.ru\/?p=89#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/guwi.ru\/?p=89\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/guwi.ru\/?p=89#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"http:\/\/guwi.ru\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Asterisk 14 \u0438 FreePBX 14 \u043d\u0430 CentOS 7.\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/guwi.ru\/#website\",\"url\":\"http:\/\/guwi.ru\/\",\"name\":\"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\u0430\u043b GUWi.ru\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/guwi.ru\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/guwi.ru\/#\/schema\/person\/8389c039a09ca9a7a03b90d05f430762\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"http:\/\/guwi.ru\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/119031a5dc09b470495f25546952bbd6788e8c489add738a2afe18ab63de8267?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/119031a5dc09b470495f25546952bbd6788e8c489add738a2afe18ab63de8267?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/guwi.ru\"],\"url\":\"http:\/\/guwi.ru\/?author=1\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Asterisk 14 \u0438 FreePBX 14 \u043d\u0430 CentOS 7. - \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\u0430\u043b GUWi.ru","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/guwi.ru\/?p=89","og_locale":"ru_RU","og_type":"article","og_title":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Asterisk 14 \u0438 FreePBX 14 \u043d\u0430 CentOS 7. - \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\u0430\u043b GUWi.ru","og_description":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e CentOS Linux release 7.3.1611 (Core) \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u043d\u0430 19.07.2017 \u043d\u0430\u043f\u043e\u043c\u043d\u044e, \u0447\u0442\u043e \u0434\u043b\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 yum update \u0412\u0430\u0436\u043d\u043e!\u00a0 1. \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c Selinux \u043d\u0430 \u0432\u0440\u0435\u043c\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438. \u0412\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0439 Selinux \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u043c\u0443 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044e \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438. \u0412\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c Selinux \u043d\u0430 CentOS 7 \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434: sed -i 's\/(^SELINUX=).*\/SELINUX=disabled\/' \/etc\/sysconfig\/selinux\u2026 \u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 &raquo;","og_url":"http:\/\/guwi.ru\/?p=89","og_site_name":"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\u0430\u043b GUWi.ru","article_published_time":"2018-07-18T20:03:47+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c":"admin","\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"3 \u043c\u0438\u043d\u0443\u0442\u044b"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/guwi.ru\/?p=89","url":"http:\/\/guwi.ru\/?p=89","name":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Asterisk 14 \u0438 FreePBX 14 \u043d\u0430 CentOS 7. - \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\u0430\u043b GUWi.ru","isPartOf":{"@id":"http:\/\/guwi.ru\/#website"},"datePublished":"2018-07-18T20:03:47+00:00","dateModified":"2018-07-18T20:03:47+00:00","author":{"@id":"http:\/\/guwi.ru\/#\/schema\/person\/8389c039a09ca9a7a03b90d05f430762"},"breadcrumb":{"@id":"http:\/\/guwi.ru\/?p=89#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["http:\/\/guwi.ru\/?p=89"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/guwi.ru\/?p=89#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"http:\/\/guwi.ru\/"},{"@type":"ListItem","position":2,"name":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Asterisk 14 \u0438 FreePBX 14 \u043d\u0430 CentOS 7."}]},{"@type":"WebSite","@id":"http:\/\/guwi.ru\/#website","url":"http:\/\/guwi.ru\/","name":"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442\u0430\u043b GUWi.ru","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/guwi.ru\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ru-RU"},{"@type":"Person","@id":"http:\/\/guwi.ru\/#\/schema\/person\/8389c039a09ca9a7a03b90d05f430762","name":"admin","image":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"http:\/\/guwi.ru\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/119031a5dc09b470495f25546952bbd6788e8c489add738a2afe18ab63de8267?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/119031a5dc09b470495f25546952bbd6788e8c489add738a2afe18ab63de8267?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/guwi.ru"],"url":"http:\/\/guwi.ru\/?author=1"}]}},"_links":{"self":[{"href":"http:\/\/guwi.ru\/index.php?rest_route=\/wp\/v2\/posts\/89","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/guwi.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/guwi.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/guwi.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/guwi.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=89"}],"version-history":[{"count":0,"href":"http:\/\/guwi.ru\/index.php?rest_route=\/wp\/v2\/posts\/89\/revisions"}],"wp:attachment":[{"href":"http:\/\/guwi.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=89"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/guwi.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=89"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/guwi.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}