?
Current Path : /usr/local/runonce.d/ran/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/local/runonce.d/ran/03-cpanel-clean.sh.20240110T023658 |
source /tmp/hostname export HOSTNAME # No WHM Menu stuff touch /etc/.whostmgrft touch /var/cpanel/activate/features/disable_feature_showcase # Disable CPHulkD /usr/local/cpanel/etc/init/stopcphulkd /usr/local/cpanel/bin/cphulk_pam_ctl --disable rm -f /var/cpanel/hulkd/enabled #sed -i 's/^ETHDEV $/ETHDEV eth1/' /etc/wwwacct.conf sed -i '1 i\MAILTO=""' /var/spool/cron/root touch /etc/mysqlupdisable touch /etc/ftpupdisable rm -vf {/var/cpanel/globalcache/cpanel.cache,/usr/my.cnf} curl -s http://kickstart.hostgator.com/hg-prov.repo > /etc/yum.repos.d/hg-prov.repo yum -y install http://repo.websitewelcome.com/hg/6/x86_64/perl-cPanel-PublicAPI-1.002-1.noarch.rpm whmapi1 php_set_default_accounts_to_fpm default_accounts_to_fpm 0 yum install -y --enablerepo=hg-provisioning initial-scripts-HOSTGATOR /usr/local/cpanel/cpkeyclt --force cat <<LOCALHAL >/root/initial/conf/hal_local_data.yaml --- hostname: ${HOSTNAME} silo_type: internal region_id: 3 meta: prov_stage: initial test_server: 1 LOCALHAL