加入收藏 | 设为首页 | 会员中心 | 我要投稿 佛山站长网 (https://www.0757zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

Ubuntu系统(三) IP查看配置

发布时间:2013-11-05 10:46:04 所属栏目:Linux 来源:站长网
导读:查看IP 输入ifconfig如下图: 配置网卡IP地址 vim etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.1.10 netmask 255.255.255.0 gat
查看IP

输入ifconfig如下图:

配置网卡IP地址

vim etc/network/interfaces

auto eth0

iface eth0 inet static

address 192.168.1.10

netmask 255.255.255.0

gateway 192.168.1.1

:wq!

$sudo /etc/init.d/networking restart

默认配置

(编辑:佛山站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读