Commit Graph

27 Commits

Author SHA1 Message Date
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
Robb Ebright 2ae2377ee2 Modified install script to install PyOpenSSL for Ubuntu 14.04 for airtime-celery SSL fix 2017-03-10 17:13:24 -05:00
Lucas Bickel 9735e4cfd7 Remove zf1 requires from installer
We use it from vendor/ so there is no need to install it any more.
2017-03-02 13:47:07 +01:00
Albert Santoni 0eebd182dd Installer support for Ubuntu 15.04 2015-03-16 12:22:17 -04:00
Duncan Sommerville 3782817819 More install dependency fixes 2015-03-11 17:10:34 -04:00
Duncan Sommerville 3fba1b9636 Removed nonexistant packages 2015-03-11 14:40:19 -04:00
Albert Santoni 1a8883b91d Merge branch '2.5.x-installer' of github.com:sourcefabric/Airtime into 2.5.x-installer 2015-02-23 12:50:43 -05:00
Daniel James 071715415b Fix permissions on files for Debian/Ubuntu compliance 2015-02-23 17:41:56 +00:00
Albert Santoni bce2bb931b Added Debian Jessie support 2015-02-13 21:22:39 -05:00
Albert Santoni 13939a5129 Fix requirements for trusty 2015-02-13 16:32:01 -05:00
Albert Santoni bbcd4fbe2e Tons of bugfixes for the installer on Debian
* Still need to get pypo working with sysvinit
* Still need to fix this logger.cfg silliness with pypo and
  media_monitor
2015-02-13 11:32:07 -05:00
Albert Santoni d46f4a52eb Installer tweaks and a pypo bugfix
* Moved all the remaining DEB requirements into the requirements files
* The installer should now be distro agnostic (unless you ask it to
  install third-party deps for you)
* Fixed pypo not being able to find replaygainupdater
* Tweaked a bunch of styling for the installer
2015-02-10 18:06:46 -05:00
Duncan Sommerville 57e4ba5292 requirements.apt for Ubuntu Precise 2015-01-19 15:05:49 -05:00
Duncan Sommerville 791466b023 Fixes for code review https://github.com/sourcefabric/Airtime/pull/84 2015-01-15 16:33:33 -05:00
Duncan Sommerville 5e22f929c7 Reverted commit mistakenly changing file modifiers to 755 2015-01-14 20:45:03 -05:00
Duncan Sommerville 380ec41201 Removed Skip this step buttons in web installer, removed opus plugins from requirements.apt files 2015-01-14 18:07:33 -05:00
Duncan Sommerville df2576e5a0 Updated installer to better accommodate running over existing installs 2015-01-14 16:11:49 -05:00
Duncan Sommerville 3908e82667 Add apt.sourcefabric.org to apt sources.list, remove incorrect packages from debian requirements.apt 2015-01-13 15:14:56 -05:00
Duncan Sommerville e7490d6b2d Fixed lxc-bootstrap to make a shallow clone, updated uninstall script, added initial debian wheezy requirements file 2015-01-13 12:28:36 -05:00
Duncan Sommerville bf1355a203 Yet another attempt to run upstart jobs as unprivileged user 2015-01-12 09:48:08 -05:00
Duncan Sommerville 24123ef45d Added setup config file for upstart session init 2015-01-09 11:21:44 -05:00
Duncan Sommerville 1ddda846d6 Updates to running background services as web user 2015-01-08 18:52:58 -05:00
Duncan Sommerville e568013db6 More work on running services as web user 2015-01-08 13:21:08 -05:00
Duncan Sommerville ab35827439 Different approach for running airtime services as unprivileged user 2015-01-08 12:56:09 -05:00
Duncan Sommerville 4559e3e27d More work on running upstart services as non-privileged user 2015-01-08 10:48:54 -05:00
Duncan Sommerville d7dd381ec3 Added Upstart.conf file to give web user permission to run services 2015-01-08 10:07:22 -05:00
Duncan Sommerville a790527e67 More work on running upstart services as non-privileged user 2015-01-08 10:06:37 -05:00