virtualbox

Windows玩转Kubernetes系列1-VirtualBox安装Centos

大城市里の小女人 提交于 2020-02-01 10:24:46
下载 下载最新的VirtualBox 到页面 https://www.virtualbox.org/wiki/Downloads 页面下载VirtualBox 迅雷下载centos http://mirrors.cqu.edu.cn/CentOS/7/isos/x86_64/CentOS-7-x86_64-DVD-1708.iso ,笔者下载的为CentOS-7-x86_64-DVD-1708.iso 安装Centos 新建虚拟机,因为Centos其实是RedHat的克隆版,所以版本类型选择RedHat(64-bit) 下一步,内存设置,内存不能少于2G, 下一步,新建虚拟硬盘,32G差不多了 点击创建完成 配置,系统->处理器,处理器数量至少为2 配置,系统->存储,点击添加虚拟光驱,注册加载Centos7镜像 配置,系统->屏幕,设置显卡控制器为VBoxVGA,否则进入Centos7图形界面后有时会鼠标会失控。 双击安装centos 安装过程注意点:【SOFTWARE SELECTION】 ,【NETWORK&HOSTNAME】中要打开网络(否则enp0s3网卡不可用,winscp远程连接会失败), 点击开始安装,在安装过程中,给root设置一个简单的密码 配置centos,在virtualbox菜单【设备】点击【安装增强功能】,然后虚拟机内出现了一个虚拟光驱,点击RUN

windows与VirtualBox下的lubuntu文件交换

依然范特西╮ 提交于 2020-02-01 00:34:15
1、在VirtualBox中安装lubuntu 2、调整分辨率 --显示当前使用分辨率及最大分辨率等信息 xrandr 显示结果:(注意 VGA-1 标识,接下来要用到) s@s-VirtualBox:~$ xrandr Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384 VGA-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1920x1080 60.00 + 60.00 2560x1600 59.99 59.97 1920x1440 60.00 1856x1392 60.00 … --添加要使用的分辨率并返回需要添加的mode信息 cvt 1920 1080 --根据上个命令要回显的分辨率添加新的显示模式 xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync xrandr --addmode VGA-1 1920x1080_60.00 --设置输出,立即生效 xrandr --output VGA-1 --mode

Can't use Get-Service –ComputerName on remote computer

我是研究僧i 提交于 2020-01-31 05:37:06
问题 I have a windows 2003 box setup with virtual box and I can't powershell to work with it. I try this on my windows 7 machine Get-Service –ComputerName myserver I get back Get-Service : Cannot open Service Control Manager on computer 'myserver'. This operation might require other privileges. At Script1.ps1:2 char:4 + gsv <<<< -cn myserver + CategoryInfo : NotSpecified: (:) [Get-Service], InvalidOperationException + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell

linux环境下使用virtualbox安装ghost系统

心已入冬 提交于 2020-01-30 07:15:04
linux环境下使用virtualbox安装ghost系统 环境为Ubuntu 18.04LTS,这次难点在于使用virtualbox如何使用虚拟机外部的文件安装系统。后来看到加载iso很方便,就往这个方向尝试了下,果然可以。 安装virtualbox sudo apt update sudo apt install virtualbox 下载winpe的iso镜像文件 下载需要安装ghost系统文件,如win10.GHO 制作包含xxx.gho的iso文件,因为文件超过4G,所以要加上 -allow-limited-size 选项 mkisofs -allow-limited-size -o win10.iso win10.GHO 启动virtualbox,新建虚拟机,加载两个iso镜像 使用winpe内置的工具给磁盘分区,然后用内置的工具使用win10.GHO恢复系统 卸载两个iso镜像,重启,完工 来源: CSDN 作者: RunningStoic 链接: https://blog.csdn.net/RunningStoic/article/details/104110512

Run a shell command as another user or change Apache's user?

限于喜欢 提交于 2020-01-28 08:06:29
问题 I've been trying to figure out how to do this the whole day. The short version: I have to manage some virtual machines using php shell_exec function, so far I cant do this because apache is run by the user www-data and virtualbox by the user vboxuser From what I've read so far, I've thought of 3 possible solutions: 1.- Create a script on my vboxuser that I can call from php to manage the Virtual Machines. 2.- Change the apache user from www-data to vboxuser so I can manage the Virtual

Run a shell command as another user or change Apache's user?

一曲冷凌霜 提交于 2020-01-28 08:05:33
问题 I've been trying to figure out how to do this the whole day. The short version: I have to manage some virtual machines using php shell_exec function, so far I cant do this because apache is run by the user www-data and virtualbox by the user vboxuser From what I've read so far, I've thought of 3 possible solutions: 1.- Create a script on my vboxuser that I can call from php to manage the Virtual Machines. 2.- Change the apache user from www-data to vboxuser so I can manage the Virtual

Docker深入浅出系列 | 容器初体验

左心房为你撑大大i 提交于 2020-01-28 05:10:27
Docker深入浅出系列 | 容器初体验 教程目标 Docker已经上市很多年,不是什么新鲜事物了,很多企业或者开发同学以前也不多不少有所接触,但是有实操经验的人不多,本系列教程主要偏重实战,尽量讲干货,会根据本人理解去做阐述,具体官方概念可以查阅官方文档,本章目标如下: 了解什么是Docker 了解Docker解决了什么 了解什么是镜像和容器 了解容器与虚拟机的区别 了解Vagrant与Docker的区别 了解Docker引擎和架构 了解Docker的镜像分层 了解VirturalBox和Docker如何搭配使用 了解主体机器如何与客体机器上的容器进行通信 了解Vagrant、VirtualBox、Docker搭建与基本操作 *** 预备工作 因为我是Mac用户,所以这里VirturalBox和vagrant使用的是Mac版本,大家自己到官网下载对应的系统版本即可,强烈建议使用迅雷下载! VirtualBox-6.0.14-133895-OSX.dmg Vagrant_2.2.6_x86_64.dmg Centos7镜像 *** 容器与虚拟化技术 什么是Docker 简单来说Docker是一款可以将应用程序与基础设施分离、代码及其所有依赖项打包,使应用程序能够从一个计算环境快速可靠地运行到另一个计算环境,达到快速交付、测试、部署的容器化技术

Windows上使用Vagrant打造Laravel Homestead可协同跨平台开发环境

余生长醉 提交于 2020-01-26 19:38:58
1、简介 Laravel 致力于让整个 PHP 开发过程变得让人愉悦,包括本地开发环境,为此官方为我们提供了一整套本地开发环境 —— Laravel Homestead 。 Laravel Homestead 是一个打包好各种 Laravel 开发所需要的工具及环境的 Vagrant 盒子( Vagrant 提供了一个便捷的方式来管理和设置 虚拟机 ),该盒子为我们提供了优秀的开发环境,有了它,我们不再需要在本地环境 安装 PHP、HHVM、Web服务器以及其它工具软件,我们也完全不用再担心误操作搞乱操作系统 —— 因为 Vagrant 盒子是一次性的,如果出现错误,可以在数分钟内销毁并重新创建该 Vagrant 盒子! Homestead可以运行在 Windows、Mac 以及 Linux 系统上,其中已经安装好了Nginx、PHP7.0、MySQL、Postgres、Redis、Memcached、Node以及很多其它开发 Laravel 应用所需要的东西。 注:如果你使用的是Windows,需要开启系统的硬件虚拟化(VT-x),这通常可以通过BIOS来开启。 预装软件 Ubuntu 14.04 Git PHP 7.0 HHVM Xdebug Nginx MySQL SQLite 3 Postgres Composer Node(With PM2, Bower, Grunt,

Can't install virtualbox in Arch

余生长醉 提交于 2020-01-26 17:41:59
问题 I have tried to install Virtualbox on Arch(4.7.0-1) using pacman and everything seems to go fine until I try to run it. I get the following message WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (4.7.0-1-ARCH) or it failed to load. Please recompile the kernel module and install it by sudo /sbin/vboxconfig You will not be able to start VMs until this problem is fixed. VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib

ping cassandra on virtualbox guest from windows host

£可爱£侵袭症+ 提交于 2020-01-25 22:18:45
问题 I'm using virtual box to act as Linux guest to Cassandra DB, and I'm trying to access it through my windows host, however, i don't know what are the right configurations to do that. on virtual box I'm using "host only networking" to communicate from windows. Anyone knows how to do these configurations? 回答1: Maybe, it's the network configuration of the guest. In VirtualBox environment, if you want communicate to the guest from the host, the network type of the VM must be "bridged networking"