Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Tags
Author: UltratechHost - Replies: 0 - Views: 12695
How to find a file or folder in linux with locate
First of all it is better you update your locate db . to do this run this command :

updatedb

It may take several minutes.

Now to find your file just run :

locate [file or folder name]


To install locate in linux you can use yum command if you have it installed.

to install locate with yum run this command as root :

Code:
yum install slocate -y

you also can install it with apt-get (ubutnu) and …

Code:
sudo apt-get install slocate
Author: UltratechHost - Replies: 0 - Views: 3218
Update Cent OS kernel with YUM !
It is very easy , you must just follow this instructions:

1. Find your yum.conf file:
# find yum.conf

2. Verify your yum.conf file:
# nano /etc/yum.conf
“Exclude” line should be something like this:
exclude=courier* apache* mod_ssl* httpd* perl mysql* php* spamassassin* exim*
Note:kernel* should not be excluded on “exclude” line

3. Upgrade kernel using:
- If you have 1 proc:
# yum upgrade kernel
- For dual proc use:
# yum upgrade kernel-smp

When upgrade is complete,
Set “de
Author: UltratechHost - Replies: 0 - Views: 3216
Does WHM come with an anti-virus
WHM comes with a free, pre-installed version of clamavconnector (Clam antivirus) that is not activated by default. You may activate it by following this procedure:

Code: Select all
1. Connect to your WHM interface as root.
2. On the home page, click on the cPanel link (icon)
3. Click on "Manage Plugins."
4. Check the box "Install and keep updated" in the frame corresponding to clamavconnector
5. Click on save at the bottom of the page to confirm the installation



WHM will then down
Author: UltratechHost - Replies: 0 - Views: 3363
How to upload files with the help of cPanel
Upload a file from local system to server from cPanel one need to perform below mentioned steps:

1) Login into cPanel of their domain.
2) Click on file manager.
3) Go to the depth where one need to upload the file/s.
4) Click on upload file.
5) Click on browse button and select the path of the file from local system.
6) Click on upload.
Author: UltratechHost - Replies: 0 - Views: 3421
DDoS protection with bandwidth shaping
1. Protecting your host from SYN floods

From Alexey's iproute documentation, adapted to netfilter and with more plausible paths. If you use this, take care to adjust the numbers to reasonable values for your system.

If you want to protect an entire network, skip this script, which is best suited for a single host.

It appears that you need the very latest version of the iproute2 tools to get this to work with 2.4.0.

#! /bin/sh -x
#
# sample script on using the ingress capabilities
Author: UltratechHost - Replies: 0 - Views: 4612
Flood/DoS/DDoS Protection with mod_dosevasive (Avoiding Denial of Service Attacks)
With the widespread infection of many computers with viruses, and the ever increasing number of Botnets, DoS and DDoS attacks can be quite frequent and can very easily bring a website to halt for days. This article provides a module solution for apache to help mitigate small http DoS and DDoS attacks.

Download the latest version of mod_dosevasive from:
Code:
http://www.nuclearelephant.com/projects/dosevasive

The lastest version is 1.10
[code]http://www.nuclearelephant.com/projects
Author: UltratechHost - Replies: 0 - Views: 3794
Securing Your /tmp Partition with Cpanel/WHM
If you are renting a server then chances are you only have one big partition. Learn how to create a secure /tmp partition even while your server is already up and running on Cpanel/WHM.

Securing Your /tmp Partition with Cpanel/WHM

If you are renting a server then chances are everything is lumped in / and a small amount partitioned for /boot and some for swap. With this current setup, you have no room for making more partitions unless you have a second hard-drive. Learn how to create a secu
Author: UltratechHost - Replies: 0 - Views: 5958
Installing Remote Desktop on a Linux VPS With CentOS 5
Hey guyz .... just thought i would post a way of installing the Remote Desktop on a linux VPS ... some 256mb of ram will also able to run it but ofc it'll be slow .. i recommend 1GB of ram as minmum for it ...

for this i'll be using the software putty which many of u use

this is basically installing the VNC on the VPS ....

ok so here i go ....

login to ur putty and then start with these codes for installing required packages for VNC We'll need the X Window System and a desktop environment
Author: UltratechHost - Replies: 0 - Views: 8790
Monitor UNIX / Linux Server Disk Space with Shell Script
Shell script to monitor or watch the disk space and send an email alert if the (free avilable) percentage of space is >= 80%

Create a file, say, /root/serverspace.sh by running the command

Code:
nano /root/loadmonitor.sh

and add the bellow script

[php]#!/bin/sh
# Shell script to monitor or watch the disk space
# It will send an email to $ADMIN, if the (free avilable) percentage
# of space is >= 80%
# -------------------------------------------------------------------------
Author: UltratechHost - Replies: 0 - Views: 9710
Protecting Apache with Mod_QOS to Prevent DDOS Attacks of Slowloris
Apache being the dinosaur that it is prone to a host of denial of service attacks. A common form of attack refered to as HTTP flooding (for example Slowloris) exploits Apache’s architecture.

Installing and setting up Mod_QOS

Firstly we will download Mod_QOS:

Code:
cd /tmp
wget http://kent.dl.sourceforge.net/project/mod-qos/mod_qos-9.57.tar.gz
apt-get install apache2-threaded-dev gcc

Untar the archive:

Code:
tar -xvf mod_qos-9.57.tar.gz
cd mod_qos-9.57/apache2

W