mod_fcgid is a high-performance Apache module designed to improve the execution of CGI applications. It was introduced as a binary-compatible replacement for FastCGI while providing better control over process management and resource usage. Unlike traditional CGI modules such as mod_cgi or mod_cgid, mod_fcgid keeps application processes running in the background, allowing them to handle multiple requests efficiently without restarting for every connection. Why Use mod_fcgid? mod_fcgid offers several advantages: Installing mod_fcgid Step 1: Install Apache Components On Red Hat or CentOS systems, install Apache with the threaded MPM Worker module …
Linux Basics
mod_evasive is a detection and network management tool, and can be easily configured to talk to IP chains, firewalls, routers, etc . Detection is performed by creating an internal dynamic hash table of IP Addresses and URLs, and denying any single IP address that matches the criteria. #cd /usr/src #wget http://www.zdziarski.com/blog/wp-content/uploads/2010/02/mod_evasive_1.10.1.tar.gz #tar xzf mod_evasive_1.10.1.tar.gz #cd mod_evasive #apxs -cia mod_evasive20.c LoadModule evasive20_module /usr/lib/httpd/modules/mod_evasive20.so
SPDY is a new networking protocol used for speeding up the web. It combines with http protocol with several speed related features that can reduce page load time. It uses stream multiplexing and header compression to improve speed. In order to use SPDY, a web server and a browser that both support SPDY is needed. Google chrome and newer versions of Firefox support SPDY protocol. In Apache HTTPD server mod_spdy module add support to SPDY protocol. SPDY protocol uses HTTPS so site need to serve content over HTTPS in order …
The following are the steps to install awststs in cpanel: 1. Download wastats source: http://awstats.sourceforge.net wget http://nchc.dl.sourceforge.net/project/awstats/AWStats/7.0/awstats-7.0.tar.gz 2. Extract the tzr.gz file #gtar -zxvf awstats-7.0.tar.gz 3. Change the permissions of the awredir.pl and awstats.pl files to 755 (under awstats-7.0/wwwroot/cgi-bin/) 4. Move awredir.pl and awstats.pl and the directory icons to /home/user/cgi-bin 5. Copy /home/user/tmp/awstats/awstats.domain.com.conf to /home/user/cgi-bin 6. Edit /home/user/cgi-bin/awstats.domain.com.conf and search for the “DirIcons” line, and change it to show: DirIcons=”/cgi-bin/icon” 7. Check statistics at http://www.yourdomain.com/cgi-bin/awstats.pl?config=yourdomain.com. If you require help, contact SupportPRO Server Admin
IPTABLES is a powerful firewall utility used in Linux servers to control incoming and outgoing network traffic. It stores firewall configuration rules in the file /etc/sysconfig/iptables. To open a specific port, root privileges are required because firewall rules directly affect system security. Step-by-Step: Open a Port Using IPTABLES 1. Edit the IPTABLES Configuration File Open the configuration file using a text editor: 2. Add a Rule to Allow the Port Append the following rule to allow incoming traffic on a specific TCP port: Replace [port_number] with the required port number …
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 …
GNU/Linux provides a tool/command to fix this issue: ‘dpkg-reconfigure xserver-xorg’ is the command for fixing the Xserver loading problem. Steps:- First, log in as a super (or root) user from the console. Then, run dpkg-reconfigure xserver-xorg (if you’re on Ubuntu and can’t log in as root, run sudo dpkg-reconfigure xserver-xorg). You will see a window/wizard as ‘Configuring xserver-xorg’ , Just accept the default answer and go to the next one. At the end of the wizard you will be exited from the configuration window/wizard, then just reboot the system your …
You can install softaculous in cpanel from WHM and also from command line without having to visit cPanel/WHM. Before starting the softaculous installation please make sure that the ‘ionCube Loader’is enabled on the server. To install from WHM ================== 1. Log into server via ssh. 2. cd /usr/local/cpanel/whostmgr/docroot/cgi 3. wget -N http://www.softaculous.com/ins/addon_softaculous.php 4. chmod 755 addon_softaculous.php 5. Then go to WHM –> Plugins–>softaculous– Instant Installs Install from command cline ========================== 1.Log into server via ssh. 2.cd /usr/local/cpanel/whostmgr/docroot/cgi 3. wget -N http://www.softaculous.com/ins/addon_softaculous.php 4. chmod 755 addon_softaculous.php 5. /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/addon_softaculous.php You can …
Login to the server: telnet localhost “portnumber” netstat command to find open ports ———————————- netstat –listen To display open ports and established TCP connections, enter —————————————————————- netstat -vatn To display only open UDP ports try the following command: ———————————————————— netstat -vaun To display the list of open ports, enter: ——————————————— lsof -i If you require help, contact SupportPRO Server Admin
skill -STOP -u Username. STOP/HALT a user skill -CONT -u Username RESUME already halted user skill -KILL -u Username KILL and LOGOUT user skill -KILL -v /dev/pts/* KILL and LOGOUT all users If you require help, contact SupportPRO Server Admin