Low Orbit Flux Logo 2 F

Shoutcast Server Linux

We’re assuming your server’s IP is 192.168.0.102.

Create a user to run Shoutcast as:


sudo adduser shoutcast 

Set a password for the shoutcast user:


sudo passwd shoutcast 

Become the shoutcast user:


su - shoutcast

Create a directory to install the software:


mkdir /home/shoutcast/sc

Change to the directory:


cd /home/shoutcast/sc

Shoutcast Server Linux - Download and Unpack

Download the package using wget:


wget http://download.nullsoft.com/shoutcast/tools/sc_serv2_linux_x64-latest.tar.gz

Unpack it:


tar -xvzf sc_serv2_linux_x64-latest.tar.gz

Move the tar.gz file back up to the Shoutcast user’s home directory.


mv sc_serv2_linux_x64-latest.tar.gz ..

Configure

Edit the config file:


vi sc_serv.conf

Set it up to look like this. This is assuming you want a username/password combination of admin/123. Change it if you want.


adminpassword=admin@123
password=admin@1234
requirestreamconfigs=1
streamadminpassword_1=admin@12345
streamid_1=1
streampassword_1=admin@123456
streampath_1=http://192.168.0.102:8000
logfile=logs/sc_serv.log
w3clog=logs/sc_w3c.log
banfile=control/sc_serv.ban
ripfile=control/sc_serv.rip

The default port is 8000. You can change it by setting this variable in the config file.


portbase=8080

Shoutcast Server Linux - Startup and Login

Start up the server running in the background.


./sc_serv &

Once it is running you can access it using a web browser.

References