网站用什么开发软件做,wordpress评论不了,网页源码在线提取,湖南省网站建设项目命题作文#xff0c;慢慢来#xff0c;一边做#xff0c;一边记录。
老古董了#xff0c;查资料很不容易#xff0c;但朋友说不着急#xff0c;这很好。
生命的意义在于折腾#xff0c;不是吗#xff1f;
先下载 CentOS6.5#xff0c;
查了下资料#xff0c;最后…命题作文慢慢来一边做一边记录。
老古董了查资料很不容易但朋友说不着急这很好。
生命的意义在于折腾不是吗
先下载 CentOS6.5
查了下资料最后决定到这里下载
https://archive.kernel.org/centos-vault/6.5/isos/x86_64/CentOS-6.5-x86_64-minimal.iso
最小安装。
下一步VirtualBox 安装。
接着配置网络编辑 /etc/sysconfig/network-scripts/ifcfg-eth0内容为
DEVICEeth0
HWADDR08:00:27:C0:C6:8E
TYPEEthernet
UUID98f81e39-a346-4385-8493-532023783749
ONBOOTyes
NM_CONTROLLEDyes
BOOTPROTOdhcpssh 费了点功夫但最后还是搞定了 ssh -legacy root192.168.31.200
下一步安装 epel下面几条命令搞定
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-6.repo
sed -i s|http://mirrors.aliyun.com/centos|https://mirrors.aliyun.com/centos-vault/centos|g /etc/yum.repos.d/CentOS-Base.repocurl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo
sed -i s|http://mirrors.aliyun.com/epel|http://archives.fedoraproject.org/pub/archive/epel|gp /etc/yum.repos.d/epel.repoyum install -y epel-release再下一步安装 okayokay 有很多好东西
yum install -y pyliblzma
rpm -ivh http://repo.okay.com.mx/centos/6/x86_64/release/okay-release-1-3.el6.noarch.rpm
yum install -y --skip-broken speex-devel speexdsp-devel libshout-devel libmpg123-devel lame-devel libsndfile-devel其实到了这一步就可以直接 yum install freeswitch 。
不过我们还是按原计划继续。
安装 gcc 编译工具等
yum install -y autoconf automake bison wget \openssl-devel \curl-devel \gdbm-devel \gcc-c \gnutls-devel \libcurl-devel \libjpeg-devel \libogg-devel \libtiff-devel \libtool \libuuid-devel \libxml2-devel \ncurses-devel \opus-devel \pcre-devel \pkgconfig \portaudio-devel \postgresql-devel \python3-devel \sqlite-devel \unixODBC-devel \zlib-devel \yasm \nasm \libedit-devel \libatomic
下载源码并解压
cd /usr/src
wget https://files.freeswitch.org/releases/freeswitch/freeswitch-1.2.23.tar.gz
tar zxvf freeswitch-1.2.23.tar.gz编译
cd /usr/src/freeswitch-1.2.23
./rebootstrap.sh
autoreconf --force --install
# sed -i s#formats/mod_shoutformats/mod_shoutg modules.conf
./configure
make make install
make sounds-install make moh-installmod_shout 单独编译
sed -i s#formats/mod_shoutformats/mod_shoutg modules.conf
./configure
cd /usr/src/freeswitch-1.2.23/src/mod/formats/mod_shout
make make install创建二个软连接方便使用
ln -sf /usr/local/freeswitch/bin/freeswitch /usr/bin
ln -sf /usr/local/freeswitch/bin/fs_cli /usr/bin最后启动貌似 OK但不是特别确定准备再来一遍。