Wool's profile picture

Published by

published

Category: Music

Make your own online radio station, WITHOUT Cloud services

Last time, I outputted a slapdash mash up of information I used to set up my Icecast server the first time. Now that I've had some practice navigating unix and setting this up, here is a redux, for self hosting the server.


Step 1: procure a unix distro, I'm using Ubuntu for Windows Subsystem. After familiarizing yourself with the terminal, you'll download Icecast using this command

'sudo apt-get install icecast2'

Step 2: get your hostname/ip in ubuntu using

'hostname -I'

copy this and save for later.

Step 3: make a no-ip account and hostname, copy this and save it for later. Make sure to make it catchy!

Step 4: edit icecast.xml using your text editor of choice.

You're gonna want to change the "location," "admin" name, "clients" limit, "source" limit first.

Location and Admin info is just metadata so people can search for it. Clients limit is the amount of listeners that can connect, Sources limit is the amount of broadcast slots available.

Next is the "authentication" info, which are passwords for the admin and source logins.

Next is the "hostname" which will be your no-ip hostname.

Next are the "listen socket" elements, these are where broadcasters play music, and listeners join. "port," the port that the stream is on. "shoutcast mount" an alias for the stream, essentially just the filename.

Should be everything you need, save and close.

Step 5: connecting an ip address to your hostname.

If you are on a machine with linux native, 'hostname -I' already gave you this. If you're on Windows using WSL; you'll have to connect your linux hostname to your ipv4 address.

in a Windows terminal:

5a. type 'ipconfig' and hit enter. you will see an address for each adapter your system has. Obviously, plug an ethernet cable in, this isn't a task for Wifi Warriors, then use 'Ethernet adapter Ethernet'. copy the IPv4.

5b. then use 'wsl -d <linux distro> hostname -I' to get the linux systems IPv4.

5c. finally, input 'netsh interface portproxy add v4tov4 listenport=8000 listenaddress=<ethernet IPv4> connectport=8000 connectaddress=<linux IPv4>', this allows the data on the linux system to be transferred publicly.

Step 6: forward some ports

you'll need to forward some ports starting from 8000.

Step 7: In no-ip, use your PUBLIC ethernet address and connect it to your hostname.

Step 8: RUN ICECAST!

finally, we're getting shit running.


Now in whatever broadcast service you use, MIXXX and BUTT are recommended, use the source name, port and password to start broadcasting.


2 Kudos

Comments

Displaying 0 of 0 comments ( View all | Add Comment )