From 0924484bc42979a33a0414fe95d5a4ab4fc649c2 Mon Sep 17 00:00:00 2001 From: ibuler Date: Sat, 9 Jan 2016 21:42:44 +0800 Subject: [PATCH] Update install.py --- install/install.py | 1 + 1 file changed, 1 insertion(+) diff --git a/install/install.py b/install/install.py index 021cc73c1..383bd5116 100755 --- a/install/install.py +++ b/install/install.py @@ -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):