服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
假设我有一个nix系统,其文件系统完全由RAID 1中的两个驱动器支持。如果我将这个RAID分解,我可以使用其中一个磁盘在独立的硬件上重新创build系统吗? 有没有人使用这样的scheme来构build系统?
我有一个Web服务器群集中的3个节点。 每个节点在LAN接口上运行Squid,在localhost接口上运行Apache。 Squid为每个服务器单独caching,但我不相信我正确设置caching对等。 cache_peer 127.0.0.1 parent 80 0 no-query originserver name=Server1 cache_peer Server2 sibling 80 3130 proxy-only cache_peer Server3 sibling 80 3130 proxy-only cache_peer_access Server1 allow MYDOMAIN 每个服务器都具有相似的cache_peer设置,除了每个服务器都是它自己的父设备,并将其他两台服务器用作同级。 我的目标是尽可能提高命中率,但是我不知道我是否正确理解caching对等逻辑。 我希望Squid在它的本地caching中试图findhttp://www.example.com/mypage/ ,如果它没有查询兄弟姐妹,直到find它。 如果找不到,那就应该打Apache。 我做对了吗?
我正在尝试将PHP 5.1.6升级到5.2。 我在用: yum update 但是,当我重新启动Apache并运行phpinfo(); 或rpm -qa |grep php版本仍然是5.1.6。 我正在运行Apcache2(CentOS 5.5)。 有任何想法吗? 谢谢。
我有一个我写的wsf(vb)脚本,它会把子目录从C盘移动到我们服务器上的D盘。 虽然以域pipe理员身份login,但运行脚本时,我得到了拒绝权限的错误。 这当然是因为服务器上的UAC。 有没有什么办法可以适应,而不只是把UAC全关掉?
我想知道如何在IIS 7.5 / 3中创build一个域和子域(s),我需要在没有Plesk或任何其他控制面板的情况下自行创build域。 我有一个域,我会同步到我的服务器使用“logging”如何添加一个域在IIS来pipe理文件夹..?
我正在将我的客户端的文件服务器,邮件和AutoCad文件移动到云端。 他们目前使用公共文件夹来组织和共享CAD图纸。 什么是最好的解决scheme? 用于商业或托pipe交换的Gmail? 我是否应该使用Sharepoint来组织和分享AutoCad图纸或Google Docs的工作?
我想configuration,以便docker运行PHP文件,但到目前为止还没有成功。 我的Eclipse IDE中安装了Jetty WTP工具。 当我启动Jetty服务器。 我得到的exception: java.lang.ClassNotFoundException org.mortbay.servlet.CGI:org.mortbay.servlet.CGI和javax.servlet.UnavailableException:org.mortbay.servlet.CGI 。 我把一个简单的PHP文件(index.php)放在我的WebContent文件夹下。 我也下载了这个库,并将其添加到类path(Eclipse:构buildpath并添加外部jar)。 我现在不知道我做错了什么。 我也编译了PHP: ./configure –with-fastcgi=/usr/local make sudo make install 我的web.xml文件如下所示: <?xml version="1.0" encoding="UTF-8"?> <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> <display-name>Sample PHP Application</display-name> <servlet> <servlet-name>PHP</servlet-name> <servlet-class>org.mortbay.servlet.CGI</servlet-class> <init-param> <param-name>commandPrefix</param-name> <param-value>/usr/local/bin/php-cgi-fix</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>PHP</servlet-name> <url-pattern>/index.php/*</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>index.php</welcome-file> </welcome-file-list> </web-app> 它可能是我的php-cgi-fix文件,当我打开它的时候,我得到了随后的文本: $ /usr/local/bin/php-cgi-fix ; exit; /usr/local/bin/php-cgi-fix: line […]
Biztalk 2009需要SQL 2008的Service Pack 1吗? 或者是SQL 2008企业安装足够? 安装指南没有提到SQL 2008(企业版)的SP1 …
我试图在CentOS 5.5上安装Ruby 1.9.2。 我经历了大部分make过程,但是当它试图编译OpenSSL时,我得到一个错误。 下面是输出的错误: compiling openssl make[1]: Entering directory `/sources/ruby-1.9.2-p136/ext/openssl' gcc -I. -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -o ossl_x509.o -c ossl_x509.c In file included from ossl.h:201, from ossl_x509.c:11: openssl_missing.h:71: error: conflicting types for 'HMAC_CTX_copy' /usr/include/openssl/hmac.h:102: error: previous declaration of 'HMAC_CTX_copy' was here openssl_missing.h:95: error: conflicting […]
我已经使用Windows和XAMPP编写了一个PHP应用程序。 我一直试图在Ubuntu 10.10上运行Lighttpd 1.4.26。 部分应用程序工作正常,但每当我尝试login,我得到一个500 – 内部服务器错误页面。 唯一出现在/var/log/lighttpd/error.log中的是 2011-02-25 13:43:13: (mod_fastcgi.c.2582) unexpected end-of-file (perhaps the fastcgi process died): pid: 1169 socket: unix:/tmp/php.socket-0 2011-02-25 13:43:13: (mod_fastcgi.c.3367) response not received, request sent: 1596 on socket: unix:/tmp/php.socket-0 for /~denton/customer-facing-portal/index.php?, closing connection 如果我有任何来自PHP的输出,这将更容易debugging。 任何想法如何得到一些? 这是我的/etc/lighttpd/lighttpd.conf文件: # Debian lighttpd configuration file # ############ Options you really have to take care […]