第二次开机时在jump server目录下运行 ./service.sh start

1准备云yum源

 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
 wget -O /etc/yum.repos.d/163.repo http://mirrors.163.com/.help/CentOS6-Base-163.repo 
清楚缓存,重新生成缓存

2.将jumpserver源码包移到Linux系统里

3.执行tar xf jumpserver 版本号 -C /usr/src

4.cd /usr/src/jumpserver 版本号 /install 执行python install.py

5.等待脚本执行,如遇报错(101)并脚本退出,提示安装失败按以下操作执行

执行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
删除install.py 里的240行(uninstall pycrypto)

6.

7.

8.

9.

10.

11.用户信息一定要保留下来

用户信息一定要保留下来

 

12.

13.

14.

15.

16.

17.

18.

19.

20.

21.

22.

23.

24.

25.

26.

27.

28.

29.

30.