服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
我正在尝试从networking名称空间允许互联网连接。 我试图在docker0网桥的基础上,在全局命名空间中运行。 如果我尝试在新的命名空间内ping,我得到了Destination Host Unreachable所以没有正确configuration。 我对命名空间很陌生,所以任何帮助表示赞赏。 全局命名空间详细信息 # ifconfig -a docker0 Link encap:Ethernet HWaddr 02:42:99:e7:76:59 inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0 inet6 addr: fe80::42:99ff:fee7:7659/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:215 errors:0 dropped:0 overruns:0 frame:0 TX packets:3 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6476 (6.4 KB) TX bytes:258 (258.0 B) eth0 Link encap:Ethernet HWaddr […]
我重新configuration我的etcd群集与证书工作,现在当我试图开始我得到第一台机器: Nov 05 16:24:43 Dm3Ch-Server-Node1 etcd[13999]: 21b9ef35413b514 received vote from 21b9ef35413b514 at term 493 Nov 05 16:24:43 Dm3Ch-Server-Node1 etcd[13999]: 21b9ef35413b514 [logterm: 1, index: 2] sent vote request to aa869cb0f2e7ed31 at term 493 Nov 05 16:24:44 Dm3Ch-Server-Node1 etcd[13999]: 21b9ef35413b514 is starting a new election at term 493 Nov 05 16:24:44 Dm3Ch-Server-Node1 etcd[13999]: 21b9ef35413b514 became candidate at […]
我是从这个网站( https://www.sslshopper.com/move-or-copy-an-ssl-certificate-from-a-windows-server-to-an-apache-server.html )的方向将我的GoDaddy.com证书从Windows Server 2003机器迁移到运行Debian&Apache(v 2.4.10)的服务器。 我将.pfx文件转换为.txt文件并将其打开以提取私钥和证书。 但是,我的文件有三个证书,不仅仅是教程中的证书。 那么,哪一部分是我的SSLCertificateFile,SSLCertificateKeyFile或SSLCertificateChainFile? 我尝试添加顶部作为我的私钥,第二部分作为我的证书,但在Chrome浏览器时,我得到一个'NET:ERR_CERT_AUTHORITY_INVALID'消息导航到我的网站。 任何帮助将不胜感激。 Bag Attributes Microsoft Local Key set: <No Values> localKeyID: 01 00 00 00 Microsoft CSP Name: Microsoft RSA SChannel Cryptographic Provider friendlyName: 921ddddfb37214c2d5593e0c9b386a34_bc31898e-7ad7-4e24-9c39-0088bf3b937a Key Attributes X509v3 Key Usage: 10 —–BEGIN ENCRYPTED PRIVATE KEY—– Some Text Here —–END ENCRYPTED PRIVATE KEY—– Bag Attributes localKeyID: 01 […]
当我从我的Gmail发送testing邮件到我的服务器,我得到这个错误: 致命的:没有SASLauthentication机制 这里是我所有的configuration文件和日志文件,以帮助我们: 在/ var /日志/ maillog的 Nov 4 14:42:49 ns1 postfix/postfix-script[2147]: stopping the Postfix mail system Nov 4 14:42:49 ns1 postfix/master[1340]: terminating on signal 15 Nov 4 14:42:49 ns1 postfix/postfix-script[2228]: starting the Postfix mail system Nov 4 14:42:49 ns1 postfix/master[2230]: daemon started — version 2.10.1, configuration /etc/postfix Nov 4 14:45:37 ns1 postfix/smtpd[2314]: connect from […]
我试图使用nginx作为反向代理( 服务器A )到我的WordPress服务器( 服务器B )托pipe使用Nginx。 我正在试图设置我的url在一个子目录格式,如example.com/blog 它有点作品,但有一些问题。 服务器A具有LetsEncrypt SSL证书,因此它会在所有路由上强制使用https 。 这是一个问题,因为我的wordpress应用程序正在http上加载.js&.css文件。 成功login后,不是redirect到example.com/blog/wp-admin ,而是转到example.com/wp-admin 我的服务器一个 nginx conf文件,包含相应的位置块, location /blog { rewrite ^/blog/(.*)$ /$1 break; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_pass http://ip-address-for-server-b; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } 我的服务器B的 nginx conf文件 server { listen 80 default_server; listen [::]:80 default_server; root /var/www/html; index index.php index.html index.htm […]
我们在这里有一个在wildfly 9上运行的WebService。Web服务只能通过ssl(https)使用,并且需要客户端证书。 如果我们在我们的testing用例中更改wildfly将直接与客户进行通信的wildflyconfiguration(意味着wildfly将处理https连接,并且还将检查客户端证书),则一个客户端可以每秒发出12到15个请求(包括得到服务器的答案)。 但是,如果我们在wildfly前放置一个apache httpd(在CentOS6上的V2.2)代理(然后它将处理https SSL的东西,并将检查客户端证书),然后客户端可以(在同一个testing用例中)只有2到5每秒请求数。 httpd代理的configuration是: Listen 58443 NameVirtualHost *:58443 <VirtualHost *:58443> # server SSL settings SSLEngine on SSLProtocol all -SSLv2 -SSLv3 SSLHonorCipherOrder On SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AES:RSA+3DES:!ADH:!AECDH:!MD5:!DSS # Server Certificate: SSLCertificateFile /etc/letsencrypt/live/mydomain.de/cert.pem # Server Private Key: SSLCertificateKeyFile /etc/letsencrypt/live/mydomain.de/privkey.pem # Server Certificate Chain: SSLCertificateChainFile /etc/letsencrypt/live/mydomain.de/chain.pem Header always set Strict-Transport-Security "max-age=315360000" # Client certifacte authentication # Certificate […]
我正在寻找一些帮助来configuration2个D-LINK交换机(一边是DGS 1510-52X,另一边是DGS 1210-52),以满足我的networking需求。 路由器上的WAN LINKS实际上是2: 首先是将WAN转换为公司LANnetworking的WAN,具有VLAN ID 1,在路由器上的端口LAN1上的Un-Tagged标签到达SWITCH A上的端口1 其次是NAT转换的IPSec VPN链接,不应该与局域网相冲突,而是在一些可信的设备和设备上使用。 这个在路由器端口2上具有VLAN ID 2,Un-Tagged并且到达SWITCH A的端口48 两台交换机应该configuration几乎相同,只使用Level 2configuration和VLAN 802.1Q,具有: LAN计算机的端口1到39 端口40到48用于VPN设备 仅SWITCH A连接到路由器,而SWITCH B连接到SWITCH A,使用SPF连接的光纤电缆从SW A端口52到SW B端口52。 这是简单的scheme: 2 Switchec与路由器 现在,目标是在两台交换机上都使用Un-Tagged设备,在端口1-39上使用LAN,在端口40-48上使用VPN。 有人可以帮我configuration这些端口,因为我不知道如何在两个交换机上正确地标记/无标记/组端口。 谢谢! 路由器端口1 – LAN,VID 1,未标记。 路由器端口2 – VPN,VID 2,标记? 未标记? SW端口1连接到路由器端口1 SW A LAN端口1-39 – 连接到ROUTER端口1,无标签 软件端口40-48的VPN – 连接到路由器端口2,标记? SW A端口52 SPF光纤 – 接受任何VID,无标签? […]
我试图用Ubuntu 16.04服务器在家里configuration一个FTP服务器,但是PASV有一个问题。 我不能让它返回我的外部IP。 ftptesting仪的输出: Status: Resolving address of dns. … .net Status: Connecting to xx.xxx.xxx.xxx Warning: The entered address does not resolve to an IPv6 address. Status: Connected, waiting for welcome message… Reply: 220 (vsFTPd 3.0.3) Command: CLNT https://ftptest.net on behalf of xx.xxx.xxx.xxx Reply: 530 Please login with USER and PASS. Command: AUTH TLS Reply: […]
我环顾四周,我很困惑,我可以如何使用iptables将DHCP请求转发到客户端。 我知道DHCP工作在服务器端的两个UDP端口67和客户端的68端口。 我的networking看起来像这样: networking拓扑 我已经设置了input,输出,前进链和冲洗的一切。 我试过了iptables -A FORWARD -p udp -s 0/0 –dport 67 -j ACCEPT iptables -A FORWARD -p udp -d 0/0 –sport 67 -J ACCEPT iptables -A FORWARD -p udp -s 0/0 –dport 68 -j ACCEPT iptables -A FORWARD -p udp -s 0/0 –sport 68 -j ACCEPT 但是这不行! iptables的: iptables -F iptables -P […]
我有一个订阅了SNS主题的lambda函数。 我想知道,当lambda函数被限制时会发生什么? SNS是否确保邮件稍后发送? 这个消息是否会在x次重试后丢到地板上? 非常感谢