documentation:π-box_-_how_to_install_libretime_on_a_π-box
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
documentation:π-box_-_how_to_install_libretime_on_a_π-box [2023/09/08 11:07] – [Install Libretime] pnode | documentation:π-box_-_how_to_install_libretime_on_a_π-box [2024/01/09 10:09] (current) – removed pnode | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== π-box - How to install Libretime on a π-box ====== | ||
- | Happy with the π-box ? But you would like a whole radio in a box adding [[http:// | ||
- | ---- | ||
- | ===== π-box - How to install Libretime on a π-box ===== | ||
- | We start with a** fully functionnal π-box based on Raspian Stretch** wich can be reached, let's say, on a local IP 192.168.3.14 (IP to adapt in function of your local network configuration) | ||
- | |||
- | The model here is a Raspberry Pi 3 model B v1.2 | ||
- | |||
- | ===== Change the port of the web interface of the π-box ===== | ||
- | |||
- | As Libretime needs a web server, there is a battle on port 80, so we are going to change the port of the web interface of the π-box which is provided by a small python web server | ||
- | |||
- | So first we connect to the π-box with ssh : | ||
- | |||
- | ssh -o IdentitiesOnly=yes pi@192.168.3.14 | ||
- | |||
- | We edit the main π-box file : | ||
- | |||
- | sudo nano pibox_V2/ | ||
- | |||
- | Change he value of the port in line 36 to : | ||
- | |||
- | | ||
- | |||
- | Reboot doing : | ||
- | |||
- | sudo reboot now | ||
- | |||
- | ===== Install Libretime ===== | ||
- | |||
- | |||
- | Reconnect with ssh to the π-box and then dowload and install Libretime : | ||
- | |||
- | git clone https:// | ||
- | cd libretime/ | ||
- | sudo ./install | ||
- | |||
- | Then follow the install process answering YES (or ENTER) to each question (install Apache with default configuration, | ||
- | |||
- | At the end of this process, you should be able to go to the final steps with a web browser on the URL http:// | ||
- | |||
- | {{ : | ||
- | |||
- | Follow the steps required and at the end, you are invited to type theese commands in the terminal : | ||
- | |||
- | sudo systemctl start libretime-playout | ||
- | sudo systemctl start libretime-liquidsoap | ||
- | sudo systemctl start libretime-analyzer | ||
- | sudo systemctl start libretime-celery | ||
- | |||
- | Then the system check if everything went fine and invite you to login : the default log / pwd is : admin / admin | ||
- | |||
- | |||
- | Libretimelogin.png | ||
- | |||
- | {{ : | ||
- | |||
- | ant that's it ! | ||
- | |||
- | ===== Use Libretime and the π-box ===== | ||
- | |||
- | So, you can now reach | ||
- | |||
- | * the π-box interface at the URL : http:// | ||
- | * the Libretime interface at the URL http:// | ||
- | * the Icecast interface at the URL http:// | ||
- | |||
- | Now for more safety, Icecast passwords are randomly generated, but Libretime is already configured with it, but to find them, have a look at (starting from line 35) : | ||
- | |||
- | sudo nano / | ||
- | |||
- | If you want your π-box-Libretime to be reachable from outside your local network, you have to configure your Internet Router to drive the requests on port 80,81,8000 to the IP of the π-box (192.168.3.14) | ||
- | |||
- | For more infos, see the documentation of [[http:// |
documentation/π-box_-_how_to_install_libretime_on_a_π-box.1694164036.txt.gz · Last modified: 2023/09/08 11:07 by pnode