Linux Mint系統下Gate One的安裝指南

來源:互聯網
上載者:User

Linux Mint系統下Gate One的安裝指南

1. Gate One簡介

前面有兩個隨筆介紹過開源軟體tty.js和wetty在Linux的安裝。Tty.js和wetty都是採用Node.js實現的開源Web-based ssh。今天來介紹另一個開源Web-based ssh在Linux下的安裝:Gate One。

Gate One在後台進程是使用Python實現的,其前端則是JaveScript+WebSockets。關於Gate One的介紹、源碼和文檔請參考下面的連結。

Gate One首頁:http://liftoffsoftware.com/Products/GateOne

Gate One源碼:https://github.com/liftoff/GateOne

Gate One文檔:http://liftoff.github.io/GateOne/

2. Gate One安裝

Gate One要求系統必須滿足下面兩個前提條件,

(1)python: 2.6+ or 3.2+

(2)Tornado Framework 2.2+

2.1系統內容準備

在命令列終端中輸入命令

$ python -V

查看你本機是否安裝了python,如果先安裝python。

然後安裝pip,

$ wget  --no-check-certificate https://bootstrap.pypa.io/get-pip.py

$ sudo python get-pip.py

安裝tornado,

$ sudo pip install tornado

安裝完成之後,我們來驗證一下我們的環境,

$ python -V

$ python -c "import tornado; print(tornado.version)"

2.2 Gate One擷取和安裝

如果本地沒有安裝git,則先安裝git,

$ sudo apt-get install git

擷取Gate One源碼並進行安裝,

$ git clone https://github.com/liftoff/GateOne.git

$ cd GateOne

$ sudo python ./setup.py install

3. Gate One驗證

Gate One的設定檔是/etc/gateone/conf.d/10server.conf,我們採用預設的配置來驗證即可。運行下面命令啟動Gate One服務進程,

$ sudo gateone

啟動後,通過列印的資訊,我們看到Gate One服務監聽了443連接埠號碼,然後在瀏覽器中輸入https://127.0.0.1:443/即可開啟gateone的網頁。

然後點擊中間的Terminal表徵圖登陸某台機器,

(done)

本文永久更新連結地址:

聯繫我們

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