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 11 guests online.
Home | Operating Systems

Linux Servers

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.

How To Remove USB Pen Device MBR

How To Remove USB Pen Device MBR

What is MBR ?

MBR is master boot recorded.

The question is how can we remove the MBR for USB device?
in DOS environtment we can just simply type fdisk/mbr command
but this is different, in LINUX/ UNIX please follow this step below :

Login into your server and type command below

[code]$dd if=/dev/zero of=/dev/sdc bs=512 count=1[/code]

YOu will see the output like below

1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.00308483 s, 166 kB/s

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

How To Create a Xen Guest or Xen VPS

We will continue to setup / create a Xen Guest or Xen VPS server.
Previously we have setup Xen Hypervisor. If you searching about How To Install Xen Hypervisor then click the link.

How To Install Xen Hypervisor in OpenSUSE Console

What is Xen ?

Xen (pronounced /ˈzɛn/) is a virtual-machine monitor for IA-32, x86-64, Itanium and ARM architectures. It allows several guest operating systems to execute on the same computer hardware concurrently. The University of Cambridge Computer Laboratory developed the first versions of Xen; as of 2010[update], the Xen community develops and maintains Xen as free software, licensed under the GNU General Public License (GPLv2).

Xen systems
have a structure with the Xen hypervisor as the lowest and most privileged layer.[1] Above this layer come one or more guest operating systems, which the hypervisor schedules across the physical CPUs. The first guest operating system, called in Xen terminology "domain 0" (dom0), boots automatically when the hypervisor boots and receives special management privileges and direct access to all physical hardware by default. The system administrator can log into dom0 in order to manage any further guest operating systems, called "domain U" (domU) in Xen terminology.

Recent comments

Facebook Fans

Sponsors

Online Store

Tag Cloud