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