服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我怎么能限制其他节点或应用一些安全检查在我的域名。例如我有两个系统,其中一个连接到木偶服务器接收更新和第二个系统的我更改主机名为“test.example.com”&configuration类似于第一个系统的系统&运行puppetd -td –waitforcert 60,从puppet服务器接收更新。 我想限制我在我的例子中提到的与域内和域外的节点相同。如何实现? 谢谢
我有一台通过Amazon AWSbuild立的服务器。 这是亚马逊的基于RHEL的AMI。 当我最初启动机器时,我通过创build一个符号链接来设置适当的时区: ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime 这工作得很好,但每当Amazon提供更新到他们的AMI时区自动恢复到UTC。 有没有办法解决这个问题,还是必须在每次更新后手动设置?
服务器上的Apache设置为默认情况下查找index.php,并且适用于普通文件夹。 但是,我有一个.htaccess规则路由所有请求通过我的路由脚本: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php [QSA,L] 使用这些.htaccess内容,服务器返回一个404错误。 只有通过指定/index.php才能调用路由脚本。 任何提示,我在做什么错了?
今天我们得到了一些DB崩溃。 数据库是InnoDB。 起初, 120404 10:57:40 InnoDB: ERROR: the age of the last checkpoint is 9433732, InnoDB: which exceeds the log group capacity 9433498. InnoDB: If you are using big BLOB or TEXT rows, you must set the InnoDB: combined size of log files at least 10 times bigger than the InnoDB: largest such row. 120404 […]
我经历了一些指南和StackOverflow主题,但仍然无法find我的问题的答案。 所以我们搬到了一个新的服务器,我们的推送通知停止工作。 (我没有pipe理旧的服务器)。 由于APNS我还没有认识,所以有点成了一个问题。 据我了解,我们需要的第一件事是一个开放的2195端口,所以我可以telnet gateway.push.apple.com 2195 。 但是那失败了 Trying 17.172.238.228… telnet: connect to address 17.172.238.228: Connection timed out 即使托pipe公司向我保证,港口是开放的INBOUND和OUTBOUND。 iptables似乎没有任何限制该端口。 所以在这一点上,我不知道如何做这个工作。 我的猜测是,它需要一个证书telnet到APNS,看起来相当愚蠢。 想知道是否有人能指出我正确的方向吗? 非常感激。 nslookup gateway.push.apple.com Server: 48.22.161.128 Address: 48.22.161.128#56 Non-authoritative answer: gateway.push.apple.com canonical name = gateway.push-apple.com.akadns.net. Name: gateway.push-apple.com.akadns.net Address: 17.172.238.219 Name: gateway.push-apple.com.akadns.net Address: 17.172.238.221 Name: gateway.push-apple.com.akadns.net Address: 17.172.238.222 Name: gateway.push-apple.com.akadns.net Address: 17.172.238.223 Name: […]
我想configuration第二个电子邮件地址到我的单个configuration文件,请告诉我的步骤。 我试图添加第二个电子邮件ID到现有的configuration文件,但我收到错误: "this account or directory type already exists and cannot be specified twice" 请帮忙
我想redirect我的网站http请求到https我的网站是 https://开头testing 我的apache版本是2.4,而ssl configration是(ssl.conf)在httpd.conf的单独文件中,我没有使用.htaccess文件,所以我应该追加。 我已经试过这两个文件,但没有工作。 redirect永久/ https://testing 是应该在我的httpd.conf或ssl.conf或我错过了别的东西。 我更喜欢重写重写。 Rewrite.log 10.10.86.1 – [05 / Apr / 2012:15:10:19 – 0700] [test / sid#7ce00] [rid#277448 / initial / redir#1](2)init请求的uri / error /HTTP_BAD_REQUEST.html.var 10.10.86.1 – – [05 / Apr / 2012:15:10:19 – 0700] [test / sid#7ce00] [rid#277448 / initial / redir#1](3)应用模式'^(。*) $'to uri'/error/HTTP_BAD_REQUEST.html.var' 10.10.86.1 – – [05 / […]
除了WSUS之外,我正在寻找一个很好的工具,它允许我更新Windows 2000/2003/2008服务器,这些服务器属于不同域/独立环境中的域/一部分。 目前我所看到的产品是Kaseya Security Manager Plus 有没有人有这些工具的经验? 他们如何在你的环境中工作? 有没有其他工具可以推荐,所以我可以看一下呢?
我正在使用在Amazon EC2机器上运行的SQLpipe理工作室2008。 我无法连接到我的asp.net应用程序中的数据库。 EC2实例已被设置为通过SQL端口接受连接。 我也能够远程机器以及查看服务器上托pipe的网站。 下面列出的是与此实例有关的连接string的一部分。 当程序运行并且这个连接string被调用时,它返回tcp错误0 – 没有返回响应。 它只是超时。 <add name="ProjectServer" connectionString="Data Source=*IP ADDRESS HERE*,1433;Initial Catalog=*Catalog Name*;User ID=IP-0A6ED514\Administrator;"/> 我删除了该示例的IP和目录名称,但我确定它们是正确的。 我唯一能想到的可能会导致错误,是用户名和服务器名称之间的名称差异 – 服务器名称是ip-0A6ED514 \ sharepoint,但用户名是ip-0A6ED514 \ administrator当我login到EC2实例上的sql服务器pipe理器。 密码不被使用。 不知道是否需要留空白string的密码 – 也不知道如果服务器名称和用户名login之间的区别是有差别的。 任何帮助表示赞赏。 谢谢。 更新 – 当这个连接string用于出端口,我得到TCP提供程序错误40 – 当端口在那里,我得到错误0 编辑 – SQL服务器正在使用Windows身份validation – 这是否有所作为? 通常我总是使用SQL服务器身份validation
我正在从mod_php迁移到nginx。 我得到了一切工作,除了这个重写..我只是不熟悉的nginxconfiguration知道正确的方法来做到这一点。 通过在nginx网站上查看示例,我想到了这一点。 server { server_name test01.www.myhost.com; root /home/vhosts/my_home/blah; access_log /var/log/nginx/blah.access.log; error_log /var/log/nginx/blah.error.log; index index.php; location / { try_files $uri $uri/ @rewrites; } location @rewrites { rewrite ^ /index.php last; rewrite ^/ht/userGreeting.php /js/iFrame/index.php last; rewrite ^/ht/(.*)$ /$1 last; rewrite ^/userGreeting.php$ /js/iFrame/index.php last; rewrite ^/a$ /adminLogin.php last; rewrite ^/boom\/(.*)$ /boom/index.php?q=$1 last; rewrite ^favicon.ico$ favico_ry.ico last; } […]