![]() |
#1 |
Forum King
Join Date: May 2009
Location: No longer on the streets of Kings County, CA.
Posts: 3,219
|
SHOUTcast auto installer linux script
This linux script file asks some questions and then automatically downloads and installs the SHOUTcast 2 tools and creates configurations for them all.
Tested on Ubuntu. Will probably work on others. Attached. code: code: | Opus Audio Codec plugins 2.0 | Embedded Album Art | DiskWrite | | Save your playlist first! | Live voice-over | X-Fade 2.5 | | AterKast (Source DSP) | More of my stuff... | Last edited by thinktink; 29th June 2011 at 08:00. |
![]() |
![]() |
![]() |
#2 |
Forum King
Join Date: May 2009
Location: No longer on the streets of Kings County, CA.
Posts: 3,219
|
Here's a severely more enhanced version.
code: code: Among other things, this one now includes the ability to try to make your playlist for you based on existing (Transcoder supported) files. ![]() | Opus Audio Codec plugins 2.0 | Embedded Album Art | DiskWrite | | Save your playlist first! | Live voice-over | X-Fade 2.5 | | AterKast (Source DSP) | More of my stuff... | Last edited by thinktink; 3rd August 2011 at 10:47. |
![]() |
![]() |
![]() |
#3 |
Forum King
Join Date: May 2009
Location: No longer on the streets of Kings County, CA.
Posts: 3,219
|
Updated version of the auto installer script for the latest SHOUTcast2 tools.
code: code: | Opus Audio Codec plugins 2.0 | Embedded Album Art | DiskWrite | | Save your playlist first! | Live voice-over | X-Fade 2.5 | | AterKast (Source DSP) | More of my stuff... | Last edited by thinktink; 6th February 2012 at 20:16. |
![]() |
![]() |
![]() |
#4 |
Forum King
Join Date: May 2009
Location: No longer on the streets of Kings County, CA.
Posts: 3,219
|
Ok, so I ran this script again inside an Oracle VM Linux Ubuntu instance. I didn't see any errors and it started SHOUTcast just fine. I'm not seeing what's wrong with this script but people are complaining it doesn't work. Problem is they don't say what it is exactly what isn't working or is broken so I can't address the issue without some detailed feedback.
If the scripts aren't working for you please post your system specs (processor, memory, flavor-of-linux, version of linux), whether or not you are self hosting or your host is remote (you pay for a host), what error messages at what stage (if any) in the script you get, why you think it doesn't work (i.e. creates bad config option (must specify) or throws an error), and the logs made by the SHOUTcast2 tools (inside an archive of some kind: i.e. zip,7z,cab,tar.gz, but not rar, gawd I hate rar.) |
![]() |
![]() |
![]() |
#5 |
Junior Member
Join Date: Nov 2010
Posts: 7
|
Hi,
Love the script saved me so much time as a linux newbie, I have one issue everytime I start the script, it re-writes the calander.xml file removing any changes, any suggestions? Craig |
![]() |
![]() |
![]() |
#6 |
Junior Member
Join Date: Nov 2010
Posts: 7
|
Its ok now worked out how to fix it
|
![]() |
![]() |
![]() |
#7 |
Forum King
Join Date: May 2009
Location: No longer on the streets of Kings County, CA.
Posts: 3,219
|
How did you fix it?
When you say "everytime I start the script" do you mean the installer script or the start.sh script? |
![]() |
![]() |
![]() |
#8 |
Junior Member
Join Date: Feb 2012
Posts: 4
|
Got a problem when installing
Hi,
Thanks for making this script. I did an install on a clean Ubuntu server 10.0.4 LTS and encountered some problems when the install was done and the script tried to start: Starting the DNAS 2, process ID: 5994 ./start.sh: line 54: /sc2/sc_serv: No such file or directory Starting the Transcoder, process ID: 5995 ./start.sh: line 69: /sc2/sc_trans: No such file or directory Any suggestions on what to do? Kruse |
![]() |
![]() |
![]() |
#9 |
Forum King
Join Date: May 2009
Location: No longer on the streets of Kings County, CA.
Posts: 3,219
|
The errors say that the script wasn't able to start the tools because the binaries could not be found.
During the running of the script or while it was asking you questions did it pop any other errors? |
![]() |
![]() |
![]() |
#10 |
Junior Member
Join Date: Feb 2012
Posts: 4
|
Solved it
I am using a 64 bit Ubuntu server, and since the script dealt only with 32 bit (which I understood long after I wrote my previous post) I had to rewrite some lines in the script - and then it worked like a charm
![]() Great script, and thank you. Now I only need to find a good tool to create scheduled autoDJ-ing ![]() |
![]() |
![]() |
![]() |
#11 |
Forum King
Join Date: May 2009
Location: No longer on the streets of Kings County, CA.
Posts: 3,219
|
O.o Nice, I'll see if I can add a question to the script to select 32 / 64 bit OS.
|
![]() |
![]() |
![]() |
#12 |
Join Date: Sep 2003
Posts: 27,873
|
what on earth is the script doing which is causing a 32 / 64 bit difference in behaviour? the DNAS doesn't specifically do things differently between the 2 compile types so i don't get why this script would cause such an issue (and am pushed for time so i cannot look through it).
-daz |
![]() |
![]() |
![]() |
#13 |
Junior Member
Join Date: Feb 2012
Posts: 4
|
I do not know.
When installing using the script I got the shoutcast 32bit Linux installed, and it did not work on my 64bit server, so I changed the download in the script to point to 64bit instead, and it worked like a charm ![]() |
![]() |
![]() |
![]() |
#14 |
Join Date: Sep 2003
Posts: 27,873
|
that's more likely from not having the 32-bit libraries present on the machine than something specific in the script - which is why we purposefully release 32 and 64 bit versions especially for the linux builds to make sure that such bit type library dependencies aren't an issue.
-daz |
![]() |
![]() |
![]() |
#15 |
Junior Member
Join Date: Feb 2012
Posts: 4
|
Which probably would explain that when this install script fetched the 32-bit and installed it, it didn't work. When I made the script fetch the 64-bit, it worked.
BTW, I used a Ubuntu server 10.04 LTS 64-bit for this installation. |
![]() |
![]() |
![]() |
#16 |
Forum King
Join Date: May 2009
Location: No longer on the streets of Kings County, CA.
Posts: 3,219
|
Updated version of the auto installer script for the latest SHOUTcast2 tools.
code: code: |
![]() |
![]() |
![]() |
#17 |
Junior Member
Join Date: Jan 2012
Posts: 1
|
Kindly help me
Can not write back , but I have a crooked site is displayed in the browser, mozilla, give advice why is that?
|
![]() |
![]() |
![]() |
#18 |
Junior Member
Join Date: Feb 2012
Posts: 1
|
Thinktink
Im kinda new to all of this!! i followed your script and so far so good. what do i put as the answer to this?? Enter the subdirectory (relative to this script) to install the SHOUTcast v2 tools into |
![]() |
![]() |
![]() |
#19 |
Forum King
Join Date: May 2009
Location: No longer on the streets of Kings County, CA.
Posts: 3,219
|
If you don't know (or don't care) then just leave it blank and hit enter to use the default setting (which is just sc2 for the default install subdirectory.)
|
![]() |
![]() |
![]() |
|
Tags |
auto, installer, linux, script, shoutcast |
Thread Tools | Search this Thread |
Display Modes | |
|
|