How to Install RHQ on CentOS 6.5

Install PosgreSQL

3.1.1. Type ‘yum install postgresql*’ making sure to include the asterisk (*)
3.1.2. Type ‘y’ when prompted (happens twice)

Confirm java version

4.1.    Type ‘java –version’
4.2.    Confirm it’s running at least 1.6 and using OpenJDK (or Oracle/Sun Java or JRockit, but NOT GNU Libgcj)

Continue reading “How to Install RHQ on CentOS 6.5”

VPN CLIENT INSTALLATION on Linux

VPN INSTALLATION on Linux

[root@app-01 ~]# uname -a
 Linux app-01 2.6.32-431.11.2.el6.x86_64 #1 SMP Tue Mar 25 19:59:55 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@app-01 /]# mkdir download
 [root@app-01 /]# cd download/
 [root@app-01 download]# ll
 total 0
 [root@app-01 download]# mkdir vpn
 [root@app-01 download]# cd vpn/
 [root@app-01 vpn]# ll
 total 0
 Continue reading "VPN CLIENT INSTALLATION on Linux" 

How to verify DDOS attack with netstat command on Linux Terminal

How to verify DDOS attack with netstat command on Linux Terminal

Some examples with explanation

netstat -na

This display all active Internet connections to the server and only established connections are included.

netstat -an | grep :80 | sort

Continue reading “How to verify DDOS attack with netstat command on Linux Terminal”

How to setup Network File Server on CentOS / Redhat with Automatic Backups — RackSpace

NFS SERVER SETUP ON CETNOS 6.5 / Redhat 6.5 / Fedora

In this tutorial let us see how to install and configure NFS server and how to share files between NFS server and clients. Though i have tested these steps in Cent-OS 6.5 32 bit edition, it will work on RHEL/Fedora/ 64 bit architecture.

Scenario

NFS Server Operating System : CentOS 6.5 64 bit (Minimal server install)

NFS Server Operating System  : CentOS 6.5 64 bit (Minimal server install)

NFS Client Operating System  : CentOS 6.5 64 bit (Desktop Minimal)

NFS Server IP Address              Host rackspace-nfs01: 192.168.58.152

NFS Server IP Address              Host rackspace-nfs02: 192.168.58.153

NFS Client IP Address               Host rackspace-jon: 192.168.58.154

Continue reading “How to setup Network File Server on CentOS / Redhat with Automatic Backups — RackSpace”

How to recover RPMDB in RHEL / CentOS / Fedora

You can see below is the error while updating RHEL/CentOS/Fedora using yum update

[root@babar rpm]# yum update

rpmdb: Thread/process 8367/457660786 failed: Thread died in Berkeley DB library
error: db4 error(-41638) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 – (-30575)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed

New Please check RPMDB file and rebuild if corrupted using below commands

Continue reading “How to recover RPMDB in RHEL / CentOS / Fedora”

Graylog2 Installation & Configuration for Log Management on CentOS /RHEL 6.x with MongoDB

Graylog2

is for data analysis

Features

Continue reading “Graylog2 Installation & Configuration for Log Management on CentOS /RHEL 6.x with MongoDB”