自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

LinuxMint系統(tǒng)下Gate One的安裝指南

大數(shù)據(jù)
前面有兩個(gè)隨筆介紹過開源軟件tty.js和wetty在Linux的安裝。Tty.js和wetty都是采用Node.js實(shí)現(xiàn)的開源Web-based ssh。今天來介紹另一個(gè)開源Web-based ssh在Linux下的安裝:Gate One。

 

1. Gate One簡(jiǎn)介

前面有兩個(gè)隨筆介紹過開源軟件tty.jswetty在Linux的安裝。Tty.js和wetty都是采用Node.js實(shí)現(xiàn)的開源Web-based ssh。今天來介紹另一個(gè)開源Web-based ssh在Linux下的安裝:Gate One。

 Gate One在后臺(tái)進(jìn)程是使用Python實(shí)現(xiàn)的,其前端則是JaveScript+WebSockets。關(guān)于Gate One的介紹、源碼和文檔請(qǐng)參考下面的鏈接。

 Gate One主頁(yè):http://liftoffsoftware.com/Products/GateOne

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

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

2. Gate One安裝

Gate One要求系統(tǒng)必須滿足下面兩個(gè)前提條件,

  (1)python: 2.6+ or 3.2+

  (2)Tornado Framework 2.2+

2.1系統(tǒng)環(huán)境準(zhǔn)備

在命令行終端中輸入命令

$ python -V

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

然后安裝pip,

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

安裝tornado

$ sudo pip install tornado

安裝完成之后,我們來驗(yàn)證一下我們的環(huán)境,

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

2.2 Gate One獲取和安裝

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

$ sudo apt-get install git

獲取Gate One源碼并進(jìn)行安裝,

$ git clone https://github.com/liftoff/GateOne.git
$ cd GateOne $ sudo python ./setup.py install

3. Gate One驗(yàn)證

Gate One的配置文件是/etc/gateone/conf.d/10server.conf,我們采用默認(rèn)的配置來驗(yàn)證即可。運(yùn)行下面命令啟動(dòng)Gate One服務(wù)進(jìn)程,

$ sudo gateone

 

啟動(dòng)后,通過打印的信息,我們看到Gate One服務(wù)監(jiān)聽了443端口號(hào),然后在瀏覽器中輸入https://127.0.0.1:443/即可打開gateone的網(wǎng)頁(yè)。

然后點(diǎn)擊中間的Terminal圖標(biāo)登陸某臺(tái)機(jī)器,

 

(done)

責(zé)任編輯:李英杰 來源: 博客園
相關(guān)推薦

2015-10-16 10:48:03

Gate One嵌入Web

2011-04-02 14:21:45

MRTGWINDOWS安裝

2011-11-16 10:46:38

Linux系統(tǒng)

2010-06-01 10:26:49

MySQL安裝

2010-05-17 11:24:33

2011-01-11 16:00:13

Linux軟件安裝

2009-05-11 15:58:32

Linux軟件卸載

2016-12-01 20:02:39

2018-04-25 06:46:52

2020-09-13 09:19:10

LinuxPython3.6庫(kù)

2010-03-30 18:21:38

CentOS系統(tǒng)

2013-02-22 11:25:27

UbuntuUbuntu移動(dòng)操作系

2021-10-08 08:59:32

CentOSAll-in-One KubeSphere

2010-05-17 13:11:07

Subversion安

2016-10-27 13:25:08

LinuxMySQL安裝

2011-01-05 10:32:31

linuxqq

2011-03-09 16:16:56

CentOSLAMP

2022-09-26 14:10:46

LinuxWindows

2024-03-13 08:11:39

2010-05-25 14:57:17

postfix安裝配置
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)