歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux基礎知識 >> Linux管理應用技巧 amulecmd的使用方法

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

日期:2017/3/2 15:47:38   编辑:Linux基礎知識
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

Copyright © Linux教程網 All Rights Reserved