In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. Mount CDROM when installing Oracle LINUX 6 on CD today, you forgot to install the telnet package, so you have to install the rpm package manually after entering the system. The installation steps are as follows:
Mount / dev/cdrom / mnt
2. Enter the rpm package directory
Cd / mnt/Packages
3. Find the telnet service pack
Find | grep telnet
. / telnet-0.17-46.el6.x86_64.rpm
. / telnet-server-0.17-46.el6.x86_64.rpm
4. Install telnet-server-0.17-46.el6.x86_64.rpm
Rpm-ivh telnet-server-0.17-46.el6.x86_64.rpm
Hint: warning: telnet-server-0.17-46.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Error: Failed dependencies
Xinetd is needed by telnet-server-1:0.17-46.el6.x86_64
5. Solve NOKEY error: Failed dependencies
Starting with RPM version 4.1, the signature of the package is checked when you install or upgrade the package. If the signature verification fails, you will see an error message like the following:
Error: V3 DSA signature: BAD, key ID 0352860f
If it is a new, header-only signature, you will see an error message like this:
Error: Header V3 DSA signature: BAD, key ID 0352860f
If you do not install the appropriate key to verify the signature, the message will include NOKEY, such as:
Warning: V3 DSA signature: NOKEY, key ID 0352860f
Under CentOS, sometimes when you install software with yum, you will end up with a prompt:
Quote
Warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID*
This is due to the fact that yum installed an old version of GPG keys, and the solution is
Rpm--import / etc/pki/rpm-gpg/RPM*
6. Solve xinetd is needed by telnet-server-1:0.17-46.el6.x86_64
Telnet server does not run as an independent server program, but is controlled by the xinetd program. First, you need to install the xinetd service:
Find | grep xinetd
. / xinetd-2.3.14-29.el6.x86_64.rpm
Rpm-ivh telnet-server-0.17-46.el6.x86_64.rpm
6.2. After installing xinetd, the telnet startup configuration file is / etc/xinetd.d/telnet, and the default xinetd program does not start the service. You can see that telnet is closed in chkconfig-- list, and disable=yes in / etc/xinetd.d/telnet can start telnet in the following ways:
1) chkconfig telnet on / / this command modifies the configuration of / etc/xinetd.d/telnet and sets disable=no
2) service xinetd restart chkconfig again-- list sees that telnet has been started.
7. Install the telnet-server package again with success.
Rpm-ivh telnet-server-0.17-46.el6.x86_64.rpm
8. The server telnet native IP can log in successfully, but the remote server cannot log in with telnet
Hint: telnet: Unable to connect to remote host: No route to host
Solution: execute with root on the target machine: iptables-F
Iptables is used to set, maintain, and examine the IP packet filtering rules of the Linux kernel. -F-flush clears the selected chain. This is tantamount to deleting all the rules one by one
9. The problem is solved. The remote machine can log in to the server with telnet.
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.