?
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/01-cpanel.sh.20240110T023645 |
#!/bin/bash mkdir -vp {/root/cpanel_profile,/var/cpanel} touch {/var/cpanel/has_fast_update_on_lan,/var/cpanel/noimunifyav} echo 'mysql-version=5.7' >> /root/cpanel_profile/cpanel.config echo 'mycnf_auto_adjust_openfiles_limit=0' >> /root/cpanel_profile/cpanel.config echo 'phploader=ioncube' >> /root/cpanel_profile/cpanel.config echo 'local_nameserver_type=bind' >> /root/cpanel_profile/cpanel.config echo 'CPANEL=11.102' > /etc/cpupdate.conf echo 'HTTPUPDATE=cpupdate.endurance.com' > /etc/cpsources.conf while ! /usr/bin/wget -O /root/cpanel-universal-install.sea http://layer2.cpanel.net/cpanel-universal-install.sea; do /usr/bin/wget -O /root/cpanel-universal-install.sea http://layer2.cpanel.net/cpanel-universal-install.sea; done chmod 755 /var/run/screen chmod +x /root/cpanel-universal-install.sea rm -fv /root/installer.lock /root/cpanel-universal-install.sea --noexec --target /cpanel_installer cd /cpanel_installer /cpanel_installer/bootstrap --force