Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #wwww.kmirza.com
- #kashif@kmirza.com
- [kashif@voice /]$ cat /etc/redhat-release
- CentOS release 5.7 (Final)
- [kashif@voice /]$ su
- Password:
- [root@voice /]# mkdir voice
- [root@voice /]# cd voice/
- [root@voice voice]# wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8.7.1.tar.gz
- [root@voice voice]# tar -zxvf asterisk-1.8.7.0.tar.gz
- [root@voice voice]# cd asterisk-1.8.7.0
- [root@voice asterisk-1.8.7.0]# ./configure
- .$$$$$$$$$$$$$$$=..
- .$7$7.. .7$$7:.
- .$$:. ,$7.7
- .$7. 7$$$$ .$$77
- ..$$. $$$$$ .$$$7
- ..7$ .?. $$$$$ .?. 7$$$.
- $.$. .$$$7. $$$$7 .7$$$. .$$$.
- .777. .$$$$$$77$$$77$$$$$7. $$$,
- $$$~ .7$$$$$$$$$$$$$7. .$$$.
- .$$7 .7$$$$$$$7: ?$$$.
- $$$ ?7$$$$$$$$$$I .$$$7
- $$$ .7$$$$$$$$$$$$$$$$ :$$$.
- $$$ $$$$$$7$$$$$$$$$$$$ .$$$.
- $$$ $$$ 7$$$7 .$$$ .$$$.
- $$$$ $$$$7 .$$$.
- 7$$$7 7$$$$ 7$$$
- $$$$$ $$$
- $$$$7. $$ (TM)
- $$$$$$$. .7$$$$$$ $$
- $$$$$$$$$$$$7$$$$$$$$$.$$$$$$
- $$$$$$$$$$$$$$$$.
- configure: Package configured for:
- configure: OS type : linux-gnu
- configure: Host CPU : i686
- configure: build-cpu:vendor:os: i686 : pc : linux-gnu :
- configure: host-cpu:vendor:os: i686 : pc : linux-gnu :
- [root@voice asterisk-1.8.7.0]# make
- [+--------- Asterisk Build Complete ---------+
- + Asterisk has successfully been built, and +
- + can be installed by running: +
- + +
- + make install +
- +-------------------------------------------+
- [root@voice asterisk-1.8.7.0]# make install
- ---- Asterisk Installation Complete -------+
- + +
- + YOU MUST READ THE SECURITY DOCUMENT +
- + +
- + Asterisk has successfully been installed. +
- + If you would like to install the sample +
- + configuration files (overwriting any +
- + existing config files), run: +
- + +
- + make samples +
- + +
- +----------------- or ---------------------+
- + +
- + You can go ahead and install the asterisk +
- + program documentation now or later run: +
- + +
- + make progdocs +
- + +
- + **Note** This requires that you have +
- + doxygen installed on your local system +
- +-------------------------------------------+
- [root@voice asterisk-1.8.7.0]# make samples
- root@voice asterisk-1.8.7.0]# cd contrib/init.d/
- [root@voice init.d]# ls
- etc_default_asterisk rc.archlinux.asterisk rc.mandriva.asterisk rc.slackware.asterisk
- org.asterisk.asterisk.plist rc.debian.asterisk rc.mandriva.zaptel rc.suse.asterisk
- org.asterisk.muted.plist rc.gentoo.asterisk rc.redhat.asterisk
- [root@voice init.d]# cp rc.redhat.asterisk /etc/init.d/asterisk
- [root@voice init.d]#
- [root@voice init.d]# vim /etc/init.d/asterisk
- change this button
- AST_SBIN=__ASTERISK_SBIN_DIR__
- to
- AST_SBIN=/usr/sbin
- [root@voice init.d]# service asterisk start
- Starting asterisk: [ OK ]
- [root@voice init.d]###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement