In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Today, the editor will bring you an article on how linux installs telnet services. The editor thinks it is very practical, so I will share it for you as a reference. Let's follow the editor and have a look.
Turn off the firewall:
Service iptabls stopchkconfig iptabls off
1. Install the telnet service
[root@rheltest1 ~] # rpm-qa | grep telnet / / check whether to install the related software package telnet-0.17-47.el6.x86_64telnet-server-0.17-47.el6.x86_64
If not installed, configure the YUM source and use the yum install telnet telnet-server command to install
2. Enable telnet service (because telnet sends messages in clear text, the security is not good, and many Linux servers do not enable telnet service by default)
Edit / etc/xinetd.d/Telnet
[root@rheltest1 ~] # vi / etc/xinetd.d/telnet// find disable = yes and change yes to no
3. Start the telnet service
[root@rheltest1 ~] # service xinetd start
[root@rheltest1 ~] # chkconfig telnet on / / start the telnet service
[root@rheltest1 ~] # chkconfig-- list telnet / / check whether the Telnet service is enabled
Telnet on
4. Modify telnet service port
# vi / etc/services
Find the following:
Telnet 23/tcp
Telnet 23/udp
Change 23 to an unused port number (such as 4444), exit vi, restart the Telnet service, and the default port number of Telnet is changed.
[root@rheltest1 ~] # netstat-an | grep 4444tcp 0 0: 4444: * LISTEN
5. Test (use the telnet command to connect the test under the windows CMD window)
C:\ Users\ Administrator > telnet 192.168.1.102 4444Red Hat Enterprise Linux Server release 6.3 (Santiago) Kernel 2.6.32-279.el6.x86_64 on an x86_64login: Wed Apr 20 10:23:14 from 192.168.1.100 [rusky@rheltest1] $
These are the specific operations of linux to install telnet services, the content is more comprehensive, and I also believe that there are quite a few tools that we may see or use in our daily work. Through this article, I hope you can gain more.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.