我有一个本地测试/开发服务器(当然是HTTP),监听端口8000.
我正在使用Linux,所以要在Internet Explorer 6,7,8等上测试页面.我使用VirtualBox运行虚拟机; 我还需要看看它在Windows环境中的外观如何(例如字体不同).
在我的真机中,我只是使用URL打开网站http://localhost:8000
,如何从虚拟机中解决这个本地主机?
现在我的解决方法是使用IP地址.有更好的想法吗?
在Oracle VirtualBox,Windows 7主机中退出缩放模式的快捷方式是什么?
我在Windows 7机器上运行了一个Ubuntu VM.如何设置它以便我可以通过SSH从外部访问Web服务器?
我发现步骤(在VirtualBox主机和来宾VM之间设置SSH访问)能够从我的主机ssh到我的客人,但这仍然让我遇到通过我的路由器访问它的问题.
我想我可以在我的Windows机器上安装一个SSH服务器然后隧道几次(虽然我不是100%确定在本地,动态等方面使用什么或者如何设置多个隧道?),但有没有办法让我的路由器可以直接访问VM,所以我可以直接移植到它?
我的虚拟机磁盘空间不足,这是一个vmdk,需要调整虚拟映像的大小.使用命令调整大小
vboxmanage modifyhd Machine-disk1.vmdk --resize 30720
Run Code Online (Sandbox Code Playgroud)
给出了错误
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage: error: Resize hard disk operation for this format is not implemented yet!
Run Code Online (Sandbox Code Playgroud)
如何调整vmdk图像的大小?
昨晚我的流浪汉工作得非常好.我刚打开电脑,点击vagrant up
,这就是我得到的:
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Error: Connection timeout. Retrying...
default: Error: Connection timeout. Retrying...
default: …
Run Code Online (Sandbox Code Playgroud) 我在RedHat上使用Windows和Virtualbox,简单起见:我创建了一个共享文件夹,因此我可以在Windows操作系统上使用Eclipse并在Linux中进行一些测试.
但是,我无法访问我的用户共享文件夹,我已使用root登录并使用chmod 777
,甚至将我的用户移动到文件夹的组.
无论我做什么,结果都是一样的:
/media/sf_sharedFolder/: Permission denied
我能做什么?如何与我的用户访问共享文件夹?
我有一些Vagrant共享文件夹的问题,我的基本系统是Ubuntu 13.10桌面.
我不明白为什么我有这个错误是没有正确配置的东西?是NFS问题还是Virtualbox Guest Additions?我尝试过不同的盒子,但同样的问题.
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:
mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` /vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` /vagrant /vagrant
Run Code Online (Sandbox Code Playgroud)
以下是完整的流程vagrant up
:
$ vagrant up
Bringing machine 'default' up …
Run Code Online (Sandbox Code Playgroud) 执行以下命令后,.box文件会发生什么?
vagrant box add lucid32 http://files.vagrantup.com/lucid32.box
Run Code Online (Sandbox Code Playgroud)
lucid32.box
下载完成后,我无法在文件系统上找到该文件.
下载Xamarin安卓播放器并安装>> next >>进度安装Virtual Box.
当我尝试启动模拟器时,我得到了
Failed to initialized device (name Of the emulator)
VboxManager Commendt Failed
Run Code Online (Sandbox Code Playgroud)
以及Oracle Vm Virtualbox中的错误详细信息
VT-x is disabled in the BIOS for both all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED)
Run Code Online (Sandbox Code Playgroud)
我怎样才能解决这个问题?
我找到了我的问题的解决方案,放了一些图片来帮助别人,谢谢 你走到这里
启动流浪盒时,"默认"这个名称来自哪里?
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
Run Code Online (Sandbox Code Playgroud)
有没有办法设置这个?