Remote management tools we will use to install/configure the Linux/Unix servers from remote location.
Remote management can be done using CLI and GUI modes, just we will discuss here about most commonly used tools.
1. VNC Server / VNC Viewer
1. Putty (Most commonly used for CLI )
VNC ( Virtual Network Computing ) Servers enables remote desktop access for Linux systems similar to MSTSC in windows. Generally Linux administrators doesn’t prefer to use windows access, But sometimes we required to have access remote desktop of Linux. In that case we need to install vnc server on our Linux system.
Step 1: Install Required Packages
Most of Linux servers doesn’t have desktop installed on their system. So make sure you have installed else use following command to install it.
For CentOS/RHEL 6:
~]#yum groupinstall "Desktop"
For CentOS/RHEL 5:
~]#yum groupinstall "GNOME Desktop Environment"
Now install few required packages for vnc-server
~]#yum install pixman pixman-devel libXfont
Step 2: Install VNC Server
After installing required packages, lets install vnc-server in your system. vnc-server is available under default yum repositories.
~]#yum install vnc-server
On CentOS/RHEL 6, you will see that tigervnc-server package will be installed.
Step 3: Create User for VNC
Lets’ create few users for connecting through vnc. You can also use existing system users by connecting through vnc, In that case we only need to set vncpasswd for that account.
Now set the vnc password for all accounts need to connect through vnc.
~]# su - ravi
I have switched the account to ravi
~]#su – ravi1
Step 4: Configure VNC Server for Users
Now edit /etc/sysconfig/vncservers configuration file and add the following to the end of the file.
VNCSERVERARGS="-geometry 800x600"VNCSERVERARGS="-geometry 1024x768"
Add above parameters to the configuration file. below screenshot is the example