Discussion:
[Savonet-users] New install: CentOS or Debian?
Mark Jeghers
2017-02-01 23:05:40 UTC
Permalink
Hi all,

I am building up a new server machine and will have the newest version of either CentOS or Debian. Which one will be least painful for installing a new copy of LiquidSoap ?

Thanx,
/Mark
Brad Isbell
2017-02-02 04:47:27 UTC
Permalink
Debian.

Liquidsoap is already difficult to install. CentOS makes it much worse, in
my experience.

On Feb 1, 2017 3:40 PM, "Mark Jeghers" <***@brocade.com> wrote:

> Hi all,
>
> I am building up a new server machine and will have the newest version of
> either CentOS or Debian. Which one will be least painful for installing a
> new copy of LiquidSoap ?
>
> Thanx,
> /Mark
> ------------------------------------------------------------
> ------------------
> 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
> Savonet-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
Mark Jeghers
2017-02-02 09:29:35 UTC
Permalink
What is the procedure like in Debian? Is there a pre-built package?

From: Brad Isbell [mailto:***@musatcha.com]
Sent: Wednesday, February 01, 2017 8:47 PM
To: savonet-***@lists.sourceforge.net
Subject: Re: [Savonet-users] New install: CentOS or Debian?

Debian.

Liquidsoap is already difficult to install. CentOS makes it much worse, in my experience.

On Feb 1, 2017 3:40 PM, "Mark Jeghers" <***@brocade.com<mailto:***@brocade.com>> wrote:
Hi all,

I am building up a new server machine and will have the newest version of either CentOS or Debian. Which one will be least painful for installing a new copy of LiquidSoap ?

Thanx,
/Mark
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot<https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=dcSQA4aiZcSU3gRpotQSrxYWR1nxMiu54sL28CLZpsc&s=iWWflj-tRD6UjFLvGPlp5uvV6IH1GyCKvo7fAOsJp2U&e=>
_______________________________________________
Savonet-users mailing list
Savonet-***@lists.sourceforge.net<mailto:Savonet-***@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/savonet-users<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_savonet-2Dusers&d=DwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=dcSQA4aiZcSU3gRpotQSrxYWR1nxMiu54sL28CLZpsc&s=9wHamTOzNQjqkWOaTVgD-jc9oqURYvcDf6iUtLIqeIo&e=>
Ricardo Viapiana
2017-02-02 10:54:34 UTC
Permalink
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)
***@gmail.com
Walter York
2017-02-02 16:28:12 UTC
Permalink
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 ***@music
service ***@music start
service ***@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 <***@gmail.com>
Sent: Thursday, February 2, 2017 5:54 AM
To: savonet-***@lists.sourceforge.net
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)
***@gmail.com<mailto:***@gmail.com>
John Parfrey
2017-02-02 16:00:46 UTC
Permalink
I use opam to install liquidsoap on debian/ubuntu.

Sent from BlueMail<http://www.bluemail.me/r>
On 2 Feb 2017, at 09:31, Mark Jeghers <***@Brocade.com<mailto:***@Brocade.com>> wrote:
What is the procedure like in Debian? Is there a pre-built package?


From: Brad Isbell [mailto:***@musatcha.com]
Sent: Wednesday, February 01, 2017 8:47 PM
To: savonet-***@lists.sourceforge.net
Subject: Re: [Savonet-users] New install: CentOS or Debian?


Debian.


Liquidsoap is already difficult to install. CentOS makes it much worse, in my experience.


On Feb 1, 2017 3:40 PM, "Mark Jeghers" <***@brocade.com<mailto:***@brocade.com>> wrote:
Hi all,

I am building up a new server machine and will have the newest version of either CentOS or Debian. Which one will be least painful for installing a new copy of LiquidSoap ?

Thanx,
/Mark
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot<https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=dcSQA4aiZcSU3gRpotQSrxYWR1nxMiu54sL28CLZpsc&s=iWWflj-tRD6UjFLvGPlp5uvV6IH1GyCKvo7fAOsJp2U&e=>
_______________________________________________
Savonet-users mailing list
Savonet-***@lists.sourceforge.net<mailto:Savonet-***@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/savonet-users<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_savonet-2Dusers&d=DwMFaQ&c=IL_XqQWOjubgfqINi2jTzg&r=cJRX3urL0NVlfoPud-miqAqyi1ux8JbJPyzP4L2IOLI&m=dcSQA4aiZcSU3gRpotQSrxYWR1nxMiu54sL28CLZpsc&s=9wHamTOzNQjqkWOaTVgD-jc9oqURYvcDf6iUtLIqeIo&e=>

________________________________

Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org<http://SlashDot.org>! http://sdm.link/slashdot

________________________________

Savonet-users mailing list
Savonet-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users
k054
2017-02-06 18:49:16 UTC
Permalink
El 01/02/17 a las 17:05, Mark Jeghers escribió:
> Hi all,
>
> I am building up a new server machine and will have the newest
> version of either CentOS or Debian. Which one will be least painful
> for installing a new copy of LiquidSoap ?

I just did that on a brand new debian/stretch vm a few minutes ago and
this is the relevant bash history:

8 sudo apt-get install opam -y
9 sudo apt-get install m4 -y
10 opam init
11 opam install taglib mad lame vorbis cry liquidsoap
12 opam init
13 opam install taglib mad lame vorbis cry liquidsoap
14 opam depext lame.0.3.3
15 opam depext mad.0.4.5
16 opam install taglib mad lame vorbis cry liquidsoap
17 opam depext conf-pkg-config.1.0 ogg.0.5.0 taglib.0.3.2
18 opam install taglib mad lame vorbis cry liquidsoap
19 opam depext conf-libpcre.1 vorbis.0.6.2
20 opam install taglib mad lame vorbis cry liquidsoap
21 opam info liquidsoap
22 history


but I'm guessing it could have been as easy as:

sudo apt-get install opam -y
opam init
opam install depext
opam depext taglib mad lame vorbis cry liquidsoap conf-pkg-config ogg \
conf-libpcre



--
k054
Ricardo Viapiana
2017-02-07 15:22:52 UTC
Permalink
Hi Lars,


First time I set up liquidsoap was in Ubuntu 9, now the packages are really
good and easy to setup, but I had about two years ago some troubles on
CentOS, I can't remember especifically right now.

By the way, I always use the minimal iso to setup the server as a mean to
keep the OS most clean as possible, because of this minimal setup I need to
install the packages you told before, and few streams I need non-free
features.

But I don't have any complain, at all, on actual packages. Thank so much
for this.



Best regards

--
Ricardo Viapiana
+55 (46) 991 335 510 VIVO (WhatsApp)
***@gmail.com
***@ricardoviapiana.com.br
d***@gmail.com
2017-02-07 16:04:26 UTC
Permalink
I vote for Debian (Jessie). It is the most stable server linux OS I ever
used (in all areas).
And if you are willing to use an Ubuntu desktop in your studio or home,
those two are similar and you will not have a hard time learning Debian.

With a fresh minimal Debian setup, if you install these packages below
you are ready.

First run these 2 lines one by one in the shell (if there are any
updates install them):
apt-get update
apt-get upgrade

Install it, run this line in the shell:
apt-get install liquidsoap

You will need this package too (I think it is missing from Jessie by
default):
apt-get install socat

If you are willing to setup icecast2 make sure these are installed too:
apt-get install icecast2
apt-get install libxslt1-dev libcurl4-openssl-dev libvorbis-dev
pkg-config libspeex1 libtheora0

Then reboot and you are ready to dive in. Run:
reboot

Cheers
George

On 02/07/2017 05:22 PM, Ricardo Viapiana wrote:
> Hi Lars,
>
>
> First time I set up liquidsoap was in Ubuntu 9, now the packages are
> really good and easy to setup, but I had about two years ago some
> troubles on CentOS, I can't remember especifically right now.
>
> By the way, I always use the minimal iso to setup the server as a mean
> to keep the OS most clean as possible, because of this minimal setup I
> need to install the packages you told before, and few streams I need
> non-free features.
>
> But I don't have any complain, at all, on actual packages. Thank so
> much for this.
>
>
>
> Best regards
>
> --
> Ricardo Viapiana
> +55 (46) 991 335 510 VIVO (WhatsApp)
> ***@gmail.com <mailto:***@gmail.com>
> ***@ricardoviapiana.com.br
> <mailto:***@ricardoviapiana.com.br>
>
>
> ------------------------------------------------------------------------------
> 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
> Savonet-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users
d***@gmail.com
2017-02-07 16:09:16 UTC
Permalink
.. I forgot :D, you got to become root first. Run:
su

Cheers

On 02/07/2017 05:22 PM, Ricardo Viapiana wrote:
> Hi Lars,
>
>
> First time I set up liquidsoap was in Ubuntu 9, now the packages are
> really good and easy to setup, but I had about two years ago some
> troubles on CentOS, I can't remember especifically right now.
>
> By the way, I always use the minimal iso to setup the server as a mean
> to keep the OS most clean as possible, because of this minimal setup I
> need to install the packages you told before, and few streams I need
> non-free features.
>
> But I don't have any complain, at all, on actual packages. Thank so
> much for this.
>
>
>
> Best regards
>
> --
> Ricardo Viapiana
> +55 (46) 991 335 510 VIVO (WhatsApp)
> ***@gmail.com <mailto:***@gmail.com>
> ***@ricardoviapiana.com.br
> <mailto:***@ricardoviapiana.com.br>
>
>
> ------------------------------------------------------------------------------
> 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
> Savonet-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users
Venevox
2017-02-07 16:13:04 UTC
Permalink
I'll soon make public Debian repo with always latest github sources.

---
Pozdrawiam

W dniu 07.02.2017 o 17:09, ***@gmail.com pisze:
> .. I forgot :D, you got to become root first. Run:
> su
>
> Cheers
>
> On 02/07/2017 05:22 PM, Ricardo Viapiana wrote:
>> Hi Lars,
>>
>>
>> First time I set up liquidsoap was in Ubuntu 9, now the packages are
>> really good and easy to setup, but I had about two years ago some
>> troubles on CentOS, I can't remember especifically right now.
>>
>> By the way, I always use the minimal iso to setup the server as a
>> mean to keep the OS most clean as possible, because of this minimal
>> setup I need to install the packages you told before, and few streams
>> I need non-free features.
>>
>> But I don't have any complain, at all, on actual packages. Thank so
>> much for this.
>>
>>
>>
>> Best regards
>>
>> --
>> Ricardo Viapiana
>> +55 (46) 991 335 510 VIVO (WhatsApp)
>> ***@gmail.com <mailto:***@gmail.com>
>> ***@ricardoviapiana.com.br
>> <mailto:***@ricardoviapiana.com.br>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>> Savonet-***@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
>
> ------------------------------------------------------------------------------
> 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
> Savonet-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/savonet-users
Romain Beauxis
2017-02-10 16:42:43 UTC
Permalink
2017-02-06 12:49 GMT-06:00 k054 <***@riseup.net>:
>
> El 01/02/17 a las 17:05, Mark Jeghers escribió:
> > Hi all,
> >
> > I am building up a new server machine and will have the newest
> > version of either CentOS or Debian. Which one will be least painful
> > for installing a new copy of LiquidSoap ?
>
> I just did that on a brand new debian/stretch vm a few minutes ago and
> this is the relevant bash history:
>
> 8 sudo apt-get install opam -y
> 9 sudo apt-get install m4 -y
> 10 opam init
> 11 opam install taglib mad lame vorbis cry liquidsoap
> 12 opam init
> 13 opam install taglib mad lame vorbis cry liquidsoap
> 14 opam depext lame.0.3.3
> 15 opam depext mad.0.4.5
> 16 opam install taglib mad lame vorbis cry liquidsoap
> 17 opam depext conf-pkg-config.1.0 ogg.0.5.0 taglib.0.3.2
> 18 opam install taglib mad lame vorbis cry liquidsoap
> 19 opam depext conf-libpcre.1 vorbis.0.6.2
> 20 opam install taglib mad lame vorbis cry liquidsoap
> 21 opam info liquidsoap
> 22 history
>
>
> but I'm guessing it could have been as easy as:
>
> sudo apt-get install opam -y
> opam init
> opam install depext
> opam depext taglib mad lame vorbis cry liquidsoap conf-pkg-config ogg \
> conf-libpcre

Yup. Or even perhaps just:
sudo apt-get install opam -y
opam init
opam install depext
opam depext taglib mad lame vorbis cry liquidsoap
opam install taglib mad lame vorbis cry liquidsoap

Recent opam will even offer to instal depext if needed so you'll be
able to skip that line too :-)

Romain
Continue reading on narkive:
Loading...