When managing Linux servers, administrators often need to move thousands of files from one directory to another. However, attempting to move a large number of files using the standard mv command may result in an error. This guide explains why the “Argument list too long” error occurs and how to safely move large numbers of files without issues. Why the Error Occurs If you try to move a huge number of files (for example, more than 50,000 files) using: you may see the following error: Reason Linux shells expand * …
Server
If your server are having multiple IP address and you want to send each emails in different IP, then please follow the steps. This is used to maintain the ip reputation. Also, please make sure that this is not used for spamming. 1. vi /etc/exim.conf 2. Search for the line : interface = 3. Replace this line with interface = xxx.xxx.x.1${eval:${substr{-2}{1}{$tod_zulu}}%9+1} 4. If your server is having ip’s from xxx.xxx.x.11 to xxx.xxx.x.20 , you can use above line. +1 is is the starting ip ie xxx.xxx.x.1’1′ and %9 is the …
PCI DSS (Payment Card Industry Data Security Standards) are the official security standards created by the PCI Security Standard Council to reduce payment card frauds. It provides elaborate and comprehensive standards to enhance payment card data security. The core purpose of PCI DSS this is to create as secure of an environment as possible for users to process their credit cards. To adhere by PCI DSS, service providers and merchants who sell products over the web are required to have a periodic PCI Security Scans that are usually defined by …
Disabling direct root login over SSH is an important security practice for any cPanel server. Allowing remote root access increases the risk of brute-force attacks and unauthorized logins. By disabling root login, administrators must first log in using a normal user account and then switch to root privileges securely. This approach also allows administrators to access WHM/cPanel without the root password, improving security while maintaining full administrative control over the server. This guide explains how to disable root SSH login on a cPanel server safely without locking yourself out. Why …
If you are getting error while accessing the Rvsitebuilder from cpanel ==================== Fatal error: The encoded file /var/cpanel/rvglobalsoft/rvsitebuilder/www/ionctestlicense.php requires a license file. The license file /var/cpanel/rvglobalsoft/rvsitebuilder/rvsitebuilder.lic has expired. in Unknown on line 0 ===================== Then Please login to the server through root and execute. ======== root@server[#]rm -f /var/cpanel/rvglobalsoft/rvsitebuilder/rvsitebuilder.lic root@server[#] rm -f /var/cpanel/rvglobalsoft/rvsitebuilder/rvsitebuilder-pro.lic root@server[#] perl /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/autoinstaller.cgi ======== This will fix the issue If you require help, contact SupportPRO Server Admin
How to restrict number of connections per vhost/dir and limit the bandwidth for files
Managing server resources efficiently is essential for maintaining performance and stability. If a particular domain or directory is consuming excessive bandwidth, you can control its usage using the mod_bw module in Apache. The mod_bw (bandwidth module) allows administrators to restrict bandwidth usage and limit the number of simultaneous connections for specific virtual hosts (vhosts) or directories. This is especially useful in shared hosting environments where resource control is critical. When to Use mod_bw You can use mod_bw when: Steps to Install and Configure mod_bw 1. Check Apache Version Run the …
Disk usage 100% ? Retain latest entries of a file and delete the rest of the contents
Have issues with 100% diskspace in your Linux dedicated server. An easy and quick way is to clear the log files and thereby you can acquire quite a large amount of usable diskspace. Check the following: 1. Check the total disk usage: [root@testserver /]# df -h 2. Check the size of a each folder: [root@testserver /]# du -sch * or du -sch /foldername command
PHP DSO DSO – Dynamically Shared Objects Apache with PHP can be installed in two different ways. Statically embed the PHP binary into the Apache binary. This is probably the fastest and best way to run PHP Install Apache and PHP is by using Apaches DSO module Why DSO? Apache supports adding modules on instead of embedding them in the httpd binary. This works well when you dont want to re-compile Apache each time a module is updated, or if you want to add on numerous modules for development purposes …
Mod_Security 2.5 Need for a Webserver Security Module It is pretty difficult to secure application softwares. Common targets are Open Source software like PHPNuke. An attacker can easily find out vulnerabilities in the code. If your application is vulnerable to SQL injection, invoking the URL above may very well delete all user data from your application. You can use mod_rewrite to avoid this attack. it is very easy to detect the words drop and table, and then redirect the client away from the original URL. A determined attacker could simply …
suPHP suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter. Main Features of SuPHP suPHP provides an additional layer of protection on servers. It causes php scripts to run under the account username instead of the user nobody which is the user that apache/php would run under on a server that is not running …