Teleport堡垒机安装部署

http://teleport.eomsoft.net
下载软件teleport-server-linux-x64-2.2.10.1.tar.gz和teleport-assist-2.2.6.1.exe
[root@Test1 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

[root@Test1 ~]# cd teleport-server-linux-x64-2.2.10.1/
[root@Test1 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
[root@Test1 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-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服务使修改生效!

猜你喜欢

转载自blog.csdn.net/xiaohuibin0541/article/details/83444476
今日推荐