Viewing Category » Linux

The way to prevent ddos attacks

Post Thumbnail of The way to prevent ddos attacks
 Centos       

Preventing DDOS Attacks Simple Methods
To prevent DDos attacks you should install some kind of third party programs.There are other programs that can Defend against DDOs Attacks such Dos_Deflate that their method is to count the number of total connections of each ip address and preventing them from accessing your server …

7 February 2010  No comments

how to creat a conjob to restart apache in every specific times

Post Thumbnail of how to creat a conjob to restart apache in every specific times
 Centos       

in this example I want to show you how you could be able to do so by a sample that would restart apache every 45 miniutes
to acomplish this you should creat a cronjob so you should go to the /var/spool/cron/ and edit the root file that is the root cronjob
then …

6 February 2010  No comments

How to allow just the specific IP Addresses to access ssh

Post Thumbnail of How to allow just the specific IP Addresses to access ssh
 Centos       

please provide the following rul in iptables to accomplish so
iptables -I INPUT -p tcp –dport 22 -s [THE IP ADDRESS YOU WANT TO ALLOW, WITHOUT BRACKETS] -j ACCEPT
iptables -I INPUT -p tcp –dport 22 -j DROP

31 January 2010  No comments

how to install htop on centos

Post Thumbnail of how to install htop on centos
 Centos       

There are times you want to have a better control over the system processes and usage and also having a better visual of RAM and CPU usage on your server.As You may already know there is a Linux command called top which will show the resources and users cpu usage …

28 January 2010  8 comments

how to install ImageMagick

Post Thumbnail of how to install ImageMagick
 Centos       

first ssh to your server
download the latest version
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
extract the tar.gz file
tar xvfz ImageMagick.tar.gz
go to the extracted folder directory
cd ImageMagick-6.6.5-8
compile it
./configure
make
If ImageMagick configured and compiled without complaint, you are ready to install it on your system. Administrator privileges are required to install. To install, type
sudo make install
nano /usr/local/lib/php.ini
run the following …

20 January 2010  No comments

how to rebuild httpd.conf in cpanel?

Post Thumbnail of how to rebuild httpd.conf in cpanel?
 Centos       

If You had your httpd.conf damaged you’ll need a fresh new httpd.conf of apache configuration to be created and if you have CPanel there is a way to recover httpd.conf by CPanel shell Scripts.
Rebuilding httpd.conf Instruction:
Login to ssh with root access,
Just run the following command to rebuild the httpd.conf to …

5 January 2010  No comments

How to install Cpanel?

Post Thumbnail of How to install Cpanel?
 Centos       

cpanel installation is so easy
in a simple description it is only creating a directory for downloading cpanel shell installer in there and go to that directory then wget that cpanel shell installer to that directory, finally run that shell,Then the cpanel will care the rest of the installation and you …

4 January 2010  No comments

how to optimize apache?

Post Thumbnail of how to optimize apache?
 Centos       

Apache Default connection Limit
Apache by default is limited to handle not more than 256 requests per second, so you should do  a litle optimization  by installing a module and a few configuration of that module to make apache enable to handle more than 256 requests per second for high traffic …

4 January 2010  7 comments

how To find the attacks of so many sync request?

Post Thumbnail of how To find the attacks of so many sync request?
 Centos       

To find the attacks, I ran these commands:
netstat -an|grep :80
This first showed me all connections to port 80. Next, I ran this command after I saw many were SYN_RECV ones at the beginning:
netstat -an|grep SYN_RECV
This gave me only the synflood entries. After this, I ran a command to see the …

3 January 2010  No comments

how to get all the connection to your webserver?

Post Thumbnail of how to get all the connection to your webserver?
 Centos       

use the following command to ahieve this
netstat -an | grep :80 | wc -l
as you can see in the above the port that has been specified is 80 that means the port that a webserver is using
so wether it would be apache or lighttpd or lightspeed or all the rest

3 January 2010  No comments
 Page 4 of 5 « 1  2  3  4  5 »
CrossBlock designed by DeltaManual.Com  |  In conjunction with Web Hosting   |   Web Hosting   |   Reverse phone