mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-05 02:56:31 +00:00
Update install.py
This commit is contained in:
parent
2f54c369f7
commit
0924484bc4
@ -110,6 +110,7 @@ class PreSetup(object):
|
||||
@staticmethod
|
||||
def _set_env():
|
||||
color_print('开始关闭防火墙和selinux', 'green')
|
||||
os.system("export LANG='en_US.UTF-8' && sed -i 's/LANG=.*/LANG=en_US.UTF-8/g' /etc/sysconfig/i18n")
|
||||
bash('service iptables stop && chkconfig iptables off && setenforce 0')
|
||||
|
||||
def _test_db_conn(self):
|
||||
|
Loading…
Reference in New Issue
Block a user