Ubuntu网络配置
来源:互联网 发布:php查找字符串位置 编辑:程序博客网 时间:2024/06/14 18:37
方法一:
root@debian:~# vim.tiny /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto eth0
iface eth0 inet static
address=192.168.2.100
netmask=255.255.255.0
gateway=192.168.2.254
输入x保存退出
修改DNS:#nano /etc/resolvconf/resolv.conf.d/base
nameserver 8.8.8.8
重启服务:/etc/init.d/networking restart
开启网卡:ifconfig eth0 up
阅读全文
0 0
- ubuntu 网络配置
- ubuntu 网络配置
- Ubuntu配置网络
- Ubuntu简单网络配置
- ubuntu linux网络配置
- ubuntu-网络配置
- Ubuntu Server 网络配置
- Ubuntu网络配置
- ubuntu配置网络
- Ubuntu - 修改网络配置
- Ubuntu有线网络配置
- ubuntu: 配置网络方法
- ubuntu网络配置
- Ubuntu网络配置命令
- Ubuntu 10.04 网络配置
- Ubuntu网络配置
- ubuntu网络连接配置
- ubuntu网络配置
- bseg---faglflexta
- poj3904 容斥原理或莫比乌斯反演
- Git内网服务搭建全过程
- SpringMVC自定义错误页面
- es配置中防止脑裂的配置
- Ubuntu网络配置
- 帮助方法 Array
- memset 、ZeroMemory和 “={0}” 三者区别
- LeetCode 224. Basic Calculator
- leetcode--Missing Number
- 关于环境变量以及CMD
- Android网络请求--动态加载的效果(已封装、可直接使用)
- Java生成SM2证书基于BouncyCastle(cer)
- 配置动态路由:基于RIP v2