Search

User login

Poll

What is your favorite DB Server ?:
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

My YM

Alexa Rank

Who's online

There are currently 0 users and 14 guests online.
Home

Linux Tutorials

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.

Wordpress 3.3 Visual Editor Broken or Not Showing Up

Today i just upgraded one of my wordpress site to 3.3.

After croscheck anything i found that my wordpress visual editor have a problem and the toolbar also not showing.

After googling for few hours i found the solution.

1. disabled all your plugins [optional]
2. reinstall your wordpress [ optional]
3. edit wp-config.php

The solusion is very simple, we just need to add 1 line into wp-config.php like below :

$vi /home/testing/public_html/wp-config.php

### add 1 line below ####

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.

Simple Bash Script to Monitor Services in Linux Server

Here is a sample or simple shell script to monitor every services in your server such as http, ssh, mail, dns, mysql, etc..

Feel free to modify it for your own use.

---------------------------------------------------------------------

PHP 5.3.x and Date Error in Drupal

After i've upgraded my PHP to the latest version, i found there is a problem with my PHP date function.

here is the error example :

"warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.

Here is the fastest way to fixed this issue.

Login as root into your server

Edit php.ini

#pico /usr/local/etc/php.ini

How to Add user and password .htaccess apache-like in Nginx Config



Login into the server with root access

#pico /usr/local/etc/nginx/nginx.conf

First add the following to your Nginx configuration file:

 location / {
   auth_basic            "Restricted";
   auth_basic_user_file  /etc/nginx/htpasswd;
 }


Then We need to create the htpasswd file

this be passwords format will be
=================================
thisbetheusername:thisbeencryptedpass

Recent comments

Facebook Fans

Sponsors

Online Store

Tag Cloud