关闭

VMware 设置开机自启动

1135人阅读 评论(0) 收藏 举报
分类:

Establishing Workstation as a Server

Before you start you need to make sure that the VM is turned off.

The first step is to share the VM:

Right click on the VM, then chose “Manage” and you will find the share option (Figure 1).

 

Figure 1 – How to share virtual machines

This will start a wizard that will ask you if you want to move the virtual machine to the “Shared Virtual Machines” directory or make a full clone of it in that directory (Figure 2).

 

Figure 2 – Share the Virtual Machine Wizard

The location of the “Shared Virtual Machines” directory can be changed from the preferences (Figure 3). Notice that this is a general setting that affects all VMs and not a VM specific setting.

 

Figure 3 – Shared VMs Preferences

After sharing a VM you will have machine(s) that you can manage AutoStart for them (Figure 4)

 

Figure 4 – AutoStart Virtual Machines

You can adjust the delay between starting each VM (figure 5), but you cannot change the order in which they start from the interface.

It is not uncommon to be in a position where you need to set a specific order (like starting an SQL server, before its application). For that you still need to edit an XML file named C:\ProgramData\VMware\hostd\vmAutoStart.xml using the IDs as listed in the C:\ProgramData\VMware\hostd\vmInventory.xml file.

 

Figure 5 – Delay between starting each virtual machine

Mission accomplished: The VM(s) should start with windows regardless if a user is logged in or not. So, what does all this talk about sharing VMs mean?

It simply means that you can make VMs available to other workstation clients. For example my main PC that has 16GB of RAM can run a VM that I can connect to and manage from my laptop that has only 4GB of RAM. In a testing or development environment you can even assign different users different roles and permissions on the VMware Workstation and/or the individual VM(s) according to your need.

 

Figure 6 – Shared VMs Permissions

What else is new in VMware Workstation?

VMware Workstation 8 added search and improved inventory. Search may not look important on a workstation, after all how many VMs can a workstation host? But with the ability to connect to remote vSphere servers that manage hundreds of VMs at the data center (Figure 7) search proves to be very useful.

So, VMware Workstation can connect vSphere? Not only that, it can upload VMs to it (since Workstation 8 was made available) and download VMs from it (new with version 9).

 

Figure 7

The last new feature to make Workstation more than a complete replacement of the discounted VMware Server is a web interface: The VMware WSX server is a separate MSI download file that needs to be installed to provide web access to your shared VM(s).

The VMs will be available on the URL http://localhost:8888/ without the need to install any plugin on HTML5 browsers (Figure 8), which means that you will be able to access your windows VM from your lovely tablet anywhere anytime.

 

Figure 8

Summary:

VMware Workstation is much more than what its name implies. It can stand on its own as a viable server solution. It can augment your existing server infrastructure and even make your VMs available to any HTML5 browser.

0
0
查看评论
发表评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场

vmware 开机自动启动虚拟机

vmware开机自动启动, 可以使用vmrun命令.   1. 首先在“我的电脑”-“属性”-“高级”-“环境变量”-“PATH”中添加vmware路径,如:C:\Program Files ...
  • QHH_QHH
  • QHH_QHH
  • 2016-08-23 13:05
  • 3040

Windows设置VMware开机自动启动,虚拟机也启动

很多用windows系统电脑开发的童鞋,会在自己电脑上装一个虚拟机,然后在装一个linux系统当作服务器来使用。但每次电脑开机都要去重启一下虚拟机电源,实在是不划算。下面博主教大家在windows系统...
  • libinemail
  • libinemail
  • 2017-02-13 16:48
  • 2429

Windows 2008R2上将VMware的虚拟机做成服务,实现开机自动启动虚拟机

由于需要进行不同系统下的软件测试, 在Windows测试服务器上装有多种系统的虚拟机, 每次Windows服务器重启总是要连上远程开虚拟机,解决如下。第一步:安装Window Server 2003 ...
  • IThelei
  • IThelei
  • 2017-02-09 17:54
  • 1403

基于MFC对话框编程:设置开机自启动

基于MFC对话框编程:设置开机自启动
  • dezhihuang
  • dezhihuang
  • 2015-11-02 22:45
  • 625

Linux_CentOS7自定义开机自启动

1、nginxvim /etc/init.d/nginx#!/bin/bash # nginx Startup script for the Nginx HTTP Server # it is v.0...
  • csdn_yasin
  • csdn_yasin
  • 2016-09-20 21:21
  • 2632

redis开机自启动

最近在做作业的时候需要用到Redis缓存,由于每次重启服务器都需要重新启动Redis,也是忒烦人,于是就有了这一篇博客,好,废话不多说。 只有两个步骤: 设置redis.conf中...
  • jingleli21
  • jingleli21
  • 2016-11-28 10:41
  • 1172

各种桌面环境下设置开机自启动应用程序的方法

本教程中将介绍如何在各种Linux桌面环境下,自动启动某个程序。   GNOME桌面环境   在终端中运行这个命令,启动"Startup Applications Preferences"...
  • ANDYMFC
  • ANDYMFC
  • 2016-12-30 17:46
  • 1962

CentOS7/Red Hat7 NTP服务无法开机自启动问题解决

centos7不同于以往linux的操作,对于开机自启动的调整,命令有所不同。    chkconfig --list查看非系统内置服务的自启动状态 [root@master ~]# chkconf...
  • BabyFish13
  • BabyFish13
  • 2016-09-11 10:06
  • 3451

android应用开机自启动&service开机自启动

android开机应用与service开机自启动配置: 1.在AndroidManifest.xml中添加如下内容: (1)在application中添加receiver: application ...
  • liaokesen168
  • liaokesen168
  • 2016-11-24 10:15
  • 4658

Unity设置自启动项目

今天在蛮牛上看到一篇设置unity导出的程序自启动项目,感觉还不错,源码如下: using UnityEngine; using System.Collections; using Microsof...
  • u010476348
  • u010476348
  • 2016-12-06 17:30
  • 1793
    个人资料
    • 访问:976086次
    • 积分:13132
    • 等级:
    • 排名:第1186名
    • 原创:462篇
    • 转载:4篇
    • 译文:0篇
    • 评论:28条
    文章分类
    最新评论