Red hat linux

PHP 5.6 on CentOS/RHEL 7.4 and 6.9 via Yum

To install, first you must add the Webtatic EL yum repository information corresponding to your CentOS/RHEL version to yum: CentOS/RHEL 7.x:

CentOS/RHEL 6.x:

Remove old php version

Now you can install PHP 5.6’s mod_php SAPI (along with an opcode cache) by doing:

nagios Red hat linux

Send Nagios SMS Alert with Gnokii

Installing Gnokii Requirements – intltool-0.35.0-2.i386.rpm

configure Gnokii for Wavecom GSM modem

Check modem is properly configured

sending SMS

Sending SMS from Nagios

Add commands to file

Edit contacts in localhost file

Red hat linux Shell scripting

AWK and Regular Expressions to Filter Text or String in Files

AWK is an interpreted programming language. It is very powerful and specially designed for text processing. Its name is derived from the family names of its authors − Alfred Aho, Peter Weinberger, and Brian Kernighan. AWK – Basic Examples This chapter describes several useful AWK commands and their appropriate examples. Consider a text file marks.txt […]

Red hat linux Web Hosting

Howto install sar & ksar system activity info in Centos / Redhat

The sar command collect, report, or save UNIX / Linux system activity information. It will save selected counters in the operating system to the /var/log/sa/sadd file. Fromlinux-logo the collected data, you get lots of information about your server: CPU utilization Memory paging and its utilization Network I/O, and transfer statistics Process creation activity All block […]

nagios Red hat linux

Send SNMP Traps from Nagios to Remote Management Host

1. Add ‘send snmp trap’ command to nagios

2. Add this event and enable the event to services which needed to send traps

3. Untar the Nagios MIB file and copy the MIBs to snmp directory on Nagios Host

4. Also management host must have the Nagios MIBs (We are […]

Red hat linux

How To Install and Configure SNMP on RHEL 7 or CentOS 7

SNMP stands for “Simple Network Management Protocol”, it can be utilized to monitor any devices that support snmp, few of the devices are server, router, network printers, firewalls. SNMP can monitor a variety of parameters for these devices such as server performance, network usage, disk utilization. Check Package Check if the package is already installed, […]

Red hat linux Shell scripting

Send E-Mail On Redhat / CentOS with SMTP (SMTP Relay)

In this tutorial we will send email with mailx and using external SMTP server for email sending from CentOS/Redhat Install mailx

We can now start sending e-mails using create a symbolic link

Set an External SMTP Server to Relay E-Mails

edit

example usage :

MySQL Red hat linux

Password Validation Plugin in MySQL

The validate_password plugin serves to test passwords and improve security. The plugin exposes a set of system variables that enable you to define password policy. First check the plugin directory of MySQL.

Go to given path and check it. We can see lots of plugins are present in Plugin Directory Of MySQL. We need […]