added rpo script
This commit is contained in:
@@ -60,7 +60,7 @@ repo=https://git.bprieshof.nl/Work/MySQL-DEV
|
|||||||
branch=master
|
branch=master
|
||||||
|
|
||||||
###Select Module type
|
###Select Module type
|
||||||
mtype=""$mrepo"/raw/branch/"$mbranch""
|
mtype=""$repo"/raw/branch/"$branch""
|
||||||
|
|
||||||
#SelfBuilding Vars
|
#SelfBuilding Vars
|
||||||
PKGI="${PKGM} install -y"
|
PKGI="${PKGM} install -y"
|
||||||
@@ -87,9 +87,9 @@ fi
|
|||||||
##--------------------------##
|
##--------------------------##
|
||||||
|
|
||||||
msg "Starting installer." 8 78
|
msg "Starting installer." 8 78
|
||||||
$PKGM update > $OUTPUT 2>&1
|
$PKGM update -y > $OUTPUT 2>&1
|
||||||
$PKGI curl > $OUTPUT 2>&1
|
$PKGI curl -y > $OUTPUT 2>&1
|
||||||
|
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=init osrel=$shortdist bash
|
||||||
|
|
||||||
##-------------------------##
|
##-------------------------##
|
||||||
# Generating APT list #
|
# Generating APT list #
|
||||||
|
|||||||
@@ -9,11 +9,7 @@ debconf-set-selections <<< "mysql-community-server mysql-community-server/root-p
|
|||||||
debconf-set-selections <<< "mysql-community-server mysql-community-server/re-root-pass password $password"
|
debconf-set-selections <<< "mysql-community-server mysql-community-server/re-root-pass password $password"
|
||||||
debconf-set-selections <<< "mysql-community-server mysql-server/default-auth-override select Use Legacy Authentication Method (Retain MySQL 5.x Compatibility)"
|
debconf-set-selections <<< "mysql-community-server mysql-server/default-auth-override select Use Legacy Authentication Method (Retain MySQL 5.x Compatibility)"
|
||||||
|
|
||||||
Dist=$(grep -oP '(?<=^ID=).+' /etc/os-release | tr -d '"')
|
curl --retry 7 --retry-delay 5 -s https://git.ictmaatwerk.com/VPS-scripts/General/raw/branch/Main/Setup-Repo.sh |repo=mysql osrel=$shortdist bash
|
||||||
DistVersion=$(grep -oP '(?<=^VERSION_CODENAME=).+' /etc/os-release | tr -d '"')
|
|
||||||
|
|
||||||
wget -qO - http://mirror.nxdi.nl/resources/mysql/RPM-GPG-KEY-mysql | apt-key add -
|
|
||||||
echo "deb http://mirror.nxdi.nl/apt/mysql/"$Dist"/ "$DistVersion" mysql-8.0" >/etc/apt/sources.list.d/mysql.list
|
|
||||||
|
|
||||||
if [ -z ${CurDebFrond+x} ]; then unset DEBIAN_FRONTEND ; else export DEBIAN_FRONTEND=$CurDebFrond; fi #Restore DEBIAN_FRONTEND
|
if [ -z ${CurDebFrond+x} ]; then unset DEBIAN_FRONTEND ; else export DEBIAN_FRONTEND=$CurDebFrond; fi #Restore DEBIAN_FRONTEND
|
||||||
unset mrepo
|
unset mrepo
|
||||||
|
|||||||
Reference in New Issue
Block a user