Airtime revival: Introduce to Libretime (cloud internet radio automation) and install tutorial
I posted 3 years ago a tutorial on how to install airtime, a revolutionary cloud internet (and not only) radio automation system. Sourcefabric has abandoned the free, open source version of the project (reasons can be found here) and a team toop over last year and forked the project to a new, actively developed one. And it is really much better from airtime, as it now runs on modern OS and has some new features (integration with web pages etc.).
It works mainly on Ubuntu 16.04 but it should work also on debian 9, 10 and ubuntu 18.04
How to install it
It can be installed on any vps or dedicated server, even on NAT environment (I will post when I have more time instructions for NAT).
Prepare the server, secure it and install the necessary stuff (fail2ban, git, sudo, wget etc.).
Prepare the basics for the airtime installation.
Install apache2, icecast2 and postgresql
apt-get install apache2 icecast2 –y apt install postgresql postgresql-contrib –y
set a password for the postgres user.
sudo -u postgres psql template1 ALTER USER postgres with encrypted password 'your_password';
edit the file /etc/postgresql/9.5/main/pg_hba.conf to use MD5 authentication with the postgres user
local all postgres md5
restart the PostgreSQL service
systemctl restart postgresql.service
Update locales to minimum
localectl set-locale LANG="en_US.utf8"
sudo locale-gen --purge en_US.UTF-8 sudo update-locale LANGUAGE="en_US.UTF-8"
Enable uploading of files by correcting folder’s properties
chmod -R 775 /srv/airtime
— Mod edit: added @jvnadr’s extra note —
A mistake from my part: use the chmod AFTER the installation of libretime server (it make sense, or else, the /srv/airtime/ folder would have not yet been created )
I am here occasionally nowadays, because I really prefer https://talk.lowendspirit.com . You should try it, it is fat-free, delicious with fresh ingredients combined with the deep knowledge of the old chefs!