I recommend Ubuntu as well but I personally run mine on CentOS 7 for uniformity
of my web and radio servers. Icecast and Liquidsoap run very well and stable
on CentOS 7 but there isn't alot of documentation about how to install from
repo. As a rule of thumb from a security standpoint I do everything I can to
avoid manual installs.
Here are my instructions for installing icecast and liquidsoap on a CentOS 7
box. My radio uses mp3, text to speech and also TLS encryption.
// ------ Install Icecast and dependencies
yum -y install deltarpm net-tools nano
yum -y install curl-devel libtheora-devel libvorbis-devel libxslt-devel
speex-devel festival sox
cd /etc/yum.repos.d/
wget
http://download.opensuse.org/repositories/multimedia:xiph/CentOS_7/multimedia:xiph.repo
yum update
yum upgrade
reboot
//For some reason I needed the reboot for dependencies to work properly with
icecast install
yum install icecast
cp /etc/icecast.xml /etc/icecast.xml.backup
nano /etc/icecast.xml
//open ports through firewall that you setup in the icecast.xml file
firewall-cmd --permanent --add-port=8000/tcp
firewall-cmd --permanent --add-port=8001/tcp
firewall-cmd --reload
//for multiple instances of icecast just use the command below to a new
icecast.xml file. Rename the file of course and make sure ports are different.
/usr/bin/icecast -c /etc/icecast.xml -b
netstat -tulpn | grep :8000
//browse to server name:port to test if you have an icecast screen.
// ------- Install Liquidsoap and dependencies
yum -y install epel-release && rpm -Uvh
http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
curl -o /etc/yum.repos.d/liquidsoap.repo
http://download.opensuse.org/repositories/home:/radiorabe:/liquidsoap/CentOS_7/home:radiorabe:liquidsoap.repo
yum update
yum -y install liquidsoap
cd /etc/liquidsoap
//Create your liq file. There is a sample radio.liq under /etc/liquidsoap/
nano /etc/liquidsoap/music.liq
liquidsoap --check /etc/liquidsoap/music.liq
//You can have multiple instances of liquidsoap running by making a new liq
file and replacing "music" with the name of the new file on the commands below.
systemctl enable liquidsoap@music
service liquidsoap@music start
service liquidsoap@music status
The hardest thing for me was to setup icecast.xml file properly and the
liquidsoap .liq file properly. I have not tested if other audio formats work
with this as I only needed mp3 and text to speech. This install makes SSL work
as well if you want to encrypt streams. Your xml file must be setup properly
to handle it though.
________________________________
From: Ricardo Viapiana <[email protected]>
Sent: Thursday, February 2, 2017 5:54 AM
To: [email protected]
Subject: Re: [Savonet-users] New install: CentOS or Debian?
Hi,
I recommend Ubuntu at all if you don't want to spend hours dealing with
dependencies.
And much more, Ubuntu always have fresh versions of codecs libraries that you
will need. I recommend use the ugly and restricted packages for a easy setup.
Best regards,
--
Ricardo Viapiana
+55 (46) 999 210 439 TIM (WhatsApp)
[email protected]<mailto:[email protected]>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users