zoukankan      html  css  js  c++  java
  • linux下主要是VirtualBox及GuestAdditions的安装

    Linux版本的VirtualBox下载:http://www.virtualbox.org/wiki/Linux_Downloads。请下载对应的版本。

    RedHat、RHEL:rpm -i vh *.rpm
    Ubuntu安装:sudo dpkg -i *.deb


    如果虚拟的是linux系统,那么如何安装GuestAdditions
    在linux系统中选择安装增强功能,然后会自动关在GuestAdditions的ISO文件,有如下的窗口打开,复制里面的VBoxLinuxAdditions.run文件(可能位于/media/VBOXADDITIONS_version),然后执行。(这里以CentOS 为例)
    <ignore_js_op> 
    执行安装就可以了

    # bash VBoxLinuxAdditions.run 
    Verifying archive integrity... All good.
    Uncompressing VirtualBox 1.6.4 Guest Additions for Linux installation.............................................................................................................................................................................
    VirtualBox 1.6.4 Guest Additions installation
    Building the VirtualBox Guest Additions kernel module...
    Building the shared folder support kernel module...
    Installing the VirtualBox Guest Additions...
    Successfully installed the VirtualBox Guest Additions.
    You must restart your guest system in order to complete the installation.

    安装后需要重新启动虚拟机。。。。

    Linux or Solaris/OpenSolaris虚拟机的系统必须有X.org Server 1.3或以上版本才可以有无缝模式seamless Mode效果。

    文件夹共享:# mount -t vboxsf [-o OPTIONS] sharename mountpoint
    例如:#mount -t vboxsf  download /mnt/box,前提是挂载点必须存在
    <ignore_js_op> 

    虚拟linux系统的显示及分辨率

    安装完增强功能后,会简单的修改xorg.conf文件就可以了,modes设置你需要的分辨率
    Section "Screen"
            Identifier "Screen0"
            Device     "Videocard0"
            Monitor    "Monitor0"
            DefaultDepth     24
            SubSection "Display"
                    Viewport   0 0
                    Depth     24
                    Modes "2048x800" "1024x640" "800x600" "640x480"
            EndSubSection
    EndSection

  • 相关阅读:
    06springmvc文件上传
    07springmvc文件下载
    05springmvc-json-ajax使用
    04springmvc请路径参数
    03springmvc项目使用静态资源
    02springmvc注解入门
    springmvc入门
    20mybatis集成jndi
    19mybatis集成dbcp
    怎样用hibernate验证登陆界面的用户名和密码
  • 原文地址:https://www.cnblogs.com/tina-smile/p/3608802.html
Copyright © 2011-2022 走看看