Software

Compiling XCache from Source

For 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 PostgreSQL on Cpanel Server

Upgrading 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

This 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

The 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

Just 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

This 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)

Screen 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  

ProFTPD Resources

From the ProFTPD INSTALL FILE
http://www.castaglia.org/proftpd/#Documentation

Resources
R1. Basics.
Various Subjects: README.*, contrib/README.*
Configuration Ref: doc/Configuration.html
Config/Problem FAQ: doc/faq.html
WWW: http://www.proftpd.org
FTP: ftp://ftp.proftpd.org/distrib/
Mirror Site List: http://www.proftpd.org/wwwmirror.html
R2. ProFTPD Documentation Project.
Documents include a Configuration Reference, draft User Guide, and FAQ.

Syndicate content