With a Shoutcast server, you can setup your own audio streams for others to listen. In this guide, I'll teach you how to setup a Shoutcast server on Ubuntu. Follow the steps below.
For security reasons, we're going to create a user:
Enter the required information and
su to the new user:
Go to the user's home directory:
Download Shoutcast with
Now, extract the file:
tar xfz sc*
Next, create a folder for the Shoutcast server. All of the important files will be placed here:
Copy the files to this new folder:
cp sc_serv ../shoutcast
Next, navigate to this directory:
Shoutcast is installed, now we just need to configure it.
Create the following folders so that Shoutcast functions correctly:
mkdir control mkdir logs
Create the configuration file and open it with a text editor:
Append the following to the file:
adminpassword=password password=password1 requirestreamconfigs=1 streamadminpassword_1=password2 streamid_1=1 streampassword_1=password3 streampath_1=http://ServerIP:8000 logfile=logs/sc_serv.log w3clog=logs/sc_w3c.log banfile=control/sc_serv.ban ripfile=control/sc_serv.rip
streampassword_1 values to safe passwords. The
adminpassword is used to access the web interface, the
streampassword_1 is the password for access to the stream. Replace
ServerIP with your server IP.
Make the Shoutcast binary executable:
chmod +x sc_serv
Finally, start the Shoutcast server:
You can now access the Shoutcast web interface from
http://ServerIP:8000. The web interface will allow you to setup your streams and configure more server settings.