mirror of https://github.com/jumpserver/jumpserver
parent
427fda1015
commit
1f9337feca
|
@ -215,7 +215,7 @@ class PreSetup(object):
|
||||||
def _depend_rpm(self):
|
def _depend_rpm(self):
|
||||||
color_print('开始安装依赖包', 'green')
|
color_print('开始安装依赖包', 'green')
|
||||||
if self._is_redhat:
|
if self._is_redhat:
|
||||||
bash('yum -y install git python-pip mysql-devel gcc automake autoconf python-devel vim sshpass lrzsz readline-devel')
|
bash('yum -y install git python-pip mysql-devel rpm-build gcc automake autoconf python-devel vim sshpass lrzsz readline-devel')
|
||||||
if self._is_ubuntu:
|
if self._is_ubuntu:
|
||||||
bash("apt-get -y --force-yes install git python-pip gcc automake autoconf vim sshpass libmysqld-dev python-all-dev lrzsz libreadline-dev")
|
bash("apt-get -y --force-yes install git python-pip gcc automake autoconf vim sshpass libmysqld-dev python-all-dev lrzsz libreadline-dev")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue