Vmware 下的ubuntu server 网络配置
来源:互联网 发布:mac重装后是英文界面 编辑:程序博客网 时间:2024/05/16 19:11
安装ubuntu-server的时候为了不让系统在安装的时候没完没了的扫描站点镜像,我把虚拟网络给断开了。
sudo vi /etc/network/interfaces
在lo上添加配置信息
静态:
auto eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1
动态:
auth eth0
iface etho inet dhcp
然后 /etc/init.d/networking restart 重新启动网络
如果仍没有eth0,reboot重启一下
进入系统,ifconfig,发现只有一个lo本地环回,没有eth0
解决方法:
手动添加网卡信息sudo vi /etc/network/interfaces
在lo上添加配置信息
静态:
auto eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1
动态:
auth eth0
iface etho inet dhcp
然后 /etc/init.d/networking restart 重新启动网络
如果仍没有eth0,reboot重启一下
然后需要更新软件源:sudo apt-get update
否则会出现安装软件时 Unable to locate package错误 0 0
- Vmware 下的ubuntu server 网络配置
- Ubuntu Server 下的网络配置
- Ubuntu Server 下的网络配置
- Ubuntu Server 下的网络配置
- vmware下ubuntu的网络桥接配置
- VMware下Ubuntu linux配置 NAT 网络
- vmware 下 ubuntu NAT 网络配置
- VMware下Ubuntu linux配置 NAT 网络
- ubuntu server的网络配置
- ubuntu server的网络配置
- ubuntu server的网络配置
- ubuntu在VMware的网络配置
- vmware下ubuntu共享win7的网络
- VMware下Ubuntu 14.04的网络设置
- vmware下网络配置
- Vmware下的linux 的网络配置
- VMware下虚拟机ubuntu的联网配置
- VMware 下的centOS Nat网络配置
- <intent-filter>中的category
- web页面验证码代码
- JAVA内部类学习总结。
- 算术表达式求值(顺序栈实现)
- 指针的优先级
- Vmware 下的ubuntu server 网络配置
- Spring和JBPM4.3集成
- socket调试
- java线程 使用显示的lock 和condition
- leetcode_解题_reorder list
- Android之Adapter用法总结
- JVM参数总结
- 9i数据库的RMAN备份恢复
- 数据迁移