/etc/apache2/sites-available/airtime
/var/www/airtime/public/index.php
<VirtualHost *:80> ServerAdmin foo@bar.org DocumentRoot /var/www/airtime/public SetEnv APPLICATION_ENV "development" <Directory /var/www/airtime/public> DirectoryIndex index.php AllowOverride all Order allow,deny Allow from all </Directory> </VirtualHost>
sudo php airtime-install.php 1>install.log 2>&1
******************************** Install Begin ********************************* Existing config file detected at /etc/airtime/airtime.conf Existing config file detected at /etc/airtime/pypo.cfg Existing config file detected at /etc/airtime/recorder.cfg Existing config file detected at /etc/airtime/liquidsoap.cfg You have existing config files. Do you want to (O)verwrite them, or (P)reserve them? (o/P)
sudo php airtime-install.php 1>install.log -p 2>&1
******************************** Install Begin ********************************* * Installing PHP code to /var/www/airtime * Installing binaries to /usr/lib/airtime * Airtime Version: 1.8.0 * Creating Airtime database user * Database user 'airtime' already exists. * Creating Airtime database * Database 'airtime' already exists. * Connected to database * Installing Postgresql scripting language * Postgres scripting language already installed * Creating database tables * Storage directory setup * Skipping directory already exists: /srv/airtime * Skipping directory already exists: /srv/airtime/stor * Giving Apache permission to access /srv/airtime/stor * Creating /usr/bin symlinks * Installing airtime-import * Installing airtime-clean-storage * Installing airtime-update-db-settings *** Pypo Installation *** Starting daemontool script pypo Starting daemontool script pypo-liquidsoap Checking and removing any existing pypo processes Checking for user pypo Creating user pypo Creating directory /var/log/airtime/pypo Creating directory /var/log/airtime/pypo-liquidsoap Creating directory /usr/lib/airtime/pypo/bin Creating directory /var/tmp/airtime/pypo/cache/ Creating directory /var/tmp/airtime/pypo/files/ Creating directory /var/tmp/airtime/pypo/tmp/ Installing 64-bit liquidsoap binary Copying directory /home/fraser/airtime/python_apps/pypo to /usr/lib/airtime/pypo/bin Copying directory /home/fraser/airtime/python_apps/api_clients to /usr/lib/airtime/pypo/api_clients Setting permissions Creating symbolic links Installing pypo daemon Creating directory /etc/service/pypo Creating directory /etc/service/pypo/log Installing liquidsoap daemon Creating directory /etc/service/pypo-liquidsoap Creating directory /etc/service/pypo-liquidsoap/log Waiting for processes to start... /etc/service/pypo: up (pid 6893) 1 seconds /etc/service/pypo-liquidsoap: up (pid 6798) 5 seconds *** Recorder Installation *** Starting daemontool script recorder
sudo a2enmod rewrite
ls -l /etc/apache2/sites-enabled/airtime
sudo rm /etc/apache2/sites-enabled/000-default sudo ln -s /etc/apache2/sites-available/airtime /etc/apache2/sites-enabled/airtime sudo a2enmod rewrite
cd ~/airtime/install sudo php airtime-install.php
It looks like you're new here. If you want to get involved, click one of these buttons!