服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器
通常情况下,我的IPS是阻塞桑巴端口。 我正在尝试安装位于云端(位于机架空间)的samba服务器。 我怎么能够: 1)更改samba运行的端口,即vmb上的smbd,nmbd 2)强制我的桑巴客户端在Mac OS X(默认的OS X Finder连接)使用这些端口? 谢谢, 山姆
我已经为SLES的tomcat 6和tomcat 7包的正确性做了一些改进。 我知道opensuse是上游的。 我在哪里开始回馈包裹?
设置:一个没有internetaccess的VLAN。 当用户使用电缆连接他/她的计算机并尝试冲浪时,stream量将被引导至内部网站。 我如何设置DNS通配符,以便所有的stream量映射到内部网站?
在Ubuntu上,我想知道在运行sudo aptitude install ruby-rvm时将会安装哪些文件。 所以首先我做sudo aptitude download ruby-rvm 。 现在我可以做aptitude show ruby-rvm ,但是如何获得在sudo aptitude install ruby-rvm的文件列表呢? 像dpkg -L ruby-rvm如果我已经安装了它,我只想在安装它之前知道它。
可能重复: 我的服务器被黑了应急 我们通常托pipe我们的客户网站,但我们没有托pipe这一个。 网站本身(weddle-funeral.com)工作得很好。 如果你加载谷歌和searchweddle funeral stayton oregon – 并点击该链接,该网站链接到一个骗局丸网站。 我经历了这个网站,wordpress插件中有一些php文件被我的杀毒软件隔离了。 我删除了所有非必要的文件,并上传了所有插件的新版本,但仍然是从谷歌redirect。 我尝试login到cPanel(在虚拟专用服务器上),并且cpanel闪烁红色警告屏幕 The site's security certificate is not trusted! You attempted to reach XXXXX.com, but the server presented a certificate issued by an entity that is not trusted by your computer's operating system. This may mean that the server has generated its own security […]
如下所示: 步骤1: SSHlogin到远程主机。 第2步:使用gdb debug proc_a 。 第3步:使用gdb子命令(gdb) shell vi tes.c编辑该文件。 步骤4: ssh客户端有一些未知的错误失败链接(不能向远程主机input任何命令) 第5步:我必须使用SSH重新login远程主机。 问题是我该如何继续Step1f的debugging工作?
如networking拓扑中所示,我有6台Juniper交换机(EX-2200)相互连接。 我有两台电脑,我正在使用 PC1 – (用于通过minicomconfiguration6个交换机) PC2 – 通过图中箭头标记的端口监视交换机之间的stream量。 步骤1: 我在交换机3(SW3)上创build了一个新的VLAN,其中包括端口12和端口22.我也将l3接口分配给vlan(vlan_2),IP地址为192.168.1.7。 现在我在PC2上插入Switch 3的Port 0。 现在我尝试从PC2 ping 192.168.1.7(192.168.1.10) 我想知道会发生什么? 我的说法是,我将无法从PC2 ping SW3。这是因为SW3(端口12和端口22)是vlan_2的一部分,vlan_2在逻辑上破坏了广播域,所以192.168.1.7将无法从192.168 .1.10。 现在我在SW1上有一个l3接口,使用默认的vlan(vlan-id 0),IP为192.168.1.1。 同样,我已经在SW2上启用IP – 192.168.1.2 SW3 – 192.168.1.3 SW4 – 192.168.1.4 SW5 – 192.168.1.5 SW6 – 192.168.1.6全部使用默认的vlan。 我使用以下configuration创buildVLAN2 SW3 – 端口12,端口22. SW6 – 端口14 我使用以下configuration创buildVLAN3 SW3 – 端口0 SW6 – 端口0 我还使用以下命令在SW3和SW6之间configurationVLAN中继。 编辑接口ge-0/0/12 set […]
当我使用server.com或www.server.com直接寻址时,我得到了一个站点server.com,但如果使用其ip或其他主机名访问webserver,则发出404。 我有如下的东西: NameVirtualhost 10.0.0.1:80 <VirtualHost 10.0.0.1:80> #This should be used if Host is server.com or www.server.com ServerName server.com ServerAlias server.com www.server.com DocumentRoot /var/www/ </VirtualHost> <VirtualHost 10.0.0.1:80> #This should be used alternatively RewriteEngine On RewriteRule (.*) – [R=404] </VirtualHost> 我现在怎么设置,如果主机名不是server.com或www.server.com,应该使用第二个条目?
我已经configuration了一个squid 3.1代理服务器。 除了X-Requested-With头之外,一切都很好。 我无法弄清楚如何将这个头部传递给我试图通过代理打开的网站。 这是我目前的configuration: request_header_access Allow allow all request_header_access Authorization allow all request_header_access WWW-Authenticate allow all request_header_access Proxy-Authorization allow all request_header_access Proxy-Authenticate allow all request_header_access Cache-Control allow all request_header_access Content-Encoding allow all request_header_access Content-Length allow all request_header_access Content-Type allow all request_header_access Date allow all request_header_access Expires allow all request_header_access Host allow all request_header_access If-Modified-Since […]
我有一个从本地networking运行在http://10.0.2.20/的后端服务器,其服务类似于: / (root) | |_user1/ | |_www/ | |_private/ | |_user2/ |_www/ |_private/ (etc.) 访问http://10.0.2.20/user1/当然包含“www”和“私人”文件夹,并通过公共服务器使用Apache的反向代理进行代理。 我喜欢它,所以发生以下事情: http://public-proxy-server/user1/实际显示http://10.0.2.20/user1/www/中的内容,而不在URL中指明。 (/ private /不能通过公共代理服务器访问)。 这里的关键是它是dynamic的,所以对http://public-proxy-server/*/所有请求应该显示来自http://10.0.2.20/*/www/内容。 再次,代理目前正常工作; 下面是configuration: (在公共服务器上) <VirtualHost *:80> ServerName www.domain.com ProxyRequests Off ProxyPreserveHost On ProxyVia full ProxyPass / http://10.0.2.20/ ProxyPassReverse / http://10.0.2.20/ </VirtualHost> (在后端服务器上) <VirtualHost *:80> … #this directory contains folders 'user1' and 'user2' DocumentRoot /var/www/ … […]