wiki:voip:asterisk:instalace_debian
This is an old revision of the document!
Instalace Asterisku 1.6 na Debian 5 (lenny)
V Debianu je potřeba mít nainstalované tyto balíčky:
- gcc
- g++
- make
- libncurses5-dev
# apt-get install gcc g++ make libncurses5-dev
Stažení a rozbalení Asterisku:
# wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.6.2-current.tar.gz # tar xzvf asterisk-1.6.2-current.tar.gz # cd asterisk-1.6.2-current
Předkompilační konfigurace:
# ./configure
Vyhodí to asi tohle:
configure: OS type : linux-gnu configure: Host CPU : i686
Kompilace:
# make
Po několika minutách by se mělo objevit přibližně toto:
+——— Asterisk Build Complete ——— + Asterisk has successfully been built, and + can be installed by running: + + make install +——————————————-
Instalace:
# make install
+—- Asterisk Installation Complete ——-+ … … …
Instalace ukázkových souborů:
# make samples
Init scripty pro nastartování asterisku po bootu:
# make config
První spuštění asterisku:
asterisk -vvvc
Asterisk Ready. *CLI>
wiki/voip/asterisk/instalace_debian.1317490990.txt.gz · Last modified: (external edit)
