This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
echo "" | |
echo " ####################### CloudLinux (cPanel) Installer ####################### " | |
echo "" | |
echo "" | |
if [ ! -d /usr/local/cpanel ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
HOSTNAME=$(hostname -f) | |
PASSV_PORT="50000:50100" | |
SSH_PORT=2022 | |
PASSV_MIN=$(echo $PASSV_PORT | cut -d':' -f1) | |
PASSV_MAX=$(echo $PASSV_PORT | cut -d':' -f2) | |
ISVPS=$(((dmidecode -t system 2>/dev/null | grep "Manufacturer" | grep -i 'VMware\|KVM\|Bochs\|Virtual\|HVM' > /dev/null) || [ -f /proc/vz/veinfo ]) && echo "SI" || echo "NO") | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# After installing CloudLinux from ISO we yum update, yum install open-vm-tools, reboot then | |
# run this script to install cpanel with a basic config | |
# Changes ssh port to 2022 | |
# Removes some detault software blockers for cpanel to install | |
echo "CloudLinux OS customisation for CPANEL" | |
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |