Here's a guide to set up SHOUTcast on your AnonVM server. SHOUTcast is a popular streaming server platform, widely used for online radio broadcasting. With SHOUTcast, you can broadcast live music, talk shows, or pre-recorded audio to listeners worldwide. This guide will walk you through installing and configuring SHOUTcast on your AnonVM server.
How to Install SHOUTcast on AnonVM
This tutorial will guide you to install and configure SHOUTcast on Ubuntu 20.04 or Debian 10+ systems.
Prerequisites
- Root or sudo access on your AnonVM server.
- Ubuntu or Debian operating system.
- Basic command-line knowledge.
Step 1: Update Your Server
Start by updating your server to make sure you have the latest packages installed:
Step 2: Download SHOUTcast
-
Download the latest SHOUTcast version for Linux from the SHOUTcast website.
You can download it directly using
wget
. Here’s an example link, but verify the latest version from SHOUTcast’s official website: -
Extract the SHOUTcast server files:
-
Move the extracted files to a dedicated directory, such as
/usr/local/shoutcast
:
Step 3: Configure SHOUTcast
-
Create a configuration file named
sc_serv.conf
inside the SHOUTcast directory: -
Add Basic Configuration Settings:
Below are essential settings for the SHOUTcast server. Customize the
adminpassword
andpassword
values to secure access.- adminpassword: This password allows access to the SHOUTcast admin panel.
- password: This password is used by source clients to connect and stream.
- maxuser: Maximum number of listeners.
- portbase: Port SHOUTcast will listen on (8000 by default).
-
Save and Close the file by pressing
CTRL + X
, thenY
, andEnter
.
Step 4: Start the SHOUTcast Server
Navigate to the SHOUTcast directory and start the server:
You should see output confirming SHOUTcast is up and running.
Step 5: Enable SHOUTcast to Run in the Background (Optional)
If you want SHOUTcast to start automatically at boot, create a service file for it:
-
Create a Systemd service file:
-
Add the following configuration:
-
Save and Close the file.
-
Reload Systemd and enable the SHOUTcast service:
Step 6: Access the SHOUTcast Admin Panel
-
Open your browser and go to:
-
To log in as an admstrator, click on Admin Login and enter the
adminpassword
you set insc_serv.conf
.
Step 7: Set Up a Source Client to Stream
To broadcast audio, you need a source client like Winamp with SHOUTcast DSP or BUTT.
Using BUTT as a Source Client
-
Install BUTT on your local machine from the official site.
-
Configure BUTT to connect to SHOUTcast:
- Server:
your_server_ip
- Port:
8000
- Password:
your_stream_password
- Mount Point: Leave empty or set to
/stream
if desired.
- Server:
-
Connect and start streaming. You should now be broadcasting live through SHOUTcast!
Step 8: Securing SHOUTcast with SSL (Optional)
To secure your SHOUTcast server, consider using an SSL reverse proxy (e.g., Nginx) to encrypt connections.
-
Install Nginx:
-
Configure SSL with Certbot:
-
Configure Nginx as a reverse proxy for SHOUTcast:
Open the Nginx config file:
-
Add the following configuration:
-
Enable and Test Nginx:
Now, listeners can connect to your SHOUTcast server securely over HTTPS.
Step 9: Managing SHOUTcast
To monitor or manage your stream, visit the SHOUTcast admin panel at:
From here, you can view connected listeners, configure streams, and manage the server settings.
Quick Recap
- Install SHOUTcast: Downloaded, extracted, and configured.
- Configure Streaming Settings: Set passwords, port, and user limits.
- Access Admin Panel: Verified access and tested the stream.
- Set Up a Source Client: Configured BUTT or other source clients to broadcast.
- SSL Configuration (Optional): Secured server with an Nginx reverse proxy and Certbot.
By following these steps, you now have a fully functional SHOUTcast streaming server on your AnonVM, ready to share audio content globally. Enjoy broadcasting!