Linux offline installation Telnet service

Summary of the installation process:       

(1) Download the rpm package from the Internet;        

(2) Upload to the root directory of the server;

(3) Install telnet service and test:

details:

(1) Download the rpm package from the Internet;        

Software packages required for installing telnet: 1. telnet-client 2. Telnet server 3. xinetd
The following software package download addresses:

telnet-client:http://www.rpmfind.net/linux/rpm2html/search.php?query=telnet

Telnet server:http://www.rpmfind.net/linux/rpm2html/search.php?query=telnet-server(x86-64)

xinetd:http://www.rpmfind.net/linux/rpm2html/search.php?query=xinetd

Note: Select the corresponding system and the number of hosts, the figure below shows the 64-bit telnet server of centos;

Note: The format on the left side of the download website is html, and the rpm we need to download is in the right column;

 (2) Upload to the root directory of the server;

After the download is complete, use the transfer tool to transfer to the root directory of linux;

insert image description here

(3) Install telnet service:

   1. Install telnet service, first install xinetd

   rpm -ivh xinetd-2.3.15-14.el7.x86_64.rpm

 2. Install the telnet client

   rpm -ivh telnet-0.17-65.el7_8.x86_64.rpm

3. Install the telnet server

  rpm -ivh telnet-server-0.17-65.el7_8.x86_64.rpm

 4. Check whether the installation is successful

  rpm -qa | grep telnet
  rpm -qa | grep xinetd

 5. Start the xinetd service that telnet depends on

service xinetd restart

 6. Check whether xinetd is started:

service xinetd restart

 7. Test, and the feedback is as follows: the logo is successful.

telnet ip address + port

Note: If the telnet service is not started, you can edit the telnet configuration file. It doesn’t matter if the telnet file does not exist, just create it directly. The file content is as follows: 

vi /etc/xinetd.conf/telnet

service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server =/usr/sbin/in.telnetd
log_on_failure += USERID
disable = no
}

 Reference link: Install telnet offline based on centos7_HoursAn's Blog - CSDN Blog

Guess you like

Origin blog.csdn.net/baidu_39060821/article/details/131299311