Ubuntu:网络配置
来源:互联网 发布:淘宝千人千面怎么开通 编辑:程序博客网 时间:2024/06/08 12:32
1. 配置静态IP地址
# nano /etc/network/interfaces
auto lo
iface lo inet loopback
#The primary network interface
iface eth0 inet static
address 192.168.1.xxx
netmask 255.255.255.0
gateway 192.168.1.x
...
2. 设置DNS服务器
# nano /etc/resolvconf/resolv.conf.d/base
添加一下两行:
nameserver 192.168.1.x
nameserver 8.8.8.8
3. 重启网络
# /etc/init.d/networking restart
0 0
- ubuntu 网络配置
- ubuntu 网络配置
- Ubuntu配置网络
- Ubuntu简单网络配置
- ubuntu linux网络配置
- ubuntu-网络配置
- Ubuntu Server 网络配置
- Ubuntu网络配置
- ubuntu配置网络
- Ubuntu - 修改网络配置
- Ubuntu有线网络配置
- ubuntu: 配置网络方法
- ubuntu网络配置
- Ubuntu网络配置命令
- Ubuntu 10.04 网络配置
- Ubuntu网络配置
- ubuntu网络连接配置
- ubuntu网络配置
- EditText UI 修改
- redis消息发送与订阅
- Check failed: error == cudaSuccess (8 vs. 0) invalid device function
- 多Web服务器之间共享Session的解决方案
- poj 2406 Power Strings
- Ubuntu:网络配置
- PRML Ch3: Linear Models For Regression 线性回归模型
- 第十四周实践项目1————排序函数模板
- 人生若只如初见
- gulp的使用
- WebView使用详解(二)——WebViewClient与常用事件监听
- 哈理工OJ 1192 追逐(贪心算法)
- 基础总结--Activity的四种launchMode
- JSP编程--基本语法