1.如果你的CentOS 版本早于 6,那么需要在 /etc/grub.conf 中添加一行 divider=10,以将这个参数传递给核心,以减少 idle CPU load.   2.#yum update  把系统的所有软件升级到最新版本.   3.#yum install gcc 安装编译系统   4.#yum install kernel-devel 安装外置核心模块.   5.#reboot  重启以使所有的升级或安装生效.   至此,所有的准备工作就完成了,下面开始安装GuestAd…
1 在原始操作系统安装. 2 打开USB设置. 3 运行虚拟机中的Linux中,Device->install guest additions 再安装增强包. 4 插入U盘,如果这时可以看到U盘,说明安装成功.…
安装过程中出现错误: Bulding the VirtualBox Guest Additions Kernel modules failedYour system does not seem to be set up to build kernel modules.Look at /var/log/vboxadd-install.log to find out what went worg. Once you have corrected it,you run/etc/init.d/vboxa…
在VirtualBox里安装CentOS系统,会遇到“增强工具”无法正常安装,主要的原因是出在Kernel 库找不到. 错误提示如下:  通过查看日志文件: cat /var/log/vboxadd-install.log 从日志显示,我们就可以找到问题的所在了. 第1步:安装 gcc-c++ 编译器 (注意:如果你的CentOS是全部安装的话,那么默认已经安装好了) yum  -y   install    gcc-c++ 注意:安装前确保你的网络是通畅的,因为yum是网络安装. 总计大概40…
安装先前的笔记:CentOS 6.3 中安装VirtualBOX增强工具失败:Building the main Guest Additions module[FAILED],执行了以下命令 #安装 工具/依赖库 yum install -y gcc-c++ kernel kernel-devel #重启 reboot 重新安装“增强工具”,还是报如下错误: Building the OpenGL support module  [FAILED] 网友提供的解决方案: cd /media/VBO…
作者:荒原之梦 原文链接:http://zhaokaifeng.com/?p=573 本文中使用的Debian是安装在VirtualBox中的虚拟机,具体参数如下: Debian版本:Linux debian 4.9.0-4-amd64 VirtualBox版本:VirtualBox 5.2.6 Debian虚拟机安装VirtualBox增强功能的具体步骤如下: 1 前期准备 打开Debian虚拟机并登陆,依次点击VirtualBox的"设备->安装增强功能". 这时我们可以在D…
原来我虚拟机版本是4.2.10,装的Ubuntu3.3,因为版本过老使用出现了一些问题,于是换成14.04,安装成功,但是装增强包的时候,装完重启,无限登录界面,密码是对的. 看了网上的很多方法,什么修改.Xauthority用户,删除 .Xauthority,修改权限,file文件都修改了,结果一律没什么卵用,于是升级了虚拟机版本,升级到4.2.12,不行,继续升级4.3.8,不行,再升级虚拟机出错,高版本不是很稳定,只能装回4.3.8. 系统换成15.04,依旧不行.最后想着是不是因为低版本…
原文链接:http://fengbaoxp.iteye.com/blog/1871825 Ubuntu 12.10 Desktop         首先,通过VirtualBox菜单(设备->安装增强功能)加载增强包加载到光盘.           #安装linux-headers.         $ sudo apt-get install linux-headers-$(uname -r)                   #切换到光盘路径,eugene为当前用户名         $…
环境介绍 Machine: NUC8i5BEK OS: macOS Catalina 10.15.6 VirtualBox: 6.1.12 r139181 (Qt5.6.3) CentOS: 8.2.2004-x86_64 安装步骤 为虚拟机实例分配光驱 虚拟机菜单栏 -> 设备 -> 分配光驱 -> VBoxGuestAdditions.iso,如 CD-ROM 被占用请强制释放. 挂载 CD-ROM mkdir /mnt/cdrom mount /dev/cdrom /mnt/cdr…
http://blog.chinaunix.net/uid-25100840-id-302308.html 这两天学习<linux设备驱动程序开发详解>中的异步通知,其中有一个fcntl()函数,就是找不到,很气愤,在网上搜,也没有好的解决办法, 最终,一个网友给我做了解答:是因为fcntl()是标准库,在内核源码中是找不到的,只能在系统中查找到,你可以用这个命令来实现:man fcntl 所以,我才重新看看man的用法,发现确实有这么多的用处,咳,整理如下: 什么是man手册 首先,man是…
一.安装 1.自带tools:  选择VirtualBox工具栏 => 设备 => 安装增强功能 2.挂载光驱 3.进入光驱目录,执行(一定要用root权限执行) ①安装gcc yum install gcc -y ②更新kernel-headers yum install kernel-devel-$(uname -r) ③开始安装 ./VBoxLinuxAdditions-x86-64.run   二.卸载 暂略…
修改配置文件 LANG="zh_CN.UTF-8" 改为中文字符集 然后在查看更改后的系统语言变量 [root@5c46832b5c01 ~]# locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot s…
在项目中使用 centos 6.5 mini 版本(网络隔离,无法上外网),因测试需要使用到 erlang 环境. erlang rpm 包下载地址:https://www.erlang-solutions.com/resources/download.html 安装时确实依赖,将依赖包拷贝到机器安装时,互相依赖,及安装 a 时依赖b,安装b时依赖a.导致无法安装. 最后用  rpm -ivh *.rpm --nodeps –force 安装成功. 安装命令如下: #rpm -ivh SDL-1…
切换到root用户: apt-get install build-essential 或者 apt-get install gcc make apt-get install dkms apt-get install linux-headers-`uname -r` 然后点击VirtualBox的设备菜单下的安装增强工具选项,在Debian虚拟机下的终端中执行命令给 mount  /dev/cdrom  /mnt 进入到/mnt下,执行命令 ./VBoxLinuxAdditions.run…
参考:http://www.if-not-true-then-false.com/2010/install-virtualbox-with-yum-on-fedora-centos-red-hat-rhel/ 如果需要wget设置proxy,参考: http://www.satwe.com/archives/355.html 参考:https://www.virtualbox.org/wiki/Linux_Downloads 安装Oracle VirtualBox的Public Key,然后使用…
1.安装 epel-release扩展yum源# yum install -y epel-release# yum clean all# yum makecache2.安装setuptools# yum install -y python34-setuptools3.安装pip3# easy_install-3.4 pip--------------------- 作者:香香爹 来源:CSDN 原文:https://blog.csdn.net/lpwmm/article/details/8016…
1.下载nodejs的二进制包 wget https://nodejs.org/dist/v6.3.1/node-v6.3.1-linux-x64.tar.xz 2.解压下载的安装包 tar xf node-v6.3.1-linux-x64 3.验证nodejs的bin包是否在可以正常运行 cd node-v6.3.1-linux-x64/bin ./node -v #能输出版本号表示可以正常运行 4.将nodejs的路劲加入path vim /etc/profile 然后找到export pa…
   因为需要在host及虚拟机间传输数据,想使用共享文件夹.但是单独设置了共享文件夹后在centos里找不到共享文件夹,看了下要安装增强包.好吧,顺 便也解决下鼠标切换的问题,省的老是按右CTL切换,还有窗口也可以无缝切换,那就方便了.但是直接点了vbox里的增强工具包一直有报错. 找了下,需要几个地方注意下. VirtualBox 大 家都习惯性把它简称为 Vbox ,比 VM 的体积小.开源.速 度快.不过在使用 VirtualBox  在虚拟机中安装 CentOS 之后,不能直接运行安装…
原文网址:http://www.2cto.com/os/201308/233609.html virtualbox安装增强包及配置共享文件夹     因为需要在host及虚拟机间传输数据,想使用共享文件夹.但是单独设置了共享文件夹后在centos里找不到共享文件夹,看了下要安装增强包.好吧,顺便也解决下鼠标切换的问题,省的老是按右CTL切换,还有窗口也可以无缝切换,那就方便了.但是直接点了vbox里的增强工具包一直有报错.   找了下,需要几个地方注意下.   VirtualBox 大 家都习惯…
VirtualBox内刚刚安装完CentOS6.9和7系统,无法调整屏幕的分辨率,也无法设置共享文件夹.解决的方法就是安装VirtualBox客户端增强包. 1.若直接安装客户端增强包会得到如下提示:[root@CentOS opt]# ./VBoxLinuxAdditions.run Verifying archive integrity... All good.Uncompressing VirtualBox 5.1.34 Guest Additions for Linux.........…
VirtualBox内刚刚安装完Debian9系统,也无法设置共享文件夹.解决的方法就是安装VirtualBox客户端增强包. 1.若直接安装客户端增强包会得到如下提示:root@debian:/opt# ./VBoxLinuxAdditions.run Verifying archive integrity... All good.Uncompressing VirtualBox 5.1.34 Guest Additions for Linux...........VirtualBox Gue…
VirtualBox是一款功能强大的免费虚拟机软件,一般我们安装VirtualBox后要安装扩展增强包,VirtualBox扩展包包含USB2.0和USB3.0控制等支持功能,如果没有装,在使用过程中会提示用户需要安装扩展包,那么VirtualBox扩展包怎么安装呢?其实安装方法非常简单,下面一起来学习下VirtualBox扩展包安装步骤. 一.所需工具 1.已安装的VirtualBox虚拟机 2.VirtualBox扩展包下载地址:https://www.virtualbox.org/wiki…
在虚拟机下安装了一个centos的minimal镜像,发现增强包不能安装,鼠标不能在虚拟机和物理机间自由切换.不能共享粘贴板,非常是不爽,这里摸索出在centos  minimal OS下安装增强包的方法 1. 首先安装编译增强包(内核模块)须要的软件 yum -y install gcc make kernel-devel 2. 手动挂载minimal镜像 cd /media mkdir cdrom  mount /dev/cdrom1(我的光驱是/dev/cdrom1,依据个人情况请改动)…
目录: 安装虚拟机VirtualBox 虚拟机VirtualBox安装win7全过程 虚拟机共享文件夹.U盘 一.安装虚拟机VirtualBox VirtualBox下载地址:https://www.virtualbox.org/wiki/Linux_Downloads 本文下载该版本:virtualbox-5.1_5.1.28-117968~Ubuntu~precise_i386.deb 安装步骤:双击下载后的deb文件,由Ubuntu软件中心打开,点击安装即可. 二.虚拟机VirtualBo…
参考文档: http://wenku.baidu.com/view/a51ac26c9b6648d7c1c746d7.html 1.首先,先去官网(http://www.virtualbox.org)下载所需的.对应的 VitrualBox (Linux 下的 Ubuntu 版),本文以目前最新版 virtualbox-4.2_4.2.4-81684~Ubuntu~precise_i386.deb 为例.[注意软件包名,Ubuntu 后面的单词是“precise”] 2.然后,下载相应版本的 V…
转载 1.终端命令 编辑sources.list ? 1 sudo gedit /etc/apt/sources.list 2.添加 软件源 将下面的地址加入sources.list 的末尾,保存并退出 ? 1 deb http://download.virtualbox.org/virtualbox/debian precise contrib 3.终端命令 导入公钥,并更新源 ? 1 wget -q http://download.virtualbox.org/virtualbox/debi…
在virtualbox安装了centOS,想安装增强功能时,系统提示: building the main Guest Additions module Failed 于是尝试了以下两步操作: (1)yum install gcc kernel-devel kernel-headers (2)yum update kernel 重新运行增强包中autorun.sh时,提示错误: The missing package can be probably installed with  yum ins…
环境: win10 64位 Virtualbox 5.1.30 ubuntu-16.04.3-server-amd64.iso 1. 安装好ubuntu后,打开virtualbox安装路径文件夹,找到VBoxGuestAdditions.iso(增强包).如图: 2. 点击鼠标右键,选择装载,就会看到资源管理器目录多出DVD驱动器 3.关闭Ubuntu,在win下创建一个要共享的文件夹,例如:E:\code ,然后在virtualbox界面如下操作 4. 重启Ubuntu后,在Ubuntu下也创…
VirtualBox 大家都习惯性把它简称为 Vbox ,比 VM 的体积小.开源.速 度快.不过在使用 VirtualBox  在虚拟机中安装 CentOS 之后,不能直接运行安装好 VirtualBox 的客户端增强功能,需要简 单地配置一下才能在 CentOS 虚拟机中正常安装 VirtualBox 客户端增强功能.下面就看一下 OwnLinux 为大家提供的 “为 CentOS 5.5 虚拟机安装 VirtualBox 客户端增强功能”图文教程. 1.启动安装在 VirtualBox 中…
原文链接:http://luzl.iteye.com/blog/1010597 首先说下增强包能干什么,在desktop下面有了增强包桌面就能变大了,在server下也是类似,那个黑屏就能变大了,还有一项比较重要就是共享文件,也需要增强包. 在desktop下面比较简单,在virtualbox的菜单里把安装增强包点一下,然后再从命令行mount一下cdrom,再然后运行下安装的包就行了: 1.首先,选择设备->安装增强功能 2.然后安装以下的包: sudo  aptitude install b…