Difference between revisions of "AirTime: Instalasi"

From OnnoWiki
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
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 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  
  
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.  
+
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.
  
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:
 
  
$ sudo nano /etc/apt/sources.list
+
==Setup Repository Ubuntu==
  
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.
+
Edit sources.list
  
The exact repository mirror URLs in your sources.list file will differ from the above screenshot, depending on your location.
+
$ sudo vi /etc/apt/sources.list
  
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:
+
tambahkan
  
 +
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.
 
  
Press Ctrl+O (the Ctrl key and the letter O together) to save the file, then Ctrl+X to exit the nano editor.
+
==Install Sourcefabric signing key==
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:
+
Lakukan
  
  $ sudo nano /etc/apt/sources.list
+
  $ sudo apt-get update
 +
$ sudo apt-get install sourcefabric-keyring
  
You can obtain the libmp3lame0 library package by adding the following repository to the end of the file:
+
==Install Sekaligus==
  
deb http://www.debian-multimedia.org squeeze main non-free
+
Instalasi sekaligus dapat dilakukan dengan perintah
  
To add the Sourcefabric repository to a Debian squeeze server, add the following line to the end of the file:
+
$ sudo apt-get install postgresql icecast2 airtime airtime-audio-samples
  
deb http://apt.sourcefabric.org/ squeeze main
+
hati-hati airtime-audio-samples sekitar 165MByte! Butuh waktu lumayan lama kalau di download lewat [[Internet]]
  
Press Ctrl+O (the Ctrl key and the letter O together) to save the file, then Ctrl+X to exit the nano editor.
 
Install the Sourcefabric signing key
 
  
Reload the system's package list with:
+
===Edit LiquidSoap===
  
  $ sudo apt-get update
+
  vi /etc/airtime/liquidsoap.cfg
  
You will see an error message about a missing public key.
+
Default
  
 +
###########################################
 +
#liquidsoap output settings              #
 +
###########################################
 +
output_sound_device = false
 +
output_icecast_vorbis = true
 +
output_icecast_mp3 = false
  
 +
Jika dibutuhkan agar lagu keluar di sound card
  
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:
+
###########################################
 +
#liquidsoap output settings              #
 +
###########################################
 +
output_sound_device = true
 +
output_icecast_vorbis = true
 +
output_icecast_mp3 = true
  
$ sudo apt-get install sourcefabric-keyring
+
==Install satu per satu==
  
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.
+
===Install Database Management System===
  
 +
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:
 
  
$ sudo apt-get update
+
===Install Streaming Server===
  
You should no longer see the error message about the missing public key.
+
Install icecast
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:
+
$ sudo apt-get install icecast2
  
$ sudo apt-get install postgresql
+
Jika kita menggunakan server Icecast di server lain, misalnya di datacenter. Maka kita tidak perlu menginstalasi icecast2 di server lokal.
  
Installing a streaming server
 
  
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:
+
==Remove PulseAudio==
  
$ sudo apt-get install icecast2
+
PulseAudio sound server tidak compatible dengan Airtime, tapi di instalasi oleh Ubuntu. Untuk membuangnya dapat menggunakan perintah
  
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.
+
$ sudo apt-get purge pulseaudio
  
Remove 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.
  
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
 
  
On a server with a soundcard but without a desktop, you can control sound input and output levels using the command line program alsamixer:
+
Program berikut biasanya sudah terinstalasi di mesin Ubuntu atau Debian dengan soundcard. Jika tidak, kita dapat menginstallnya menggunakan perintah
  
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
  
Now your server should be ready for Airtime to be installed.
+
Server kita seharusya sudah siap untuk Airtime.
  
  
Line 111: 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