Linux管理應用技巧 amulecmd的使用方法

來源:互聯網
上載者:User

 

amulecmd是aMule的命令列操作與管理程式。

首先,為了擁有amuled 與 amulecmd 兩個可執行檔,要在編譯的時候指定:

# ./configure --enable-amulecmd --enable-amule-daemon

必須把一個用md5加密過的密碼寫在設定檔中,實際上執行amulecmd的時候不要求輸入密碼驗證,但如果amulecmd問密碼,那麼一定是沒有設定。

# echo -n "password" | md5sum

填上 ~/.aMule/amule.conf 中的下面兩行:

AcceptExternalConnections=1

ECPassword=xxxxxxxxxxxxxxxxxxxxxxxxxxxx

產生remote.conf檔案:

# amulecmd --create-config-from=~/.aMule/amule.conf

運行守護進程:

# amuled -f

運行管理程式:

# amulecmd

This is amulecmd SVN Sun Apr 27 07:01:42 CEST 2008

Creating client...

Succeeded! Connection established to aMule SVN

---------------------------------------

| aMule text client |

---------------------------------------

Use Help for command list

aMulecmd$

出現了提示符aMulecmd$ ,下面添加伺服器:

aMulecmd$ add ed2k://|server|85.17.52.124|5000|

> Operation was successful.

aMulecmd$ add ed2k://|server|85.17.52.92|5000|

> Operation was successful.

串連:

aMulecmd$ connect

> Connecting to ED2K...

> Connecting to Kad...

查看狀態:

aMulecmd$ status

> ED2K: Connected to 85.17.52.124 [85.17.52.124:5000] with HighID

> Kad: Not connected

> Download: 0 bytes/sec

> Upload: 13 bytes/sec

> Clients in queue: 0

> Total sources: 0

已經串連成功。可以象添加伺服器那樣用add來添加ed2k檔案了。

查看上傳及下載情況:

aMulecmd$ show dl

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.