---
title: "Installing Guest Additions on Debian"
author: "xucons"
date: "2009-12-09T11:58:38Z"
tags: ["Debian", "Security", "WordPress"]
categories: ["操作系统"]
slug: "installing-guest-additions-on-debian"
draft: false
lastmod: "2009-12-09T11:58:38Z"
id: 544628
url: "https://xucons.iteye.com/blog/544628"
---

转载自：http://virtualbox.wordpress.com/doc/installing-guest-additions-on-debian/

 

 

Follow these steps to install the Guest Additions on your Debian virtual machine:

1. Login as root;
2. Update your APT database with *apt-get update* ;
3. Install the latest security updates with *apt-get upgrade* ;
4. Install required packages with *apt-get install build-essential module-assistant* ;
5. Configure your system for building kernel modules by running *m-a prepare* ;
6. Click on **Install Guest Additions…** from the **Devices** menu, then run *mount /media/cdrom* .
7. Run *sh /media/cdrom/VBoxLinuxAdditions.run* , and follow the instructions on screen.