Commit Graph

6 Commits

Author SHA1 Message Date
Lucas Bickel 007b19edea Update preparing server docs
A start at documenting the server install part. Adds docs and pointers
for firewalling, PostgeSQL and RabbitMQ.
2017-10-07 14:36:52 +02:00
Lucas Bickel f3e8e8cb00 Run dos2unix on all markdown files in docs/ 2017-05-16 13:39:17 +02:00
Lucas Bickel c29285ae48 Vagrant Debian support (and experimental CentOS)
This changes the Vagrant setup to support multiple installations as multiple
boxes. In addition to Ubuntu Vagrant can now be used to install on Debian
as well as on CentOS.

I took the chance to clean up the .deb install a bit and backported analyzer
and celery to SysV proper so it runs there. Some of the distro specfics were
moved to the install script from the python setup scripts to acheive this.

For the CentOS support I added a rather involved OS prepare script. In the
long term this will be added to the preparing-the-server docs we already have.

I had to switch the default port to http-alt (8080). On CentOS 9080 is registered
for ocsp and getting it to work for apache without hacking SELinux is hard. I
think 8080 is the RFC way to go anyhow. If anyone want to override this it
should be rather easy using the --web-port arg and by hacking Vagrantfile.

The PyOpenSSL code has been refactored for all the distros that the Vagrantfile
now supports.

As far as my checks go, I tried this code with all the distros, uploaded a track
and downloaded a unicode and a ssl podcast and was able to listen to them
in each case.

In the experimental CentOS case, the UI is not up to spec since services
need to get scheduled through systemctl and the status overview (ie. on the /?config page)
do not work properly. They need to be as follows:

```
sudo systemctl start airtime-playout
sudo systemctl start airtime-liquidsoap
sudo systemctl start airtime_analyzer.service
sudo systemctl start airtime-celery.service
```
2017-03-12 13:42:22 +01:00
Lucas Bickel 354f449b82 Update docs to reflect we need more RAM in 2017 2017-03-07 12:20:09 +01:00
Lucas Bickel b96c13ad16 Add warning to top of install related docs 2017-03-05 13:30:11 +01:00
Lucas Bickel 187afcb206 Add converted 2.5.x manual on top of pro manual
I tried to only merge what makes sense for us, there is still quite some cleanup needed, this commit tries to preserve the 2.5 manual as much as possible while still keeping the rare new stuff from pro.
2017-03-05 13:17:49 +01:00