diff --git a/install/install.py b/install/install.py index b48790d0f..ec80b55b7 100755 --- a/install/install.py +++ b/install/install.py @@ -320,7 +320,7 @@ class preFlightsChecks: count = 0 while (1): if self.distro == ubuntu: - command = "apt-get -y install python-pip" + command = "apt-get -y install python-pip libcurl4-openssl-dev" else: command = "yum -y install python-pip" res = subprocess.call(shlex.split(command)) @@ -2983,9 +2983,9 @@ milter_default_action = accept if distro == centos: command = "yum install -y libattr-devel xz-devel gpgme-devel mariadb-devel curl-devel" else: - command = 'apt-get -y install libattr1 libattr1-dev liblzma-dev libgpgme-dev libmariadbclient-dev ' \ - 'libcurl4-openssl-dev libssl-dev nghttp2 libnghttp2-dev idn2 libidn2-dev librtmp-dev ' \ - 'libpsl-dev nettle-dev libgnutls28-dev libldap2-dev' + command = 'apt-get -y install libattr1 libattr1-dev liblzma-dev libgpgme-dev ' \ + 'libmariadbclient-dev libcurl4-openssl-dev libssl-dev nghttp2 libnghttp2-dev idn2 ' \ + 'libidn2-dev librtmp-dev libpsl-dev nettle-dev libgnutls28-dev libldap2-dev' res = subprocess.call(shlex.split(command)) if res == 1: @@ -3262,14 +3262,12 @@ def main(): checks.setup_email_Passwords(installCyberPanel.InstallCyberPanel.mysqlPassword, mysql) checks.setup_postfix_davecot_config(mysql) - checks.install_unzip() checks.install_zip() checks.install_rsync() checks.downoad_and_install_raindloop() - checks.download_install_phpmyadmin() checks.installFirewalld() diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index 4c422ff8c..6cdfc3cf5 100644 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -232,11 +232,13 @@ class InstallCyberPanel: while (1): if self.distro == ubuntu: - command = 'apt-get -y install lsphp*' + command = 'DEBIAN_FRONTEND=noninteractive apt-get -y install lsphp*' + res = os.system(command) + else: command = 'yum -y groupinstall lsphp-all' - cmd = shlex.split(command) - res = subprocess.call(cmd) + cmd = shlex.split(command) + res = subprocess.call(cmd) if res == 1: count = count + 1