Category: Control Panel

Cloud Linux, Control Panel, CPanel / WHM

How to enable jailed shell/SSH access to CPanel user using command line.

To enable jailed shell or SSH access to CPanel user. You can run below command. chsh -s /usr/local/cpanel/bin/jailshell username Kindly replace username with CPanel username. It will show output like below [[email protected] ~]# chsh -s /usr/local/cpanel/bin/jailshell abcde23 Changing shell for abcde23. Shell changed. [[email protected] ~]#

Cloud Linux, Control Panel, CPanel / WHM

whmapi to create and delete cPanel account using SSH

If you want to create the cPanel account using SSH then follow below instructions. whmapi1 –output=jsonpretty createacct username=’elinux1234′ domain=’elinux.co.in’ Kindly replace the username with the usrename you want and the domain name with the actual domain name. It will give output like: [[email protected] ~]# whmapi1 –output=jsonpretty \ > createacct \ > username=’elinux1234′ \ > domain=’elinux.co.in’ …

Control Panel, CPanel / WHM, Tweaks

Optimize MySQL & Apache on cPanel/WHM server

Optimize MySQL & Apache on cPanel/WHM server On this optimization process, we will go over the Apache core configuration and modules that are part of Apache core. We think that with the correct settings of Apache and MySQL you can get excellent results and the correct level of resource use without installing third-party proxy and cache modules. …

Control Panel, CPanel / WHM, Installation, MySql

How to replace MySQL with MariaDB in cpanel

Backup existing MySQL data Make sure to save all existing data just in case there are any issues. cp -Rf /var/lib/mysql /var/lib/mysql-old mv /etc/my.cnf /etc/my.cnf-old Disable the targets so cPanel no longer handles MySQL updates The following will mark the versions of MySQL we distribute as uninstalled so they are no longer maintained by cPanel/WHM /scripts/update_local_rpm_versions –edit …

Control Panel, SolusVM

install vztop command

How to install vztop command in centos Take vzprocps tools from http://download.openvz.org/contrib/utils/ . These are usual ps and top utilities (named vztop and vzps to not conflict with the standard ones) with an -E option added. You can use -E CTID option to limit the output to the selected CTID (use 0 for the host …

Cloud Linux, Control Panel, Installation, MySql, Uncategorized

MySQL Governor installation in without control panel server

MySQL Governor installation in without control panel server   Run the below command to install MySQL Governor in plain server or without control panel server. yum install db-governor –enablerepo=cloudlinux-updates-testing yum update mysql-server mysql-devel mysql –enablerepo=cloudlinux-updates-testing Add the below line in my.cnf with root password  [dbgovernor]   Run the below command to start. service db_governor restart

Apache, Control Panel, Installation

How to install ioncube on direct admin server

How to install ioncube on direct admin server Go to the below path cd /usr/local/src Download the tar file using the below link wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz Extract that file using the below command. tar xvf ioncube_loaders_lin_x86-64.tar.gz Move the file mv ioncube /usr/local Open php.ini file. /usr/local/lib/php.ini Add the below link into it zend_extension = /usr/local/ioncube/ioncube_loader_lin_xxxx.so Restart apache /etc/init.d/httpd …

Apache, Control Panel, Uncategorized

Site is working fine with apache but giving 403 error with litespeed

Site is working fine with apache but giving 403 error with litespeed ================================= Error 403: Forbidden You don’t have permissions to access this page. This usually means one of the following: =================================== Go to the clients account for which you are getting the error message. Create a .htaccess file and enter the below lines into …

Control Panel, CPanel / WHM, Installation, WHM Plugins

How to reset litespeed admin password

How to reset litespeed admin password Go to the below path /usr/local/lsws/admin/misc run the below command sh admpass.sh It will show below output Please specify the user name of administrator. This is the user name required to login the administration Web interface. User name [admin]: admin Please specify the administrator’s password. This is the password …