天天看點

centos安裝飛信最新版

linux下飛信安裝詳細過程 安裝過程

首先是下載下傳包  包名是fetion20091117-linux.tar.gz

http://www.it-adv.net/fetion/downng/fetion20091117-linux.tar.gz 包下載下傳位址

本機環境安裝到獨立的目錄

[root@10vps ~]# mkdir /feixin

上傳到這個目錄中

cd /feixin

[root@10vps feixin]# tar -zxvf fetion20091117-linux.tar.gz

[root@10vps feixin]# cd fx

[root@10vps feixin]# ./fetion

./fetion: error while loading shared libraries: libACE-5.7.2.so: cannot open shared object file: No such file or directory

[root@10vps fx]# cp libACE-5.7.2.so /lib/

[root@10vps fx]# ./fetion

./fetion: error while loading shared libraries: libACE_SSL-5.7.2.so: cannot open shared object file: No such file or directory

[root@10vps fx]# cp libACE_SSL-5.7.2.so /lib

./fetion: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory

[root@10vps fx]# cp libssl.so.4 /lib

./fetion: error while loading shared libraries: libcrypto.so.4: cannot open shared object file: No such file or directory

[root@10vps fx]# cp libcrypto.so.4 /lib/

上面的意思也就是lib裡面缺少這幾個檔案直接拷貝即可,我隻是把出錯過程也記錄下來,檔案就在下載下傳的軟體包裡

出現下面的界面表示飛信安裝成功了已經可以運作了

************************ IMPORTANT STATEMENT ************************

**                                                                 **

**   PLEASE DON’T USE THIS SOFTWARE TO SEND JUNK SHORT MESSAGES.   **

**   OTHERWISE PLEASE BEAR YOUR OWN CONSEQUENCES.                  **

**                                Version:[20091117002-linux]      **

*********************************************************************

This program is the console version of China Fetion!

It’s free for personal user.

This project website: http://www.it-adv.net/

AUTHOR:KelvinH MSN/EMAIL:[email protected]

Usage:

    –mobile=[mobile]

    –sid=[sid]

    –pwd=[pwd]

    –config=[config file] *format:index mobile password

    –index=[index no in config file,refer to sample.conf]

    –debug  *debug mode on

    –hide  *login fetion in hidden state

    –to=[mobile/sid]

    –add=[uri]

    –command-path=[command file path]

    –robotmode

    –daemon(linux only)

    –proxy-ip(http proxy ip)

    –proxy-port(http proxy port)

    –msg-gb=[gb2312/gbk message]

    –msg-utf8=[utf8 message]

    –msg-type=[0/1/2/3 sms longsms smartmsg mms]

    –file-gb=[gb2312/gbk file]

    –file-utf8=[utf8 file]

    –query-cmcc-no

    –testaccount

    –auto-retry

    –get-web-session

    –action=getpiccode –mobile=13910000000 –pwd=[pwd] (–piccode-url=[url])

    –action=appsubscribe –mobile=[mobile] –pwd=[pwd] –pic-certificate-id=[certid] –pic-cert-code=[certcode] –apply-sub-service-url=[url]

    –action=subscribe –mobile=[mobile] –pwd=[pwd] –sms-code=[smscode] –subscribe-url=[url]

    –action=updatepwd –mobile=[mobile] –pwd=[pwd] –sms-code=[smscode] –update-pwd-url=[url]

此時即可用下面的指令發送資訊了,達到的效果和飛信一樣 ,134的使用者也就你本人給159的好友發送消息成功(要加了好友才可以發)

[root@10vps feixin]# ./fetion –mobile=134******** –pwd=password –to=159******** –msg-utf8=10vps-test

除此之外你還可以直接發送txt檔案内的内容給你的好友發送方法見下

[root@10vps feixin]# vi /tmp/10vps-test.txt

内容随便寫   10vps-test 儲存後 直接發送即可

[root@10vps feixin]# ./fetion –mobile=158******** –pwd=password –to=159********  –file-utf8=/tmp/10vps-test.txt

發送後好友即可收到你發的資訊

後期還可以使用互動的腳本來使用短信重新開機apache

測試中!

繼續閱讀