参考ページ:
1. CentOS Updates (If Any)
2. Disabling SELinux
3. Reboot
4. Installation of Dependencies for Asterisk 11
5. Downloading your Asterisk Source Code
6. Extraction of Downloaded Files
7. DAHDI Installation
8. LibPRI Installation
9. Change Asterisk Directory
10. Run Configure Script for Asterisk
11. Install Sample Files
12. Start DAHDI
13. Start Asterisk
2. Disabling SELinux
3. Reboot
4. Installation of Dependencies for Asterisk 11
5. Downloading your Asterisk Source Code
6. Extraction of Downloaded Files
7. DAHDI Installation
8. LibPRI Installation
9. Change Asterisk Directory
10. Run Configure Script for Asterisk
11. Install Sample Files
12. Start DAHDI
13. Start Asterisk
DAHDI(Digium/Asterisk Hardware Device Interface)は使わないので、7,8,12はスキップする。
1 CentOS Updates (If Any)
sudo yum update -y
2 Disabling SELinux
selinuxenabled ; echo $?
で0ならSELinux無効になっている。
3 Reboot
/usr/bin/reboot
/sbin/shutdown -r よりは確実
4 Installation of Dependencies for Asterisk 11
yum install -y make wget openssl-devel ncurses-devel newt-devel libxml2-devel kernel-devel gcc gcc-c++ sqlite-devel
5 Downloading your Asterisk Source Code
6 Extraction of Downloaded Files
sudo tar zxf asterisk-11-current.tar.gz
9 Change Asterisk Directory
cd asterisk-11.12.0/
10 Run Configure Script for Asterisk
64bitなので
sudo ./configure --libdir=/usr/lib64 && sudo make menuselect && sudo make && sudo make install
11 Install Sample Files
デフォルトのconfigではAsteriskは使用できませんが、とりあえず、所定の/etc/asteriskに各種設定ファイルを置きました。(Asterisk設定時には別ディレクトリに移動します。)
sudo make samples
No comments:
Post a Comment