Tuesday 6 August 2013

Installing & Configuring Centrify Express on Rhel 6.4









What is Centrify Express ?

Centrify Express is a comprehensive suite of free Active Directory-based integration solutions for authentication, single sign-on, remote access, file-sharing, monitoring and cloud security for cross-platform systems. It is the quickest and most proven solution for integrating UNIX, Linux and Mac systems with Windows, and delivers more functionality and more to upgrade to when compared to other free offerings.

Centrify Express: Configuring Active Directory Authentication for Linux (rhel 6.4)
Download the package from  Centrify Express
* Before Installing Centrify Express be sure that you assign a Hostname to your Computer and Ensure that your /etc/nsswitch.conf contains the following lines
hosts: files dns
* Make sure that your dns is resolving the quires
* Now untar the Downloaded Centrify-Express Package

# tar -xzvf centrify-suite-2013-rhel3-x86_64.tar.gz

then run the shell script

# ./install-express.sh

The installation script begins by running the adcheck program to check the operating
system, disk space, DNS resolution, network connectivity, Active Directory configuration
and other requirements on the computer. If you receive errors or warnings, see
the Direct Control Express Administrator’s Guide for information on how to correct
them.
Respond to the installation Prompt

* How do you want to proceed? (E|S|X|C|Q) [X]:Accept the default, X (for Express  Edition), by clicking Enter.


* Do you want to run adcheck to verify your AD 
environment? (Q|Y|N) [Y]: 
Accept the default answer, Y (to run adcheck) by clicking 
Enter.

* Please enter the Active Directory domain to check:  
Enter the fully qualified name of your AD domain; for example, 
mak.linuxadmin.com

* Join an Active Directory domain? (Q|Y|N) [Y]  
Accept the default answer, Y to join a domain. 

* Enter the Active Directory authorized user[administrator]:

* Enter the password for the Active Directory user:


* Click Enter to select the defaults for the following prompts: 
* Enter the computer name: [mak] 
* Enter the container DN [Computers]: 
* Enter the name of the domain controller [auto detect]: 
* Reboot the computer after the installation (Q|Y|N) [Y}:

After completion of installation the system will reboot
To verify the installation run the cmd
# adcheck
To join the domain the cmd is
# adjoin ad.example.com -u admin_user --force





Thursday 25 July 2013

Installing  Nagios Enterprise (Nagios XI)  on rhel 6.4


What is Nagios ?
Nagios is an open source computer system monitoring, network monitoring and infrastructure monitoring software application. Nagios offers monitoring and alerting services for servers, switches, applications, and services. It alerts the users when things go wrong and alerts them a second time when the problem has been resolved.

Before installing Nagios XI make sure that your system is connected to Internet, check that the proxy is disabled, and your system have RHN registration and able to use yum.

Important: Nagios Enterprises highly recommends and will only support installing Nagios XI on a newly installed, “clean” system (a bare minimal install with nothing else installed or configured).
Attempting to install Nagios XI on a pre-existing system with other applications already installed can cause the Nagios XI installation process to fail.

Downloading the Latest Release
Make sure to download the Nagios XI installation package to the /tmp directory of the server on which you wish to install it, as shown in the following commands:

# cd /tmp

To download the latest stable release, use the following command:

# wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz

After downloading the Nagios XI untar the file

# tar -xzvf xi-latest.tar.gz

To get started, change to the newly created nagiosxi subdirectory to get started with the installation:

# cd /tmp/nagiosxi

Note: Do not install Nagios XI from a directory that does not allow other users to have read/execute permissions to the installation files. Part of the installation requires switch to different user accounts, which need to have access to the installer scripts.
Run the wrapper script:

# ./fullinstall

If its fail installation first time don't worry run the cmd again it will work.

This will automatically take care of a number of things for you, including
• Modifying the yum configuration and installing prerequisite packages
• Creating required uses and groups
• Initializing PostgreSQL and MySQL databases, and set the MySQL root password to 'nagiosxi'
• Modifying sudoers and iptables to allow certain commands and traffic
• Installing backup scripts for the databases
• Adjusting PHP settings and installing the SourceGuardian PHP loaders for encrypted files
• Compiling and installing various components, including Nagios Core, the plugins, NDOUtils, PNP, webinject, etc.
• Installing the Nagios XI scripts and PHP files in /usr/local/nagiosxi
• Installing cron jobs for the root and nagios users
• Setting appropriate services to start in runlevels 3 and 5 and starting them now
• Importing base object definitions (templates, commands, etc.) into NagiosQL for use with Nagios Core
• Installing a welcome page in the root webserver directory /var/www/html

If the installation commands completed successfully
You can  access the Nagios XI interface by pointing your web browser to:
http://<xiserver>/
where <xiserver> is the IP address of the server you just installed Nagios XI on.