给新centos系统虚拟机配置网络服务
记录下今天新建虚拟机的过程吧.
镜像:CentOS-6.3-x86_64-minimal;
虚拟机版本: vm 8.0
LET'S----------------------->GO
手动新建一台虚拟机,指定镜像,安装........................纳尼,mount:special device /dev/hda does not exist
报错了.百度了.这位大神说的好
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoEAAABqCAIAAABMLRyHAAAckElEQVR4nO1d3ZnyvA48PaUYWqETKqERGkkL54Il2JY0GjmB7L7fzMU+wZH1a2tIYMn/VkEQBEEQzsD/znZAEARBEP6jEAcLgiAIwjkQBwuCIAjCORAHC4IgCMI5EAcLgiAIwjkQBwuCIAjCORAHC4IgCMI5EAcLgiAIwjkQBwuCIAjCORAHC4IgCMI5EAcLgiAIwjkQBwuCIAjCORAHC4IgCMI5EAcLgiAIwjmgOHjpMZzCs4AkmMvrByhpq4JXNeHn55w5EMxK+EKWdq6indZ5nFKjfw/MquMlv1D3fwDaGh+Fw8HVLNu17s5iRlLlJEr7DSjB8sNxpHN76c6dXn/Ak1JEkf9prjYxbPfTWWISOJ3knXM/ocfB/bpcbo9PaV/Xx+2yLMv1vl/T/bosU75GK4FfGMNy5S0KO3ffHv178emtwSDbPvl1MOitbo9mevEabAlXJ2YC0mF3IrCeKlwDtnDVApnp9UdaxKVhIsWDaSCHZ6m6PCaWUOTkNKL8N7hfew+v9/W1fRt4DeXVZ4Dw/Wqn/oylJh63i9WfTjRnX+c3dXtyiEsfDQ4Hqa1ZUCE+bpfi+5pQbV1VDSAb+zfIX94aG3rJrhT5Yhg5OFrceFmvcImTE+2slaqQMysa5O2mYmCW1cAkswQmECsADly1wNVWAx/RIVnCBXLVAgGAudJgPb5Oe3n4uF0ut8e4gZ9bfdjR21t9JHy/jl36NZKZ6Gc20ngiaD3WlwL4ap5X9+m3GaeozcEneY/mv7c12hk9qb8VEot9/jq4PctQQtT38QiYVXV1kyF54ih2mXAyRcpYrj84q1HPcg/4urs6U/np3koGXnJ1D4jV7r0T/4HTdvst3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k0IVzm90uHJgS2xnXUTagE+4U9iz2Dr2JDIUtQ9S2N0taZbw9pvbMOmsNNul1LnZZnz4RI0m8uk6Pwwyqkp1nwapwZYYpA7rBLO2uZ+oZuR8VBcmM1UPGQG+7iBFUT4xXOuuVzg04cvQswsFQRAE4RyIgwVBEAThHIiDBUEQBOEciIMFQRAE4RyIgwVBEAThHIiDBUEQBOEciIMFQRAE4RyIgwVBEAThHIiDBUEQBOEc/B/6tz/J4kSVfAAAAABJRU5ErkJggg==" alt="" />
解决方案:重新新建虚拟机,然后在选择镜像的时候 请选择 稍后手动指定 “I will install the operating system later.“,
接下来,就开机,然后手动指定镜像...-路顺风,成功安装了系统;
---------------------------------------------------------------
下面开始配置网络
输入如下命令
vi /etc/sysconfig/network-scripts/ifcfg-eth0
以下提供2种方案, dhcp 和 static自己指定ip
dhcp的比较容易,如下
DEVICE="eth0"
ONBOOT="yes"
TYPE="Ethernet"
BOOTPROTO=dhcp
内容如下
DEVICE="eth0"
ONBOOT="yes"
TYPE="Ethernet"
BOOTPROTO=static
IPADDR=192.168.0.6 #ip
NETMASK=255.255.255.0 #子网掩码
GETEWAY=192.168.0.1 #网关
#亲,这里可以手动指定dns哟 强烈建议在此处指定
dns1=8.8.8.8
DNS手动编辑的方式
vi /etc/resolv.conf
内容如下
nameserver 8.8.8.8
重启网络服务 service network restart
完成(如果没完成,试着 添加路由 输入如下命令 route add default gw 192.168.0.1 ,这里的地址是你的网关)
-------------------------------------------------------------------------------
现在不出意外,是可以上网的;
但是,奇葩总是有.........
如果采用静态的方式,然后ping 外网出现connect: Network is unreachable
你如果你已经在ifcfg-eth0文件里配置了dns 则直接下一步,否则,亲,你看下你手动编辑的的/etc/resolv.conf是不是被自动重置,然后你添加的路由也木有了(route命令查看路由).初始化了.....我都说了,建议在ifcfg-eth0文件里指定了嘛.....
添加DNS 然后 手动添加永久静态路由
查看此文件是否存在,不存在手动新建/etc/sysconfig/static-routes
内容如下
any net default gw 192.168.0.1
保存退出,重启网络服务 ,搞定.
给新centos系统虚拟机配置网络服务的更多相关文章
- 大数据分析VMWare虚拟机centos系统下配置网络参数
最近搞大数据方面的数据,通过网上视频学习和自己实践,有些不成文的实践就零碎的记录在此吧. 系统也可安装CentOS DVD版. 1.先进入配置文件,并查看基本情况,如下: 2.用vi编辑器打开物理网卡 ...
- VMware 安装 Centos 7 虚拟机配置网络
在 Windows 机器上如果想使用 Linux 环境,最方便的方式莫过于使用虚拟机,最常用的软件各位肯定也不陌生,大名鼎鼎的 VMware . 不过这玩意有点稍稍不是那么智能,每次安装 Linux ...
- 虚拟机Linux系统下配置网络
虚拟机上安装Redhat9.0后是没有网络的,而本来的Windows系统是可以上网的,此时想在Redhat上网就需要在Linux系统上配置网络,以下是笔者自己配置的一点心得. 1.电脑本机系统打开网络 ...
- CentOS 6.5配置nfs服务
CentOS 6.5配置nfs服务 网络文件系统(Network File System,NFS),一种使用于分散式文件系统的协议,由升阳公司开发,于1984年向外公布.功能是通过网络让不同的机器.不 ...
- Oracle配置网络服务
对于Oracle来说.不管是连接本地数据库还是远程连接server数据库,都须要在本机配置网络服务才可连接. 大家可能不明确为什么. 先拿SqlServer来说.SqlServer在连接数据库的时候仅 ...
- CentOS 7.2配置Apache服务httpd小伙伴们可以参考一下
这篇文章主要为大家详细介绍了CentOS 7.2配置Apache服务 httpd上篇,具有一定的参考价值,感兴趣的小伙伴们可以参考一下 一.Perl + mod_perl 安装mod_perl使Per ...
- linux配置虚拟机的网络服务
一.找到网卡位置 二.配置协议 删除网卡物理地址+UUID(方便后期克隆虚拟机,不至于多个虚拟机之间有相同的网卡物理地址,防止出现网络问题)`` cd /etc/sysconfig/network-s ...
- VMware虚拟机下CentOS 6.5配置网络
使用NAT模式 虚拟机网络连接使用NAT模式,物理机网络连接使用Vmnet8. 虚拟机设置里面——网络适配器,网络连接选择自定义:Vmnet8 (NAT模式) 虚拟机菜单栏—编辑—虚拟网络编辑器,选择 ...
- centos虚拟机配置网络
首先想用xshell链接虚拟机,发现没有联网, 首先打开Windows下的服务 将虚拟机的网络设置为net模式 centos的网卡默认是关闭的,需要手动打开,首先进入这个目录 用vim打开ifcfg- ...
随机推荐
- Codeigniter 利用加密Key(密钥)的对象注入漏洞
http://drops.wooyun.org/papers/1449 原文链接:http://www.mehmetince.net/codeigniter-object-injection-vuln ...
- 继电器Relay:ZZR08
继电器常识: 继电器有三个接线柱:常开(NO),常闭(NC),接地(C) 如果连接的时间长,偶尔需要断电, 那么接NC 和 C, 这样继电器set on 时为断电.除此之外,继电器还可以控制按键,以及 ...
- 扩展 delphi 泛型 以实现类似lambda功能 , C#中的any count first last 等扩展方法
扩展 delphi 泛型 以实现类似lambda功能 , C#中的any count first last 等扩展方法 在C#中对泛型的扩展,输入参数是泛型本身的内容,返回值则是bool.基于这一点, ...
- 文件格式PDF
pdf(Portable Document Format的简称,意为“便携式文档格式”),是由Adobe Systems用于与应用程序.操作系统.硬件无关的方式进行文件交换所发展出的文件格式.PDF文 ...
- qt resize() 和 geometry()
resize(),设置的部件客户区的大小.只有当该部件被show后才生效,即geomery() 返回的才是 resize() 的客户区大小.
- 应用scikit-learn做文本分类
文本挖掘的paper没找到统一的benchmark,只好自己跑程序,走过路过的前辈如果知道20newsgroups或者其它好用的公共数据集的分类(最好要所有类分类结果,全部或取部分特征无所谓)麻烦留言 ...
- URAL 1233 Amusing Numbers 好题
参照了nocow上的解法,照搬过来…… 易知一个数X在数列中在另一个数Y前,当且仅当X前缀小于Y或前缀相等X短,那么我们分布考虑,比如对于数48561: 5位上:10000~48560; 4位上:10 ...
- 从SDE库文件手工删除SDE图层(转载)
转载自:http://gis-conquer.blog.sohu.com/164467560.html 一.前言 虽然Catalog能解决这种问题,但是在特殊情况下也许这种方法有点用途. ...
- Virtualbox: Shared directory- “unknown filesystem type vboxsf”
1. "设置”中,"共享文件夹”,把要共享的文件夹添加上. 2. 然后打开系统,找到“安装增强功能”,这时桌面上多了一个光盘或者看/media/下面是不是已经文件了,虽然这个时候可 ...
- dojo 九 effects dojo/_base/fx 和 dojo/fx
官方教程:Dojo Effects这里讲学习一下dojo如何实现淡入.淡出.滑动等效果.实现这些特殊的效果有两个包 dojo/_base/fx 和 dojo/fx.dojo/_base/fx 中提供了 ...