install cockpit
yum clean all
yum -y install epel-release
yum install dnf -y
dnf install cockpit -y
systemctl start cockpit
systemctl enable cockpit.socket
yum install net-tools -y
netstat -tulpn | grep LISTEN
firewall-cmd --add-service cockpit
firewall-cmd --zone=public --permanent --add-port=9090/tcp
firewall-cmd --reload
#cockpit-plugin
yum install dnf dnf-plugins-core -y
#cockpit docker rpm
dnf download cockpit-docker
rpm -Uvh --nodeps cockpit-docker-xx-xx-xxxx.rpm
service cockpit restart
#cockpit storage rpm
yum install udisks2 gvfs libatasmart -y
dnf download cockpit-storaged
rpm -Uvh --nodeps cockpit-storaged-xx-xx-xxxx.rpm
service cockpit restart
dnf download cockpit-machines
rpm -Uvh --nodeps cockpit-machines-
yum install samba -y
sudo sh -c 'echo "$(logname) ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/cockpit-smb'