---
title: "CentOS 6 minimal VirtualBox eth0"
author: "arcko"
date: "2013-04-24T20:33:00Z"
tags: []
categories: ["开源软件"]
slug: "centos-6-minimal-virtualbox-eth0"
draft: false
lastmod: "2013-04-24T20:35:03Z"
id: 1853103
url: "https://arcko.iteye.com/blog/1853103"
---

CentOS 6 minimal VirtualBox安装后网络无法使用， 
ifconfig -a可以看见eth0
原因是没有开机启动，

修复办法：
修改/etc/sysconfig/network-scripts/ifcfg-eth0, 修改ONBOOT="no" 成为 ONBOOT="yes"
service network restart 即可

参考：
http://blog.malaya-digital.org/setup-a-minimal-centos-6-0-64-bit-setup-with-networking/
https://www.centos.org/modules/newbb/viewtopic.php?topic_id=34731