如何在 Ubuntu 上启用网络?我在没有选择任何包的情况下安装了 Ubuntu Server

爱德华多贡小牛

我在 Ubuntu Server 的安装中没有选择任何包的情况下在 tasksel 上点击了 ENTER。现在当系统启动时,我没有网络连接。我现在如何启用网络,以便我可以安装软件包?

爱德华多贡小牛

系统自带dhclient,即使我没有选择任何包。

所以要启用网络运行:

sudo dhclienteth0(你的网卡名称)

然后:

sudo apt update

然后:

sudo tasksel install server或者只是sudo tasksel选择所需的包

ps.: 可以用ip addr命令查看可用网卡的名称

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

如何在没有 CD 的情况下安装 Ubuntu?

如何在没有任何GUI的情况下安装Ubuntu 16.10?

如何从 Ubuntu Minimal 安装 Ubuntu Server?

如何在安装了ubuntu的情况下重新启动Live CD(USB)的ubuntu?

如何在 Ubuntu Server 18.04 上重置网络接口配置?

如何在预配置的RAID配置上安装Ubuntu Server?

如何在Ubuntu上安装Pentaho Community Server

如何在Ubuntu Server 13.04上安装avconv?

如何在Ubuntu Server 16.04上仅选择某些更新?

如何安装Ubuntu Server(逐步)?

我如何在Ubuntu Server上运行无头硒

如何在没有网络的情况下将ubuntu 10.04 LTS升级到ubuntu 13.04?

如何在 Ubuntu 20.04 中安装 Redis-Server 6.0.1?

如何在Ubuntu离线版中安装Mysql-server

如何在Ubuntu Server中安装android SDK

如何在Ubuntu 19.04中安装mssql-server?

如何在Ubuntu Server 18.04.1 LTS Bionic中安装phpmyadmin?

如何在Ubuntu中安装Microsoft SQL Server

如何在 Ubuntu Server 18.04 中安装内核工具?

如何在Ubuntu Server 16.04上删除GUI?

如何在Ubuntu Server 14.04上配置samba

如何在Ubuntu Server 16.04上设置以太网

如何在Ubuntu上运行Identity Server 4源代码?

如何在 Ubuntu Server 上获取特定用户的命令日志?

如何在没有USB或光盘的情况下安装Ubuntu

如何在没有CD驱动器或USB启动的情况下安装ubuntu

如何在没有CD和USB的情况下安装Ubuntu?

Ubuntu Server 17.04在没有桌面环境的情况下启用numlock

如何在没有Dev Mod的情况下在Chromebook上安装Ubuntu?