首页 > 代码库 > 记昆石VOS2009_2.1.2.0的一键安装、安装注册激活教程
记昆石VOS2009_2.1.2.0的一键安装、安装注册激活教程
安装环境: Centos 5.X
#!/bin/bash
clear
echo "*******************************************************"
echo "*****Install vos2009-2.1.2.0 Now!!!******"
echo "*******************************************************"
chmod 7777 vos20092120.zip
rm -rf /root/vos/
mkdir /root/vos
yum -y install gcc gcc-c++ bzip2 make vixie-cron flex ncurses-devel wget patch ntp libxml2 libxml2-devel libevent m4 autoconf zip unzip libjpeg libjpeg-devel gd gd-devel freetype freetype-devel libpng libpng-devel openssl openssl-devel file libtool libtool-libs gmp-devel pspell-devel parted zlib perl mod_perl-devel apr-util ftp readline-devel readline-devel apr apr-util curl-devel
clear
/usr/bin/unzip /root/vos20092120.zip -d /root/vos
chmod -R 7777 /root/vos
tar -zxvf /root/vos/apache-tomcat-5.5.15.tar.gz
mv apache-tomcat-5.5.15 /usr
rpm -ivh /root/vos/perl-DBI-1.40-5.i386.rpm
rpm -ivh /root/vos/MySQL-client-community-5.0.51a-0.rhel5.i386.rpm
rpm -ivh /root/vos/MySQL-server-community-5.0.51a-0.rhel5.i386.rpm
rpm -ivh /root/vos/jdk-1_5_0_08-linux-i586.rpm
rpm -ivh /root/vos/emp-2.1.2-0.noarch.rpm
rpm -ivh /root/vos/ivr-2.1.2-0.i586.rpm
rpm -ivh /root/vos/mbx2009-2.1.2-0.i586.rpm
rpm -ivh /root/vos/vos2009-2.1.2-0.i586.rpm
rpm -ivh /root/vos/vos2009-thirdparty-2.1.2-0.i586.rpm
mkdir /usr/kunshi/license
clear
clear
echo "*******************************************************"
echo "*****zhuce vos2009 Now!!!******"
echo "*******************************************************"
ifconfig
cd /root/vos
./vos20092120.bin
RPM Time:
1362119866
VOS Time:
1362120705
JDK Time:
1362120490
./vos20092120
Year :2030
Month :8
Day :10
MAC Address :00-0C-29-66-49-49
JDK Time :1362120490
RPM Time :1362119866
VOS Time :1362120705
IP Address :192.168.18.18
Company :8000HZ
VOS FUNC(1/0):1
IVR SERVICELIMIT:10000
MBX CALLLIMIT:10000
License Data:
拷贝屏幕上的内容存到以下文件中
/usr/kunshi/license/license.dat
然后重启整套服务
/etc/init.d/vos2009dall restart
/etc/init.d/vos2009dall restart
/etc/init.d/mbx2009d restart
/etc/init.d/ivrd restart
如果无失败,那就安装一个管理工具吧
连接上去,默认密码admin/admin
本教程可以说是一键安装,一键执行,全程不需要手动安装!
文章来源于:http://www.998voip.com/ 。
记昆石VOS2009_2.1.2.0的一键安装、安装注册激活教程