博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Ubuntu12.10 Server 安装 VirtualBox-4.2.6 (64位) 过程详解
阅读量:7081 次
发布时间:2019-06-28

本文共 1906 字,大约阅读时间需要 6 分钟。

VirtualBox最新下载地址: 

  (文章译自官网)

 

  方法一:下载对应系统的安装包,自行手动安装。【这个比较合适对系统优化追求完美的使用者】

    方法就是下载好安装包后,上传到服务器上面,再通过相关的安装语句进行安装即可,

    比如redhat的可以这样安装:

       #yum install dkms

       #yum localinstall ****.rpm

    ubuntu的可以用

       #sudo apt-get install dkms

       #sudo dpkg -i ***.deb

 

  方法二:自动安装,主要是yum与apt-get系列

    1、对于yum自动化安装

Oracle-Linux 4, Update 6 or Newer

# cd /etc/yum.repos.d# mv Oracle-Base.repo Oracle-Base.repo.disabled# wget

Oracle-Linux 5

# cd /etc/yum.repos.d# wget

Oracle-Linux 6【现在多是6后】

# cd /etc/yum.repos.d# wget

Oracle-VM 2

# cd /etc/yum.repos.d# wget Download下来这个yum源后,我们就可以直接通过yum来自动化安装了!见下面几条命令: #yum clean all #yum list all #yum install VirtualBox-4.2*   2、对于apt-get自动化安装:   首先添加源列表,路径为/etc/apt/source.list     $sudo cp /etc/apt/source.list /etc/apt/source.listbak    #注意先备份一下配置文档     $sudo vim /etc/apt/source.list   源为下面的中的一个或全部:     deb http://download.virtualbox.org/virtualbox/debian precise contrib     deb http://download.virtualbox.org/virtualbox/debian oneiric contrib     deb http://download.virtualbox.org/virtualbox/debian natty contrib     deb http://download.virtualbox.org/virtualbox/debian maverick contrib non-free     deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free     deb http://download.virtualbox.org/virtualbox/debian karmic contrib non-free     deb http://download.virtualbox.org/virtualbox/debian hardy contrib non-free     deb http://download.virtualbox.org/virtualbox/debian wheezy contrib     deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free     deb http://download.virtualbox.org/virtualbox/debian lenny contrib non-free  添加后,就可以更新安装了!    $sudo apt-get update    $sudo apt-get install dkms  【必须安装的】    $sudo apt-get install virtualbox-4.2  下面附些命令:    $sudo apt-get clean  ---清空缓存    $sudo rm /var/lib/apt/lists/*   ---删除缓存    $sudo rm /var/lib/apt/lists/partial/*   ---同上    $sduo apt-get update    ---更新

转载地址:http://lgoml.baihongyu.com/

你可能感兴趣的文章
Python面向对象编程 - 一个记事本程序范例(一)
查看>>
马桶餐厅
查看>>
我对程序员技能的一些认识
查看>>
在linux下如何修改oracle的sys和system的密码
查看>>
【C语言】01-C语言概述
查看>>
mysql FullText全文索引的问题
查看>>
空格&nbsp在不同浏览器中显示距离不一致问题解决方法
查看>>
Dynamic CRM 2013学习笔记(八)过滤查找控件 (类似省市联动)
查看>>
iOS执行时与method swizzling
查看>>
SQL点滴21—几个有点偏的语句
查看>>
Android各种效果集合
查看>>
【转】Geary's C
查看>>
Linux中查看socket状态(转)
查看>>
public-private-protected-默认缺省 的区别
查看>>
React Native上手
查看>>
0919 - iPaste 上架 App Store
查看>>
iKcamp&掘金Podcast直播回顾(12月2号和9号的两场)
查看>>
Java简短知识点
查看>>
Hibernate第八篇【懒加载】
查看>>
[面试∙网络] TCP/IP(四):TCP 与 UDP 协议简介
查看>>