cPHulk is a brute force protection system developed by the cPanel team and is exclusive to cPanel / WHM control panels. This protects service like WHM, SSH,FTP,IMAP and POP3 by disabling the authentication to those service after a brute force attack is detected. cPHulk mainly blocked the IPs which have perform more than one wrong login attempt with in a tiny time limit. If we need to remove a particular IP from the cPHulk deny list this is possible in two ways, Either from WHM or through database. Let us …
Prerequisites Before you begin, ensure the following requirements are met: Tools Required: OpenSSL Operating System: Ubuntu Web Server: Nginx Assumptions Step-by-Step Installation Guide 1. Generate a Private Key Start by creating a 2048-bit RSA private key. Log in to your server via SSH and run: This will generate the private key file: mydomain.com.key. 2. Generate a Certificate Signing Request (CSR) Use the private key to generate a CSR: You will be prompted to enter the following details: Ensure the Common Name matches your domain name exactly. 3. Purchase an SSL …
An SSL certificate is a file installed on a secure web server that identifies a website. SSL certificate is mainly used is tokeep sensitive information sent across the Internet encrypted so that only the intended recipient can understand it. An SSL Certificate is used for the following functions. 1. Authentication and Verification: The SSL Certificate holds the information about the authenticity of certain details regarding the identity of a person, business or website, which it will display to visitors on your web site when they click on the browser’s padlock …
Cloning an Open VZ container is a useful process for creating an exact copy of an existing VPS container. The cloned container contains the same files, configurations, applications, and settings as the original container but uses a different container ID and storage path. This process is commonly used for backup purposes, server migration, testing environments, and rapid VPS deployment. OpenVZ provides a utility called vzmlocal that simplifies container cloning directly from the host node. What is Cloning an Open VZ Container? Cloning an Open VZ container means reproducing an existing …
You are getting the error message Error: cron job (cron.sh) error message: expr: syntax error because the commands included in Magentos cron.sh files are not portable. To get it work you can change the following line in cron.sh: if [ “$INSTALLDIR” != “” -a “`expr index $CRONSCRIPT /`” != “1” ];then to something more portable: if [ “$INSTALLDIR” != “” -a “`echo $CRONSCRIPT | sed -n ‘s/[/].*//p’ | wc -c`” != “1” ];then If you require help, contact SupportPRO Server Admin
The Multi Router Traffic Grapher (MRTG) is a free and widely used network monitoring tool that helps administrators track and analyze traffic load across network links. It collects traffic data and displays it in graphical format, making bandwidth monitoring simple and efficient. What is MRTG? MRTG monitors network interfaces by polling routers, switches, and servers at regular intervals. It records: The tool generates easy-to-read graphs that help system administrators understand bandwidth usage patterns and network performance. Key Feature of MRTG One important thing to note is that MRTG displays average …
If you corrupt the SSH settings on your server and lock yourself out of ssh, then you can reset the SSH configuration settings from WHM by following the steps below: 1. Login to your WHM on a non-secure port that is: 2086 For example http://serverip:2086 2. Then browse the URL to reset the SSH configuration settings: http://serverip:2086/scripts2/doautofixer?autofix=safesshrestart After running the script, the default port 22 will open up and after logging in the server via ssh we can edit the config file of sshd and then restart sshd service to …
You can change the time zone for a particular domain via .htaccess or php.ini file. If the server PHP is compiled with apache (dso) then you can use .htaccess file to set the time zone. SetEnv TZ location For SuPHP servers, you can create custom php.ini file for that particular domain and add the following code. date.timezone = “location” If you require help, contact SupportPRO Server Admin Partner with SupportPRO for 24/7 proactive cloud support that keeps your business secure, scalable, and ahead of the curve.
You can install CSF by downloading the package from www.configserver.com. #wget www.configserver.com/free/csf.tgz Extract the package #tar -zxvf csf.taz #cd csf [CSF firewall requires to remove any currently running IP based firewall] If any IP based firewall is running. Remove it #./remove_apf_bfd.sh Install script #./install.sh we can start the firewall in testing mode using this commands. #csf -s //start the firewall Configuration file of csf is /etc/csf/csf.conf It is very important to check the firewall on which ports to open and close all remaining port numbers. Open the /etc/csf/csf.conf and edit …
Commenting Multiple Lines in a Shell Script Using VI/Vim in a Single Step
A text editor like vi or vim can be used to comment multiple lines in a shell script (or any other script or configuration file) in a single go rather than adding # or whatever that goes for a comment for the script in question. Open the file to be edited using vi/vim using the command vi filename (where filename can be replaced by the name of the file), now enter the command mode by pressing: .In order to comment multiple lines ( i.e. to add a # to the …