Linux Server Practise 2 Useful Tools

download Linux Server Practise 2 Useful Tools

If you can't read please download the document

description

Linux Server Practise 2 Useful Tools :- Webmin- Nagios Tool - Nagios Core- Wireshark - Creating EPEL Repository etc.

Transcript of Linux Server Practise 2 Useful Tools

  • Contents

    How To Practise? ..................................................................................................................................... 2

    Webmin Installation Using 'YUM' ............................................................................................................ 2

    Nagios Tool - Nagios Core ....................................................................................................................... 4

    Nagios Plugins Installation....................................................................................................................... 7

    Login To Nagios Web Interface ............................................................................................................... 7

    Nagios Exchange Webpage Link .............................................................................................................. 8

    EPEL - No real Good Advantages ............................................................................................................. 8

    Wireshark Using 'YUM' ............................................................................................................................ 9

    Links For Other Tools ............................................................................................................................. 10

    Links ....................................................................................................................................................... 11

  • Note : All these steps are applied to RHEL Clones say, for example , CentOS, Oracle Linux, RHEL,

    Debian etc. If you have Ubuntu or Fedora then the steps shown below differ

    How To Practise?

    Getting the software and installing is one thing but, how to practise is another important thing.

    My views to do that, as follows :

    First install the tools on one Server to get basic practise (But, remember to take snapshot of

    your Virtual Machine before you proceed with each tool - the mantra!)

    In the step two, install or create two Servers (learning how to clone VM is very much useful,

    especially using commands), check networking, install tools, create SSH between Servers,

    install DNSmasq and create test hosts. Install servers like FTP, NFS etc. thereafter you can

    build your own ideas and also put questions in the Linux Forum

    Webmin Installation Using 'YUM'

    Webmin Tool is liked by many Linux People. The below steps show how you can install it

    quickly and create a Webmin Repository too. Assuming you have a public Yum configured

    already

    Access to the internet is needed for this installation

    In that Vi file "webmin.repo" just put the below information and save the file

    Download the Key "j cameron"

  • Import the key using RPM

    Type the below Command

    Login to the Webmin Web interface

    The password is set to your actual root password of your Server

  • Navigate to the above links and experience more

    Tips for further practise : Install DNSmasq and create test hosts using that, install FTP Server and

    create Cron Tab and Cron jobs. In the 'links' section of this article you have relevant information

    Nagios Tool - Nagios Core

    http://www.nagios.org/download/core/thanks/?t=1429362714

    Access to the internet is needed for this installation

    Here we can see how we can download a specific version of Nagios (latest or old ones)

    Prerequisites must be installed. On the link you can read the "installation documentation"

    but, it points to old release of Nagios Core. So, you have to just change the version number

    to get the latest one

    http://www.nagios.org/download/core/thanks/?t=1429362714
  • Change your directory to /tmp so that it gets downloaded there

    In the above step you see you get the latest one by typing "4.1.1" at the end to get the

    latest one downloaded. The same procedure applies for Nagios Plugins to download the

    desired version of Plugins, which is of course shown below

  • Compile Programs

    Not only "make all" is sufficient but run the below ones : make install, make install-init etc

    For Example you just run at the prompt the program's name. For example :

    root@ora-rac1 nagios-4.1.1]# make install-init

    The below steps are needed to be performed

    In fact these steps are shown in documentation too

  • Nagios Plugins Installation

    Login To Nagios Web Interface

  • Nagios Exchange Webpage Link

    EPEL - No real Good Advantages

    On the internet some Linux people stated that EPEL Repository is very helpful. It is not that

    useful, by doing a basic test, to get the latest software. The below practical example shows it

    To create EPEL Repository on RHEL 64 Bit Clone Systems download the below RPM from this

    link

    Tip : After you open the below Webpage, press "Ctrl+f" to open "Find Window" and then type in the

    Find "epel-release-" (That way you can find and search a thing very fast on Webpages)

  • Perform a check to get Zabbix using EPEL

    Note the version that EPEL is showing and compare it on Zabbix offical Website where you

    would see a big difference.

    Is there some trick or command to get latest version using EPEL? I think the Linux Community

    can answer this ! Well, EPEL is a Fedora Project.

    Wireshark Using 'YUM'

    Installing Wireshark using Yum

    First check how many packages are available. The command below shows that

    The "Wireshark Gnome" Package provides GUI. if that is not installed then GUI is not there

    for you

  • Installing

    [root@ora-rac1]# yum install wireshark-*

    This will install all the relevant packages and also you are provided with GUI

    Links For Other Tools

    Monit

    Learn about Monit here

    https://mmonit.com/monit/

    Monit Download

    https://mmonit.com/download/

    Puppet

    The best thing to learn about Puppet is creating a VM dedicated for this Tool

    https://puppetlabs.com/download-learning-vm?_ga=1.40825442.1912488540.1442070099

    Zabbix

    In the same way for Puppet, you can either create a separate VM for Zabbix

    Zabbix is best with a backend Database such as MySQL or Oracle

    Also see the Zabbix Appliance for learning purpose

    http://www.zabbix.com/download.php

    Hearbeat

    It is best to start reading about this initially (theory knowledge first)

    http://olex.openlogic.com/packages/heartbeat

    Heartbeat usage

    http://www.linux-ha.org/doc/users-guide/users-guide.html

    https://mmonit.com/monit/https://mmonit.com/download/https://puppetlabs.com/download-learning-vm?_ga=1.40825442.1912488540.1442070099http://www.zabbix.com/download.phphttp://olex.openlogic.com/packages/heartbeathttp://www.linux-ha.org/doc/users-guide/users-guide.html
  • Links

    Dnsmasq

    https://oracle-base.com/articles/linux/dnsmasq-for-simple-dns-configurations

    For Linux Servers Installation Practise (basics)

    https://de.scribd.com/doc/273176493/Linux-Server-Practise-1

    Linux forum

    http://forum.linuxcareer.com/forum.php

    Linux articles on oracle-base

    https://oracle-base.com/articles/linux/articles-linux#rhcsa_and_rhce

    Linux articles for installing Servers

    https://oracle-base.com/articles/linux/articles-linux#rhce

    https://oracle-base.com/articles/linux/dnsmasq-for-simple-dns-configurationshttps://de.scribd.com/doc/273176493/Linux-Server-Practise-1http://forum.linuxcareer.com/forum.phphttps://oracle-base.com/articles/linux/articles-linux%23rhcsa_and_rhcehttps://oracle-base.com/articles/linux/articles-linux%23rhce