我正在尝试在我的 Apache 服务器(在 Ubuntu 上运行)上设置 Mono/ASP.NET 4.0。到目前为止,我一直在关注这里和这里提供的一些教程/脚本。
截至目前:
但是,我正在努力正确配置 Apache ......显然虚拟主机设置没有完成它的工作并调用 mod_mono 插件,甚至也没有从正确的目录中提取源代码。虽然虚拟主机设置指向“\srv\www\localhost”,但它显然是从“var/www/”中提取内容,我发现它是虚拟主机的默认 DocumentRoot。
我可以确认:
谁能指出如何修复这些配置并将 Mono 与 Apache 联系起来?
这是我的配置和相关信息:
/usr/local/apache2/conf/httpd.conf:
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see …Run Code Online (Sandbox Code Playgroud) 这是我的场景:
我正在尝试使用PsExec从本地计算机远程启动和停止服务器上的 IIS 7.0 站点。
一些要点:
我正在使用命令:
"C:\Program Files\PSTools\psexec.exe" \\(server-alias) -u (server-domain)\(domain-admin) -p (password) C:\Windows\System32\inetsrv\appcmd.exe stop site "Default Web Site"
Run Code Online (Sandbox Code Playgroud)
这将返回错误:
PsExec v1.94 - Execute processes remotely
Copyright (C) 2001-2008 Mark Russinovich
Sysinternals - www.sysinternals.com
Could not start PsExec service on (server-alias):
Access is denied.
Run Code Online (Sandbox Code Playgroud)
以及一些重要的故障排除说明: