jumpserver堡垒机安装
1. 下载jumpserver
cd /opt
wget https://github.com/jumpserver/jumpserver/archive/master.zip
unzip master.zip
注:不要安装在/root、/home 等目录下,以免权限问题
2. 执行安装脚本
cd jumpserver-master/install/
python install.py
#如果失败,在国内的强烈推荐豆瓣的源
pip install -r requirements.txt -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
python install.py
3. 替换web默认端口和数据库默认端口重启
sed -i "s#port = 8000#port = 9999#g" /opt/jumpserver-0.3.2/jumpserver.conf
sed -i "s#port = 3306#port = 3319#g" /opt/jumpserver-0.3.2/jumpserver.conf
sed -i "2i port = 3319" /etc/my.cnf
4. 启动数据库和jumpserver
/etc/init.d/mysqld restart
cd /opt/jumpserver-0.3.2 &&./service.sh restart
5. 登陆
之后输入ip:port访问jumpserver的web管理页面
初始用户admin,密码为5Lov@wife
注:
1. 安装过程中要求输入数据库密码时,直接回车就行。默认用户名:admin 默认密码: 5Lov@wife
2. 完成安装后,请访问web,继续查看后续文档
3. 如果启动失败,请返回上层目录,手动运行 python run_server.py 或 ./service.sh restart启动
4.如果./service.sh start启动失败
请进入jumpserver目录,手动运行
python manage.py runserver 0.0.0.0:80
python run_websocket.py
如果启动失败,可能是由于 80端口和3000端口已经被占用,或者数据库账号密码不对,请检查
5.如果logs/jumpserver.log无日志反馈,可以看/var/spool/mail/root
6.安装过程报错:Cannot uninstall requirement pycrypto, not installed
解决方法:
使用其他pip源
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install pycrypto==2.4.1 -i https://pypi.tuna.tsinghua.edu.cn/simple
继续执行:
python install.py
jumpserver堡垒机安装的更多相关文章
- JumpServer堡垒机安装笔记
厂商文档--一步一步安装CentOS(https://jumpserver.readthedocs.io/zh/master/setup_by_centos.html) 厂商文档--简单优化(http ...
- jumpserver 堡垒机环境搭建(图文详解)
摘要: Jumpserver 是一款由python编写开源的跳板机(堡垒机)系统,实现了跳板机应有的功能.基于ssh协议来管理,客户端无需安装agent. 特点: 完全开源,GPL授权 Python编 ...
- jumpserver 堡垒机环境搭建(图文具体解释)
Jumpserver 是一款由python编写开源的跳板机(堡垒机)系统,实现了跳板机应有的功能.基于ssh协议来管理,客户端无需安装agent. 特点: 全然开源,GPL授权 Python编写.容易 ...
- jumpserver堡垒机部署
初稿(后面我有时间再整理一下,看能不能弄成自动化脚本安装): systemctl stop firewalld #关闭防火墙setenforce 0 #关闭selinuxyum install htt ...
- 【转】jumpserver 堡垒机环境搭建(图文详解)
jumpserver 堡垒机环境搭建(图文详解) 摘要: Jumpserver 是一款由python编写开源的跳板机(堡垒机)系统,实现了跳板机应有的功能.基于ssh协议来管理,客户端无需安装ag ...
- jumpserver 堡垒机环境搭建
jumpserver 堡垒机环境搭建(图文详解) https://blog.csdn.net/my_bai/article/details/62226474 http://docs.jumpser ...
- 使用Docker搭建Jumpserver堡垒机
使用Docker搭建Jumpserver堡垒机 1.环境准备 操作系统:CentOS 7.6.1810 软件源:阿里云镜像 #内核版本(Docker 要求 CentOS 系统的内核版本高于 3.10) ...
- jumpserver堡垒机web终端支持复制粘贴功能
公司最近内部搭建了一个jumpserver堡垒机,但是web终端连接Windows时候没法复制粘贴文字文本 然后找了一下jumpserver官方说明没找到相应的说明,但是知道是guacamole这个组 ...
- centos7.6 jumpserver 堡垒机 重启启动顺序
cd /sdata/usr/local python3. -m venv py3 source /sdata/usr/local/py3/bin/activate cd /sdata/usr/loca ...
随机推荐
- 自动化工具之一:wxPython
一.下载与安装 (1)下载地址:https://pypi.python.org/pypi/wxPython (2)我安装的python版本是3.6.X的,所以我这里下载的是: wxPython-4.0 ...
- NYOJ 棋盘覆盖
数字很大,要用大数乘法. #include<iostream> #include<stdio.h> #include<string.h> #include<q ...
- html-标签页
<template> <div class="pos-frame"> <div class="pos h100"> < ...
- Java中Collections类的排序sort函数两种用法
java中的Colletions类主要实现列表List的排序功能.根据函数参数的传递,具体的排序可以分为 : 1. 自然排序(natural ordering). 函数原型:sort(List< ...
- koa : Express出品的下一代基于Node.js的web框架
https://www.liaoxuefeng.com/wiki/001434446689867b27157e896e74d51a89c25cc8b43bdb3000/001434501579966a ...
- 由ngx.say和ngx.print差异引发的血案
Jan 16, 2018openresty点击 最近上线一个项目,利用openresty在前面做反向代理,部分地址通过lua的http请求后端接口进行返回,在线下测试都没问题,公司预发灰度测试都通过了 ...
- sublime的lua插件
1.语法检测插件~ sublimelinter sublimelinter-lua sublimelinter-luacheck 以上插件装好以后,在环境变量里面有加上lua.exe就ok了! 这个就 ...
- 配置android.support.v7.widget.Toolbar 搜索框样式
AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xm ...
- [文摘]那些一心想要离开 BAT 的人,后来怎么样了?
人心是个无底洞,填不满也掏不空 <Working at Google seemed like a dream job. The reality has been a tedious, point ...
- python regularexpress
这个正则表达式,我还真没有接触过,在python首次学习 //test.py 1 import re 2 3 print (re.match('www', 'www.myweb.com').span( ...

