#!/bin/bash clear cat << "EOF" /$$ /$$ /$$$$$$ /$$$$$$$ /$$$$$$ /$$$$$$$ /$$ /$$$$$$ /$$$$$$ | $$ / $$|_ $$_/| $$__ $$ /$$__ $$ | $$__ $$| $$ /$$__ $$ /$$__ $$ | $$/ $$/ | $$ | $$ \ $$| $$ \ $$ | $$ \ $$| $$ /$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$ | $$ \ $$| $$ \__/ \ $$$$/ | $$ | $$$$$$$ | $$ | $$ | $$$$$$$/| $$ |____ $$| $$ | $$ /$$__ $$ /$$__ $$ | $$ | $$| $$$$$$ >$$ $$ | $$ | $$__ $$| $$ | $$ | $$____/ | $$ /$$$$$$$| $$ | $$| $$$$$$$$| $$ \__/ | $$ | $$ \____ $$ /$$/\ $$ | $$ | $$ \ $$| $$ | $$ | $$ | $$ /$$__ $$| $$ | $$| $$_____/| $$ | $$ | $$ /$$ \ $$ | $$ \ $$ /$$$$$$| $$$$$$$/| $$$$$$/ | $$ | $$| $$$$$$$| $$$$$$$| $$$$$$$| $$ | $$$$$$/| $$$$$$/ |__/ |__/|______/|_______/ \______/ |__/ |__/ \_______/ \____ $$ \_______/|__/ \______/ \______/ /$$ | $$ | $$$$$$/ \______/ Fully automated installer for Centos 7 (v2009) x64 platform By AYDINFATOGLU EOF echo "Downloader / Installer ONLY" echo "" echo "STARTING NOW!!!" sleep 6 clear cat << "EOF" /$$ /$$ /$$$$$$ /$$$$$$$ /$$$$$$ /$$$$$$$ /$$ /$$$$$$ /$$$$$$ | $$ / $$|_ $$_/| $$__ $$ /$$__ $$ | $$__ $$| $$ /$$__ $$ /$$__ $$ | $$/ $$/ | $$ | $$ \ $$| $$ \ $$ | $$ \ $$| $$ /$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$ | $$ \ $$| $$ \__/ \ $$$$/ | $$ | $$$$$$$ | $$ | $$ | $$$$$$$/| $$ |____ $$| $$ | $$ /$$__ $$ /$$__ $$ | $$ | $$| $$$$$$ >$$ $$ | $$ | $$__ $$| $$ | $$ | $$____/ | $$ /$$$$$$$| $$ | $$| $$$$$$$$| $$ \__/ | $$ | $$ \____ $$ /$$/\ $$ | $$ | $$ \ $$| $$ | $$ | $$ | $$ /$$__ $$| $$ | $$| $$_____/| $$ | $$ | $$ /$$ \ $$ | $$ \ $$ /$$$$$$| $$$$$$$/| $$$$$$/ | $$ | $$| $$$$$$$| $$$$$$$| $$$$$$$| $$ | $$$$$$/| $$$$$$/ |__/ |__/|______/|_______/ \______/ |__/ |__/ \_______/ \____ $$ \_______/|__/ \______/ \______/ /$$ | $$ | $$$$$$/ \______/ Fully automated installer for Centos 7 (v2009) x64 platform By AYDINFATOGLU EOF echo "Downloader / Installer ONLY" echo "" echo "Downloading and Installing GUI [X Window System]" yum groupinstall "X Window System" -y > /dev/null 2>&1 echo "Downloading and Installing GUI [xorg]" yum install xorg* -y > /dev/null 2>&1 yum install epel-release -y > /dev/null 2>&1 echo "Downloading and Installing GUI [GDM]" yum install gdm -y > /dev/null 2>&1 echo "Downloading and Installing GUI [Openbox]" yum install openbox -y > /dev/null 2>&1 echo "Downloading and Installing Cockpit" yum install cockpit -y > /dev/null 2>&1 systemctl start cockpit > /dev/null 2>&1 systemctl enable cockpit.socket > /dev/null 2>&1 firewall-cmd --add-service=cockpit > /dev/null 2>&1 firewall-cmd --add-service=cockpit --permanent > /dev/null 2>&1 firewall-cmd --reload > /dev/null 2>&1 echo "Downloading and Installing Prerequsits" yum install nano -y > /dev/null 2>&1 yum install wget -y > /dev/null 2>&1 yum install conky -y > /dev/null 2>&1 echo "Downloading and Installing Snap For Centos 7" sudo yum install snapd -y > /dev/null 2>&1 sudo systemctl enable --now snapd.socket > /dev/null 2>&1 sudo ln -s /var/lib/snapd/snap /snap > /dev/null 2>&1 echo "Downloading and Installing Xibo Player From Snap" setenforce 0 sed -i --follow-symlinks 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/sysconfig/selinux sudo snap install xibo-player > /dev/null 2>&1 sleep 3 sudo snap install xibo-player echo "Downloading and Installing TightVNC Server" yum install -y tigervnc-server > /dev/null 2>&1 echo "Downloading Custom Conky Config " rm -f /etc/conky/conky.conf wget -P /etc/conky/ https://raw.githubusercontent.com/AydinFatoglu/Xibo-Linux-PlayerOS-centos7/main/conky.conf > /dev/null 2>&1 chmod +x /etc/conky/conky.conf echo "Downloading Network Control Script" rm -f netcontrol.sh wget -P /etc/ wget https://raw.githubusercontent.com/AydinFatoglu/Xibo-Linux-PlayerOS-centos7/main/netcontrol.sh > /dev/null 2>&1 echo "ALL DONE!!!! - REBOOTING NOW..." sleep 5 sudo reboot