CentOS | Fedora

How To Show Shared Directory from NFS Server Linux

First, we need to know what is NFS ?
NFS is a network file system something like a distributed file system protocol that allowing user on a client computer to access files over network.

For Example : we have few NFS server here and we want to know
how to see all exported file system from unix server using a command line linux

We can using showmount command to see the mount information from NFS server.

Example we have a NFS server named : media10 and the ip address :

How To Detect Rootkits in Your Linux Server

First, we need to know what is rootkits.
Rootkits is a program to control your unix terminals usually root access,
in Windows usually Administrator access without any authorization from the server owner.

So to securing your linux server 
We can using some software : Zeppoo , Chkrootkit or rkhunter

Zeppoo Software

Zeppo will detect rootkits on i386 and x86_64 architecture in linux using /dev/kmem and /dev/mem
this software also able to detect a hidden task, system call etc..

Cpanel SSL Problem Error Code : ssl_error_rx_record_too_long

I found this problem when i have install SSL Certificate via Cpanel WHM.
I belived my SSL already installed in the Cpanel properly.
but when i trying to accessing my web ex : https://www.example.com

Mozilla show me something like below :

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

How To Setup PureFTPd With ClamAV Scanning in CentOS 6.x

This is a simple tutorial / how to setup your PureFTPd daemon to working with ClamAV Scanner.
So When you uploaded a files to your FTP server, ClamAV will automatically checking your files.
If your files contain an infected / malware ClamAV will delete it.

Preparing to Install PureFTPd

Login as root
#yum install pure-ftpd

Preparing to Install ClamAV

Next, We will install ClamAV
FYI, ClamAV is not available in the CentOS official repositories.
But We can enable it with the EPEL repository

How to Enable and Disable Linux ExecShield Buffer Overflows Protection

What is ExecShield ?

ExecShield is security Linux kernel patch to avoid worms and other problems.

Exec Shield is a project that got started at Red Hat, Inc in late 2002 with the aim of reducing the risk of worm or other automated remote attacks on Linux systems. The first result of the project was a security patch for the Linux kernel that adds an NX bit to x86 CPUs. While the Exec Shield project has had many other components, some people refer to this first patch as Exec Shield.

How To Find a Hidden Process and Port in Linux and Unix Operating System

There are so many tools that able to check the hidden process and port, the tools are rootkits/lkms/unhide etc.
In this tutorial i will discuss something more simple to use and the tools is UNHIDE.

Unhide is a tool to find hidden processes and TCP/UDP ports by rootkits / LKMs or by another hidden technique. This tools works under both Linux / Unix, and MS-Windows operating systems.

It detects hidden processes using three techniques:

The proc technique consists of comparing /proc with the output of /bin/ps.
The sys technique consists of comparing information gathered from /bin/ps with information gathered from system calls.
The brute technique consists of bruteforcing the all process IDs. This technique is only available on Linux 2.6 kernels.

How To Install mod_wsgi with Python Cpanel on CentOS 5.6

How To Install mod_wsgi with Python Cpanel on CentOS 5.6

Here is a simple way tutorial to install Python with mod_wsgi in CentOS 5.6 cPanel.
First we need to know what is mod_wsgi

What is mod_wsgi ?

mod_wsgi is an Apache module that can host any Python application and support the Python WSGI interface.
This module also suitable to use in high hosting performance website.

What is Pyton ?

Automation Using Linux Crontab to Schedule Task

If you want to run some processes like backup , generate image thumbnail etc.. in the background.
The is an easy way to do this, we can using Crontab to handle this task so it will automatically do the job in your schedule task.

What is Crontab ?

Crontab is found in unix and unix-like O/S, cron derives from chronos greek time and it used to schedule command or execute it periodically.

How to Verify Crontab Running in The System ?

Login into your server and type this command below :

#crontab -l

How To Unlocked Brute Force System Cpanel

How To Unlocked Brute Force System Cpanel

Today i just updated my cpanel server to the latest version but the strange thing is i misstyped my email password account few times and this will automatically detected as brute force in cpanel system that handle by cphulkd.

If i trying to login into the WHM / Cpanel it will show like below :

How to Mount To NTFS Windows Partition in RHEL or CentOS Linux

I will describe how to mount ntfs partition or enable NTFS support in Linux CentOS Ver 5 and 6 .

Preparing and Installing EPEL repository

Login as root into the server

#cd /root
#wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noa...
#rpm -ivh epel-release-6-5.noarch.rpm</code>

Next We need to install NTFS-3G.

What is NTFS-3g ?

NTFS-3G is a opensource GPL Licensed, POSIX, read and write NTFS driver for linux.
It Provides a very safe handling of the windows XP, 2003 and all other windows variants NTFS file systems.

NTFS-3G also can help you create, remove, rename, moved directories, hard links, streams etc.
it's handle a special files like symbolic links, devices and FIFOs, ACL, extended attributes.

Facebook Fans