Difference between revisions of "AirTime: Instalasi"

From OnnoWiki
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
==Soundcard==
 
==Soundcard==
  
Jika kita ingin agar Airtime server mempunyai output audio secara langsung ke pemancar broadcast atau  
+
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
  
Soundcards
+
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.
  
If you intend that your Airtime server will have a direct audio output to a broadcast transmitter or a separate stream encoder, your server machine must have a soundcard supported by an ALSA driver. Almost all standard soundcards have ALSA drivers built into the Linux kernel, which do not need to be installed separately. If in doubt about driver support for your soundcard, check the ALSA soundcard matrix at: http://www.alsa-project.org/main/index.php/Matrix:Main
 
  
If your Airtime machine will only be used to stream to an Icecast streaming media server, you do not require a soundcard to be installed on the server side. This option is suitable for Airtime installations at your ISP's datacenter, remote from any transmitter.
 
Set up repositories for Ubuntu
 
  
When installing on an Ubuntu server, a few of the packages that Airtime relies on are in the Ubuntu universe or multiverse repositories. If either of these repositories is disabled, you can enable them in the /etc/apt/sources.list file, by opening the nano editor in your server's console with the command:
+
==Setup Repository Ubuntu==
  
$ sudo nano /etc/apt/sources.list
+
Edit sources.list
  
For an Ubuntu Lucid server, find the lines which begin deb and end with lucid universe or lucid-updates universe, adding multiverse to the end of these lines, if it is not there already. The multiverse repository is required for the libmp3lame0 library, which is an MP3 encoder.
+
$ sudo vi /etc/apt/sources.list
  
The exact repository mirror URLs in your sources.list file will differ from the above screenshot, depending on your location.
+
tambahkan
  
The Sourcefabric repository contains packages for Airtime, and any other packages which Airtime requires. To add the Sourcefabric repository to an Ubuntu Lucid server, scroll to the end of the sources.list file and add the following line:
+
deb http://apt.sourcefabric.org/ maverick main
 +
deb http://apt.sourcefabric.org/ lucid main
  
deb http://apt.sourcefabric.org/ lucid main
 
  
For Ubuntu Maverick, substitute maverick in place of lucid in the line above.
+
==Install Sourcefabric signing key==
  
Press Ctrl+O (the Ctrl key and the letter O together) to save the file, then Ctrl+X to exit the nano editor.
+
Lakukan
Set up repositories for Debian
 
  
On Debian, you may need to install the sudo package, if it is not installed already. On a Debian squeeze server, after you have installed and configured sudo, you can edit the /etc/apt/sources.list file with the command:
+
$ sudo apt-get update
 +
$ sudo apt-get install sourcefabric-keyring
  
$ sudo nano /etc/apt/sources.list
+
==Install Sekaligus==
  
You can obtain the libmp3lame0 library package by adding the following repository to the end of the file:
+
Instalasi sekaligus dapat dilakukan dengan perintah
  
deb http://www.debian-multimedia.org squeeze main non-free
+
$ sudo apt-get install postgresql icecast2 airtime airtime-audio-samples
  
To add the Sourcefabric repository to a Debian squeeze server, add the following line to the end of the file:
+
hati-hati airtime-audio-samples sekitar 165MByte! Butuh waktu lumayan lama kalau di download lewat [[Internet]]
  
deb http://apt.sourcefabric.org/ squeeze main
 
  
Press Ctrl+O (the Ctrl key and the letter O together) to save the file, then Ctrl+X to exit the nano editor.
+
===Edit LiquidSoap===
Install the Sourcefabric signing key
 
  
Reload the system's package list with:
+
vi /etc/airtime/liquidsoap.cfg
  
$ sudo apt-get update
+
Default
  
You will see an error message about a missing public key.
+
###########################################
 +
#liquidsoap output settings              #
 +
###########################################
 +
output_sound_device = false
 +
output_icecast_vorbis = true
 +
output_icecast_mp3 = false
  
 +
Jika dibutuhkan agar lagu keluar di sound card
  
 +
###########################################
 +
#liquidsoap output settings              #
 +
###########################################
 +
output_sound_device = true
 +
output_icecast_vorbis = true
 +
output_icecast_mp3 = true
  
To fix this system error, you need to install the sourcefabric-keyring package, which contains the package signing key. This encryption key is a security measure which helps ensure that the Airtime packages you will be downloading in future have not been tampered with by a third party. You can install the key with the command:
+
==Install satu per satu==
  
$ sudo apt-get install sourcefabric-keyring
+
===Install Database Management System===
  
When prompted, press the y key on your keyboard to install the sourcefabric-keyring package without verification. If you wish to verify the authenticity of the package signing key, please contact Sourcefabric for assistance.
+
Airtime menggunakan PostgreSQL
  
 +
$ sudo apt-get install postgresql
  
  
Update your computer's software sources again, to confirm that you are now using a trusted software repository:
+
===Install Streaming Server===
  
$ sudo apt-get update
+
Install icecast
  
You should no longer see the error message about the missing public key.
+
$ sudo apt-get install icecast2
Installing the database management system
 
  
Airtime uses a PostgreSQL database to keep track of media assets and associated metadata in its storage server. Depending on the scale of your Airtime installation and the hardware available, you may wish to install PostgreSQL on a separate server. If you only have one server, you can install the postgresql package on the same machine as Airtime with the command:
+
Jika kita menggunakan server Icecast di server lain, misalnya di datacenter. Maka kita tidak perlu menginstalasi icecast2 di server lokal.
  
$ sudo apt-get install postgresql
 
  
Installing a streaming server
+
==Remove PulseAudio==
  
Optionally, you may wish to stream directly from Airtime to an Icecast media distribution server, without requiring a soundcard or mixer in the broadcast chain. This option is particularly suitable for fully automated stations, in which all shows are played out using Airtime. You can install the icecast2 package on your server with the command:
+
PulseAudio sound server tidak compatible dengan Airtime, tapi di instalasi oleh Ubuntu. Untuk membuangnya dapat menggunakan perintah
  
$ sudo apt-get install icecast2
+
$ sudo apt-get purge pulseaudio
  
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.
+
Membuang pulseaudio kemungkinan akan memaksa untuk membuang ubuntu-desktop metapackage. Metapackage ini hanya digunakan untuk mengatur upgrades; artiya membuang metapackage ini tidak akan membuang GNOME desktop.
Remove PulseAudio
 
  
The PulseAudio sound server is not compatible with Airtime, but is installed by default on Ubuntu. To remove PulseAudio from an Ubuntu machine, type the following command:
+
Sesudah membuang PulseAudio, jika mesin Airtime mempunyai desktop dan sound card, kita dapat menginstalasi mixer aplet yang dapat mengontrol secara langsung ALSA soundcard driver, seperti gnome-alsamixer:
  
$ sudo apt-get purge pulseaudio
+
$ sudo apt-get install gnome-alsamixer
  
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.
+
Pada server dengan sound card tanpa desktop, kita dapat mengontrol level input dan output menggunakan perintah alsamixer
  
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:
+
alsamixer
  
$ sudo apt-get install gnome-alsamixer
+
Program berikut biasanya sudah terinstalasi di mesin Ubuntu atau Debian dengan soundcard. Jika tidak, kita dapat menginstallnya menggunakan perintah
  
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
  
$ sudo apt-get install alsa-utils
+
Server kita seharusya sudah siap untuk Airtime.
 
 
Now your server should be ready for Airtime to be installed.
 
  
  
Line 113: Line 115:
  
 
* [[AirTime]]
 
* [[AirTime]]
 +
* [[AirTime: Instalasi]]
 +
* [[AirTime: Instalasi Manual]]
 +
* [[AirTime: Mulai Mengoperasikan]]
 +
* [[IceCast]]

Latest revision as of 19:25, 17 July 2011

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

Install Sekaligus

Instalasi sekaligus dapat dilakukan dengan perintah

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

hati-hati airtime-audio-samples sekitar 165MByte! Butuh waktu lumayan lama kalau di download lewat Internet


Edit LiquidSoap

vi /etc/airtime/liquidsoap.cfg

Default

###########################################
#liquidsoap output settings              #
###########################################
output_sound_device = false
output_icecast_vorbis = true
output_icecast_mp3 = false

Jika dibutuhkan agar lagu keluar di sound card

###########################################
#liquidsoap output settings              #
###########################################
output_sound_device = true
output_icecast_vorbis = true
output_icecast_mp3 = true

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

Jika kita menggunakan server Icecast di server lain, misalnya di datacenter. Maka kita tidak perlu menginstalasi icecast2 di server lokal.


Remove PulseAudio

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

$ sudo apt-get purge pulseaudio

Membuang pulseaudio kemungkinan akan memaksa untuk membuang ubuntu-desktop metapackage. Metapackage ini hanya digunakan untuk mengatur upgrades; artiya membuang metapackage ini tidak akan membuang GNOME desktop.

Sesudah membuang PulseAudio, jika mesin Airtime mempunyai desktop dan sound card, kita dapat menginstalasi mixer aplet yang dapat mengontrol secara langsung ALSA soundcard driver, seperti gnome-alsamixer:

$ sudo apt-get install gnome-alsamixer

Pada server dengan sound card tanpa desktop, kita dapat mengontrol level input dan output menggunakan perintah alsamixer

alsamixer

Program berikut biasanya sudah terinstalasi di mesin Ubuntu atau Debian dengan soundcard. Jika tidak, kita dapat menginstallnya menggunakan perintah


$ sudo apt-get install alsa-utils

Server kita seharusya sudah siap untuk Airtime.



Referensi

Pranala Menarik