Advertisement
kmirza

asterisk installation by kashif mirza

Apr 2nd, 2012
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.49 KB | None | 0 0
  1. #wwww.kmirza.com
  2. #kashif@kmirza.com
  3.  
  4. [kashif@voice /]$ cat /etc/redhat-release
  5. CentOS release 5.7 (Final)
  6. [kashif@voice /]$ su
  7. Password:
  8. [root@voice /]# mkdir voice
  9. [root@voice /]# cd voice/
  10. [root@voice voice]# wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8.7.1.tar.gz
  11. [root@voice voice]# tar -zxvf asterisk-1.8.7.0.tar.gz
  12. [root@voice voice]# cd asterisk-1.8.7.0
  13. [root@voice asterisk-1.8.7.0]# ./configure
  14. .$$$$$$$$$$$$$$$=..
  15. .$7$7.. .7$$7:.
  16. .$$:. ,$7.7
  17. .$7. 7$$$$ .$$77
  18. ..$$. $$$$$ .$$$7
  19. ..7$ .?. $$$$$ .?. 7$$$.
  20. $.$. .$$$7. $$$$7 .7$$$. .$$$.
  21. .777. .$$$$$$77$$$77$$$$$7. $$$,
  22. $$$~ .7$$$$$$$$$$$$$7. .$$$.
  23. .$$7 .7$$$$$$$7: ?$$$.
  24. $$$ ?7$$$$$$$$$$I .$$$7
  25. $$$ .7$$$$$$$$$$$$$$$$ :$$$.
  26. $$$ $$$$$$7$$$$$$$$$$$$ .$$$.
  27. $$$ $$$ 7$$$7 .$$$ .$$$.
  28. $$$$ $$$$7 .$$$.
  29. 7$$$7 7$$$$ 7$$$
  30. $$$$$ $$$
  31. $$$$7. $$ (TM)
  32. $$$$$$$. .7$$$$$$ $$
  33. $$$$$$$$$$$$7$$$$$$$$$.$$$$$$
  34. $$$$$$$$$$$$$$$$.
  35.  
  36. configure: Package configured for:
  37. configure: OS type : linux-gnu
  38. configure: Host CPU : i686
  39. configure: build-cpu:vendor:os: i686 : pc : linux-gnu :
  40. configure: host-cpu:vendor:os: i686 : pc : linux-gnu :
  41. [root@voice asterisk-1.8.7.0]# make
  42. [+--------- Asterisk Build Complete ---------+
  43. + Asterisk has successfully been built, and +
  44. + can be installed by running: +
  45. + +
  46. + make install +
  47. +-------------------------------------------+
  48. [root@voice asterisk-1.8.7.0]# make install
  49.  
  50. ---- Asterisk Installation Complete -------+
  51. + +
  52. + YOU MUST READ THE SECURITY DOCUMENT +
  53. + +
  54. + Asterisk has successfully been installed. +
  55. + If you would like to install the sample +
  56. + configuration files (overwriting any +
  57. + existing config files), run: +
  58. + +
  59. + make samples +
  60. + +
  61. +----------------- or ---------------------+
  62. + +
  63. + You can go ahead and install the asterisk +
  64. + program documentation now or later run: +
  65. + +
  66. + make progdocs +
  67. + +
  68. + **Note** This requires that you have +
  69. + doxygen installed on your local system +
  70. +-------------------------------------------+
  71. [root@voice asterisk-1.8.7.0]# make samples
  72. root@voice asterisk-1.8.7.0]# cd contrib/init.d/
  73. [root@voice init.d]# ls
  74. etc_default_asterisk rc.archlinux.asterisk rc.mandriva.asterisk rc.slackware.asterisk
  75. org.asterisk.asterisk.plist rc.debian.asterisk rc.mandriva.zaptel rc.suse.asterisk
  76. org.asterisk.muted.plist rc.gentoo.asterisk rc.redhat.asterisk
  77. [root@voice init.d]# cp rc.redhat.asterisk /etc/init.d/asterisk
  78. [root@voice init.d]#
  79. [root@voice init.d]# vim /etc/init.d/asterisk
  80.  
  81. change this button
  82. AST_SBIN=__ASTERISK_SBIN_DIR__
  83. to
  84. AST_SBIN=/usr/sbin
  85.  
  86. [root@voice init.d]# service asterisk start
  87. Starting asterisk: [ OK ]
  88. [root@voice init.d]###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement