OS

Apache Optimization

MaxClients ————— The number of worker processes is limited by the parameter MaxClients. MaxClients = Total RAM dedicated to the web server / Max child process size. The default value of  MaxClients is 150. If we have a server with 1gb of ram and  child process take an average size […]

[HOW-TO] Install mod_rpaf for Apache 2.2

When you do a reverse proxy in which Nginx will be the one who listen the traffic and forward anything needs to be process through PHP to Apache. With this, Apache will always receive an IP from Nginx server (or I should say localhost / 127.0.0.1 / local IP), not […]

The Perfect Linux Firewall Part II — IPCop & Copfilter

This document is the second segment in a series on installing IPCop firewall. We will be creating a “DMZ” for hosting your own web server or mail server and the Copfilter proxy for filtering your application layer ingress and egress network traffic. This is intended to be a rough overview […]

The Perfect Linux Firewall Part I — IPCop

The Perfect Linux Firewall Part I — IPCop Version 2.3 Author: Joseph Guarino Last edited 02/22/2006 This document describes how to install the GNU/Linux GPL IPCop firewall and create a small home office network. In the second installment we cover creating a DMZ for hosting your own web server or […]

Installing rrdtool using yum

Between apt-get, up2date, yum or smart and a few more, which one is the best?. Actually I dont have favorite package manager. I just use whatever the server already has on board. If on Ubuntu, apt-get is more than enough. Right now I’m working on Centos 5 that need rrdtool […]

20 Linux Server Hardening Security Tips

Securing your Linux server is important to protect your data, intellectual property, and time, from the hands of crackers (hackers). The system administrator is responsible for security Linux box. In this first part of a Linux server security series, I will provide 20 hardening tips for default installation of Linux […]

Linux x86_64: Detecting Hardware Errors

The Blue Screen of Death (BSoD) is used by Microsoft Windows, after encountering a critical system error. Linux / UNIX like operating system may get a kernel panic. It is just like BSoD. The BSoD and a kernel panic generated using a Machine Check Exception (MCE). MCE is nothing but […]

Distributed Storage Across Four Storage Nodes With GlusterFS On CentOS 5.4

This tutorial shows how to combine four single storage servers (running CentOS 5.4) to one large storage server (distributed storage) with GlusterFS. The client system (CentOS 5.4 as well) will be able to access the storage as if it was a local filesystem. GlusterFS is a clustered file-system capable of […]

Linux or UNIX Recover deleted files – undelete files

If you rum rm command accidentally and deleted important a file, recovery becomes critical under Linux and/or UNIX oses. Since Linux is multiuser and multitasking operating system other users/process can overwrite deleted file disk space. So you need to take down system to single user mode. First use wall (only […]

FreeBSD > How to change IP address or setup new ip address to existing interface

1) Use ifconfig command as follows: ifconfig interface inet IP Example(s): ifconfig lnc0 inet 202.54.1.22 Note lnc0 is Ethernet interface name can be Obtained using ifconfig -a command. 2) To setup up ip permanently open file /etc/rc.conf ; add/modify network entries: vi /etc/rc.conf And setup values as follows: hostname=”fbsdx.test.com” ifconfig_lnc0=”inet […]