Saturday, August 13, 2016

How to Enable Telnet In Linux Server

This is How to Blog, Enable Telnet in Linux Server.

Why need TELNET :-

Telnet is widely used protocol by IT industries, TELNET common use for Testing PORT, SMTP Details and much more.

Today, I am going to demonstrate how to install TELNET in LINUX SERVER.

Step 1 - 

Install telnet in Centos and RHEL Server  Using Yum.
[root@cent ~]# yum install telnet
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                                                                         | 4.8 kB     00:00
 * base: mirror.dhakacom.com
 * epel: ftp.riken.jp
 * extras: mirrors.viethosting.vn
 * updates: mirrors.viethosting.vn
base                                                                                                                                                                  | 3.7 kB     00:00
epel                                                                                                                                                                  | 4.3 kB     00:00
epel/primary_db                                                                                                                                                       | 5.9 MB     01:06
extras                                                                                                                                                                | 3.4 kB     00:00
jenkins                                                                                                                                                               | 2.9 kB     00:00
updates                                                                                                                                                               | 3.4 kB     00:00
Resolving Dependencies
--> Running transaction check
---> Package telnet.x86_64 1:0.17-48.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================
 Package                                     Arch                                        Version                                             Repository                                 Size
=============================================================================================================================================================================================
Installing:
 telnet                                      x86_64                                      1:0.17-48.el6                                       base                                       58 k

Transaction Summary
=============================================================================================================================================================================================
Install       1 Package(s)

Total download size: 58 k
Installed size: 109 k
Is this ok [y/N]: y
Downloading Packages:
telnet-0.17-48.el6.x86_64.rpm                                                                                                                                         |  58 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 1:telnet-0.17-48.el6.x86_64                                                                                                                                               1/1
  Verifying  : 1:telnet-0.17-48.el6.x86_64                                                                                                                                               1/1

Installed:
  telnet.x86_64 1:0.17-48.el6

Complete!
[root@cent ~]#

 Telnet client has been installed successfully in Centos Server.

Step 2 - 

Install TELNET in Ubuntu Server using apt.
 root@U16:~# apt install telnet
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  telnet
0 upgraded, 1 newly installed, 0 to remove and 130 not upgraded.
Need to get 63.5 kB of archives.
After this operation, 182 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 telnet amd64 0.17-40 [63.5 kB]
Fetched 63.5 kB in 1s (49.6 kB/s)
Selecting previously unselected package telnet.
(Reading database ... 99903 files and directories currently installed.)
Preparing to unpack .../telnet_0.17-40_amd64.deb ...
Unpacking telnet (0.17-40) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up telnet (0.17-40) ...
update-alternatives: using /usr/bin/telnet.netkit to provide /usr/bin/telnet (telnet) in auto mode
root@U16:~#                                                                                                                                          

 Telnet client has been installed successfully in UBUNTU Server.




That's All
!!!Cheers!!!

No comments:

Post a Comment