Установка интернет-радио Icecast2 на Debian 7

Заходим в консоль, пишем:

apt-get install icecast2


Вам напишут:
Choose this option to set up passwords for Icecast2. Until these are configured the server will not be activated. You should not use this option if you have already manually tweaked the configuration of Icecast2.
Configure Icecast2?


Жмем: Yes.

Вам напишут:
Please specify the fully qualified domain name that should be used as prefix to all streams.
Icecast2 hostname:


Пишем хост: abcvg.com

Жмем: Ok

Вам напишут:
Please specify the password that should be used to control access to Icecast2's media sources.
Icecast2 source password:


Пишем любой пароль: 1234567

Жмем: Ok

Вам напишут:
Please specify the password that should be used to control access to Icecast2's stream relays.
Icecast2 relay password:


Пишем снова пароль: 1234567

Жмем: Ok

Вам напишут:
Please specify the password that should be used for Icecast2 administration. The administration web interface, at http://localhost:8000, can be used to monitor connections or to block users from streaming.
Icecast2 administration password:


Пишем снова пароль: admin1234

Жмем: Ok

Ваша трансляция доступная здесь: http://localhost:8000

Вводим команду:
/etc/init.d/icecast2 start


Нам напишет в консоль:
icecast2 daemon disabled - read /etc/default/icecast2.


Идем в папку: cd /etc/default/
Пишем: nano icecast2

ENABLE=false меняем на true.

Сохраняем файл: Ctrl + o.
Закрываем: Ctrl + x.

И запускаем.
/etc/init.d/icecast2 start


Если будет такая вот ошибка:
Warning: program compiled against libxml 208 using older 207

Пишем в консоль:
apt-get install libxml2


И запускаем.

Запуск: /etc/init.d/icecast2 start
Перезапуск: /etc/init.d/icecast2 restart
Остановка: /etc/init.d/icecast2 stop



Просмотров: 2898
25.02.2015, 19:11 -

Категория: Статьи » Администрирование