zoukankan      html  css  js  c++  java
  • Reinstall VirtualBox 6.0 on Ubuntu 18.04

    1. Remove the old version of virtual box. (Note the * is required, because it will remove all the virtualbox related packages)

    sudo apt purge virtualbox*

    2. Execute the following commands to install.

    sudo apt update
    sudo apt upgrade
    wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
    wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
    sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian bionic contrib"
    sudo apt update

    3. When open existing virtual box files have inaccessible problem, Like below, Runtime error opening .... for reading:-38(Access denied.). It is normally the virtual box instance created by other user so the current user cannot access.

     

    4. To confirm, go to the virtual box .vbox file folder, using 'ls -all' command to check the file properties. The below example the .vbox file ower is root. To fix this problem is easy, using 'sudo chown user myvirtualbox.vbox myvirtualbox.vbox-prev' to change the ower to current user.

  • 相关阅读:
    高可用Redis服务架构分析与搭建
    Java 程序性能问题
    限流、熔断、服务降级理解
    设计模式-享元设计
    设计模式-原型设计
    java8 Stream原理
    SQL语句性能优化策略
    OAuth2和JWT
    5种常见的Docker Compose错误
    leetcode_699. 掉落的方块
  • 原文地址:https://www.cnblogs.com/shengguang/p/11671670.html
Copyright © 2011-2022 走看看