天天看點

Teleport堡壘機安裝部署

http://teleport.eomsoft.net

下載下傳軟體teleport-server-linux-x64-2.2.10.1.tar.gz和teleport-assist-2.2.6.1.exe

[[email protected] teleport-server-linux-x64-2.2.10.1]# tar -zxvf teleport-server-linux-x64-2.2.10.1.tar.gz

teleport-server-linux-x64-2.2.10.1/data/www/teleport/view/host/user_index.mako

teleport-server-linux-x64-2.2.10.1/data/www/teleport/view/host/admin_index.mako

teleport-server-linux-x64-2.2.10.1/data/www/teleport/view/pwd/

teleport-server-linux-x64-2.2.10.1/data/www/teleport/view/pwd/index.mako

teleport-server-linux-x64-2.2.10.1/data/www/teleport/view/auth/

teleport-server-linux-x64-2.2.10.1/data/www/teleport/view/auth/login.mako

teleport-server-linux-x64-2.2.10.1/data/www/teleport/view/auth/page_base.mako

teleport-server-linux-x64-2.2.10.1/data/www/teleport/view/log/

teleport-server-linux-x64-2.2.10.1/data/www/teleport/view/log/record-sftp-cmd.mako

teleport-server-linux-x64-2.2.10.1/data/www/teleport/view/log/record-ssh-cmd.mako

teleport-server-linux-x64-2.2.10.1/data/www/teleport/view/log/index.mako

teleport-server-linux-x64-2.2.10.1/data/www/teleport/view/log/record.mako

teleport-server-linux-x64-2.2.10.1/data/www/teleport/view/page_maintenance_base.mako

teleport-server-linux-x64-2.2.10.1/setup.sh

teleport-server-linux-x64-2.2.10.1/daemon/

teleport-server-linux-x64-2.2.10.1/daemon/stop.sh.in

teleport-server-linux-x64-2.2.10.1/daemon/start.sh.in

teleport-server-linux-x64-2.2.10.1/daemon/daemon.in

teleport-server-linux-x64-2.2.10.1/daemon/status.sh.in

teleport-server-linux-x64-2.2.10.1/script/

teleport-server-linux-x64-2.2.10.1/script/core/

teleport-server-linux-x64-2.2.10.1/script/core/utils.py

teleport-server-linux-x64-2.2.10.1/script/core/env.py

teleport-server-linux-x64-2.2.10.1/script/core/init.py

teleport-server-linux-x64-2.2.10.1/script/core/colorconsole.py

teleport-server-linux-x64-2.2.10.1/script/main.py

[[email protected] ~]# cd teleport-server-linux-x64-2.2.10.1/

[[email protected] teleport-server-linux-x64-2.2.10.1]# ls -l

total 16

drwxrwxr-x 2 500 500 4096 Mar 27 17:09 daemon

drwxrwxr-x 5 500 500 4096 Jun 7 15:32 data

drwxrwxr-x 3 500 500 4096 May 24 17:32 script

-rwxrwxr-x 1 500 500 314 Jun 7 15:32 setup.sh

[[email protected] teleport-server-linux-x64-2.2.10.1]# ./setup.sh

[]=[]

| Teleport Server Installation |

|=|

| ver: 2.2.10.1 |

| author: [email protected] |

[]===========================================================================[]

Welcome to install Teleport Server!

NOTICE: There are a few steps need you enter information or make choice,

if you want to use the default settings, just press

Enter

key.

Otherwise you need enter the highlight character to make choice.

Prepare installation…

  • check local installation … [not exists]

Set installation path [/usr/local/teleport]:

  • copy [/root/teleport-server-linux-x64-2.2.10.1/data/bin]

    -> [/usr/local/teleport/bin]

  • copy [/root/teleport-server-linux-x64-2.2.10.1/data/www]

    -> [/usr/local/teleport/www]

  • copy [/root/teleport-server-linux-x64-2.2.10.1/data/tmp/etc]

    -> [/usr/local/teleport/data/etc]

    process [daemon.in] to [/etc/init.d/teleport]

    process [start.sh.in] to [/usr/local/teleport/start.sh]

    process [stop.sh.in] to [/usr/local/teleport/stop.sh]

    process [status.sh.in] to [/usr/local/teleport/status.sh]

start services…

starting teleport core server … [done]

starting teleport web … [done]

check services status…

teleport core server is running.

teleport web server is running.

–[ ALL DONE ]–

Installation done.

請通路 http://您的堡壘機IP位址:7190 進行配置管理。預設管理者賬号 admin,預設管理者密碼 admin。

安裝完成後,請以管理者身份登入,首次安裝的系統會進行資料庫的建立和初始化操作,完成之後重新整理頁面即可進入teleport主界面。

Teleport堡壘機安裝部署
Teleport堡壘機安裝部署

安裝之前下載下傳的teleport-assist-2.2.6.1.exe到Windows機器上

Teleport服務的啟動與停止

啟動teleport服務:

sudo /etc/init.d/teleport start

停止teleport服務:

sudo /etc/init.d/teleport stop

重新啟動teleport服務:

sudo /etc/init.d/teleport restart

檢視Teleport服務的運作狀況:

sudo /etc/init.d/teleport status

WEB服務設定

預設情況下,teleport的WEB服務使用7190端口,安裝後可按如下位址通路:

http://您的堡壘機IP位址:7190

如果您需要更改預設端口号,請修改配置檔案(注意,兩個配置檔案均涉及到web端口,要一并修改)。

/usr/local/teleport/data/etc/web.ini

/usr/local/teleport/data/etc/core.ini

重要提示:修改完配置檔案後,需要重新啟動teleport服務使修改生效!