服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
所以我有一个远程专用服务器。 我的lsblk表演 > NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT > sda 8:0 1 223.6G 0 disk > ├─sda1 8:1 1 4G 0 part > │ └─md1 9:1 0 4G 0 raid1 / > ├─sda2 8:2 1 2G 0 part [SWAP] > └─sda3 8:3 1 217.6G 0 part > └─md3 9:3 0 217.6G 0 raid1 […]
我正在运行Exchange 2013机器。 我遇到了一些networking问题,并最终重置networking堆栈。 重新启动后,我重新将IP应用到NIC,并使机器重新联机。 此后,运输服务和运输提交服务将不会启动。 所有其他交换服务正在运行。 我可以login到EAC,我可以看到我的数据库安装和健康。 我也可以以用户身份login到OWA,并且可以正常login。 任何人都可以指向正确的方向吗? 我非常绝望在这一刻:(
我有两个非常相似的EC2实例。 其中之一是给我这个问题。 Yum在一台服务器上完全按照预期工作,而另一方面,无论我要求yum为我做什么,我都会收到401个错误。 这里有一个例子: yum repolist -v | grep baseurl 其输出: https://rhui2-cds01.us-west-2.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/7/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 401 – Unauthorized Trying other mirror. https://rhui2-cds02.us-west-2.aws.ce.redhat.com/pulp/repos//rhui-client-config/rhel/server/7/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 401 – Unauthorized Trying other mirror. One of the configured repositories failed (Red Hat Update Infrastructure 2.0 Client Configuration Server 7), and yum doesn't have enough cached data […]
我试图连接到我安装在centos7上的openvpn服务器(以下教程https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-an-openvpn-server-on- centos-7 ),握手似乎正在发生,但连接不断重置。 以下是日志: 客户端 Wed Jun 28 23:42:48 2017 OpenVPN 2.3.11 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on May 10 2016 Wed Jun 28 23:42:48 2017 Windows version 6.2 (Windows 8 or greater) 64bit Wed Jun 28 23:42:48 2017 library versions: OpenSSL 1.0.1t 3 May 2016, LZO 2.09 Wed Jun 28 23:42:48 2017 […]
目前在Amazon EC2实例上。 当我做 sudo yum install httpd 很多好东西都是为我完成的。 httpd二进制文件被复制到path中 [ec2-user@ip-XXX bin]$ ls /usr/sbin/ | grep "httpd" httpd httpd.event httpd.worker 并且httpd可用于服务命令: sudo service httpd start 我最近决定从源代码编译apache,因为我想更多地控制configuration。 这将apache安装到/usr/local/apache2/在bin/二进制文件,但不在path中。 是否安全/build议我只使用cp将binaried复制到/usr/sbin ? 或者将/usr/local/apache2/bin到系统path是更好的做法吗?
我目前正在扩大build立在Nginx,PHP,MySQL,Redis,Node.js / socket.io(Nginx反向代理)上的网站。 目前一切都在一台服务器上。 我将要有一个数据库服务器,一个用于会话的高级服务器,高速caching以及用于Web套接字的消息,以及负载平衡器后面的多个Web服务器。 我知道Node.js是单线程的,并且可以扩展,每个CPU核心可以运行一个进程。 在“多节点”socket.io示例中 ,它显示了四个节点。 我会认为这是一个4核机器是正确的吗? 还是可以在单核CPU上运行四个进程?
我已经在我的Debian 9上为nginx设置了正式的主线存储库 安装apt-get install nginx导致安装1.13版本,这很好。 但是当我尝试安装nginx-common和nginx-full它会尝试nginx-full安装1.10 ,从而导致错误。 Preconfiguring packages … (Reading database … 37853 files and directories currently installed.) Preparing to unpack …/nginx-common_1.10.3-1_all.deb … Unpacking nginx-common (1.10.3-1) … dpkg: error processing archive /var/cache/apt/archives/nginx-common_1.10.3-1_all.deb (–unpack): trying to overwrite '/etc/default/nginx', which is also in package nginx 1.13.2-1~stretch dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) […]
我有2个当地人的networking。 第一个为“雇主”,第二个为客人。 我已经configuration了dansguardian,并且它在基本configuration下正常工作。 但现在我想扩展这个configuration,并configuration禁止这2个networking的不同网站。 例如:“雇员”可以访问色情网站,但客人没有。 有可能只有一个dansguardion或我应该configuration第二个networking的另一个代理?
在SMTP的其中一个RFC中,它显示了如何使用TLSA确保MX条目映射到IP地址,并且还包含散列或其他方式来提供validation证书的方法。 这是否正确,能否提供一种方法来validation在TLS忽略期间由SMTP服务器为域所提供的证书将是域所有者已经签名并放置在DNS / DNSSEClogging中的证书?
忍受我,因为我是新来的。 我已经把一个nginx服务器configuration放在一起工作,直到我注意到在适用时没有抛出404错误。 所以我添加到我的try_files条件= 404回落。 但现在它不符合@rewrite的条件,并显示所有的页面,但主页为404。 这是configuration的适用部分 server { error_page 404 /404.html; location / { index index.php; try_files $uri $uri/ @rewrite; } location @rewrite { #rewrites rewrite ^/listings/(\d+)/(.*)$ /index.php?op=default&_a=listing&id=$1 last; rewrite ^/subcategories/(\d+)/(.*)$ /index.php?op=default&_a=subcategory&id=$1 last; rewrite ^/categories/(\d+)/(.*)$ /index.php?op=default&_a=category&id=$1 last; rewrite ^/companies/(\d+)/(.*)/(.*)$ /index.php?op=default&_a=vendor&id=$1&_b=$3 last; rewrite ^/companies/(\d+)/(.*)$ /index.php?op=default&_a=vendor&id=$1 last; rewrite ^/classifieds/(.*)/(.*)$ /index.php?op=default&_a=classified&cf_type=$1&url=$2 last; rewrite ^/classifieds/(.*)$ /index.php?op=default&_a=classified&cf_type=$1 last; rewrite ^/classifieds$ […]