|
|
@ -6,8 +6,6 @@ sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
|
|
|
|
sed -i 's#SELINUX=enforcing#SELINUX=disabled#' /etc/selinux/config
|
|
|
|
sed -i 's#SELINUX=enforcing#SELINUX=disabled#' /etc/selinux/config
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#################### init system env ################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 检测操作系统位数,如果非64位操作系统,则退出
|
|
|
|
### 检测操作系统位数,如果非64位操作系统,则退出
|
|
|
|
SYSBIT=`getconf LONG_BIT`
|
|
|
|
SYSBIT=`getconf LONG_BIT`
|
|
|
|
if [ X"${SYSBIT}" != X"64" ]; then
|
|
|
|
if [ X"${SYSBIT}" != X"64" ]; then
|
|
|
|