Webmin Control Panel

by mayankkdebnath
17 deployments · 14 still active · last rev. 20 days ago

Webmin Control Panel for CentOS 7
Webmin Gets live after install at https://your_ip_or_domain:10000
Including Later Install of LAMP
You can watch the install via LISH

Compatible with: CentOS 7
						#!/bin/sh
#<UDF name="password" label="Password for MySQL and Webmin">

ROOT_PASSWORD=$PASSWORD

sudo su -c '
cat <<EOF > /etc/yum.repos.d/webmin.repo
[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1
EOF
'
sudo yum install wget -y
wget http://www.webmin.com/jcameron-key.asc
sudo rpm --import jcameron-key.asc

sudo yum install -y webmin
sudo /usr/libexec/webmin/changepass.pl /etc/webmin root ${ROOT_PASSWORD}
sudo systemctl enable webmin
yum update -y
yum install httpd -y
yum install mariadb-server mariadb -y
sudo yum install php php-mysql -y
sudo yum install php-mbstring -y
sudo systemctl restart httpd.service
sudo systemctl restart mariadb
sudo systemctl restart mariadb.service
/usr/bin/mysqladmin -u root password ${ROOT_PASSWORD}
sudo systemctl restart mariadb
sudo systemctl restart mariadb.service
sudo yum install unzip -y
sudo systemctl enable httpd.service
sudo systemctl enable mariadb
sudo systemctl enable webmin
echo "Install Complete"