I. BACKGROUND
The telnet command is usually used to telnet, for example: I installed the Memcache Service today, I would like to telnet remote login to see if it started normally.
two. problem
when I knocked down Telnet under a Linux virtual machine , I found the hint -bash:telnet:command not found:
We check to see if there is a Telnet-server server installed and the discovery is empty
#rpm-Q Telnet-server
:
Three. Resolve
First step: We first check if the Linux virtual machine has telnet client and telnet-server server installed
#rpm-Q Telnet
#rpm-Q Telnet-server
is blank, it means it's not installed.
Step two: Download telnet client and telnet-server server
Search http://rpm.pbone.net/Installation Package
Download:
telnet-server-0.17-25.i386.rpm Service Side
telnet-0.17-25.i386.rpm Client
Step three: Install the elnet client and telnet-server Server
#rpm-IVH telnet-0.17-25.i386.rpm
#rpm-IVH telnet-0.17-25.i386.rpm
:
the Linux virtual machine has not properly installed the Telnet client and the telnet-server server, check :
Fourth Step: Modify the configuration
#vi/etc/xinetd.d/telnet
Change disable= Yes to disable=no:
Restart Service
# Service xinetd Restart :
# service XINETD Status View state:
Let's check to see if Telnet is turned on:
Fifth step: Using the telnet command
#tenlnet IP Display login, indicating that the telnet command can be used:
Fix-bash:telnet:command not found