美文网首页
Ubuntu部署

Ubuntu部署

作者: 星夜兼程工作笔记 | 来源:发表于2021-05-31 13:57 被阅读0次

一、配置服务器网络

1. sudo vim /etc/network/interfaces 增加如下配置:

iface eno1 inet static

address 192.168.0.149

netamask 255.255.255.0

gateway 192.168.0.1

dns-nameservers 10.19.3.199

存盘后,reboot机器。

2. ping www.baidu.com 能够ping通过,表示可以上网。

相关文章

网友评论

      本文标题:Ubuntu部署

      本文链接:https://www.haomeiwen.com/subject/nncbsltx.html