AirTime: Instalasi

From OnnoWiki
Jump to navigation Jump to search

Siapkan Server

Ubuntu di rekomendasikan sebagai AirTime Server. Sebaiknya mempunyai 1GHz processor dan 512MB RAM. Tidak banyak harddisk yang digunakan. Hot-swap RAID sebaiknya digunakan untuk arip media sekiranya terjadi kerusakan harddisk. Sebaiknya pakai UPS untuk pengaman jika terjadi mati listrik sebentar.

Interface administrasi AirTime dirancang untuk bekerja dengan semua browser, desktop atau mobile. Browser yang di rekomendasikan adalah Mozilla Firefox 3.6.

Soundcard

Jika kita ingin agar Airtime server mempunyai output audio secara langsung ke pemancar broadcast atau streaming encoder, server yang kita gunakan harus mempunyai sound card yang di dukung oleh ALSA. Sebetulnya hampir semua sound card di dukung ALSA dan biasanya sudah ada dalam kernel linux tanpa perlu kita install apa-apa lagi. Jika kita ragu-ragu kita dapat melihat http://www.alsa-project.org/main/index.php/Matrix:Main

Jika AirTime digunakan untuk stream ke Icecast streaming media server di Internet, maka sebetulnya kita tidak perlu sound card di server. Pilihan instalasi AirTime ini cocok untuk digunakan di ISP dataceter, yang jauh / remote dari pemancar FM.


Setup Repository Ubuntu

Edit sources.list

$ sudo vi /etc/apt/sources.list

tambahkan

deb http://apt.sourcefabric.org/ maverick main
deb http://apt.sourcefabric.org/ lucid main


Install Sourcefabric signing key

Lakukan

sudo apt-get update
sudo apt-get install sourcefabric-keyring
sudo apt-get update

Install Sekaligus

Instalasi sekaligus dapat dilakukan dengan perintah

$ sudo apt-get install postgresql icecast2 airtime airtime-audio-samples


Install satu per satu

Install Database Management System

Airtime menggunakan PostgreSQL

$ sudo apt-get install postgresql


Install Streaming Server

Install icecast

$ sudo apt-get install icecast2


In some scenarios, you may wish to stream from Airtime to a remote Icecast server, for example when Icecast is installed on a server in a datacenter with greater bandwidth available than an Airtime server located at your broadcast studio has. This separation may become necessary if your stream becomes popular, because each additional listener which connects to the Icecast stream uses additional bandwidth. In this case, you do not need to install the icecast2 package on the Airtime server.

Remove PulseAudio

PulseAudio sound server tidak compatible dengan Airtime, tapi di instalasi oleh Ubuntu. Untuk membuangnya dapat menggunakan perintah

$ sudo apt-get purge pulseaudio

Removing the pulseaudio package on a desktop Ubuntu machine may force the removal of the ubuntu-desktop metapackage. However, this metapackage is only installed on the system for managing upgrades; removing it does not remove the GNOME desktop.

After removing PulseAudio, if your Airtime machine has a desktop and a soundcard, you can install a mixer applet which can control the ALSA soundcard driver directly, such as gnome-alsamixer:

$ sudo apt-get install gnome-alsamixer

On a server with a soundcard but without a desktop, you can control sound input and output levels using the command line program alsamixer:

This program should already be installed on an Ubuntu or Debian machine with a soundcard. If not, you can install it with the command:

$ sudo apt-get install alsa-utils

Now your server should be ready for Airtime to be installed.



Referensi

Pranala Menarik