Update webmin-install.sh
This commit is contained in:
@@ -8,6 +8,7 @@ if type apt &>/dev/null; then
|
|||||||
cd /tmp
|
cd /tmp
|
||||||
wget -O- http://www.webmin.com/jcameron-key.asc | apt-key add -
|
wget -O- http://www.webmin.com/jcameron-key.asc | apt-key add -
|
||||||
apt update
|
apt update
|
||||||
|
apt -y install apt-transport-https
|
||||||
apt -y install webmin
|
apt -y install webmin
|
||||||
|
|
||||||
elif type apt-get &>/dev/null; then
|
elif type apt-get &>/dev/null; then
|
||||||
@@ -15,6 +16,7 @@ elif type apt-get &>/dev/null; then
|
|||||||
cd /tmp
|
cd /tmp
|
||||||
wget -O- http://www.webmin.com/jcameron-key.asc | apt-key add -
|
wget -O- http://www.webmin.com/jcameron-key.asc | apt-key add -
|
||||||
apt-get update
|
apt-get update
|
||||||
|
apt-get -y install apt-transport-https
|
||||||
apt-get -y install webmin
|
apt-get -y install webmin
|
||||||
|
|
||||||
elif type yum &>/dev/null; then
|
elif type yum &>/dev/null; then
|
||||||
@@ -27,10 +29,10 @@ enabled=1
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
## Fedora 27/26/25/24 ##
|
## Fedora 27/26/25/24 ##
|
||||||
dnf -y install google-chrome-stable
|
dnf -y install webmin
|
||||||
|
|
||||||
## CentOS/RHEL 7.4 ##
|
## CentOS/RHEL 7.4 ##
|
||||||
yum -y install google-chrome-stable --skip-broken
|
yum -y install webmin
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "Unknow System Install Type"
|
echo "Unknow System Install Type"
|
||||||
|
|||||||
Reference in New Issue
Block a user