virtual-machine

RoboCopy , Virtual Hard Disk, or other?

狂风中的少年 提交于 2019-12-13 03:44:28
问题 We an distributing 230K files, (873MB) of smallish JPG files on DVD. The install program will place these files in an Apache Virtual folder. Setup(.exe) is taking a too long for our customers. Our initial approach was to create a ZIP and copy from the DVD and unzip to the client Hard disk. I just tried a RoboCopy (we have a win7 (64 bit) 4 core computer. I tried with 16 threads. Pretty poor. Over Five Hours. Options : *.* /V /S /COPY:DAT /NP /MT:16 /R:5 /W:30 Copied Dirs : 6 Files : 230236

OpenGL 3.3 Ubuntu (Virtual Machine)

戏子无情 提交于 2019-12-13 02:23:44
问题 I need openGL 3.3 or higher to use GLSL 3.3. My problem is that I have Mac Os X which doesn't allow to use a version higher than 2.1 of OpenGL. I've installed a virtual machine of Ubuntu inside my system but also has the version 2.1 of OpenGL. I don't understand what's going on because I have an AMD Radeon HD 6490M 256 MB which is compatible with version 4.1 of OpenGL. Is there any way that I can use openGL 3.3 or higher without doing a disk partition? 回答1: I don't understand what's going on

How Can i use Youwave (for android) as an emulator for Android Studio?

◇◆丶佛笑我妖孽 提交于 2019-12-13 01:34:31
问题 I know that we can use Bluestacks as an emulator for Android Studio and other devices using adb connect ip:port But is there any way to use Youwave as an emulator for developing purposes? 回答1: You can use YouWave in the same way, run command prompt in windows by typing "cmd" in the search field of the start menu change the directory to "platform-tools" in your sdk folder. For example, suppose that your sdk is located in "c:\android\source\sdk\" use the command "cd c:\android\source\sdk

mongo addShard “No common protocol found” errmsg 126

南楼画角 提交于 2019-12-13 01:27:52
问题 I'm trying to learn some MongoDB and want to mount a two sharded DB for distributing my data between these two "nodes" and take advantage of its efficiency and robustness. I'm also working over Docker. So in docker I created 4 VMs with their respective IPs: mongo1(172.17.0.6): first db to use as shard mongo2(172.17.0.5): second db to use as shard mongocfg(172.17.0.4): a config image for the whole system mongorouter(172.17.0.3): the router to access both other shards; the whole db If you're

SqlDataAdapter.Fill suddenly taking a long time

与世无争的帅哥 提交于 2019-12-13 00:59:33
问题 I have an application with a central DataTier that can execute a query to a data table using an SQLDataAdapter. None of this code has changed but now all queries are taking at least 10x as long to execute a query returning even one record. The only difference is that I have been using the app in a VM but the issue has started mid way through using the application. eg, the speed issue has not manifested itself from the start of using the VM, rather half way through. Has anyone else had an

Pass kickstart file to virtual manager xml file

百般思念 提交于 2019-12-12 23:29:36
问题 I need to pass kickstart file to xml for creating a virtual device using virt-install. <os> <type arch="x86_64" machine="pc-i440fx-xenial">hvm</type> <loader>/usr/lib/xen/boot/hvmloader</loader> <kernal>/boot/vmlinuz-3.10.0-327.el7.x86_64</kernal> <initrd>/boot/initrd.img-4.4.0-59-generic</initrd> <cmdline>ks=http://ipaddr/try.cfg ip=ip netmask=255.255.255.0</cmdline> <bootmenu enable="yes" /> </os> Is this the right way? I followed the steps given in this tutorial. But I get the following

What means in Dart static type and why it differs with runtime type?

﹥>﹥吖頭↗ 提交于 2019-12-12 20:58:00
问题 In Dart exists two kind of types. Runtime type Static type Here is proof in Dart language specification: The static type of null is bottom. Runtime type of null is Null Static type of null is bottom This mean that objects in Dart can have two kind of types. One real type that called static and one virtual type that called runtime . That is, runtime type of null is not a bottom but a regular class Null . class Null { factory Null._uninstantiable() { throw new UnsupportedError('class Null

Azure SQL Database - Elastic Query to Azure VM SQL instance - SSL error

房东的猫 提交于 2019-12-12 16:15:13
问题 I need to connect from an Azure SQL Database to an Azure VM that has a SQL Server instance installed. Since linked servers are not supported by Azure SQL Databases, I went with the elastic query approach. I managed setting up the EXTERNAL DATA SOURCE and allowed connections on port 1433 but when executing the most simple query I get the following error message: "Error retrieving data from one or more shards. The underlying error message received was: 'A connection was successfully established

How do I fake OpenGL in an Azure Virtual Machine?

馋奶兔 提交于 2019-12-12 14:02:43
问题 I'd like to run some programs in my Azure VM (Windows Server 2008), that require OpenGL 2.0. However the VM has no video hardware :), how can I fake the programs into believing I have a good enough video card? How am I supposed to get to the point of all development in the cloud, if I can't have virtual video cards? :) 回答1: You could place a Mesa softpipe (software rasterizer) build opengl32.dll beside your program's executable. Heck, on a machine without a proper graphics card it would be

Cannot change Docker image directory

放肆的年华 提交于 2019-12-12 13:33:32
问题 I am using Fedora 22 and I must change my Docker image directory from /var/lib/docker to /home/my_user/docker Following this How to change the docker image installation directory? I edited the /etc/sysconfig/docker adding: other_args="-g /home/rseixas/Programs/Docker/images" I restarted the service but no change. In fact I restarted my machine and I am not able to see it changing. Someone can help me? 回答1: Do you have a /lib/systemd/system/docker.service file? If so, edit it so that the