Posts

Showing posts from August, 2012

Configuring VNC on RHEL6

Purpose: The purpose of this document is to show client and server configuration of vnc. On Server Side, Install required software like tigervnc-server: [admin@sunny ~]$ su - Password: [Enter your root password] [root@sunny ~]# yum install tigervnc-server -y Loaded plugins: refresh-packagekit, rhnplugin This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package tigervnc-server.x86_64 0:1.0.90-0.10.20100115svn3945.el6 set to be updated --> Finished Dependency Resolution Dependencies Resolved ======================================================================== Package Arch Version Repository Size ======================================================================== Installing: tigervnc-server x86_64 1.0.90-0.10.20100115svn3945.el6 local 1.0 M Transaction Summary =================================================

Password less SSH login (ssh-keygen)

Image
SSH is often used to login from one machine to another machine, There are number of methods to achieve this but mostly in every method it requires authentication..... It also does requires authentication but for one time only i.e. for the first time you need to do a setup and for rest of the times when you will try to login via ssh it will not ask for any password. For achieving this you just need to generate your own personal set of private/public key pair. ssh-keygen is used to generate that key pair for you. A HOWTO for generating your own private/public key pair is given below: Firstly generate your private/public key pair by following command: [admin@sunny Desktop]$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/admin/.ssh/id_rsa): [Press enter if you want to save your keys to default location] Enter passphrase (empty for no passphrase): [Enter your passphrase]  Enter same passphrase again:  [Enter your pass

Nagios on RHEL 6

Image
Installing EPEL Repository Download epel release repo from below URL: [root@]$ wget -c  http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/6/i386/epel-release-6-7.noarch.rpm If in case you are using RHEL5 you can download this epel-release from below URL: http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm Installing pre-requisites packages Install the pre-requisites software’s like: · Php · Gcc, Gcc++ · Httpd · Gd · Perl [root@]$yum install php gcc* httpd gd perl –y Installing Nagios and some additional packages Install major packages like: · Nagios · Nagios-common · Nagios-plugins · And some basic plugins like nagios-plugins-ping, nagios plugins-http, nagios-plugins-disk etc. [root@]$yum install nagios nagios-common nagios-plugins nagios-plugins-http nagios-plugins-disk nagios-plugins-ping -y Major configuration files To configure Nagios, you first need to find th