欧美一级特黄大片做受成人-亚洲成人一区二区电影-激情熟女一区二区三区-日韩专区欧美专区国产专区

rhel6.4部署gateone

檢查python版本

創(chuàng)新互聯(lián)建站專注于企業(yè)成都營銷網(wǎng)站建設(shè)、網(wǎng)站重做改版、科爾沁右翼中網(wǎng)站定制設(shè)計(jì)、自適應(yīng)品牌網(wǎng)站建設(shè)、html5、商城系統(tǒng)網(wǎng)站開發(fā)、集團(tuán)公司官網(wǎng)建設(shè)、外貿(mào)網(wǎng)站建設(shè)、高端網(wǎng)站制作、響應(yīng)式網(wǎng)頁設(shè)計(jì)等建站業(yè)務(wù),價(jià)格優(yōu)惠性價(jià)比高,為科爾沁右翼中等各大城市提供網(wǎng)站開發(fā)制作服務(wù)。

[root@kurolz gateone]# python -V
Python 2.6.6

獲取pip并安裝

[root@kurolz gateone]# wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py
[root@kurolz gateone]# python get-pip.py

安裝tornado

[root@kurolz gateone]# pip install tornado
[root@kurolz gateone]# python -c "import tornado; print(tornado.version)"
4.5.1

到git官網(wǎng)下載git

https://www.kernel.org/pub/software/scm/git/

上傳到服務(wù)器,解壓到當(dāng)前目錄

[root@kurolz ~]# ls git*
git-2.9.1.tar.gz
[root@kurolz ~]# tar -zxvf git-2.9.1.tar.gz

編譯時(shí)出錯(cuò),提示沒有c語言編譯器

[root@kurolz git-2.9.1]# ./configure
configure: Setting lib to 'lib' (the default)
configure: Will try -pthread then -lpthread to enable POSIX Threads.
configure: CHECKS for site configuration
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/git-2.9.1':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

先安裝gcc,把系統(tǒng)盤掛載上,在里面找安裝包

[root@kurolz mnt]# mkdir /mnt/cdrom
[root@kurolz mnt]# mount -t iso9660 /dev/cdrom /mnt/cdrom
mount: block device /dev/sr0 is write-protected, mounting read-only
[root@kurolz mnt]# cd /mnt/cdrom/
[root@kurolz cdrom]# ls
EFI      EULA_pt           README                    RELEASE-NOTES-it-IT.html  RELEASE-NOTES-ru-RU.html  RPM-GPG-KEY-redhat-release
EULA     EULA_zh           RELEASE-NOTES-as-IN.html  RELEASE-NOTES-ja-JP.html  RELEASE-NOTES-si-LK.html  ScalableFileSystem
EULA_de  GPL               RELEASE-NOTES-bn-IN.html  RELEASE-NOTES-kn-IN.html  RELEASE-NOTES-ta-IN.html  Server
EULA_en  HighAvailability  RELEASE-NOTES-de-DE.html  RELEASE-NOTES-ko-KR.html  RELEASE-NOTES-te-IN.html  TRANS.TBL
EULA_es  p_w_picpaths            RELEASE-NOTES-en-US.html  RELEASE-NOTES-ml-IN.html  RELEASE-NOTES-zh-CN.html
EULA_fr  isolinux          RELEASE-NOTES-es-ES.html  RELEASE-NOTES-mr-IN.html  RELEASE-NOTES-zh-TW.html
EULA_it  LoadBalancer      RELEASE-NOTES-fr-FR.html  RELEASE-NOTES-or-IN.html  repodata
EULA_ja  media.repo        RELEASE-NOTES-gu-IN.html  RELEASE-NOTES-pa-IN.html  ResilientStorage
EULA_ko  Packages          RELEASE-NOTES-hi-IN.html  RELEASE-NOTES-pt-BR.html  RPM-GPG-KEY-redhat-beta

依次安裝

[root@kurolz Packages]# rpm -ivh glibc-common-2.12-1.107.el6.x86_64.rpm      
[root@kurolz Packages]# rpm -ivh kernel-headers-2.6.32-358.el6.x86_64.rpm 
[root@kurolz Packages]# rpm -ivh libgcc-4.4.7-3.el6.x86_64.rpm       
[root@kurolz Packages]# rpm -ivh glibc-2.12-1.107.el6.x86_64.rpm       
[root@kurolz Packages]# rpm -ivh libgomp-4.4.7-3.el6.x86_64.rpm        
[root@kurolz Packages]# rpm -ivh nscd-2.12-1.107.el6.x86_64.rpm
[root@kurolz Packages]# rpm -ivh glibc-headers-2.12-1.107.el6.x86_64.rpm 
[root@kurolz Packages]# rpm -ivh glibc-devel-2.12-1.107.el6.x86_64.rpm 
[root@kurolz Packages]# rpm -ivh mpfr-2.4.1-6.el6.x86_64.rpm 
[root@kurolz Packages]# rpm -ivh ppl-0.10.2-11.el6.x86_64.rpm 
[root@kurolz Packages]# rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm 
[root@kurolz Packages]# rpm -ivh cpp-4.4.7-3.el6.x86_64.rpm 
[root@kurolz Packages]# rpm -ivh gcc-4.4.7-3.el6.x86_64.rpm 
[root@kurolz Packages]# rpm -ivh libstdc++-4.4.7-3.el6.x86_64.rpm 
[root@kurolz Packages]# rpm -ivh libstdc++-devel-4.4.7-3.el6.x86_64.rpm 
[root@kurolz Packages]# which gcc
/usr/bin/gcc
[root@kurolz Packages]# rpm -q gcc
gcc-4.4.7-3.el6.x86_64

重新編譯安裝git

[root@kurolz ~]# cd git-2.9.1    
[root@kurolz git-2.9.1]# ./configure 
configure: Setting lib to 'lib' (the default)
configure: Will try -pthread then -lpthread to enable POSIX Threads.
configure: CHECKS for site configuration
checking for gcc... gcc
checking whether the C compiler works... yes
......

make時(shí)又報(bào)錯(cuò),原因:缺少zlib頭文件,開發(fā)包沒安裝

In file included from credential-store.c:1:
cache.h:21:18: warning: zlib.h: No such file or directory
In file included from credential-store.c:1:
cache.h:23: error: expected specifier-qualifier-list before ‘z_stream’
make: *** [credential-store.o] Error 1

解決方法(依然掛載系統(tǒng)盤,找到下面2個(gè)安裝包安裝):

[root@kurolz Packages]# rpm -ivh zlib-1.2.3-29.el6.x86_64.rpm 
[root@kurolz Packages]# rpm -ivh zlib-devel-1.2.3-29.el6.x86_64.rpm

重新make成功

[root@kurolz git-2.9.1]# make
    GEN config.status
/bin/sh: autoconf: command not found
    CC credential-store.o
    * new link flags
    CC abspath.o
    CC advice.o
    CC alias.o
    CC alloc.o
    ......
    GEN bin-wrappers/test-urlmatch-normalization
    GEN bin-wrappers/test-wildmatch
    GEN git-remote-testgit
[root@kurolz git-2.9.1]# sudo make install

git安裝成功

[root@kurolz ~]# git --version
git version 2.9.1

下面獲取gateone源碼進(jìn)行安裝,報(bào)錯(cuò),因?yàn)間it環(huán)境沒有安裝完全

[root@kurolz ~]# git clone https://github.com/liftoff/GateOne.git
正克隆到 'GateOne'...
fatal: Unable to find remote helper for 'https'

解決方法,暫時(shí)用git代替https:

[root@kurolz ~]# git clone git://github.com/liftoff/GateOne.git
[root@kurolz ~]# cd GateOne

發(fā)現(xiàn)這個(gè)包執(zhí)行不下去報(bào)錯(cuò)原因沒找到,我到

https://github.com/downloads/liftoff/GateOne/gateone-1.1-1.noarch.rpm

重新下了個(gè)包

[root@kurolz ~]# tar -zxvf gateone-1.1-1.noarch.rpm
[root@kurolz ~]# cd gateone

報(bào)錯(cuò),原因tornado版本不對(duì):

[root@kurolz gateone]# ./gateone.py 
Traceback (most recent call last):
  File "./gateone.py", line 289, in <module>
    tornado.options.enable_pretty_logging()
AttributeError: 'module' object has no attribute 'enable_pretty_logging'
[root@kurolz gateone]# python -c "import tornado; print(tornado.version)"
4.4.1

解決方法,安裝2.4版本的tornado:

[root@kurolz ~]wget https://pypi.python.org/packages/2d/9a/38e855094bd11cba89cd2a50a54c31019ef4a45785fe12be6aa9a7c633de/tornado-2.4.tar.gz
[root@kurolz ~]# tar zxvf tornado-2.4.tar.gz
[root@kurolz ~]# cd tornado-2.4
[root@kurolz tornado-2.4]# python  setup.py build
[root@kurolz tornado-2.4]# python2 setup.py install
[root@kurolz tornado-2.4]# python -c "import tornado; print(tornado.version)"
2.4

啟動(dòng)成功:

[root@kurolz gateone]# ./gateone.py 
[I 170518 19:43:11 gateone:2748] /opt/gateone/server.conf not found or missing cookie_secret.  A new one will be generated.
[W 170518 19:43:11 gateone:2893] dtach command not found.  dtach support has been disabled.
[I 170518 19:43:11 gateone:2917] Connections to this server will be allowed from the following origins: 'http://localhost https://localhost http://127.0.0.1 https://127.0.0.1'
[I 170518 19:43:11 gateone:2957] No SSL private key found.  One will be generated.
[I 170518 19:43:13 gateone:2307] No authentication method configured. All users will be ANONYMOUS
[I 170518 19:43:13 gateone:2404] Loaded plugins: bookmarks, convenience, example, help, logging, logging_plugin, mobile, notice, playback, ssh
[I 170518 19:43:13 gateone:3054] Listening on 
[I  170518  19:43:13  gateone:3060]  Process running with pid 2630

發(fā)現(xiàn)用WAN的ip訪問不了,Ctrl+C,編輯配置文件,修改允許訪問的IP地址,以‘;’隔開

[root@kurolz gateone]# vim server.conf


origins = "http://localhost;https://localhost;http://127.0.0.1;https://127.0.0.1;https://192.168.20.128;https://192.168.10.10"

重新啟動(dòng)gateone

[root@kurolz gateone]# ./gateone.py 
[W 170518 19:57:01 gateone:2893] dtach command not found.  dtach support has been disabled.
[I 170518 19:57:01 gateone:2917] Connections to this server will be allowed from the following origins: 'http://localhost https://localhost http://127.0.0.1 https://127.0.0.1 https://192.168.20.128 https://192.168.10.10'
[I 170518 19:57:01 gateone:2307] No authentication method configured. All users will be ANONYMOUS
[I 170518 19:57:01 gateone:2404] Loaded plugins: bookmarks, convenience, example, help, logging, logging_plugin, mobile, notice, playback, ssh
[I 170518 19:57:01 gateone:3054] Listening on https://*:443/
[I 170518 19:57:01 gateone:3060] Process running with pid 2630

瀏覽器連接成功:

rhel6.4部署gateone

[root@kurolz gateone]# ./gateone.py 
[W 170518 19:57:01 gateone:2893] dtach command not found.  dtach support has been disabled.
[I 170518 19:57:01 gateone:2917] Connections to this server will be allowed from the following origins: 'http://localhost https://localhost http://127.0.0.1 https://127.0.0.1 https://192.168.20.128 https://192.168.10.10'
[I 170518 19:57:01 gateone:2307] No authentication method configured. All users will be ANONYMOUS
[I 170518 19:57:01 gateone:2404] Loaded plugins: bookmarks, convenience, example, help, logging, logging_plugin, mobile, notice, playback, ssh
[I 170518 19:57:01 gateone:3054] Listening on https://*:443/
[I 170518 19:57:01 gateone:3060] Process running with pid 2630
[I 170518 19:57:11 web:1462] 302 GET / (192.168.10.1) 1.16ms
[I 170518 19:57:11 auth:181] Creating user directory: /opt/gateone/users/ANONYMOUS
[I 170518 19:57:11 web:1462] 302 GET /auth?next=%2F (192.168.10.1) 4.19ms
[I 170518 19:57:11 web:1462] 200 GET / (192.168.10.1) 31.56ms
[I 170518 19:57:11 web:1462] 200 GET /static/gateone.css (192.168.10.1) 55.38ms
[I 170518 19:57:11 web:1462] 200 GET /static/gateone.js (192.168.10.1) 53.57ms
[I 170518 19:57:11 web:1462] 200 GET /combined_js (192.168.10.1) 58.23ms
[I 170518 19:57:11 web:1462] 200 GET /static/favicon.ico (192.168.10.1) 1.53ms
[I 170518 19:57:11 web:1462] 200 GET /auth?check=True (192.168.10.1) 2.47ms
[I 170518 19:57:11 gateone:1063] WebSocket opened (ANONYMOUS).
[I 170518 19:57:12 web:1462] 200 GET /static/bookmarks/p_w_picpaths/star.svg (192.168.10.1) 5.14ms
[I 170518 19:57:12 web:1462] 200 GET /static/ubuntumono-normal.woff (192.168.10.1) 8.31ms

一旦Ctrl+c就不能連接登錄了,所以我們需要后臺(tái)運(yùn)行,啟動(dòng)gateone的服務(wù),并且開機(jī)啟動(dòng)

[root@kurolz gateone]# service gateone start
Starting Gate One:                                         [確定]
[root@kurolz gateone]# chkconfig gateone on

至此簡單的gateone部署完成

本人還是學(xué)生,還在學(xué)習(xí)階段,有問題或不必要的操作還希望大家指出,感激不盡!

當(dāng)前名稱:rhel6.4部署gateone
文章路徑:http://www.aaarwkj.com/article30/ipdipo.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供軟件開發(fā)、手機(jī)網(wǎng)站建設(shè)、云服務(wù)器、品牌網(wǎng)站制作、網(wǎng)站營銷App設(shè)計(jì)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

綿陽服務(wù)器托管
久久精品一区二区日韩| 性知音国产精品粉色视频| 欧美伊人久久综合成人网| 国产精品欧美一区久久| 国产91九色在线播放| 人妻av在线中文字幕| 亚洲精品国产第一区| 色偷拍亚洲偷自拍二区| 一区二区先锋深夜中文字幕| 下载一个日韩暴力黄色录像| 蜜臀视频在线观看免费| 国产女孩精品在线播放| 成人免费在线国产视频| 亚洲午夜一区二区不卡| 啊啊啊用力好大视频| 亚洲精品一区二区播放| 久久精品一区二区熟女| 亚洲成人高清在线视频| 精华国产一区二区三区| 色噜噜人妻av中文字幕| 欧美黄色影院在线观看| 久久免费看少妇高潮免费| 日韩中字伦理熟妇人妻| 亚洲av偷拍一区二区三区不卡| 少妇高潮一区二区三区99| 欧美日韩亚洲视频二区| 国产精品国语对白av处女| 欧美伊人久久综合成人网| 播放欧美日韩特黄大片| 国产一区二区av免费| 91精品大片免费在线观看| 久久亚洲精品国产精品黑人| 婷婷久久香蕉毛片毛片| 日本中文字幕一二三四区| 国产亚洲国产av网站在线| 国产精品白嫩初高中害羞小美女| 免费成人激情在线电影| 成人爱爱视频免费观看| 日韩亚洲人成网站在线播放| 亚洲av毛片在线网站| 亚洲中文字幕第三页在线观看|