CPanel / WHM, Uncategorized

Some usefull Cpanel scripts

Some usefull Cpanel scripts /scripts/adddns – Adds a DNS zone. /scripts/addnetmaskips – Add the netmask 255.255.255.0 to all IPs that have no netmask. /scripts/addnobodygrp – Adds the group nobody and activates security. /scripts/addpop – Add a Pop Account. /scripts/addservlets – Add JSP support to an account (requires tomcat). /scripts/adduser – Add a user to the …

CPanel / WHM

Error from park wrapper domain.com is owned by another user

Error from park wrapper domain.com is owned by another user If you are getting above error message then remove the domain entry from the below listed files: /etc/localdomains /etc/userdomains /etc/trueuserdomains /etc/trueuserowners /etc/valiases/domain.com /etc/vdomainaliases/domain.com /etc/vfilters/domain.com /var/cpanel/users/username /scripts/updateuserdomains /var/named/domain.db /etc/named.conf /usr/local/apache/conf/httpd.conf Once done the please try re-adding the domain from the cpanel again. Mysql database is already …

Installation

How to install ffmpeg in linux server

How to install FFMpeg in linux server FFmpeg Installation: cd /usr/src/ Download the file using the below link: wget http://mirror.ffmpeginstaller.com/old/scripts/ffmpeg3/ffmpeginstall.3.2.1.tar.gz Untar the file using below command tar -xzvf ffmpeginstall.3.2.1.tar.gz cd ffmpeginstall.3.2.1 ./install.sh ( You have to enter the php.ini full path to confirm the installation ) It will take some time to complete the process. …

Security, Uncategorized

Common Ingress Ports for all control panel

 Common Ingress Ports for all control panel Common ingress (inbound) TCP ports section. Choose the correct configuration for your control panel from following  available options :- FOR PLESK =================================== =-=-=-=-=Plesk =-=-=-=-= # Common ingress (inbound) TCP ports IG_TCP_CPORTS=”20,21,22,25,53,80,110,143,443,465,993,995,8443″ # Common ingress (inbound) UDP ports IG_UDP_CPORTS=”37,53,873″ EGF=”1? # Common egress (outbound) TCP ports EG_TCP_CPORTS=”20,21,22,25,53,37,43,80,113,443,465,873,5224″ # Common …

Installation, Security

How to install APF firewall

How to install APF firewall Go to the below path cd /usr/local/src Download the tar file using the below link: wget http://www.rfxnetworks.com/downloads/apf-current.tar.gz Untar the file using the below command. tar -zxf apf-current.tar.gz Go to APF folder now. cd apf Fire the below command to install APF firewall. ./install.sh Now edit config file with your favorite editor. pico …

Installation, Security

How to Install Grsecurity in linux

How to Install Grsecurity in linux First download the kernel using the below link: http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.32/linux-2.6.32.51.tar.gz Then, download gr-security path using the below link: http://grsecurity.net/stable/grsecurity-2.2.2-2.6.32.51-201201021326.patch Extract the kernel using the below command: tar xjf linux-2.6.24.5.tar.gz Then go to the extracted folder. cd linux-2.6.32.51 Patch the kernel using below command. patch -p1 < ../grsecurity-2.1.11-2.6.24.5-200804211829.patch Use the below …

Apache, CPanel / WHM, Installation, Security

How to install mod security in linux server

How to install mod security in linux server   First check mod_security is enabled on the server. If it is not installed than you can install it through easy apache. Run the below commands to create the directory and give proper permissions. mkdir /var/asl mkdir /var/asl/tmp mkdir /var/asl/data mkdir /var/asl/data/msa mkdir /var/asl/data/audit mkdir /var/asl/data/suspicious chown nobody.nobody …

CPanel / WHM, Installation

How to install Softaculous in linux server

How to install Softaculous in linux server Note: Before starting the installation make sure ionCube Loaders are enabled. For that go to WHM and click on Tweak Settings. Please make sure that the Ioncube loader is selected for the backend copy of PHP. Now SSH to your server : Go to the below path cd …