This tutorial will guide you through the process of installing AzuraCast on your Elementary OS machine.
Before proceeding with the installation, make sure your system meets the following requirements:
Before installing any package on the system, it's always a good practice to update the system's package repository. You can update the system using the following command:
sudo apt update && sudo apt upgrade
AzuraCast requires Docker and Docker Compose to run. You can install it using the following command:
sudo apt install docker.io docker-compose
After the installation, start the Docker service using the following command:
sudo systemctl start docker
Verify that the service is running using the following command:
sudo systemctl status docker
You can download AzuraCast using the following command:
git clone https://github.com/AzuraCast/AzuraCast.git
Before running AzuraCast, you need to configure it. Navigate to the AzuraCast directory and make a copy of the .env.example
file and rename it to .env
.
cd AzuraCast
cp .env.example .env
Now, edit the .env
file using your favorite text editor and provide the necessary params:
nano .env
AZURACAST_BASE_URL
: Your AzuraCast's base URL. (Example: http://localhost
).AZURACAST_API_KEY
: Automatically generated API key that will be used to authenticate when using the AzuraCast API.POSTGRES_PASSWORD
: Password for the PostgreSQL database.LIQUIDSOAP_BUFFER_TIME
: Playback buffer time for Liquidsoap in seconds.AZURACAST_ROCKBLOCK_INTERVAL
: Time interval in seconds for RockBlock-integrated listeners.AZURACAST_MEDIA_PATH
: Directory containing your media files.Navigate to the AzuraCast directory and run the following command:
docker-compose up -d
This command will download and initialize all the required components and start the AzuraCast server. Wait for a few minutes, and you should see the AzuraCast dashboard at the base URL you provided in the .env
file.
In this tutorial, you have learned how to install AzuraCast on your Elementary OS machine using Docker and Docker Compose. AzuraCast offers a powerful and feature-rich internet radio broadcasting platform that can manage all aspects of a Radio station, from managing playlists and scheduling programs to ensuring copyright compliance and managing advertisement revenue.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!