好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > Linux中安裝oray服務的步驟分享

Linux中安裝oray服務的步驟分享

熱門標簽:美圖手機 長春外呼系統價格 聯客智能語音外呼系統賬號格式 長沙智能外呼系統中心 電銷機器人的效果 南寧智能外呼系統線路商 成都移動外呼系統 佛山外呼系統平臺 南昌語音外呼系統代理

1、首先安裝必要的開發包

[root@wangheng.org ~] apt-get install gcc g++ automake autoconf

2、下載phddns-2.0.2.16556.tar.gz到某一個目錄

[root@wangheng.org ~]# wget http://download.oray.com/peanuthull/phddns-2.0.2.16556.tar.gz

3、解壓所有文件

[root@wangheng.org ~]# tar zxvf phddns-2.0.2.16556.tar.gz

4、進入目錄并編譯
[root@wangheng.org ~]# cd phddns-2.0.2.16556
[root@wangheng.org phddns-2.0.2.16556]# aclocal
[root@wangheng.org phddns-2.0.2.16556]# autoconf
[root@wangheng.org phddns-2.0.2.16556]# automake
[root@wangheng.org phddns-2.0.2.16556]# ./configure
[root@wangheng.org phddns-2.0.2.16556]# make
[root@wangheng.org phddns-2.0.2.16556]# cd src
[root@wangheng.org src]# ls -l phddns
-rwxr-xr-x 1 root root 80968 Aug 2 11:18 phddns

5、執行編譯好的程序并配置(默認使用/etc/phlinux.conf,如果不存在這個文件則自動進入交互配置)

[root@wangheng.org src]# ./phddns
輸入服務器地址,如無特殊情況可使用默認值
Enter server address(press ENTER use phlinux3.oray.net):

輸入您的Oray帳號名稱
Enter your Oray account:

對應的Oray帳號密碼
Password:

選擇幫定的網卡,如無特殊,默認即可
Network interface(s):
eth0:192.168.141.18
lo:127.0.0.1
Choose one(default eth0):

選擇日志保存到哪個文件
Log to use(default /var/log/phddns.log):

保存配置文件,選擇yes則直接保存到/etc/phlinux.conf,輸入other可以指定文件
Save to configuration file (/etc/phlinux.conf)?(yes/no/other):

接下來程序將已交互模式開始運行
192.168.141.18
NIC bind success
OnStatusChanged okConnecting
OnStatusChanged okDomainListed
OnDomainRegistered skyvense22.gicp.net
OnStatusChanged okDomainsRegistered
UserType: 0
看到上面這些就表示登錄成功,這個時候可以按ctrl+c先退出程序


6、將phddns拷貝到你希望的位置
[root@wangheng.org src]# cp phddns /usr/bin/

7、以后臺模式啟動花生殼并檢查運行情況

[root@wangheng.org ~]# /usr/bin/phddns -c /etc/phlinux.conf -d
phlinux started as daemon!
[root@wangheng.org ~]# tail /var/log/phddns.log
2011/08/02 11:28:58.256| ExecuteUpdate OK, BeginKeepAlive!
2011/08/02 11:29:59.354| SendKeepAlive() 8208
2011/08/02 11:30:00.355| RecvKeepaliveResponse() Data comes, OPCODE:8272
2011/08/02 11:30:00.356| Keepalive response received, client ip: 116.***.123.96
2011/08/02 11:31:00.447| SendKeepAlive() 8208
2011/08/02 11:31:01.450| RecvKeepaliveResponse() Data comes, OPCODE:8272
2011/08/02 11:31:01.450| Keepalive response received, client ip: 116.***.123.96

8、退出花生殼

查看進程ID
[root@wangheng.org ~]# ps -A | grep phddns
13731 ? 00:00:00 phlinux
讓后臺進程退出
[root@wangheng.org ~]# kill -9 13731

9、將花生殼加到系統啟動時運行
[root@wangheng.org ~]# vi /etc/rc.local
在文件的末尾加上一行:/usr/bin/phddns -c /etc/phlinux.conf -d

二、花生殼Linux版本命令行參數說明

[root@wangheng.org ~]# /usr/bin/phlinux -h
Peanuthull Linux-core 2.0 by oray.com, copyright 2011
Peanuthull Linux-core Help
–first-run
-f, run for the first time
用于首次啟動時配置參數

–interact
-i, run as interactive mode
program will request for necessary parameters.
this mode will automatically enabled at first running,
or your configuration file has been lost.
啟動交互模式

–daemon
-d, run as a daemon
program will quit after put itself to background,
and continue running even you logout,
you can use kill -9 PID> to terminate.
后臺模式

–config
-c, run with configuration file
program will run with the file
指定使用哪一個配置文件

–user
-u, run as the user
program will run as the user
以指定用戶啟動后臺進程

–help
-h, print this screen.
Please visit http://www.oray.com for detail.

轉載自王恒的博客

標簽:邵陽 云浮 新鄉 東營 慶陽 法律服務 沈陽 阜陽

巨人網絡通訊聲明:本文標題《Linux中安裝oray服務的步驟分享》,本文關鍵詞  Linux,中,安裝,oray,服務,的,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《Linux中安裝oray服務的步驟分享》相關的同類信息!
  • 本頁收集關于Linux中安裝oray服務的步驟分享的相關信息資訊供網民參考!
  • 推薦文章