informatica:linux:radio
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| informatica:linux:radio [2015/04/11 11:52] – javi | informatica:linux:radio [2018/05/12 15:43] (current) – [Darkice] javi | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ===== Instalación ===== | ===== Instalación ===== | ||
| + | |||
| + | ==== Debian ? - Airtime 2.? ==== | ||
| 1. Descargar easy install e intentar | 1. Descargar easy install e intentar | ||
| Line 31: | Line 33: | ||
| sudo airtime-easy-setup | sudo airtime-easy-setup | ||
| </ | </ | ||
| + | |||
| + | ==== Ubuntu 14.04.3 - Airtime 2.5.1-1 ==== | ||
| + | |||
| + | 1. Descargar easy install e intentar | ||
| + | |||
| + | < | ||
| + | wget http:// | ||
| + | </ | ||
| + | |||
| + | 2. Instalar paquetes necesarios: | ||
| + | |||
| + | < | ||
| + | sudo aptitude install debconf-utils icecast2 postgresql python-virtualenv ecasound flac libcamomile-ocaml-data monit multitail odbc-postgresql php5-curl php5-pgsql pwgen rabbitmq-server zend-framework libportaudio2 php5-gd php-pear unzip | ||
| + | </ | ||
| + | |||
| + | 3. Configurar: | ||
| + | |||
| + | < | ||
| + | sudo dpkg -i airtime-easy-setup.deb | ||
| + | sudo airtime-easy-setup | ||
| + | </ | ||
| + | |||
| + | ===== Configuración ===== | ||
| + | |||
| + | Asumo que airtime esta instalado en un servidor. En este ejemplo el servidor esta en la DMZ y tiene como nombre DNS " | ||
| + | |||
| + | 1. Editar archivo de config: | ||
| + | |||
| + | < | ||
| + | sudo cp / | ||
| + | sudo vim / | ||
| + | </ | ||
| + | |||
| + | Y ajustar la variable: | ||
| + | |||
| + | base_url = airtime.example.com | ||
| + | | ||
| + | 2. Tras cambiar una configuracion, | ||
| + | |||
| + | sudo airtime-update-db-settings | ||
| + | |||
| + | 3. Editar el virtualhost: | ||
| + | |||
| + | < | ||
| + | sudo cp / | ||
| + | sudo vim / | ||
| + | </ | ||
| + | |||
| + | Y dejarlo tal que asi: | ||
| + | |||
| + | < | ||
| + | < | ||
| + | SSLEngine on | ||
| + | SSLProtocol all -SSLv2 | ||
| + | SSLCertificateFile / | ||
| + | SSLCertificateKeyFile / | ||
| + | Header always set Strict-Transport-Security " | ||
| + | |||
| + | ServerName airtime.example.com | ||
| + | |||
| + | ServerAdmin root@localhost | ||
| + | |||
| + | DocumentRoot / | ||
| + | DirectoryIndex index.php | ||
| + | |||
| + | < | ||
| + | AllowOverride all | ||
| + | Require all granted | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | ServerName airtime.example.com | ||
| + | ServerAdmin root@localhost | ||
| + | |||
| + | DocumentRoot / | ||
| + | DirectoryIndex index.php | ||
| + | Redirect permanent /login https:// | ||
| + | |||
| + | SetEnv APPLICATION_ENV " | ||
| + | |||
| + | < | ||
| + | AllowOverride All | ||
| + | Require all granted | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | 4. Recargar la config de apache: | ||
| + | |||
| + | sudo apachectl -k graceful | ||
| + | |||
| + | 5. Ya se deberia poder entrar en: | ||
| + | |||
| + | http:// | ||
| ===== ID3 ===== | ===== ID3 ===== | ||
| Line 132: | Line 229: | ||
| </ | </ | ||
| </ | </ | ||
| - | | + | |
| ====== Darkice ====== | ====== Darkice ====== | ||
| Line 169: | Line 266: | ||
| sudo darkice -v5 -c / | sudo darkice -v5 -c / | ||
| + | |||
| + | ===== Errores ===== | ||
| + | |||
| + | * DarkIce: AlsaDspSource.cpp: | ||
| + | |||
| + | La causa es que en el archivo de configuración se especifica que el dispositivo puede grabar en stereo: | ||
| + | |||
| + | channel = 2 | ||
| + | |||
| + | Y el dispositivo solo soporta mono. Solución: | ||
| + | |||
| + | channel = 1 | ||
| + | |||
informatica/linux/radio.1428753154.txt.gz · Last modified: (external edit)
