标签: windows-server-2016

vcruntime140.dll 14.0 与 PHP 版本不兼容

我已经在 Windows Server 2016 机器上下载了PHP 7.4.1 NTS vc15 x86。我也下载安装了vc_redist.x86.exe

当我尝试从命令提示符运行 php-cgi 时,出现以下错误:

PHP 警告:'vcruntime140.dll' 14.0 与第 0 行未知中与 14.16 链接的 PHP 版本不兼容

关于如何解决这个问题的任何想法?我想我可以从档案中安装旧版本的 PHP,但这并不能真正解决问题。

php vcredist windows-server-2016

65
推荐指数
6
解决办法
9万
查看次数

MySql 5.7安装程序无法检测到VS 2013可再发行组件

尝试使用MySql安装程序MSI软件包在干净的Windows服务器计算机上安装最新版本的MySQL Server - 5.7.19.

在第一次尝试时,它告诉我它需要Visual Studio 2013 Redistributable的先决条件并安装它.但是,在尝试安装服务器时,它会抱怨:

1:动作10:59:21:安装.

1:1:MySQL Server 5.7 2:{F08E9C75-A42E-4962-8760-4CBD9CF35D7A}

1:动作10:59:21:FindRelatedProducts.搜索相关的应用程序

1:动作10:59:21:AppSearch.搜索已安装的应用程序

1:动作10:59:21:LaunchConditions.评估发射条件

1:此应用程序需要Visual Studio 2013 Redistributable.请安装Redistributable,然后再次运行此安装程序.

1:1:MySQL Server 5.7 2:{F08E9C75-A42E-4962-8760-4CBD9CF35D7A} 3:3

1:产品'MySQL Server 5.7.19'的操作'Install'失败.

我试过重启机器 - 问题仍然存在.

我已经检查了注册表,以确保Windows知道软件包已安装,它确实如此.

我已经尝试安装以前版本的MySql并且安装得很好.

所以我清理了所有安装并重新运行了包,这次也选择了Workbench,Shell和其他一些有用的工具.所有这些安装都很好 - 除了服务器.那仍然要求已经安装的可再发行组件.

我在哪里可以离开?

mysql windows-server-2016

57
推荐指数
2
解决办法
5万
查看次数

在W2016 IIS 10上安装webdeploy

如何在IIS 10 W2016上安装Web部署?

到目前为止我已经尝试过

  1. 使用web平台v5安装" web deploy 3.6 "
  2. 安装完成后,我已将Web部署服务更新为在本地管理员帐户下运行.
  3. 我手动关闭了服务器上的防火墙
  4. 我确保管理服务正在运行
  5. 重启服务器
  6. 我已经验证使用telnet端口是打开的,然后使用netstat -an端口是打开的,我可以连接到它

msdeploy iis-10 windows-server-2016 webdeploy-3.6

35
推荐指数
2
解决办法
3万
查看次数

无法启动虚拟机"MobyLinuxVM",因为其中一个Hyper-V组件未运行

我在使用Window Server安装Docker时遇到了一些问题.
环境清单:

1 Windows 10(物理机)
2.VMware®WorkstationPlayer(12~以上)URL
3.Windows Server 2016在VM
4.Docker CE for Windows(稳定)URL

问题图片和内容
在此输入图像描述

Unable to start: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 'MobyLinuxVM' failed to start.

Failed to start the virtual machine 'MobyLinuxVM' because one of the Hyper-V components is not running.

'MobyLinuxVM' failed to start. (Virtual machine ID BBD755F7-05B6-4933-B1E0-F8ACA3D2467B)     

The Virtual Machine Management Service failed to start the virtual machine 'MobyLinuxVM' because one of the …
Run Code Online (Sandbox Code Playgroud)

vmware-workstation docker windows-server-2016

33
推荐指数
5
解决办法
3万
查看次数

与Windows 7相比,Windows 10性能较差(页面错误处理不可扩展,没有线程时严重的锁争用> 16)

我们设置了两个相同的HP Z840工作站,其规格如下

  • 2 x Xeon E5-2690 v4 @ 2.60GHz(Turbo Boost ON,HT OFF,共28个逻辑CPU)
  • 32GB DDR4 2400内存,四通道

并在每个上安装了Windows 7 SP1(x64)和Windows 10 Creators Update(x64).

然后我们运行了一个小内存基准测试(下面的代码,使用VS2015 Update 3,64位架构构建),它可以同时从多个线程执行内存分配 - 无填充.

#include <Windows.h>
#include <vector>
#include <ppl.h>

unsigned __int64 ZQueryPerformanceCounter()
{
    unsigned __int64 c;
    ::QueryPerformanceCounter((LARGE_INTEGER *)&c);
    return c;
}

unsigned __int64 ZQueryPerformanceFrequency()
{
    unsigned __int64 c;
    ::QueryPerformanceFrequency((LARGE_INTEGER *)&c);
    return c;
}

class CZPerfCounter {
public:
    CZPerfCounter() : m_st(ZQueryPerformanceCounter()) {};
    void reset() { m_st = ZQueryPerformanceCounter(); };
    unsigned __int64 elapsedCount() { return ZQueryPerformanceCounter() - m_st; }; …
Run Code Online (Sandbox Code Playgroud)

windows memory-management windows-7 windows-10 windows-server-2016

29
推荐指数
1
解决办法
3763
查看次数

如何在IIS 10上禁用HTTP/2

IIS 10声称完全支持HTTP/2.我想知道是否有办法在IIS 10上关闭HTTP/2.

iis windows-10 windows-server-2016

28
推荐指数
1
解决办法
2万
查看次数

如何在Windows Server 2016中的所有PowerShell会话中查看命令历史记录?

在哪里可以查看Windows Server 2016中所有会话的完整历史记录?

以下PowerShell命令仅包含当前会话中的命令:

Get-History
Run Code Online (Sandbox Code Playgroud)

powershell windows-server-2016

22
推荐指数
5
解决办法
2万
查看次数

如何访问Docker容器的Windows事件日志

如何从主机访问Microsoft Docker容器的Windows事件日志?

我在Windows Server 2016下有一个docker容器.

容器基于image:microsoft/iis

我可以通过以下方式获取容器的IP地址:

docker inspect -f "{{ .NetworkSettings.Networks.nat.IPAddress }}" my-running-site
Run Code Online (Sandbox Code Playgroud)

如何通过Windows主机上的事件查看器连接到它?

docker windows-server-2016

19
推荐指数
3
解决办法
4149
查看次数

通过GUI访问Windows 2016 Server Container(Docker容器)?

我需要在Windows 2016 Server上使用Docker/Windows容器并准备在其上运行Windows应用程序.通过Powershell配置Windows并不像在Ubuntu上那样方便,特别是如果您从未真正使用过Windows Server并且需要学习所有Powershell命令;)

有没有办法通过GUI访问Windows容器?

Docker,Ubuntu,VNC 可以实现: 你能在docker容器中运行GUI应用程序吗?

想知道是否可以为Windows容器做类似的事情?

(我在内部工作,不使用Azure.在这里找到一个类似但未解决的问题:https://stackoverflow.com/questions/32721422/windows-server-containers-azure-how-to-create-a-container- with-gui)

谢谢.

==更新==

RDP绝对不是2016年2月的选项 - 不确定他们是否打算在最终版本中支持它?!

https://msdn.microsoft.com/en-us/virtualization/windowscontainers/about/work_in_progress#remote-desktop

Remote Desktop

Windows Containers cannot be managed/interacted with through a RDP session in TP4.
Run Code Online (Sandbox Code Playgroud)

到目前为止,我设法使用Midnight Commander至少拥有一个不错的文件浏览器,但Windows上的命令行仍然没有多大乐趣.

vnc rdp docker windows-server-2016

18
推荐指数
1
解决办法
2万
查看次数

在Windows容器中运行Visual Studio远程调试器(Docker托管)

我尝试在Windows Server 2016 TP4上的Windows容器中运行Visual Studio远程调试器.由于它在容器内运行,因此没有UI.

我尝试通过以下方式运行远程调试器:

 .\msvsmon.exe /nostatus /silent /nosecuritywarn /nofirewallwarn /noclrwarn /port 4020
Run Code Online (Sandbox Code Playgroud)

我正在以管理员用户(nt authority\system)执行上述操作.这在主机上工作正常,但在容器内部不起作用.Windows事件日志显示以下错误事件.

Msvsmon was unable to start a server named "`6D2D071453C5:4020`". 
The following error occurred: The parameter is incorrect. 
Run Code Online (Sandbox Code Playgroud)

完整的事件日志:

Get-EventLog -LogName Application -EntryType Error | format-list

Index              : 1718
EntryType          : Error
InstanceId         : 3221226473
Message            : The description for Event ID '-1073740823' in Source 'Visual Studio Remote Debugger' cannot be found.  The local computer may not have the …
Run Code Online (Sandbox Code Playgroud)

debugging containers remote-debugging docker windows-server-2016

16
推荐指数
1
解决办法
3380
查看次数