Shoutcast is a commercial streaming server used by a lot of Internet radio stations.

You can install it on your own Linux server for free.

Download the Software

  1. Create a directory in the /opt directory to store our software: mkdir /opt/shoutcast
  2. Move to the directory: cd /opt/shoutcast
  3. Download the software from Nullsoft, the distributor: wget <http://download.nullsoft.com/shoutcast/tools/sc_serv2_linux_x64-latest.tar.gz>
  4. Extract it: tar -xf sc_serv2_linux_x64-latest.tar.gz

Create the Config File

  1. We need to create a file to store the configuration of the server, such as passwords: nano sc_serv.conf
  2. Here is an example configuration:
portbase=8000
password=MyPass123

Testing the Server

  1. First, ensure the sc_serv file (our server) has executable permissions: chmod +x sc_serv
  2. Test the server running with the configuration file: ./sc_serv sc_serv.conf

Starting the Server on Boot

You may have noticed that when we exit the terminal or reboot our machine, the server stops.

  1. Let’s fix that by first creating a service file in systemd: sudo nano /etc/systemd/system/shoutcast.service
  2. Use the following configuration for this file (changing the ubuntu user and group to your own)…