{"id":266081,"date":"2015-09-21T18:12:03","date_gmt":"2015-09-21T14:12:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=266081"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=266081","title":{"rendered":"\u041b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0435\u0442 \u0440\u0430\u0434\u0438\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 icecast +ices"},"content":{"rendered":"<p>       \u0420\u044b\u043b\u0441\u044f \u0432 \u0441\u0432\u043e\u0438\u0445 \u0441\u0442\u0430\u0440\u044b\u0445 \u0437\u0430\u043f\u0438\u0441\u044f\u0445 \u0438 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u0441\u044f \u0441 \u0412\u0430\u043c\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0435\u0439 \u043a\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u0434\u043d\u044f\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u043e\u043d \u043b\u0430\u0439\u043d \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u0430\u0434\u0438\u043e (mp3 \u0444\u0430\u0439\u043b\u044b) \u0438 \u0434\u043b\u044f \u0440\u0435\u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0440\u0430\u0434\u0438\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0439. <br \/>  \u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c FreeBSD. \u0421\u0447\u0438\u0442\u0430\u0435\u043c, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0441\u0432\u0435\u0436\u0435\u0435 \u0434\u0435\u0440\u0435\u0432\u043e \u043f\u043e\u0440\u0442\u043e\u0432. \u041d\u0430\u0447\u043d\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 <b>icecast<\/b>:<\/p>\n<pre><code class=\"bash\">#cd \/usr\/ports\/audio\/icecast2 #make install clean <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0434\u043b\u044f \u0438\u043d\u0435\u0442 \u0440\u0430\u0434\u0438\u043e radio \u0438 \u0433\u0440\u0443\u043f\u043f\u0443 radio \u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0433\u0434\u0435 \u044d\u0442\u043e \u0432\u0441\u0435 \u0431\u0443\u0434\u0435\u0442 \u043b\u0435\u0436\u0430\u0442\u044c.<\/p>\n<pre><code class=\"bash\">#mkdir \/var\/icecast  #pw group add radio # adduser Username:radio Full name: Radio user Uid (Leave empty for default): Login group [radio]: Login group is radio. Invite jru into other groups? []:  Login class [default]: Shell (sh csh tcsh zsh nologin) [sh]: nologin Home directory [\/home\/radio]: Home directory permissions (Leave empty for default): Use password-based authentication? [yes]: Use an empty password? (yes\/no) [no]: Use a random password? (yes\/no) [no]: Enter password: Enter password again: Lock out the account after creation? [no]: Username   : radio Password   : **** Full Name  : Radio user Uid        : 1001 Class      : Groups     : radio Home       : \/home\/radio Locked     : no OK? (yes\/no): yes adduser: INFO: Successfully added (radio) to the user database. Add another user? (yes\/no): no Goodbye! <\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u0434\u043b\u044f \u0432\u0435\u0431 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430:<\/p>\n<p>  <code>cp \/usr\/local\/share\/icecast \/var\/icecast<\/code><\/p>\n<p>  C\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0434\u043b\u044f \u043b\u043e\u0433\u0430:<\/p>\n<p>  <code>mkdir \/var\/icecast\/log<\/code><\/p>\n<p>  C\u043e\u0437\u0434\u0430\u0435\u043c \u0444\u0430\u0439\u043b\u044b \u0434\u043b\u044f \u043b\u043e\u0433\u043e\u0432:<\/p>\n<pre><code class=\"bash\">cd \/var\/icecast\/log touch access.log touch error.log <\/code><\/pre>\n<p>  \u041c\u0435\u043d\u044f\u0435\u043c \u043f\u0440\u0430\u0432\u0430:<\/p>\n<p>  <code>chown -R radio:radio \/var\/icecast<\/code><\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0438\u0434\u0435\u043c \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0430:<\/p>\n<pre><code class=\"bash\">cd \/usr\/local\/etc cp icecast.xml.sample icecast.xml <\/code><\/pre>\n<p>  \u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u043c \u0444\u0430\u0439\u043b. \u041e\u043f\u0438\u0448\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0436\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<br \/>  \u0410\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f. \u041f\u0435\u0440\u0432\u043e\u0435 \u2014 \u044d\u0442\u043e \u043f\u0430\u0440\u043e\u043b\u044c \u043d\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 \u0447\u0435\u0440\u0435\u0437 \u0432\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440 icecast.\u0412\u0442\u043e\u0440\u043e\u0435 \u2014 \u044d\u0442\u043e \u043b\u043e\u0433\u0438\u043d \u043f\u0430\u0440\u043e\u043b\u044c \u043d\u0430 \u0432\u0435\u0431 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 <a href=\"http:\/\/icecast_ip\">icecast_ip<\/a>:8000<\/p>\n<pre><code class=\"xml\">&lt;authentication&gt;         &lt;!-- Sources log in with username 'source' --&gt;         &lt;source-password&gt;123&lt;\/source-password&gt;         &lt;!-- Relays log in username 'relay' --&gt;         &lt;relay-password&gt;123&lt;\/relay-password&gt;          &lt;!-- Admin logs in with the username given below --&gt;         &lt;admin-user&gt;admin&lt;\/admin-user&gt;         &lt;admin-password&gt;12345678&lt;\/admin-password&gt;     &lt;\/authentication&gt; <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c IP \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043f\u043e\u0440\u0442 \u0442\u0430\u043a \u0436\u0435 \u0442\u043e\u0447\u043a\u0443 \u043c\u043e\u043d\u0438\u0442\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0442\u043e\u043a\u0430 \u0441 ices \u043d\u043e \u044d\u0442\u043e \u043f\u043e\u0437\u0436\u0435:<\/p>\n<pre><code class=\"xml\">&lt;listen-socket&gt;         &lt;port&gt;8000&lt;\/port&gt;         &lt;bind-address&gt;192.168.1.7&lt;\/bind-address&gt;.         &lt;shoutcast-mount&gt;\/ices&lt;\/shoutcast-mount&gt;.      &lt;\/listen-socket&gt; <\/code><\/pre>\n<p>  \u0422\u0430\u043a \u0436\u0435 \u044f \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0441\u044c \u0440\u0435\u0441\u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0434\u0438\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0438 \u0443\u043a\u0440\u0430\u0438\u043d\u044b \u041a\u0438\u0441\u0441\u0444\u043c (+ \u041a\u0438\u0441\u0441\u0444\u043c \u0432 \u0410\u0421\u0421), \u043d\u0430\u0448\u0435 \u0440\u0430\u0434\u0438\u043e, \u043b\u044e\u043a\u0441 \u0444\u043c, \u0438 \u0445\u0438\u0442 \u0444\u043c:<\/p>\n<pre><code class=\"xml\">&lt;relay&gt;         &lt;server&gt;91.201.37.42&lt;\/server&gt;         &lt;port&gt;8000&lt;\/port&gt;         &lt;mount&gt;\/kiss&lt;\/mount&gt;         &lt;local-mount&gt;\/kiss&lt;\/local-mount&gt;         &lt;on-demand&gt;1&lt;\/on-demand&gt;         &lt;relay-shoutcast-metadata&gt;0&lt;\/relay-shoutcast-metadata&gt; &lt;\/relay&gt;  &lt;relay&gt;         &lt;server&gt;91.201.37.42&lt;\/server&gt;         &lt;port&gt;8000&lt;\/port&gt;         &lt;mount&gt;\/kissACC&lt;\/mount&gt;         &lt;local-mount&gt;\/kissACC&lt;\/local-mount&gt;         &lt;on-demand&gt;1&lt;\/on-demand&gt;         &lt;relay-shoutcast-metadata&gt;0&lt;\/relay-shoutcast-metadata&gt; &lt;\/relay&gt; .... &lt;relay&gt;........         &lt;server&gt;195.95.206.12&lt;\/server&gt;         &lt;port&gt;8000&lt;\/port&gt;         &lt;mount&gt;\/HitFM&lt;\/mount&gt;         &lt;local-mount&gt;\/hitfm&lt;\/local-mount&gt;         &lt;on-demand&gt;1&lt;\/on-demand&gt;         &lt;relay-shoutcast-metadata&gt;0&lt;\/relay-shoutcast-metadata&gt; &lt;\/relay&gt;  &lt;relay&gt;         &lt;server&gt;77.120.104.251&lt;\/server&gt;         &lt;port&gt;8000&lt;\/port&gt;         &lt;mount&gt;\/&lt;\/mount&gt;         &lt;local-mount&gt;\/luxfm&lt;\/local-mount&gt;         &lt;on-demand&gt;1&lt;\/on-demand&gt;         &lt;relay-shoutcast-metadata&gt;0&lt;\/relay-shoutcast-metadata&gt; &lt;\/relay&gt;  &lt;relay&gt;         &lt;server&gt;212.26.129.222&lt;\/server&gt;         &lt;port&gt;8001&lt;\/port&gt;         &lt;mount&gt;\/&lt;\/mount&gt;         &lt;local-mount&gt;\/nashe&lt;\/local-mount&gt;         &lt;on-demand&gt;1&lt;\/on-demand&gt;         &lt;relay-shoutcast-metadata&gt;0&lt;\/relay-shoutcast-metadata&gt; &lt;\/relay&gt;  <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043c\u0435\u043d\u044f\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <\/p>\n<pre><code class=\"xml\"> &lt;basedir&gt;\/var\/icecast&lt;\/basedir&gt;          &lt;logdir&gt;\/log&lt;\/logdir&gt;         &lt;webroot&gt;\/web&lt;\/webroot&gt;         &lt;adminroot&gt;\/admin&lt;\/adminroot&gt;          &lt;pidfile&gt;\/var\/run\/icecast.pid&lt;\/pidfile&gt;  <\/code><\/pre>\n<p>  \u0418 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435, \u043d\u043e \u043d\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u043f\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e. Icecast \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u0442 root \u0432\u043e\u0442 \u0438 \u043c\u044b \u043c\u0435\u043d\u044f\u0435\u043c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043d\u0430 \u0440\u0430\u043d\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043e\u0433\u043e \u044e\u0437\u0435\u0440\u0430 \u0438 \u0433\u0440\u0443\u043f\u043f\u0443<\/p>\n<pre><code class=\"xml\">&lt;security&gt;         &lt;chroot&gt;1&lt;\/chroot&gt;          &lt;changeowner&gt;             &lt;user&gt;radio&lt;\/user&gt;             &lt;group&gt;radio&lt;\/group&gt;         &lt;\/changeowner&gt;      &lt;\/security&gt; <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0432\u0437\u043b\u0435\u0442\u0435\u0442\u044c, \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0447\u0442\u043e \u043e\u043d \u0440\u0443\u0433\u0430\u0435\u0442\u0441\u044f:<\/p>\n<p>  <code>#\/usr\/local\/bin\/icecast -c \/usr\/local\/etc\/icecast.xml<\/code><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u0445\u043e\u0440\u043e\u0448\u043e \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u0435\u043c \u0447\u0435\u0440\u0435\u0437 Ctrl+c \u0438 \u0438\u0434\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435:<\/p>\n<p>  \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b i\u0441es0 \u0438\u0431\u043e \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c mp3 \u0430 \u0434\u043b\u044f ogg \u043f\u043e \u0438\u0434\u0435\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c ices2, \u0432\u0440\u043e\u0434\u0435 \u043e\u043d \u0442\u043e\u0436\u0435 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c mp3, \u043d\u043e \u044f \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b:<\/p>\n<pre><code class=\"bash\">#cd \/usr\/ports\/audio\/ices #make install clean <\/code><\/pre>\n<p>  \u0422\u0443\u0442 \u0447\u0442\u043e \u0431\u044b \u043d\u0435 \u043c\u0443\u0447\u0430\u0442\u0441\u044f \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u0434\u0435\u043b\u0430\u0435\u043c \u043f\u0440\u043e\u0449\u0435 (\u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0430\u043c\u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0433\u0434\u0435 \u0445\u043e\u0442\u0438\u0442\u0435):<\/p>\n<p>  <code>mkdir \/tmp\/radio  <\/code><\/p>\n<p>  \u0421\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u043c \u0441\u044e\u0434\u0430 \u0444\u0430\u0439\u043b\u044b mp3 \u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442:<\/p>\n<p>  <code>find \/tmp\/radio -name *.mp3 &gt; \/tmp\/radio\/playlist.txt<\/code><\/p>\n<p>  \u0414\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f \u0444\u0430\u0439\u043b playlist.txt \u0441 \u0442\u0430\u043a\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c:<\/p>\n<pre><code class=\"bash\">\/tmp\/radio\/Far East Movement ft. The Cataracs & Dev - Like A G6.mp3 \/tmp\/radio\/The_Prodigy_-_Voodoo_People_(Pendulum_Remix).mp3 \/tmp\/radio\/1.mp3 <\/code><\/pre>\n<p>  \u041c\u0435\u043d\u044f\u0435\u043c \u043f\u0440\u0430\u0432\u0430 <code>#chmod -R 777 \/tmp\/radio<\/code> \u0438 \u0438\u0434\u0435\u043c \u043b\u043e\u043c\u0430\u0442\u044c \u0444\u0430\u0439\u043b ices.conf<\/p>\n<pre><code class=\"bash\">cd \/usr\/local\/etc\/ cp ices.conf.dist ices.conf <\/code><\/pre>\n<p>  \u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c. \u0423 \u043c\u0435\u043d\u044f \u0432\u044b\u0448\u0435\u043b \u0442\u0430\u043a\u043e\u0439 \u0432\u0438\u0434 (\u043a\u043e\u043c\u0435\u043d\u0442\u044b \u0410\u0444\u0442\u043e\u0440\u0430):<\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot;?&gt; &lt;ices:Configuration xmlns:ices=&quot;http:\/\/www.icecast.org\/projects\/ices&quot;&gt;   &lt;Playlist&gt;     &lt;!-- \u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0433\u0434\u0435 \u043b\u0435\u0436\u0438\u0442 \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442 --&gt;     &lt;File&gt;\/tmp\/radio\/playlist.txt&lt;\/File&gt;     &lt;!-- \u0445\u043e\u0442\u0438\u043c \u0447\u0442\u043e \u0431\u044b \u0438\u0433\u0440\u0430\u043b\u043e \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u0441\u0442\u0430\u0432\u0438\u043c 1. . --&gt;     &lt;Randomize&gt;0&lt;\/Randomize&gt;     &lt;!-- \u0442\u0438\u043f \u043f\u043b\u0435\u0439 \u043b\u0438\u0441\u0442\u0430, \u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e --&gt;     &lt;Type&gt;builtin&lt;\/Type&gt;     &lt;!-- \u043d\u0443\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442\u0430 \u043d\u0430 Perl \u0418 pyton, \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u0441\u043b\u0443\u0447\u0430\u044f \u043d\u0435 \u043d\u0443\u0436\u043d\u043e--&gt;     &lt;Module&gt;ices0&lt;\/Module&gt;     &lt;!-- \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0447\u0442\u043e \u0431\u044b \u043c\u0435\u0436\u0434\u0443 \u043f\u0435\u0441\u043d\u044f\u043c\u0438 \u0431\u044b\u043b\u043e \u0437\u0430\u0442\u0443\u0445\u0430\u043d\u0438\u0435 \u0442\u043e \u0440\u0430\u0437\u0440\u0435\u043c\u0438\u0440\u0443\u0435\u043c \u0438 \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445. \u043f\u043e \u0443\u043c\u043e\u0447\u0430\u043d\u0438\u044e \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u0442.\u0435. 0     &lt;Crossfade&gt;5&lt;\/Crossfade&gt;     --&gt;   &lt;\/Playlist&gt;    &lt;Execution&gt;     &lt;!-- \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0434\u0435\u043c\u043e\u043d\u043e\u043c \u0441\u0442\u0430\u0432\u044c\u0442\u0435 1 --&gt;     &lt;Background&gt;1&lt;\/Background&gt;     &lt;!-- \u0445\u043e\u0442\u0438\u0442\u0435 \u0432\u0438\u0434\u0435\u0442\u044c \u0432\u0441\u0435 \u043b\u043e\u0433\u0438 \u0432 \u0444\u0430\u0439\u043b\u0435 \u0441\u0442\u0430\u0432\u0438\u043c 1 --&gt;     &lt;Verbose&gt;1&lt;\/Verbose&gt;     &lt;!-- \u041a\u0430\u0442\u0430\u043b\u043e\u0433 \u0433\u0434\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043b\u043e\u0433 \u0438 pid \u0444\u0430\u0439\u043b\u044b --&gt;     &lt;BaseDirectory&gt;\/tmp&lt;\/BaseDirectory&gt;   &lt;\/Execution&gt;    &lt;Stream&gt;     &lt;Server&gt;       &lt;!-- ip  icecast \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043a\u0443\u0434\u0430 \u0445\u043e\u0442\u0438\u043c \u043f\u0440\u0438\u0446\u0435\u043f\u0438\u0442\u0441\u044f --&gt;       &lt;Hostname&gt;192.168.1.7&lt;\/Hostname&gt;       &lt;!-- \u043f\u043e\u0440\u0442 --&gt;       &lt;Port&gt;8000&lt;\/Port&gt;       &lt;!-- \u043f\u0430\u0440\u043e\u043b\u044c \u043d\u0430 \u043a\u043e\u043d\u0435\u043a\u0442 \u0447\u0442\u043e \u0431\u044b \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c icecast server --&gt;       &lt;Password&gt;123&lt;\/Password&gt;       &lt;!-- \u0415\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440  Shoutcast \u0441\u0442\u0430\u0432\u0438\u043c &quot;icy&quot;, icecast 1.x \u0441\u0442\u0430\u0432\u0438\u043c &quot;xaudiocast&quot;, \u0430 \u0435\u0441\u043b\u0438 icecast 2.x \u0442\u043e &quot;http&quot;. --&gt;       &lt;Protocol&gt;http&lt;\/Protocol&gt;     &lt;\/Server&gt;   &lt;!-- \u0442\u043e\u0447\u043a\u0430 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0442\u043e\u043a\u0430 \u043d\u0430 \u0430\u0439\u0441\u043a\u0430\u0441\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 --&gt;     &lt;Mountpoint&gt;\/ices&lt;\/Mountpoint&gt;     &lt;!-- The name of the dumpfile on the server for your stream. DO NOT set          this unless you know what you're doing. \u043d\u0435 \u043f\u043e\u043d\u044f\u043b \u0437\u0430 \u0447\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u044f\u043b     &lt;Dumpfile&gt;ices.dump&lt;\/Dumpfile&gt;     --&gt;     &lt;!-- \u0418\u043c\u044f \u0432\u0430\u0448\u0435\u0439 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438, \u0430 \u043d\u0435 \u0438\u043c\u044f \u0442\u0440\u0435\u043a\u0430 --&gt;     &lt;Name&gt;mp3 stream&lt;\/Name&gt;     &lt;!-- \u0416\u0430\u043d\u0440, \u0438\u043b\u0438 \u0441\u0442\u0438\u043b\u044c \u0432\u0430\u0448\u0435\u0439 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 --&gt;     &lt;Genre&gt;it&lt;\/Genre&gt;     &lt;!-- \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0432\u0430\u0448\u0435\u0439 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 --&gt;     &lt;Description&gt;Local streaming&lt;\/Description&gt;     &lt;!-- \u0441\u0441\u044b\u043b\u043e\u043a\u0430 \u0432\u0430\u0448\u0435\u0439 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 --&gt;     &lt;URL&gt;http:\/\/gate.mydomain.com\/&lt;\/URL&gt;     &lt;!--0 \u0435\u0441\u043b\u0438 \u043d\u0435 \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0430\u0448 \u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u043c \u0438 1 \u0435\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 --&gt;     &lt;Public&gt;0&lt;\/Public&gt;      &lt;!--\u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438, \u043c\u0435\u043d\u044f\u0439\u0442\u0435 \u043e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u043e--&gt;     &lt;Bitrate&gt;128&lt;\/Bitrate&gt;     &lt;!-- \u0435\u0441\u043b\u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c 1 \u0442\u043e ices \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u0442 \u043d\u0430 \u043b\u0435\u0442\u0443 \u043f\u0435\u0440\u0435\u0436\u0438\u043c\u0430\u0442\u044c \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044e \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0437\u0438  liblame \u0432 \u043d\u0443\u0436\u043d\u043e\u0435 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0442\u043e\u043a\u0430 --&gt;     &lt;Reencode&gt;0&lt;\/Reencode&gt;     &lt;!-- Number of channels to reencode to, 1 for mono or 2 for stereo --&gt;     &lt;!-- Sampe rate to reencode to in Hz. Leave out for LAME's best choice     &lt;Samplerate&gt;44100&lt;\/Samplerate&gt;     --&gt;     &lt;Channels&gt;2&lt;\/Channels&gt;   &lt;\/Stream&gt; &lt;\/ices:Configuration&gt; <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \/etc\/rc.conf \u0441\u0442\u0440\u043e\u043a\u0438:<\/p>\n<pre><code class=\"bash\">icecast_enable=&quot;YES&quot; icecast_flags=&quot;-c \/usr\/local\/etc\/icecast.xml&quot; ices0_enable=&quot;YES&quot; ices0_flags=&quot;\/usr\/local\/etc\/ices.conf&quot; <\/code><\/pre>\n<p>  \u0418 \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0432\u0437\u043b\u0435\u0442\u0430\u0442\u044c:<\/p>\n<pre><code class=\"bash\">cd \/usr\/local\/etc\/rc.d #.\/icecast2 start #.\/ices0 start <\/code><\/pre>\n<p>  \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0432 \u0431\u0430\u0443\u0437\u0435\u0440\u0435 \u0441\u0441\u044b\u043b\u043a\u0443:<br \/>  <a href=\"http:\/\/192.168.1.7\">192.168.1.7<\/a>:8000\/status.xsl<\/p>\n<p>  \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c m3u \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0438 \u0432\u043f\u0435\u0440\u0435\u0434.<br \/>  \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u0440\u0430\u0434\u0438\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e \u00ab\u043a\u043e\u043d\u0435\u043a\u0442 \u043f\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044e\u00bb, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u0435\u0440\u0432\u044b\u0439 \u043a\u043e\u043d\u0435\u043a\u0442 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u0439. \u041a\u043e\u043c\u0443 \u043d\u0435 \u0436\u0430\u043b\u043a\u043e \u0438\u043d\u0435\u0442 \u0442\u0440\u0430\u0444\u0438\u043a\u0430 \u2014 \u043f\u043e\u043c\u0435\u043d\u044f\u0439\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <br \/>  <b>&lt;on-demand&gt;1&lt;\/on-demand&gt; \u043d\u0430 &lt;on-demand&gt;0&lt;\/on-demand&gt;<\/b>.<\/p>\n<p>  \u0422\u0430\u043a \u0436\u0435 ices \u043a\u0430\u043a \u043f\u0440\u043e\u0438\u0433\u0440\u0430\u0435\u0442 \u0432\u0435\u0441\u044c \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f. \u041a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u043e \u043a\u0440\u0443\u0433\u0443 \u043d\u0435 \u043d\u0430\u0448\u0435\u043b \u043f\u043e\u043a\u0430 \u0447\u0442\u043e. \u041d\u043e, \u0435\u0441\u043b\u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c ices \u0447\u0435\u0440\u0435\u0437 \u0440\u0430\u043d\u0434\u043e\u043c \u0442\u043e \u0435\u0433\u043e \u0438\u0433\u0440\u0438\u0449\u0430 \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044e\u0442\u0441\u044f smile.<br \/>  \u0412 \u0444\u0430\u0439\u043b\u0435 ices.conf \u043c\u0435\u043d\u044f\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 0 \u043d\u0430 1 \u0438 \u0432\u0441\u0435.               <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/267351\/\"> http:\/\/habrahabr.ru\/post\/267351\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       \u0420\u044b\u043b\u0441\u044f \u0432 \u0441\u0432\u043e\u0438\u0445 \u0441\u0442\u0430\u0440\u044b\u0445 \u0437\u0430\u043f\u0438\u0441\u044f\u0445 \u0438 \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u0441\u044f \u0441 \u0412\u0430\u043c\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0435\u0439 \u043a\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u0434\u043d\u044f\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u043e\u043d \u043b\u0430\u0439\u043d \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u0430\u0434\u0438\u043e (mp3 \u0444\u0430\u0439\u043b\u044b) \u0438 \u0434\u043b\u044f \u0440\u0435\u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0440\u0430\u0434\u0438\u043e\u0441\u0442\u0430\u043d\u0446\u0438\u0439. <br \/>  \u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-266081","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/266081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=266081"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/266081\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=266081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=266081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=266081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}