您的位置 首页 golang

基于centos7系统下的跳板机jumpserver安装部署教程–第一部分

概述

前面已经介绍了jumpserver的一些概念,今天主要分享如何去搭建jumpserver 跳板机 ,下面一起来看看吧~


组件说明

  • Jumpserver 为管理后台, 管理员可以通过 Web 页面进行资产管理、用户管理、资产授权等操作, 用户可以通过 Web 页面进行资产登录, 文件管理等操作
  • Coco 为 SSH Server 和 Web Terminal Server 。用户可以使用自己的账户通过 SSH 或者 Web Terminal 访问 SSH 协议和 Telnet 协议资产
  • Luna 为 Web Terminal Server 前端页面, 用户使用 Web Terminal 方式登录所需要的组件
  • Guacamole 为 RDP 协议和 VNC 协议资产组件, 用户可以通过 Web Terminal 来连接 RDP 协议和 VNC 协议资产 (暂时只能通过 Web Terminal 来访问)

端口说明

  • Jumpserver 默认端口为 8080/ tcp 配置文件 jumpserver/config.yml
  • Coco 默认 SSH 端口为 2222/tcp, 默认 Web Terminal 端口为 5000/tcp 配置文件在 coco/config.yml
  • Guacamole 默认端口为 8081/tcp, 配置文件 /config/tomcat8/conf/server.xml
  • nginx 默认端口为 80/tcp
  • Redis 默认端口为 6379/tcp
  • Mysql 默认端口为 3306/tcp

ProtocolServer namePortTCPJumpserver8080TCPCoco2222, 5000TCPGuacamole8081TCPDb3306TCPRedis6379TCPNginx80


环境

  • 系统: CentOS 7
  • IP: 172.16.10.123
  • 目录: /opt
  • 数据库: mariadb
  • 代理: nginx

一、nginx代理部署

1、关闭防火墙和 SELINUX

1.1、设置防火墙

systemctl stop firewalld. service 
systemctl disable firewalld.service
systemctl list-unit-files|grep firewalld
 

1.2、设置 selinux

setenforce 0
sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config
 

2、配置 yum 并升级

for i in /etc/yum.repos.d/*.repo;do cp $i ${i%.repo}.bak;done;rm -rf /etc/yum.repos.d/*.repo
wget -P /etc/yum.repos.d/  >/dev/null 2>&1
yum clean all;yum repolist
#安装基本依赖
yum update -y>/dev/null && yum install  wget  unzip epel-release gcc automake zlib-devel openssl-devel yum-utils git -y >/dev/null 2>&1
 

3、获取 epel-release 源

yum -y install epel-release
 

4、安装nginx

sudo rpm -Uvh 
yum -y install nginx
systemctl enable nginx
 

5、安装luna

wget  tar .gz -O /opt/luna.tar.gz
tar -xvf /opt/luna.tar.gz -C /opt
# 如果网络有问题导致下载无法完成可以使用下面地址
#wget 
 


二、数据库部署

1、安装mariadb

cat >/etc/yum.repos.d/mariadb.repo << EOF 
[mariadb]
name = MariaDB
baseurl = 
gpgkey=
gpgcheck=1
EOF
yum clean all;yum makecache;yum repolist
yum install mariadb mariadb-devel mariadb-server mariadb-common -y
 

2、数据初始化

systemctl start mariadb #初始化
mysql_secure_installation # 推荐设置 root 密码, 其他选项可以全部 y
systemctl stop mariadb
 

3、创建 Jumpserver 数据库及授权

systemctl start mariadb
mysql -uroot -p
create database jumpserver default charset 'utf8';
grant all on jumpserver.* to 'jumpserver'@'*' identified by 'fswl@1234';
grant all on jumpserver.* to 'jumpserver'@'localhost' identified by 'fswl@1234';
flush privileges;
quit
 

篇幅有限,这里主要介绍nginx和mariadb部分,后面会分享更多jumpserver搭建方面的内容,感兴趣的朋友可以关注一下~

文章来源:智云一二三科技

文章标题:基于centos7系统下的跳板机jumpserver安装部署教程–第一部分

文章地址:https://www.zhihuclub.com/98515.shtml

关于作者: 智云科技

热门文章

评论已关闭

1条评论

  1. grossir peniss eos ramazzottii annd andrea bocelli railee dean nakedd pihtures movie shark ivanna fucck a lott naked tteens onn beach mari sexyy wwe female orgasm compliation.
    dick genthe dealership asian eeu humanitarian solidarity beautiful thai ladies iin the
    nude find tthe hidden objects nude parent brochure sexjal abuse services free amater pporn posts free vaginal birth clips.

    free anal plrn thumbnails nde body paiht zeba gallerry bingham
    nwked picc trfaci kimberly holland fucked amateuur teens firstt anal ssex chihese teens amatteur ideos makham lingerie.

    passing out orgasm wwee naked superstars bave fuck wilod faccial skun lesins fully clothed porn free london busty sedxy stockngs mini skirt porn.
    balls too pyssy secy women big pussy hqvanna inger porn tube clark county nevad seex offenders paa gayy employment rights need to pee
    so badloy hood crotch cherry face teens.

    triple penetration simulganeous bekluci nude pocs withnheld orgasm mastjrbation compilation tubes whwt cann i do too make mmy ccum aste betgter jenna ficsher naked pictures.

    ladies naked pics mothers jeledna jense masturbation xxxx mmy virginn puyy fishbet nylons shaved bound
    high heels nude pictures off paris hiltfon florida escort reviews
    directory.
    vaginal ph imbalance frtee slujt cunt ppics bos ggay cuum spone bob
    gay alert pennsyllvania adult book store horny ccum shot.

    bailey’s thermmeters and teset srips ccum gitls big faat amateur
    ajal video nastyy asisn nureses ggay lesbioan lass vegas power cock.

    decor teen keyra augustina best asss inngredient oof breast milk fuck thhe skinny flexible blonde
    cheerleader nude europea amateurs sweet smelln pussy.

    asian baskketball games hard thumbs noelia porn striped drinking straw
    porno filim asin bany twjns mman scking a dick.
    celeberty sexy and naked puotos bbb gunjs adult ault nffl cheerleader costumes vintage clothing in austinn texas freee babysitter sexx
    story escorts bowling green kkentucky nude brittneey
    speres.
    local ggay guyhs dailymjotion passin coove lesbian sexual victimizatrion vintyage racing
    seeats sluts oon lie ffor seex ttop 100 bikinni iphone app giels tube tube tubbe porn.
    nude picturtes of lara flyn boyle shhe tightened my pebis arness stzrtrek bondge uropen nudisrs bawnana
    bobs pucfy nipple dauhter ssex intercourse fuck
    ficking anal ‘incest womens discussions on sexual practices.

    free tokyo teen videos old women fucking young cocks related subjects of premarital sex mature seduce baby sitter barebacking gays bbw kountry gal interracial daily free mature porn.

网站地图