Showing posts with label Server. Show all posts
Showing posts with label Server. Show all posts

Monday, September 17, 2012

Maldet Install, Setup and Syntax


Maldet is a security software usually used in linux to scan for vulnarabilities or malware check. To install maldet follow the steps below:

cd /usr/local/src/
rm -vrf maldetect-*
wget http://www.rfxn.com/downloads/maldetect-current.tar.gz
tar -xzf maldetect-current.tar.gz
cd maldetect-*
sh ./install.sh
maldet --update-ver
maldet --update


You may also want to consider activating the many features of maldet, for example:

 email_alert=1
 email_addr="root"
 quar_hits=1
 scanthreads=5
 maxfilesize="1024k"

To edit these options, $EDITOR /usr/local/maldetect/conf.maldet
To scan all users public_html give the command below:
maldet -a /home?/?/public_html



Tuesday, February 21, 2012

Installing Clam AntiVirus

Clamwin is an Open Source Software and comes with open source code, absolutely free of charge. All you have to do is download it and run it. It is based on the Clam AV technology for UNIX and has been primarily designed to guard and scan email on mail gateways.

To Install Clam AntiVirus on a linux (RHEL, CentOS) server without control panel:

Download the repo file:
 wget http://www.linux-mail.info/files/dag-clamav.repo
This will save a file  dag-clamav.repo in the current location.

Place the repo file in the correct repo location:
mv dag-clamav.repo /etc/yum.repos.d

Use yum to install
yum install clamav clamav-devel clamd

To update the virus definitions type:
 freshclam

To use this anti virus type:
 clamscan

Sunday, February 19, 2012

Copy files and folder via FTP to Linux Server (ncftp)

Check if ncftpget is already installed in your server by typing either one of the commands below.
ncftp -h or which ncftpget

If ncftpget is not installed please follow the steps below to install it.
 1.  rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
2. yum list *NCFTP*
3. yum install ncftp

Please use this command to copy files to the server from an ftp server.
ncftpget -R -v -u -p''


Please find an example below
ncftpget -R -v -u frenchcastles -p'ss135623!@#' 76.34.45.123 /home/files ./*

./* indicate all files from root of ftp server.

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews