Cent OS 5 安装飞信机器人(Fetion Robt) 发送短信、错误警报
飞信机器人介绍
飞信机器人是国内第一款面向企业应用的第三方飞信产品:
1、高效CLI(命令行)操作方式
2、高效C++语言开发
3、跨平台应用(X86下LINUX/WINDOWS,其它平台请联系定制服务)
4、插件支持,完全开放的插件接口,用户通过重写插件,可以实现自己的应用
5、支持批处理运行
6、支持SOCKET调用(查看socket_interface/demo)下代码
7、内部集成小型WEB服务器,支持WEB状态查询及交互
8、软件完全免费
新版交互式飞信安装方法
开始我下载的是64位的,但是报错:bash: ./fetion: cannot execute binary file,后来安装Redhat32位的,问题得到解。
下载安装程序:
fetion20080522004-linrh4tar
libraryrh4x32tar
cd /usr/local wget http://www.it-adv.net/fetion/download/fetion20080522004-linrh4.tar.gz tar xf fetion20080522004-linrh4.tar.gz mv install sms rm fetion20080522004-linrh4.tar.gz
安装支持库:
cd fetion mkdir lib wget http://www.it-adv.net/fetion/libraryrh4x32.tar.gz tar xf libraryrh4x32.tar.gz rm libraryrh4x32.tar.gz ln -s /usr/local/sms/lib/libcrypto.so.0.9.7a /usr/local/fetion/lib/libcrypto.so.4 ln -s /usr/local/sms/lib/libssl.so.0.9.7a /usr/local/fetion/lib/libssl.so.4 echo "/usr/local/sms/lib" > /etc/ld.so.conf.d/fetion-i386.conf /sbin/ldconfig
开始使用
看看帮助信息,很有必要
./fetion -h ************************ IMPORTANT STATEMENT ************************ ** ** ** PLEASE DON'T USE THIS SOFTWARE TO SEND JUNK SHORT MESSAGES. ** ** OTHERWISE PLEASE BEAR YOUR OWN CONSEQUENCES. ** ** ** ** Version:[20080522004-linrh4] ** ********************************************************************* This program is the console version of China Fetion! It's free for personal user. Fetion official website: http://www.fetion.com.cn/ This project website: http://www.it-adv.net/ AUTHOR:KelvinH MSN/EMAIL:shichangguo@msn.com Usage: fetion -h -h: help fetion -u mobile -p pwd [-b batchfile] [-EN] [-d] fetion -u mobile -p pwd [-b batchfile] [-EN] [-d] -u: Fetion user account(only supports mobile phone No.) -p: Account password -b: Batch file name -d: Debug on and write logs to [mobile]-debug.log -EN: English
连接
./fetion -u 15800xxxx -p xxxx 登录... *********************************************************************************** WEB服务连接: http://localhost:40000/, 请用IE/Firefox直接打开访问. *********************************************************************************** 713xxxx@[15800xxxxx]>> ..............加载好友列表......................... 请输入help或? 获取命令列表,quit或exit 退出系统 713xxxx@[15800xxxxx]>>
发送:
713xxxxx@[158xxxxx]>> sms 15800353332 "服务器免费短信测试1" 713xxxxx@[158xxxxx]>> *********************************************************************************** 发送到[ 158xxxxx2]的短信成功 ***********************************************************************************
旧版本安装:
程序下载
fetion_linux_20080402tar
wget http://www.it-adv.net/fetion/fetion_linux_20080402.tar.gz tar xf fetion_linux_20080402.tar.gz ./sms -f 158xxxxxx -p xxxxxx -t 158xxxxxxxx -m 测试信息 [Mon Jan 19 14:39:50 2009] :) Send msg to 15800353332 ok!


还没有评论