jumpser开源跳板机部署
来源:互联网 发布:xp打开关闭windows功能 编辑:程序博客网 时间:2024/05/11 14:24
##环境准备
[root@jumpserver ~]
# cat /etc/redhat-release
CentOS release
6.6
(Final)
[root@jumpserver ~]
# uname -r
2.6
.
32
-
504.el6
.x86_64
[root@jump ~]
# /etc/init.d/iptables status
iptables: Firewall
is
not
running.
[root@jump ~]
# getenforce
Disabled
wget
-
O
/
etc
/
yum.repos.d
/
epel.repo http:
/
/
mirrors.aliyun.com
/
repo
/
epel
-
6.repo
wget
-
O
/
etc
/
yum.repos.d
/
CentOS
-
Base.repo http:
/
/
mirrors.aliyun.com
/
repo
/
Centos
-
6.repo
yum repolist
yum
-
y install epel
-
release
yum
-
y install git python
-
pip mysql
-
devel gcc automake autoconf python
-
devel vim sshpass lrzsz readline
-
devel
rpm
-
q git python
-
pip mysql
-
devel gcc automake autoconf python
-
devel vim sshpass lrzsz readline
-
devel
cd
/
home
/
oldboy
/
tools
git clone https:
/
/
github.com
/
jumpserver
/
jumpserver.git
##or rz ==>本地上传软件包
cd jumpserver
/
install
/
pip install
-
-
upgrade pip
pip install
-
r requirements.txt
##查看安装结果:
pip freeze
##配置jumpserver
安装完成jumpserver以后需要对其进行初始化的设置
[root@jump install]
# python install.py
开始关闭防火墙和selinux
setenforce: SELinux
is
disabled
请输入您服务器的IP地址,用户浏览器可以访问 [
192.168
.
30.128
]:
是否安装新的MySQL服务器? (y
/
n) [y]: y
开始安装设置mysql (请手动设置mysql安全)
默认用户名: jumpserver 默认密码:
5Lov
@wife
………………此处略去好多字………………
Starting mysqld: [ OK ]
连接数据库成功
请输入SMTP地址: stmp.
163.com
请输入SMTP端口 [
25
]:
25
请输入账户:
88888888
@
163.com
请输入密码:
*
*
*
*
*
*
*
*
*
*
*
*
*
*
timed out
是否跳过(y
/
n) [n]? : y
请登陆邮箱查收邮件, 然后确认是否继续安装
是否继续? (y
/
n) [y]: y
开始写入配置文件
………………
请输入管理员用户名 [admin]: admin
请输入管理员密码: [
5Lov
@wife]: admin
请再次输入管理员密码: [
5Lov
@wife]: admin
Starting jumpserver service: [确定]
安装成功,Web登录请访问http:
/
/
ip:
8000
, 祝你使用愉快。
请访问 https:
/
/
github.com
/
jumpserver
/
jumpserver
/
wiki 查看文档
1
2
3
4
5
6
7
8
[root@jumpserver ~]# cd /home/oldboy/tools/jumpserver
[root@jumpserver jumpserver]# python manage.py runserver 0.0.0.0:80
Validating models...
0 errors found
April 07, 2017 - 18:18:44
Django version 1.6, using settings 'jumpserver.settings'
Starting development server at http://0.0.0.0:80/
问地址:(自己服务器IP地址+8000)
阅读全文
0 0
- jumpser开源跳板机部署
- 开源跳板机-堡垒机jumpserver安装
- CentOS7安装开源跳板机(堡垒机)
- 跳板机
- 开源堡垒机(跳板机)jumpserver曲折安装路(一)
- 跳板机的作用
- 跳板机&攻击方式
- xshell 跳板机配置
- python实现跳板机
- Linux 跳板机脚本
- ssh 配置跳板机
- SecureCRT配置跳板机
- 跳板
- Xshell 跳板机配置、Secure CRT 跳板机配置总结
- 堡垒机 | 跳板机 | 中控机
- 堡垒机(跳板机)
- 堡垒机(跳板机)
- winscp实现跳板机连接
- 「Keras」Demonstrates the Use of Convolution1D for Text Classification
- Spring-AOP 流程切面
- 各种优化方法总结比较(sgd/momentum/Nesterov/adagrad/adadelta)
- 智能指针详解
- 【数学基础】【欧拉定理模板】【费马小定理】
- jumpser开源跳板机部署
- MySQL 实用命令整理
- 京东如何处理数据中心网络对应用性能的影响
- 大数据生态系统基础:Hadoop(六):Mac 下Hadoop-Eclipse-plugin编译和集成环境配置
- LinkedBlockingQueue源码分析
- ZigBee CC2530 Z-Stack 16 按键驱动移植及使用2-驱动移植
- Hello World!
- Nginx配置(一)
- 运维堡垒机开发