Archive for the ‘Basic Linux’ Category

Remove IP from Brute Force Protection

How to remove blocked  ip address from the Brute Force Protection by using SSH  ?
When WHM locks out an user account, especially “root”, the best way is to wait for 10 minutes to see if the account will be unlocked. If the locks persists, webmaster and administrator who still can remote login via SSH to [...]

How to Zip and Unzip files in UNIX

Here is how to Zip and Unzip files in UNIX

unzip myFile.zip – This command will uncompress compressed files with the .zip extension.
tar xvf myFile.tar – This command will uncompress compressed files with the .tar extension.
gunzip myFile.gz           – This command will uncompress compressed files with the .gz extension.

How to stop syn attack on linux server

The SYN (TCP connection request) attack is a common denial of service (DoS) technique.
A SYN flood is a form of denial-of-service attack in which an attacker sends a succession of SYN requests to a target’s system
When a client attempts to start a TCP connection to a server, the client and server exchange a series of [...]

Delete php.ini file from all directories

Command for to Delete php.ini file from all directories
find -name php.ini -exec rm -f {} \;

How to find How many accounts are hosted on server

How to find How many accounts are hosted on server
#ll /var/cpanel/users | wc -l
1234

spamming on server

How to check  spamming on server..

exim -bpc
If this  is change very fast then it seems spamming is on server also you can check using
tail -f /var/log/exim_mainlog
some times client can spam using scripting that time above using above you can’t find error log so you can use
tail -f /var/log/message or ps -aux  | grep dm.cgi

check insecure permission

How to check insecure permission for files and folders on the server ?
#For Directories
find -type d -perm 777
#For Files
find -type f -perm 777

How to check server is suexec or not

How to check server is suexec or not?
make 777 permission for index.php file for a clients domain and then access it, if it gives an error as Internal server then sure it is suexec server this time copy servers php.ini file and make necessary changes for client.
or
root@rushi []# /usr/local/cpanel/bin/rebuild_phpconf – -current
Available handlers: suphp dso cgi [...]

What is RAID

What is RAID ?
RAID stands for Redundant Array of Independent Disks and it basically involves combining two or more drives together to improve the performance and the fault tolerance.
When a system administrator is first asked to provide a reliable, redundant means of protecting critical data on a server, RAID is usually the first term that [...]

Powered by WordPress | For Free Cell Phones visit www.iFreeCellPhones.com | Thanks to Palm Pre Blog, Free MMORPG Games and Fat burning furnace review

Search engine optimization by SEO Design Solutions