Compiling XCache from Source
Posted August 27th, 2007 by ssrulz1For those of you that are not running RPM-based distros, you’re probably feeling a bit left out. Up until now, all of my tutorials have dealt with upgrading RPM-based distros. Well, that ends here. I’m going to walk through the fairly simple process of compiling and installing XCache for httpd from the original source.
Upgrading Perl to 5.8.7 on Cpanel server
Posted January 17th, 2006 by xerophyteTo upgrade your perl on the Cpanel server follow the following steps :
1)
wget http://layer1.cpanel.net/perl587installer.tar.gz
tar -vzxf perl587installer.tar.gz
cd perl587installer
./install
2)
/usr/local/cpanel/bin/checkperlmodules
/scripts/upcp --force
3) To check to see the version
perl -V
Unable to connect to Remote mech
Posted December 13th, 2005 by rajeshbabu.kri am facing one problem , here in my office i have installed vmware on redhat linux EL.i need to connect to the windows xp ( which we installed as virtual mechine)through remote dektop from my branch office. here we are using RAS for Connectivity, i can connect to the Linux server from my branch office through RAS , but i am unable to connect to win xp through remote desktop ,pls help me and sedn the details to tis forum or just mail me to talk2thambu@yahoo.com
Upgrading PostgreSQL on Cpanel Server
Posted November 19th, 2005 by xerophyteUpgrading PostgreSQL on Cpanel Server
*ANY ACTIONS YOU TAKE, YOU TAKE THEM AT YOUR OWN RESPONSABILITY*
if you need commercial support please order linux Network Care Cpanel One hour Service
Reason :
PostgreSQL 8.1 offers a huge performance increase pretty much across the board and few other fixes
Platforms:
RHEL 3,4,Centos 3.x,4.x, Fedora Core
- Make sure if you have postgresql intalled
rpm -qa | grep postgres | tee /root/rpm_pgsql
Snortsam and Portscanning Detection
Posted November 13th, 2005 by SuthaThis Post Originally From Snort-users by Frank
Q
: How can i use the snort portscan2 preprocessor with snortsam?
A
:it doesn't matter what version of Snort you are using, 1.9.x, 2.0.x, or 2.1.x. Alerts from the portscan preprocessor (or any other preprocessor such as ARP spoof) are not recognized by Snortsam. It only reacts to alerts generated by packets detected with rules.
That said, port scans can be detected. However, you will have to create your own rules for that. There are two ways (and a combined way) of doing this.
a) Create rules that fire when you can packets going to unused IP
Most commonly Used filesystems on Linux
Posted November 13th, 2005 by SuthaThe Linux kernel supports various filesystems. We'll explain ext2, ext3, ReiserFS, XFS and JFS as those filesystems are most commonly used on Linux systems.
ext2
ext2 is the tried and true Linux filesystem but doesn't have metadata journaling, which means that routine ext2 filesystem checks at startup time can be quite time-consuming. There is now quite a selection of newer-generation journaled filesystems that can be checked for consistency very quickly and are thus generally preferred over their non-journaled counterparts. Journaled filesystems prevent long delays when you boot your system and your filesystem happens to be in an inconsistent state.
VI Editor : Just Enough to Get By
Posted November 13th, 2005 by SuthaJust Enough to Get By (Reference : Prentice Hall Linux Desk Reference Second Edition)
As the heading suggests, in this section I attempt to present a subset of the vi commands large enough to enable you to accomplish basic tasks, but small enough that a beginner can remember most of them.
Opening and Closing
You open a file by typing "vi " on the command line— for example:
vi chapter29.txt
You close a file by getting into command mode (use the key), typing a colon ":" and then typing wq (write quit). If you don't want to save changes to the file, type q (quit). If it gives you any trouble, type wq! (enthusiastic quit).
GPG encryption keys Under Linux
Posted November 13th, 2005 by SuthaThis is a quick overview that details the creation process of a GPG public and private key under Linux.
I had to go through that procedure yesterday, and I will share it here.
First, a GPG key is a piece of data used to encrypt or decrypt messages. In order to encrypt a message, you need the recipient's public key. To decrypt a message, you need the passphrase stored in the key, and the private key. That way, messages containing sensitive data sent to one recipient, can only be decrypted by that recipient who has the private GPG key, with the use of a passphrase.
Here are the main commands in order to create GPG keys:
Using Screen (full-screen shell window manager)
Posted November 13th, 2005 by SuthaScreen notes
Screen is a full-screen window manager that multiplexes a physical terminal between several processes
note:
ctrl-a means type control key plus a
Basic
- To Start a screen with session name
screen -S sessionname
- To get help screen
ctrl-a ?
- To Create new windows within screen
ctrl-a + c
- To deatach screen type
screen -d
- to Attach a running screen which was Detach first
#if there is onlye one session screen -r
Upgrading MySQL on Cpanel Server
Posted November 13th, 2005 by SuthaProblem
To upgrade the mysql on the cpanel server
Answer
- The best method to use the cpanel /script/mysqlup to upgrade the mysql.
- To upgrade the mysql from 4.0.x to 4.1.x you need to enable the mysql upgrade in the whm under tweak setting
/scripts/upcp --force /scripts/mysqlup --force
when you upgrade you might enconter the following problems
- I ran out of mirrors for MySQL. at /scripts/mysqlup line
Delete the /root/.cpmylsqrpm and excute therm /root/.cpmylsqrpm -rf