ssh工具FinalShell百度自行下载
1.安装宝塔
、stall.sh
2.破解宝塔
升级到宝塔专业版尽量不要破解
echo > /www/server/panel/data/userInfo.json
然后重启你的面板
/etc/init.d/bt restart
查看面板入口:/etc/init.d/bt default
bt 6修改宝塔账户
bt 5修改宝塔密码
3.登陆宝塔,安装环境
php7.0 nginx mysql
4.安装freeswitch
yum install -y git alsa-lib-devel autoconf automake bison broadvoice-devel bzip2 curl-devel e2fsprogs-devel flite-devel g722_1-devel gcc-c++ gdbm-devel gnutls-devel ilbc2-devel ldns-devel libcodec2-devel libcurl-devel libedit-devel libidn-devel libjpeg-devel libmemcached-devel libogg-devel libsilk-devel libsndfile-devel libtheora-devel libtiff-devel libtool libuuid-devel libvorbis-devel libxml2-devel lua-devel lzo-devel mongo-c-driver-devel ncurses-devel net-snmp-devel openssl-devel opus-devel pcre-devel perl perl-ExtUtils-Embed pkgconfig portaudio-devel postgresql-devel python26-devel python-devel soundtouch-devel speex-devel sqlite-devel unbound-devel unixODBC-devel wget which yasm zlib-devel
yum install unixODBC-devel -y
yum install mysql-connector-odbc -y
yum install libshout-devel mpg123-devel lame-devel -y
5.配置freeswitch
上传zip包到/root/
解压unzip freeswitch.zip
mv -f freeswitch /usr/local/
ln -s /usr/local/freeswitch/bin/freeswitch /usr/local/bin/freeswitch
ln -s /usr/local/freeswitch/bin/fs_cli /usr/local/bin/fs_cli
6.安装 smartivr
cd
unzip install.zip
cd install
cp vad.license /etc/vad.license
cp autodialer.license /etc/autodialer.license
cp smartivr.json /etc/
cp -r smartivr da2server /var/
cd /var/smartivr
chmod +x bin/smartivr
chmod +x bin/gender
chmod +x aiui/aiui
chmod +x iflytek/iflytek
chmod +x cgi/cgi
cd /var/da2server
chmod +x daserver
chmod +x libcrypto.so.1.0.0
chmod +x libjsoncpp.so.0
chmod +x libPocoData.so.60
chmod +x libPocoDataSQ