virtualbox

libvirt and VirtualBox on OS X

試著忘記壹切 提交于 2021-01-27 12:15:30
问题 I'm trying to access VirtualBox through libvirt on OS X (Lion). I installed libvirt 0.9.4 using Homebrew. However, libvirt fails to connect to VirtualBox: # virsh -c vbox:///session error: internal error unable to initialize VirtualBox driver API error: failed to connect to the hypervisor In a similar SO question about Ubuntu, the answer was that the Ubuntu libvirt package doesn't build support for VirtualBox. How can I check if this is the problem in the case of the Homebrew package, or if

Virtualbox 6.1.10, Ubuntu 20.04 bad return status build on kernel 5.8.0, package virtualbox-dkms error

我的未来我决定 提交于 2021-01-26 17:12:41
问题 Not so much as a question as a documentation. This is regarding a failing apt-get install or update related to virtualbox 6.1.10, Ubuntu 20.04, and virtualbox-dkms package failing to build. I had an issue recently with Ubuntu 20.04 and Virtual Box 6.1.10 that's similar to what has been documented here and here. The issue was that installing virtual box from the ubuntu software center installed v6.1.10 which is incompatible with the current ubuntu kernel version, v 5.8.xx. These are all known

Prometheus安装

一世执手 提交于 2021-01-26 03:39:44
Prometheus安装 下载地址: https://prometheus.io/download/ 现在时间是: 2019.09.07 安装环境: Linux centos7 minimal 虚拟机; 宿主主机 MacOS; 软件: virtualBox 6.0.10 r132072 选用版本: prometheus-2.12.0.linux-amd64.tar.gz 二进制包安装 1.安装虚拟机 下载镜像 在virtualbox安装虚拟机 配置网络 更换国内源 【CentOS7】yum安装时出现错误[Errno 14] curl#6 - "Could not resolve host: mirrors.aliyuncs.com; Unknown e的解决办法 2.配置 以及 安装依赖 配置网络使用网络地址转换模式 主机名 配置主机名可以快速辨识 时钟 prometheus是个时序数据库,对时间要求极高,所以安装时间同步的工具,设置时区为东八区, Asia/shanghai 资料 #安装服务 > yum install ntp -y #开机启动 > systemctl enable ntpd #设置时区 > timedatectl set-timezone Asia/Shanghai #查看时区 > timedatectl 3.安装prometheus

How do I resolve 'The character device /dev/vboxdrv does not exist' error in Ubuntu 18.04 [closed]

人盡茶涼 提交于 2021-01-21 06:51:34
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last month . Improve this question I have installed virtual box in my device using sudo apt install virtualbox-qt command. But when I run virtualbox command or virtualbox --version command it gives me this error: WARNING: The character device /dev/vboxdrv does not exist. Please install the

Can't install Docker - Hash sum mismatch (Ubuntu 18.04, Vagrant, Virtualbox)

蓝咒 提交于 2021-01-21 05:10:57
问题 I just can't install Docker in a fresh image of Ubuntu 18.04 (in Virtualbox, using Vagrant). I am using the instruction from the official site: https://docs.docker.com/install/linux/docker-ce/ubuntu/ Or the short command from https://github.com/docker/docker-install: curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh And always got the same errors - Hash sum mismatch : Failed to fetch https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/docker-ce_19

Can't install Docker - Hash sum mismatch (Ubuntu 18.04, Vagrant, Virtualbox)

感情迁移 提交于 2021-01-21 05:09:30
问题 I just can't install Docker in a fresh image of Ubuntu 18.04 (in Virtualbox, using Vagrant). I am using the instruction from the official site: https://docs.docker.com/install/linux/docker-ce/ubuntu/ Or the short command from https://github.com/docker/docker-install: curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh And always got the same errors - Hash sum mismatch : Failed to fetch https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/docker-ce_19

CentOS 重置root密码

落爺英雄遲暮 提交于 2021-01-21 01:46:38
准备工作 电脑:安装好CentOS系统 软件:VMware 操作步骤 第一步 重启CentOS系统 第二步 在VirtualBox主界面菜单上,点击Start按钮,启动虚拟机 第三步 grub菜单出现时,用上下方向键选择最上面一个启动项,按下字母e 第四步 找到linux16行,按下键盘上的End键,将光标定位到行末尾 第五步 删除到ro,将o删除,写成w,再键入空格rd.break即本行末尾为“rw rd.break” 然后按下Ctrl - x 第六步 switch_root:/# chroot /sysroot chroot /sysroot,进入监牢/sysroot。 sh_4.2# passwd root 修改root的密码 sh_4.2# touch /.autorelabel 为文件系统重新打上SELinux标签 sh_4.2# exit 退出监牢 switch_root:# exit 来源: oschina 链接: https://my.oschina.net/u/4231829/blog/3117735

VirtualBox and WSL2 [closed]

旧城冷巷雨未停 提交于 2021-01-20 15:15:50
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 months ago . Improve this question I recently updated my Windows 10 version to version 2004 . I also updated WSL to WSL2. I encountered a problem while trying to use a Virtual Machine (Windows 10 Host/Windows 10 Guest). Everytime I try to boot it, it becomes really slow and doesn't make it past

CentOS6.9 开发版本安装

非 Y 不嫁゛ 提交于 2021-01-18 10:34:18
01 资源下载 01.01 下载VirtualBox虚拟机,CentOS6.9安装盘 wget https://download.virtualbox.org/virtualbox/6.1.16/VirtualBox-6.1.16-140961-Win.exe https://vault.centos.org/6.9/isos/x86_64/CentOS-6.9-x86_64-bin-DVD1.iso https://vault.centos.org/6.9/isos/x86_64/CentOS-6.9-x86_64-bin-DVD2.iso CentOS6.9安装盘 一般仅下载 CentOS-6.9-x86_64-bin-DVD1.iso 就可以。安装时选择 开发版本 。 01.02 安装centos6.9 安装虚拟机操作步骤: 打开virtualbox, 新建虚拟机( ctrl + n ) 基本设置: 设置虚拟机名称: CentOS6.9X64D 选择虚拟机保存文件路径: C:\install\Oracle\VirtualBox\vms 选择虚拟机类型: Linux 选择虚拟机版本: Red Hat (64-bit) 设置内存大小: 4096GB 选择虚拟磁盘类型: 现在创建虚拟硬盘© 文件位置: C:/install/Oracle/VirtualBox/vms/CentOS6

在启用uefi引导的电脑上安装ubuntu20.04

倖福魔咒の 提交于 2021-01-18 06:28:40
新入手一台thinkpad t14s,第一时间干掉了预装的win10家庭版,安装上ubuntu20.04 注意事项 分区格式 uefi引导模式一般的分区格式是GPT格式而不是MBR格式,推荐使用GPT esp分区 默认情况下,windows采用uefi启动的电脑上会默认存在一个uefi专用的分区的(fat32格式,标志是boot,hidden,esp),这个分区叫ESP分区,对于linux来说,这个ESP分区260M就足够用了,如果已经存在这个分区,最好先备份,然后ubuntu可以直接使用它。其默认的挂载点是/boot/efi,这个分区不要动它,其余分区随便搞 如果ubuntu安装在GPT分区并且没有找到efi分区,会提示创建efi分区 grub安装位置 如果使用了uefi,可以直接指向/boot/efi 推荐开启uefi模式 开启了uefi模式就不用再设置/boot分区了,如果ubuntu仍然要你指定/boot分区,说明启动方式设置的是BIOS模式引导 开启uefi后启动速度非常快 需要关闭secret boot 不然virtualbox虚拟机没法启动 我的分区方案 /efi 260M //如果电脑之前装过windows10,会存在一个efi分区,留着就好 /home 总容量的20%,这个分区放代码和文档 /opt 总容量的30%,这个分区上放杂七杂八的软件和虚拟机 /