linux ifconfig is not found

这篇博客介绍了在Linux系统中安装和配置网络工具net-tools,解决无法定位软件包的问题,通过更新和升级系统,安装并启动SSH服务器,以及如何使用防火墙ufw允许SSH连接。同时,还展示了检查SSH服务状态的方法以及查看IP地址的命令。
摘要由CSDN通过智能技术生成

1.ifconfig  setup:

sudo apt install net-tools

 

E: 无法定位软件包 net-tools

sudo apt-get update,sudo apt-get upgrade.

open timnal :ctrl+alt+T

ssh install

sudo apt install openssh-server

 

ssh start

sudo service sshd start

ssh restart

sudo service sshd restart

ssh status check

sudo systemctl status ssh

enable firewall

sudo ufw allow ssh

enable ssh

sudo systemctl enable

disable ssh

view ip:

ip a,ifconfig 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值