Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Transfer telnet to busybox-extras in Alpine image

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

The telnet in the Alpine image is transferred to the busybox-extras package after version 3.7 and needs to be installed separately using apk.

Phenomenon

Alpine version is 3.8.There is no more telent pointing to busybox

~ # cat / etc/alpine-release3.8.0~ # ~ # ls / usr/bin/ | grep-w busybox | grep telnet~ #

Reason

Confirming the relevant issue findings, this change has already taken place in Alpine3.7: https://github.com/gliderlabs/docker-alpine/issues/397

Correspondence

Use apk to install

Apk update

/ var/atlassian/jira # apk updatefetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gzfetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gzv3.8.0-28-g923d74cddf [http://dl-cdn.alpinelinux.org/alpine/v3.8/main]v3.8.0-28-g923d74cddf [http://dl-cdn.alpinelinux.org/alpine/ V3.8/community] OK: 9536 distinct packages available/var/atlassian/jira #

Apk add busybox-extras

/ var/atlassian/jira # apk add busybox-extras (1amp 1) Installing busybox-extras (1.28.4-r1) Executing busybox-extras-1.28.4-r1.post-installExecuting busybox-1.28.4-r0.triggerOK: 133 MiB in 76 packages/var/atlassian/jira #

Confirm after installation

Confirm the telnet installation path

/ var/atlassian/jira # which telnet/usr/bin/telnet/var/atlassian/jira # ~ # ls-l / usr/bin/telnetlrwxrwxrwx 1 root root 19 Jul 24 01:40 / usr/bin/telnet-> / bin/busybox-extras~ # ls / bin/busybox

Confirm action

When the network is connected, telnet can communicate with the smtp server

~ # telnet smtp.163.com 25220 163.com Anti-spam GT for Coremail System (163com [20141201]) HELO liumiaocn250 OK

Summary

The above is the whole content of this article. I hope the content of this article has a certain reference and learning value for everyone's study or work. Thank you for your support. If you want to know more about it, please see the relevant links below.

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report