August 2012
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Categories

August 2012
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  

Centos Minimal

scp : samll tips ( error : bash: scp: command not found )

When I try to copy a file over scp command , I’ve faced the following error.

CentOS6-1# /usr/bin/scp aa.tgz hattori@192.168.0.100:hattori@192.168.0.100’s password:bash: scp: command not foundlost connection#

The reason is openssh-clients have not been installed on the remote machine. To […]

How find/kill zombie processes

There are many ways to find out zombie processes , so this is one of examples. # cat /etc/centos-release CentOS release 6.2 (Final)

 

find zombie processes # top -b -n 1 | grep Z 6072 root 20 0 0 0 0 Z 0.0 0.0 0:00.09 dumpcap <defunct> 6075 root 20 0 0 0 0 […]

RAID 10 with mdadm

If I had to pick one fault of Linux, it would be that for almost everything, the Linux user is inundated with hundreds of possible solutions. This is both a blessing and a curse – for the veterans, it means that we can pick the tool that most matches how we prefer to operate; […]

OSSEC Server Installation on CentOS

OS: CentOS 5.6 i386, CentOS 6.2 i386 Ossec Version: 2.6 Hardware: Virtual Machine (VirtualBox 4.1.14) About

OSSEC is an opensource Host Intrustion Detection System (HIDS). OSSEC let you monitor log files, integrity of files and detects root kits in a client-server environment.

OSSEC Server Installation Install wget and update your system yum install wget […]

Snort Error Messages

Error Messge: testing snort configuration generate the following message: … ERROR: snort_stream5_tcp.c(906) Could not initialize tcp session memory pool. Fatal Error, Quitting.. Fix: Add more memory or try to reduce max_tcp connections in snort configuration file vi /usr/local/snort/etc/snort.conf preprocessor stream5_global: track_tcp yes, \ track_udp yes, \ track_icmp no, \ max_tcp 162144, \ max_udp 131072, […]

Configure Snort automatic rules updating with PulledPork

OS: CentOS-6.2 i386, Ubuntu 12.04 x86_64 LTS, Ubuntu 10.04 x86_64 LTS, Ubuntu 11.10 i386 Snort Version: 2.9.2.2 IPv6 GRE (Build 121) Hardware: VirtualBox 4.1.12

About

PulledPork is an opensource perl script that can automatically update Snort rules.

Prerequisite Snort installation Install perl modules On CentOS yum install perl-libwww-perl perl-Crypt-SSLeay perl-libwww-perl perl-Archive-Tar -y […]

Snort Installation on CentOS 6.2

Tested On

OS: CentOS 6.2 i386, CentOS x86_64, CentOS 5.7, Ubuntu 10.04 TLS Snort Version: Version 2.9.2.3 IPv6 GRE (Build 205) Hardware: Virtual Machine (VirtualBox 4.1.8)

About

Snort is Network Intrusion Detection System (NIDS). Snort can sniff your network and alert you based on his rule DB if there is an attack […]

OpenVAS 5 Installation on CentOS 6.2

OpenVAS 5 Installation on CentOS 6.2

Install Centos 6.2 Minimal

OS: CentOS 6.2 32bitHardware: Virtual Machine (VirtualBox 4.1.14)OpenVAS: 5

About

OpenVAS is an opensource vulnerability network scanner. OpenVAS let you scan your network for vulnerabilities and create a report on your network status.

Prerequisite

Disable SELINUX

vi /etc/selinux/config

…SELINUX=disabled…

Disable the firewall

Install […]

Securing SSHd on CentOS 6

CentOS6.0 no longer uses faillog for keeping track of failed login attempts. Here’s an easy way to get up login tracking, and SSH time outs for PCI compliance, or just for a nice secure system.

Firstly you want to edit /etc/ssh/sshd_config to set up a timeout for SSH. You want to change the following lines;

[…]

qmail install on centos 5.8

 

I have compressed most of the required files into one file called qmr1.tar.gz and qmr2.tar.gz. You will need to download both then put them in the /downloads/qmr directory that you need to create on your Centos or Fedora box.

 

Attachments are:

 

qmr1.tar

qmr2.tar

If you are looking at installing Qmail on a […]