在Ubuntu下安裝wine+utorrent+VNC

來源:互聯網
上載者:User

Utorrent 大家都再熟悉不過了,可惜各大 pt 網站都不支援目前 linux 下的 utorrent server 版本,咱們只能繞個遠路,在 Linux 下虛擬下 windows 的環境,從而實現安裝 utorrent 並使用的夢想。

這是一篇基於 DEBIAN 系統的教程,由於 Ubuntu 基於 Debian, 所以基本通用。

x.org, gnome/kde/xfce & vncserver


首先,使用 root 使用者登入你的 VPS 或者其他伺服器來安裝顯示系統


apt-get install xorg

安裝好之後,我們的 VPS 就有 X11 了,但是還不能顯示,下面就選一個你自己喜歡的介面吧。 GNOME 和 KDE 是目前 Linux 主流的兩大介面, XFACE 則是輕量級的,選擇看個人喜好。

Gnome: apt-get install gnome
KDE : apt-get install kde
Xfce(light) : apt-get install xfce4


(Ubuntu 10.04 貌似會提示依賴有問題,我最終選擇了 xface)

這個步驟有可能有點慢,你可以喝杯咖啡什麼的。

好了,我們的顯示和案頭環境已經配置好了,接下去安裝vnc-server

Debian:apt-get install vncserver
Ubuntu:apt-get install vnc4server


安裝好之後你需要一個vnc 的用戶端,推薦使用tightVNC :http://www.tightvnc.com/download.html

下面我們就要啟動vncserver 了,注意,不要使用root 使用者來啟動(說是這麼說,但大部分人都很懶,反正自己的安全問題自己負責)。

vncserver -geometry 1024x768 -depth 16

- geometry 設定顯示的解析度,800x600 也可以

- depth 設定顏色位, 你也可以使用 24 真彩色,只要你覺得自己的寬頻夠寬

打完命令會要求輸入密碼,輸入6 位密碼,這個密碼就是你以後用VNC 串連的密碼。

如果一切正常,你將會得到像這樣的訊息

New 84xi:1 (root) desktop is 84xi:1

Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/84xi:1.log

好了,現在開啟你的 vnc 用戶端,輸入 你的 VPS 的 ip:1

注意 :1 不要漏了哦,否則連不上的哦, vncserver 還可以多開,之後的就是 :2 :3 。。。




如果你想要殺掉vncserver 只要輸入:

vncserver -kill :1

1 號vncserver 就被殺掉了。

wine & utorrent
好了,終於要安裝 utorrent 和 wine 了. 其實有很多途徑可以來安裝這個,我是懶人,懶人懶辦法,當然還是用包管理器啦。

安裝wine:

apt-get install wine

安裝完wine 之後,就要下載安裝utorrent 了

下載utorrent:

wget http://www.filehippo.com/download/file/61e0404010e919a4ea5c9c29c2b687ab4dab1b04dba7cbc71c3caa6cc426c35c/

能夠下載utorrent 各種版本。

有可能下載下來的檔案名稱是index.html, 沒關係,重新命名為utorrent.exe 就可以了(cp index.html utorrent.exe )

隨後輸入命令

wine utorrent.exe

熟悉的介面呈現在了你眼前,接下去,你平時怎麼用的就怎麼用咯,你甚至還可以直接安裝個firefox ,一切就像在本地一樣的操作哦。

如果你喜歡網頁操作,喜歡 webui 的話,那就下載好 webui ,然後放到這個路徑下

cd ~/.wine/drive_c/windows/profiles/<username here>/Application Data

然後開啟 utorrent 的遠程功能就可以了。要使用 webui 記得重啟 utorrent 哦。
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.