服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我通过检查最后一个值是否匹配regexp来检查是否发生了错误。 ({myhost.com:my.item.regexp(^ERROR$)})#0 我需要一些容忍,通过检查不是最后的N值来匹配正则expression式,即最后2-3个值。 我怎样才能做到这一点?
例如,拥有192.168.22.x子网上的域用户/机器以及非域用户和机器的其余部分就是说192.168.30.x子网。 我正在运行Windows Server 2008,networking中的交换机不支持802.1x。
澄清我遇到的问题有点麻烦,谷歌无法给我一个确切的答案。 我们有一个新的Windows 8.1平板电脑,我们正在testing我们的环境,这显然需要GPO(一切都需要GPO),我添加ADMX到我们的2008R2域控制器使用微软的安装程序,但我无法在GPOpipe理编辑器。 我想知道是否需要在Server 2012 R2域环境中才能使用新的pipe理模板,因为我知道你不能在Vista / XP环境下使用Windows 7模板。 我可能是完全错误的,只是以一种简单的方式大规模地失败,这总是一个select。
Apache虚拟主机文档说: You can alternatively specify an explicit IP address in place of the * in <VirtualHost *:80> directives. For example, you might want to do this in order to run some name-based virtual hosts on one IP address, and either IP-based, or another set of name-based virtual hosts on another address. 这些虚拟主机块在明显有1个IP地址的服务器上执行。 为什么有必要在这些VirtualHost指令中提及不同的IP地址? 谢谢
我正在创build一个PowerShell脚本来修复或重新安装客户端远程基于用户input(下面的基本脚本示例): $env:COMPUTERNAME = Read-Host 'Please enter hostname' $RepairReinstall = Read.Host ' 1: Repair Client 2: Re-install Client Answer' If (RepairReinstall -eq 1) { Write-Host " Repair Started" } If (RepairReinstall -eq 2) { Write-Host " Re-install Started" } Else { Write-Host " [WARNING] Please select whether you'd like to repair or re-install the client" } […]
起初,我描述了我的局域网组织。 我有2个networking(schemehttp://take.ms/s3CSy ): 192.168.0.0 / 255.255.255.0,内部IP为192.168.0.1的路由器ASUS RT-N65U,没有NAT的静态外部IP:1.2.3.4。 路由器运行VPN PPTP服务器,VPN LAN IP范围172.16.0.0/255.255.255.0,VPN服务器IP 172.16.0.1,MTU / MRU 1300.我的笔记本电脑(笔记本电脑#1)现在在这个networking。 192.168.2.0 / 255.255.255.0,内部IP为192.168.2.1的路由器ZyXEL Keenetic 4G,NAT为10.0.0.1的dynamic外部IP。 连接所有客户端以交换Cisco sg200-26p。 在第二个局域网中,我有一台安装了Debian Linux和PPTP VPN客户端的networking服务器。 PPTP客户端连接到第一个局域网中的路由器,获得IP 172.16.0.11。 连接pptp客户端后立即添加两条路由: ip route add 172.16.0.0/24 dev ppp0 ip route add 192.168.0.0/24 dev ppp0 所以VPN客户端(Web服务器)上的路由表: root@system:~# ip route default via 192.168.2.1 dev eth0 1.2.3.4 via 192.168.2.1 dev eth0 src […]
一个技术人员给我build了两座房子之间的无线网桥,但是在负载下ping有问题。 我在服务器/ clint模式下有两台MikroTik RB / SXTG设备。 他们看到对方(没有障碍),距离只有20米左右。 问题在于, 负载下的ping在几百毫秒 。 我已经尝试更新版本6.24并重新启动。 我也尝试改变频率自动,它似乎很好。 任何想法? 查看configuration截图。
你如何制作'default._domainkey.drpedroazevedo.com'文件? 我删除了我的,因为我的密钥过期,opendkim-keygen没有按预期产生一个新的。 mlr01 keys # opendkim-testkey -d drpedroazevedo.com -s default -vvv -k /etc/opendkim/keys/default.private -x /etc/opendkim/opendkim.conf opendkim-testkey: /etc/opendkim/keys/default.private: WARNING: unsafe permissions opendkim-testkey: key loaded from /etc/opendkim/keys/default.private opendkim-testkey: checking key 'default._domainkey.drpedroazevedo.com' opendkim-testkey: keys do not match
Arch-Linux上的Apache有问题。 我认为这是相关的mod_rewrite,但我不知道。 过去我一直使用基于Debian的系统。 拱似乎有点不同。 我有一个这样的虚拟主机,并在各自的目录index.php。 我尝试了和没有.htaccess。 <VirtualHost *:80> ServerName test.localhost DocumentRoot /home/me/sites/test <Directory /home/me/sites/test> Options FollowSymLinks AllowOverride All </Directory> </VirtualHost> 当我访问http://test.localhost/或http://test.localhost/index.php ,它工作正常。 当我访问http://test.localhost/foo ,它找不到404。 我可以用ErrorDocument 404 /index.php添加一个.htaccess,所以Apache会打开index.php并正确的遵循.htaccess的mod_rewrite指令,但是它仍然有404头文件。 任何想法要寻找什么?
它似乎当我尝试encryption我的硬盘在Windows 8.1上,我得到这个错误: 当我检查服务器上的组策略设置时,这就是我们所拥有的,虽然它说它只与Windows 7兼容。有没有办法使它在Windows 8.1中工作?