Comments (7)
手里没有debian,ubuntu,也没有维护过,你可以试试写个
from jumpserver.
一、环境
debian,ubuntu 系统
二、安装依赖
apt-get install vim git python-pip libmysqlclient-dev gcc automake autoconf python-dev sshpass lrzsz python-mysqldb
注:如果报没有找安装包,请添加系统更新源
三、 下载jumpserver
cd /opt
git clone https://github.com/ibuler/jumpserver.git
四、 执行快速安装脚本
cd jumpserver/install && pip install -r requirements.txt
五、修改安装脚本
vim install.py
......
......
#@staticmethod
#def _rpm_repo():
color_print('开始安装epel源', 'green')
bash('yum -y install epel-release')
@staticmethod
def _depend_rpm():
color_print('开始安装依赖rpm包', 'green')
bash('apt-get -y install git python-pip libmysqlclient-dev gcc automake autoconf python-dev vim sshpass')
.......
.......
六、安装
python install.py
注:debian,ubuntu系统上安装完成最后会出现服务启动失败
1)根据提示输入相关信息,完成安装,完成安装后,请访问web,继续查看后续文档
2)如果启动失败,请返回上层目录,手动运行 ./service.sh start启动
3)如果./service.sh start启动失败
请进入jumpserver目录,手动运行
python manage.py runserver 0.0.0.0:80
python run_websocket.py
4)如果启动失败,可能是由于 80端口和3000端口已经被占用,或者数据库账号密码不对,请检查
七、运行crontab,定期处理失效连接,定期更新资产信息
cd .. && python manage.py crontab add
from jumpserver.
now the install.py can use to install jumpserver on ubuntu 14.04 and 15.10 (tested).
also can install on debian 7.8 and debian 8.2 (tested)
with ubuntu you must use root to execute the install script.
eg:
sudo -i
python install.py
note:
the python version 2.7(tested)
debian 8.2 need add repository ,detail you can see wiki
from jumpserver.
@yumaojun03 python version 2.6- 测过没?
from jumpserver.
ubunt 14.04 和 ubuntu 15.10 系统自带的python版本至少是2.7。所有没测试过2.6
from jumpserver.
所以指定Python version的时候不要写2.x吧,写2.7+
from jumpserver.
恩,我更新了。
from jumpserver.
Related Issues (20)
- [Feature] 云主机同步标签来匹配资产 HOT 1
- [Feature] 日志审计中的操作日志支持中文显示 HOT 1
- [Question] 新节点 http请求耗时太长 有20多秒 HOT 5
- [Bug]v3.4.3版本,如果在没登陆/登陆失效的情况 下,直接进入资源地址,会一直刷屏 HOT 1
- [Bug] mysql Web GUI横向滑块无法拖动 HOT 1
- 账号改密-密码生成规则可以指定大小写特殊字符数量 HOT 3
- [Feature] 建议针对Windows的资产,在浏览器中打开时可以设置默认隐藏左侧和顶部的菜单栏以扩大操作面积,或支持一键网页内最大化 HOT 4
- [Bug] 登陆页面的【1 天内自动登录】选项无法勾选。 HOT 4
- v3.10.4控制台中,会话用户与会话资产排名中所有次数都显示为1[Bug] HOT 5
- [Question] 每次升级之后应用发布机都要重新初始化部署 HOT 1
- [Feature] 希望JumpServer支持多层级组织架构 HOT 2
- [Feature] 根据登陆的IP进行连接资产后的操作精细化管控 HOT 2
- [Bug] 快捷指令和作业管理不生效了(2.19日之前一直是好使的),目前针对任何机器都始终显示省略号 ....... HOT 6
- [Bug] 账号收集无法通过任务ID过滤任务 HOT 2
- [Bug] ldap拉取用户失败 HOT 3
- [Bug] 权限管理-资产登录;设置规则禁止某用户使用root账号登录资产;用户手动登录数据root账号密码依然可以登录 HOT 1
- [Question] jumpserver v3 服务器操作系统Q HOT 1
- [Question] 关于使用容器进行部署,然后测试winrdp资产时,报错 HOT 16
- [Bug] 会话安全-连接最大空闲时间设置对Web SFTP连接无效 HOT 3
- [Question] 在权限管理-用户登录设置了指定时间禁止登录,到指定时间后,已有的Web SSH会话依旧可以操作 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jumpserver.