Articles of configuration

在多团队环境中,EC2有哪些常见的标记策略?

给定一个拥有多个团队使用EC2的公司,当创build实例或者ami时,为了设置一些TAG准则,可以更容易地search和过滤资源,有哪些常见或者实用的策略?

SCCM 2012无法在启用pxe的情况下更新启动映像

我们在sccm 2012中发生了一个错误。当我们尝试分发启动映像(在select了pxe选项之后),我们收到一个错误,说明pxe映像不能被扩展(distmgr log)。 你可以给我们什么方向尝试或尝试在这种情况下? 目前我们的环境中只有一个dp,但是我们发现通过在不同的服务器上创build另一个dp,我们没有这个问题。 但是我们确实需要主站点是dp。 我们试过了: 删除并重新安装dp 删除并重新安装WDS 重新安装操作系统… ouch 重新安装SQL 重新安装SCCM 2012我们甚至试图在远程安装文件夹中手动安装这些wim,没有运气… 我们一直在为此工作数天… 任何和所有的帮助表示赞赏! 我们的日志在下面 Attempting to add or update a package on a distribution point. SMS_DISTRIBUTION_MANAGER 6/22/2012 2:49:41 PM 6924 (0x1B0C) The distribution point is on the siteserver and the package is a content type package. There is nothing to be copied […]

使用单独的vcl文件进行configuration虚拟托pipe

我希望使用清漆放在同一台服务器上的apache和tomcat前面。 根据所要求的IP,它将转到不同的后端。 这工作。 现在大多数网站的默认清漆逻辑将工作得很好。 但是对于一些特定的网站,我希望使用自定义的VCL代码。 我可以testing主机名称和包含特定域的configuration文件,但这只适用于单个方法recv等。 有没有办法在一个文件,每个域中包含一组完整的指令,而不必为subdomain_recv,subdomain_fetch等pipe理单独的文件? 最好不要运行单独的清漆。 当我尝试在default.vcl的“根级别”上包含文件时,出现编译错误。 最好的问候,迈克尔

ScriptAlias使请求匹配太多的位置块。 到底是怎么回事?

我们希望将我们的开发服务器上的访问权限限制为拥有有效的SSL客户端证书的用户。 我们在Debian 6上运行Apache 2.2.16。 但是,对于某些部分(主要是git-http,在https://my.server/git/上使用gitolite进行设置),我们需要一个例外,因为许多git客户端不支持SSL客户端证书。 我已经成功地为服务器要求客户端证书authentication,并为某些位置添加了例外情况。 但是,似乎这不适合git。 目前的设置如下: SSLCACertificateFile ssl-certs/client-ca-certs.crt <Location /> SSLVerifyClient require SSLVerifyDepth 2 </Location> # this works <Location /foo> SSLVerifyClient none </Location> # this does not <Location /git> SSLVerifyClient none </Location> 我也尝试了一种替代解决scheme,结果相同: # require authentication everywhere except /git and /foo <LocationMatch "^/(?!git|foo)"> SSLVerifyClient require SSLVerifyDepth 2 </LocationMatch> 在这两种情况下,没有客户端证书的用户可以完全访问my.server / foo /,但不能访问my.server / […]

在TFS 2010 CI构build过程中创build代码优先数据库

我希望在Team Foundation Server 2010中的Web项目的自动化CI构build过程中自动执行代码优先的数据库生成。 在本地运行时,testing会创build一个由testing项目的app.config中的连接string指定的代码优先数据库。 如何configurationTFS生成configuration模仿TFS生成服务器上的这种行为?

如何在cisco 2960S上标记来自cpu的stream量

我正在编写一个QOSconfiguration。 2960S从cpu标记交通的方法是否存在? 2960S不支持服务策略输出和基于vlan的qos。

APC设置 – 最大值apc.shm_size

apc.shm_size有没有限制? 正如我计算我将需要或多或less的2 GBcaching大小,但如果我设置更多,然后1024 MB,Apache不会启动。

NGINX:内部redirect周期:configuration需要帮助

我正在尝试设置一个非常简单的nginxconfiguration来提供静态内容。 这是我的configuration设置。 每当我尝试访问一个不存在的文件而不是404时,我得到HTTP 500.请让我知道我在做什么错了? 2012/12/21 11:15:14 [error] 1906#0:* 41在内部redirect到“/index.html”时客户端:127.0.0.1, :“GET /favicon.ico HTTP / 1.1”,主机:“i.domain.com” server { listen 127.0.0.1:81; ## listen for ipv4; this line is default and implied root /project/; index index.html index.htm; location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ { access_log off; log_not_found off; expires 360d; } server_name i.domain.com; location / { try_files $uri $uri/ /index.html; } error_page […]

configurationtomcat 5.5 stdout和stderr日志logging

我试图在我们的web应用程序中configurationtomcat 5.5,以便不为每一天创build一个日志文件,而是始终使用相同的日志文件。 实际上,在logs/目录中,我有三种日志: jakarta_service_ [YYYYMMDD]的.log stdout_ [YYYYMMDD]的.log stderr_ [YYYYMMDD]的.log 我希望他们是: jakarta_service.log stdout.log stderr.log 但我无法find正确configuration的位置。 任何帮助表示赞赏,这里也是logging.property文件的内容: handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler, 4admin.org.apache.juli.FileHandler, 5host-manager.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler .handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler ############################################################ # Handler specific properties. # Describes specific configuration info for Handlers. ############################################################ 1catalina.org.apache.juli.FileHandler.level = FINE 1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs 1catalina.org.apache.juli.FileHandler.prefix = catalina. 2localhost.org.apache.juli.FileHandler.level = FINE 2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs […]

OpenVPN守护进程无法启动 – 启动服务器手动返回没有输出

为了远程访问设备,我在networking上设置了一个openvpn服务器。 我已经用easy-rsa脚本生成了crts和keys,并正确configuration了server.conf AFAIK。 /etc/init.d/openvpn start 回报 [FAIL] Starting virtual private network daemon: server failed! 我已经尝试手动启动服务器以获取更详细的输出,但是 openvpn –cd /etc/openvpn –config /etc/openvpn/server.conf 根本没有返回输出,进程在做任何事之前都会死掉。 任何想法如何进一步解决这个问题? 为server.conf: cd /etc/openvpn remote local proto udp port 1194 verb 3 log-append /var/log/openvpn.log daemon dev tun persist-tun persist-key server 10.1.7.0 255.255.255.0 ifconfig-pool-persist ips.txt client-to-client cipher BF-CBC secret keys/shared.key ca certs/ca.crt dh dh1024.pem cert […]