Download/Common/Load/Linux-Remote-Desktop-Environment.sh
#!/bin/bash


echo -e "\n\n\n"
clear
echo -e "\n"
echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\033[33m One-click installation of Desktop environment, RDP, Windows support, Office Tools for Linux \033[0m"
echo -e "\033[33m System requirements: CentOS 7+ / Debian 9+ / Ubuntu 18.04+ New installation \033[0m"
echo -e "\033[33m https://tech.cxthhhhh.com/linux/2018/08/07/original-one-click-installation-of-desktop-environment-rdp-windows-support-for-linux-en.html \033[0m"
echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\n"
sleep 5s

echo -e "\n\n\n"
clear
echo -e "\n"
echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\033[33m One-click installation of Desktop environment, RDP, Windows support, Office Tools for Linux \033[0m"
echo -e "\033[33m System requirements: CentOS 7+ / Debian 9+ / Ubuntu 18.04+ New installation \033[0m"
echo -e "\033[33m https://tech.cxthhhhh.com/linux/2018/08/07/original-one-click-installation-of-desktop-environment-rdp-windows-support-for-linux-en.html \033[0m"
echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888     8888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888      88888888888888       888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888      888888888888888      888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888      888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888      888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888      88888888888888      888888      888         8888888      88888888       8888       8888888       88888 \033[0m"
echo -e "\033[33m 88888      88888888888888      888888      8            888888      88888888       88888       88888      8888888 \033[0m"
echo -e "\033[33m 88888      88888888888888      888888        88888       88888      88888888       888888       888      88888888 \033[0m"
echo -e "\033[33m 88888      88888888888888      888888       8888888      88888      88888888       88888888      8     8888888888 \033[0m"
echo -e "\033[33m 88888      88888888888888      888888      88888888      88888      88888888       888888888          88888888888 \033[0m"
echo -e "\033[33m 88888      88888888888888      888888      88888888      88888      88888888       8888888888         88888888888 \033[0m"
echo -e "\033[33m 88888      88888888888888      888888      88888888      88888       8888888       88888888            8888888888 \033[0m"
echo -e "\033[33m 88888      88888888888888      888888      88888888      888888      8888888       8888888      88      888888888 \033[0m"
echo -e "\033[33m 88888                 888      888888      88888888      888888                    888888      8888      88888888 \033[0m"
echo -e "\033[33m 88888                 888      888888      88888888      8888888                   8888       888888       888888 \033[0m"
echo -e "\033[33m 88888                 888      888888      88888888      888888888       888       888       88888888       88888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\n"
sleep 2s

echo -e "\n\n\n"
clear
echo -e "\n"
echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\033[33m One-click installation of Desktop environment, RDP, Windows support, Office Tools for Linux \033[0m"
echo -e "\033[33m System requirements: CentOS 7+ / Debian 9+ / Ubuntu 18.04+ New installation \033[0m"
echo -e "\033[33m https://tech.cxthhhhh.com/linux/2018/08/07/original-one-click-installation-of-desktop-environment-rdp-windows-support-for-linux-en.html \033[0m"
echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 888             8888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 888               88888888888888888888888888888888888888888888888888888888888888888888     8888888888888888888888 \033[0m"
echo -e "\033[33m 888     88888     88888888888888888888888888888888888888888888888888888888888888888888     8888888888888888888888 \033[0m"
echo -e "\033[33m 888     888888    8888888         88888    8        88        8888888          88888          88888         88888 \033[0m"
echo -e "\033[33m 888     8888     888888     888    8888      88        88      8888      88      888          888     888    8888 \033[0m"
echo -e "\033[33m 888            8888888    888888    888     88888    88888     888     888888     8888     88888    888888    888 \033[0m"
echo -e "\033[33m 888     88      888888              888    888888    88888     888    8888888     8888     88888              888 \033[0m"
echo -e "\033[33m 888     8888     88888    8888888888888    888888    88888     888    8888888     8888     88888    8888888888888 \033[0m"
echo -e "\033[33m 888     88888     8888     888888888888    888888    88888     888     88888     88888     88888     888888888888 \033[0m"
echo -e "\033[33m 888     888888      888            8888    888888    88888     88888            8888888       8888           8888 \033[0m"
echo -e "\033[33m 888     88888888     88888       888888    888888    88888     88888888      888888888888     8888888      888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\n"
sleep 2s

echo -e "\n\n\n"
clear
echo -e "\n"
echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\033[33m One-click installation of Desktop environment, RDP, Windows support, Office Tools for Linux \033[0m"
echo -e "\033[33m System requirements: CentOS 7+ / Debian 9+ / Ubuntu 18.04+ New installation \033[0m"
echo -e "\033[33m https://tech.cxthhhhh.com/linux/2018/08/07/original-one-click-installation-of-desktop-environment-rdp-windows-support-for-linux-en.html \033[0m"
echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 8888888888888888888888888888888888888888888888888888    888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 888              88888888888888888888888888888888888    8888888888888888 8888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 888                888888888888888888888888888888888    8888888888888    8888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 888     8888888     88888888    88888888888    88888    8888888888888    8888888888    8888888888888888   8888888 \033[0m"
echo -e "\033[33m 888     88888888     8888          8888         8888    888     88          888            88888             8888 \033[0m"
echo -e "\033[33m 888     88888888     888    8888    888    888888888    88    8888888    88888     88888    8888     8888     888 \033[0m"
echo -e "\033[33m 888     88888888     88             888       888888    8    88888888    88888    888888     888    888888    888 \033[0m"
echo -e "\033[33m 888     8888888     888             88888        888    8    88888888    88888    888888     888    888888    888 \033[0m"
echo -e "\033[33m 888     88888      8888    888888888888888888    888    88     888888    88888    888888    8888    88888     888 \033[0m"
echo -e "\033[33m 888              8888888           8888          888    888     88888       888            88888             8888 \033[0m"
echo -e "\033[33m 888          8888888888888        88888        88888    88888     8888      88888        8888888    8      888888 \033[0m"
echo -e "\033[33m 888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888    8888888888888 \033[0m"
echo -e "\033[33m 888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888    8888888888888 \033[0m"
echo -e "\033[33m 888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888    8888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\n"
sleep 2s

echo -e "\n\n\n"
clear
echo -e "\n"
echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\033[33m One-click installation of Desktop environment, RDP, Windows support, Office Tools for Linux \033[0m"
echo -e "\033[33m System requirements: CentOS 7+ / Debian 9+ / Ubuntu 18.04+ New installation \033[0m"
echo -e "\033[33m https://tech.cxthhhhh.com/linux/2018/08/07/original-one-click-installation-of-desktop-environment-rdp-windows-support-for-linux-en.html \033[0m"
echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88       88888888888888888888888   888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88   88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888   8888 \033[0m"
echo -e "\033[33m 88   888888         88  8888   8   88   8  888       888        888        8     8888      888        88       88 \033[0m"
echo -e "\033[33m 88       88   888   88   88   88   88    888   8888   88   888   88   888   888   88  8888  88   888   888   8888 \033[0m"
echo -e "\033[33m 88   888888   888   888   8  888   88   8888   8888   88   888   88   888   888   88        88   888   888   8888 \033[0m"
echo -e "\033[33m 88   888888   888   8888     888   88   88888   888   88   888   88   888   888   88   8888888   888   888   8888 \033[0m"
echo -e "\033[33m 88        8   888   8888    8888   88   888888      8888   888   88   888   888   8888      88   888   8888    88 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo -e "\033[33m 88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 \033[0m"
echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\n"
sleep 2s


if [ $1 = '-CentOS' ]
then
	yum install sudo curl wget epel-release -y
	sudo curl -sSL https://raw.githubusercontent.com/MeowLove/Linux-Remote-Desktop-Environment/master/Download/Common/Main/CentOS.sh | sudo bash

fi

if [ $1 = '-Debian' ]
then
	apt-get install sudo curl wget -y
	sudo curl -sSL https://raw.githubusercontent.com/MeowLove/Linux-Remote-Desktop-Environment/master/Download/Common/Main/Debian.sh | sudo bash
fi

if [ $1 = '-Ubuntu' ]
then
	apt-get install sudo curl wget -y
	sudo curl -sSL https://raw.githubusercontent.com/MeowLove/Linux-Remote-Desktop-Environment/master/Download/Common/Main/Ubuntu.sh | sudo bash
fi

echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\033[31m !!!!!!!!Error!!!!!!!!Error!!!!!!!!Error!!!!!!!! \033[0m"
echo -e "\033[31m Please check if the options are correct. For example [-CentOS/-Debian/-Ubuntu] \033[0m"
echo "---------------------------------------------------------------------------------------------------------------------"
echo -e "\n"
exit