D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
local
/
runonce.d
/
ran
/
Filename :
01-cpanel.sh.20191012T233554
back
Copy
#!/bin/bash touch /var/cpanel/has_fast_update_on_lan mkdir -vp /root/cpanel_profile echo 'mysql-version=5.7' >> /root/cpanel_profile/cpanel.config echo 'mycnf_auto_adjust_openfiles_limit=0' >> /root/cpanel_profile/cpanel.config echo 'CPANEL=11.78' > /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