mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-16 10:16:12 +01:00
upgrade mariadb on ubuntu18
This commit is contained in:
@@ -244,6 +244,15 @@ class InstallCyberPanel:
|
|||||||
|
|
||||||
if self.distro == ubuntu:
|
if self.distro == ubuntu:
|
||||||
|
|
||||||
|
if get_Ubuntu_release() == 18.10:
|
||||||
|
command = 'apt-get install software-properties-common -y'
|
||||||
|
install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
|
||||||
|
|
||||||
|
command = "apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'"
|
||||||
|
install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
|
||||||
|
|
||||||
|
command = "add-apt-repository 'deb [arch=amd64,arm64,ppc64el] https://mirror.yongbok.net/mariadb/repo/10.5/ubuntu bionic main'"
|
||||||
|
install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
|
||||||
|
|
||||||
command = "apt-get -y install mariadb-server"
|
command = "apt-get -y install mariadb-server"
|
||||||
elif self.distro == centos:
|
elif self.distro == centos:
|
||||||
|
|||||||
Reference in New Issue
Block a user