欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

Linux中安裝oray服務(wù)的步驟

這篇文章主要介紹“Linux中安裝oray服務(wù)的步驟”,在日常操作中,相信很多人在Linux中安裝oray服務(wù)的步驟問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對大家解答”Linux中安裝oray服務(wù)的步驟”的疑惑有所幫助!接下來,請跟著小編一起來學(xué)習(xí)吧!

創(chuàng)新互聯(lián)企業(yè)建站,10多年網(wǎng)站建設(shè)經(jīng)驗,專注于網(wǎng)站建設(shè)技術(shù),精于網(wǎng)頁設(shè)計,有多年建站和網(wǎng)站代運營經(jīng)驗,設(shè)計師為客戶打造網(wǎng)絡(luò)企業(yè)風格,提供周到的建站售前咨詢和貼心的售后服務(wù)。對于成都網(wǎng)站設(shè)計、成都網(wǎng)站建設(shè)中不同領(lǐng)域進行深入了解和探索,創(chuàng)新互聯(lián)在網(wǎng)站建設(shè)中充分了解客戶行業(yè)的需求,以靈動的思維在網(wǎng)頁中充分展現(xiàn),通過對客戶行業(yè)精準市場調(diào)研,為客戶提供的解決方案。

1、首先安裝必要的開發(fā)包

[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、執(zhí)行編譯好的程序并配置(默認使用/etc/phlinux.conf,如果不存在這個文件則自動進入交互配置)

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

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

對應(yīng)的Oray帳號密碼
Password:

選擇幫定的網(wǎng)卡,如無特殊,默認即可
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):

接下來程序?qū)⒁呀换ツJ介_始運行
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、將花生殼加到系統(tǒng)啟動時運行
[root@wangheng.org ~]# vi /etc/rc.local
在文件的末尾加上一行:/usr/bin/phddns -c /etc/phlinux.conf -d

二、花生殼Linux版本命令行參數(shù)說明

[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
用于首次啟動時配置參數(shù)

–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.
后臺模式

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

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

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

到此,關(guān)于“Linux中安裝oray服務(wù)的步驟”的學(xué)習(xí)就結(jié)束了,希望能夠解決大家的疑惑。理論與實踐的搭配能更好的幫助大家學(xué)習(xí),快去試試吧!若想繼續(xù)學(xué)習(xí)更多相關(guān)知識,請繼續(xù)關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編會繼續(xù)努力為大家?guī)砀鄬嵱玫奈恼拢?/p>

網(wǎng)站題目:Linux中安裝oray服務(wù)的步驟
URL分享:http://www.chinadenli.net/article36/pespsg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供營銷型網(wǎng)站建設(shè)云服務(wù)器網(wǎng)站建設(shè)手機網(wǎng)站建設(shè)Google自適應(yīng)網(wǎng)站

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

h5響應(yīng)式網(wǎng)站建設(shè)