NFS server configuration in RedHat operating system.

In article below you will find information how to enable NFS server service on RedHat Enterprise OS.

Continue reading NFS server configuration in RedHat operating system. →

Setting up simple clustered service on RedHat

I will show how to set up simple network service (httpd) as clustered service on RedHat. This example will show cluster containing three separate nodes. The first part will describe setting up three node cluster and the second starting httpd on running cluster environment.

So let’s begin!

Continue reading Setting up simple clustered service on RedHat →

How to change hostname in Solaris 10,RedHat and HP-UX 11.31

Below short post how to change hostname in Solaris 10, RedHat and HP-UX 11.31 :

Continue reading How to change hostname in Solaris 10,RedHat and HP-UX 11.31 →

RedHat – Network interface configuration (static,dynamic,virtual)

Below you will find examples of configuration files for static and dynamic network interface configuration:

Continue reading RedHat – Network interface configuration (static,dynamic,virtual) →

How to clear cache in RedHat (linux)

To free some cache memory and (or) dentries and inodes we can use /proc/sys/vm/drop_caches and sync commands:

To free pagecache:

sync; echo 1 > /proc/sys/vm/drop_caches

To free dentries and inodes:

sync; echo 2 > /proc/sys/vm/drop_caches

To free pagecache, dentries and inodes:

sync; echo 3 > /proc/sys/vm/drop_caches

The “sync” command at the beggining will let us be sure that all cached objects are freed.

How disable response to ping from RedHat

We will need to change following kernel parameter to configure our RedHat server so that it does not respond to any ping request :

net.ipv4.icmp_echo_ignore_all

Continue reading How disable response to ping from RedHat →

How to change TIMEZONE in RedHat using command line .

To change timezone we will need to modify /etc/sysconfig/clock file:

Continue reading How to change TIMEZONE in RedHat using command line . →

How to add new SCSI disk in RedHat OS (under VMware)

To add new SCSI device in RedHat operating system we need to do following steps:

Continue reading How to add new SCSI disk in RedHat OS (under VMware) →

Spooling in Oracle, MySQL, Postgres and Sybase

To spool the content of an answer of your query you have to:

connect do DB using, (eventualy format your output fo fullfill your needs,) turn spooling on by providing filename where results will be written, submit your query, turn spooling off

Continue reading Spooling in Oracle, MySQL, Postgres and Sybase →

PFILE and SPFILE – introduction to Oracle initialization files

To start instance, Oracle need to read initialization parameter files. There are two types of those files: PFILE and SPFILE and can contains following informations:

Continue reading PFILE and SPFILE – introduction to Oracle initialization files →