依存関係のインストール
apt-get mysql-client
apt-get install php7.2-curl php7.2-gd php7.2-cgi php7.2-fpm php7.2-bcmath php7.2-odbc
apt-get install libncurses5-dev libssl-dev libmysqlclient-dev mpg123 libxml2-dev libnewt-dev sqlite3
apt-get install libsqlite3-dev pkg-config automake libtool autoconf git unixodbc-dev uuid uuid-dev
apt-get install libasound2-dev libogg-dev libvorbis-dev libicu-dev libcurl4-openssl-dev libical-dev libneon27-dev libsrtp0-dev
apt-get install libspandsp-dev
sudo
subversion libtool-bin python-dev
apt-get install curl sox mpg123 sqlite3 git uuid libodbc1 unixodbc unixodbc-bin
apt-get install dahdi dahdi-dkms dahdi-linux libapache2-mod-security2
apt-get install postfix
nodejsをインストール
curl -sL https:
//deb
.nodesource.com
/setup_10
.x |
bash
-
apt-get
install
-y nodejs
janssonのインストール
cd /usr/src
wget http://www.digip.org/jansson/releases/jansson-latest.tar.gz
tar zxvf jansson-latest.tar.gz
cd jansson*
./configure
make
make install
asteriskのインストール
cd
asterisk-*
contrib
/scripts/get_mp3_source
.sh
contrib
/scripts/install_prereq
install
.
/configure
--with-pjproject-bundled --with-jansson-bundled
make
menuselect
# make
config
# ldconfig
systemctl disable asterisk
systemctl enable asterisk
アスタリスクユーザーのアクセス許可を修正
useradd
-m asterisk
/var/run/asterisk
chown
asterisk.
/var/run/asterisk
chown
-R asterisk.
/etc/asterisk
chown
-R asterisk.
/var/
{lib,log,spool}
/asterisk
chown
-R asterisk.
/usr/lib/asterisk
chsh -s
/bin/bash
asterisk
rm
-rf
/var/www/html
コメント