| Server IP : 159.223.102.202 / Your IP : 216.73.216.193 Web Server : nginx/1.26.0 System : Linux Gen1-cloudpanel2ubuntu2404-1vcpu-1gb-nyc1-01 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 User : albasshbotta ( 1021) PHP Version : 8.2.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /etc/update-motd.d/ |
Upload File : |
#!/bin/bash
export TERM=xterm-256color
RED_TEXT_COLOR=`tput setaf 1`
GREEN_TEXT_COLOR=`tput setaf 2`
YELLOW_TEXT_COLOR=`tput setaf 3`
RESET_TEXT_COLOR=`tput sgr0`
CLOUDPANEL_URL="https://$(curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/ipv4/address):8443"
CUSTOM_CLP_DOMAIN=$(/usr/bin/cat /etc/.clp_custom_domain 2>/dev/null)
if [ ! -z "$CUSTOM_CLP_DOMAIN" ]; then
CLOUDPANEL_URL="https://$CUSTOM_CLP_DOMAIN/"
fi
printf "\n${GREEN_TEXT_COLOR}"
printf "########################################################\n"
printf "### Welcome to CloudPanel ###\n"
printf "########################################################${RESET_TEXT_COLOR}\n\n"
printf "* Website: https://www.cloudpanel.io\n"
printf "* Documentation: https://www.cloudpanel.io/docs/v2/\n"
printf "* Best Practices: https://www.cloudpanel.io/docs/v2/best-practices/\n"
printf "* CloudPanel: ${YELLOW_TEXT_COLOR} $CLOUDPANEL_URL ${RESET_TEXT_COLOR}\n"
printf "* CloudPanel CLI: clpctl"
printf "\n\n"