mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 06:16:08 +01:00
ftp changes
This commit is contained in:
@@ -330,13 +330,16 @@ class InstallCyberPanel:
|
|||||||
|
|
||||||
def installPureFTPD(self):
|
def installPureFTPD(self):
|
||||||
if self.distro == ubuntu:
|
if self.distro == ubuntu:
|
||||||
command = 'apt install pure-ftpd-mysql -y'
|
command = 'DEBIAN_FRONTEND=noninteractive apt install pure-ftpd-mysql -y'
|
||||||
|
os.system(command)
|
||||||
elif self.distro == centos:
|
elif self.distro == centos:
|
||||||
command = "yum install -y pure-ftpd"
|
command = "yum install -y pure-ftpd"
|
||||||
|
install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
|
||||||
elif self.distro == cent8:
|
elif self.distro == cent8:
|
||||||
command = 'dnf --enablerepo=CyberPanel install pure-ftpd -y'
|
command = 'dnf --enablerepo=CyberPanel install pure-ftpd -y'
|
||||||
|
install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
|
||||||
|
|
||||||
|
|
||||||
install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
|
|
||||||
|
|
||||||
####### Install pureftpd to system startup
|
####### Install pureftpd to system startup
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user