[freebsd] bsd底下的 p2p
官方網站http://mldonkey.berlios.de/
1.安裝
segaa [ /etc ] $ cd /usr/ports/net-p2p/mldonkey
segaa [ /usr/ports/net-p2p/mldonkey ] $ make WITHOUT_GUI=yes install clean
segaa [ /usr/ports/net-p2p/mldonkey ] $ rehash
2.啟動
a)建立使用目錄
mkdir /home/p2p
b)啟動
cd /home/p2p
1)前景(斷線就停止)
mlnet
2)背景(除非重開機)
mlnet-real &
c)結束
1)前景按ctrl+c
2)背景,用ps-aux查詢PID之後再kill -9 PID即可
3.進入
http://localhost:4080/
telnet://localhost:4000/
4.使用方法
a)加入下載
dllink + ed2k://xxxx/ //ed2k加入法
dllink + http://xxxx/xxx.torrent //BT加入法
b)觀看進度
vd
c)取消下載
cancel ID //Download List的ID
d)查詢
?
e)離開
q
5.路徑
incoming/ 下載完畢放置的目錄
temp/ 暫存目錄
temp/ 暫存目錄
torrent/ 放置種子的目錄
如果要有Windowns 底下的GUI介面
請上 http://sancho-gui.sourceforge.net/download.phtml
補充: 如果make 發生錯誤
segaa [ /usr/ports/net-p2p/mldonkey ] $ make clean
On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE by itself so please help it a bit by setting X11BASE=${LOCALBASE} in make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set variable USE_NONDEFAULT_X11BASE.
*** Error code 1
解決X11BASE=${LOCALBASE}問題
就出下面的错误就出下面的錯誤
# make install
On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE by itself so please help it a bit by setting X11BASE=${LOCALBASE} in make.conf. On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE by itself so please help it a bit by setting X11BASE=${LOCALBASE} in make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set variable USE_NONDEFAULT_X11BASE. On the other hand, if you do wish to use non-default X11BASE, please set variable USE_NONDEFAULT_X11BASE.
*** Error code 1
*** Error code 1
這個訊息其實很容易就可以解決
就如同提示所言
在 /etc/make.conf
裡面加入
X11BASE=${LOCALBASE}
即可
« [敗家] Nokia 6267 | Main | [手紮] 腳踏車 »