我刚刚在我的Debian服务器上安装了Firestarter ,因为我想要一个易于使用的工具来pipe理此服务器上的防火墙。 计划是限制访问一些端口(例如8080),我认为入站规则是正确的select。 我是否正确? 我添加了一个示例规则,该规则将对8080端口的访问限制为IP地址127.0.0.1。 (将稍后改为127.0.0.1)。 另一个问题是,我不知道我是否也应该激活SSH访问,或者如果这是默认激活。 我有点害怕,如果我不允许在Firestarter中访问它,我将从自己获取访问权限。 🙂
我在一台服务器上安装了BackupPC toda,并将其设置为在12小时前进行备份…而由于它已经备份,似乎非常缓慢,尚未完成。 它只是备份一个testing服务器,总磁盘使用量为1.8GB。 什么可能导致备份过程如此缓慢? rsnapshot总是工作得非常快,但我想改善我的备份解决scheme。 df显示备份磁盘上的大小实际上还在增加。
我怎么知道为什么postfix / sendmail停止发送邮件? 我试图从控制台发送邮件,没有错误显示,但它一直没有交付…相同时,通过使用PHP中的邮件()(这是使用sendmail) 谢谢。
我有一个VPS和一个域名注册提供商。 当我inputwww.example.com时,我的网站显示正确,但inputexample.com不起作用。 我可以ping www.example.com。 我将下面一行添加到我的apache2默认虚拟主机文件中: ServerName example.com ServerAlias www.example.com 但是这不起作用。 VPS是Debian5操作系统。 有任何想法吗? 注意:没有通过提供的控制面板来添加这个选项,这是我购买的基本包 我知道这个post回答,但没有额外的意见,我想知道这是最好的方式: 方式redirect页面到万维网使用虚拟主机configuration的网站 – 可用于Apache2? 谢谢
我是LDAP新手,我尝试使用以下命令将Mandriva Directory Server附带的mmc.ldif和mail.ldif文件添加到LDAPconfiguration中: ldapadd -x -W -D“cn = admin,dc = biganon,dc = com”-f schema / mmc.ldif 然后给我在slapd安装过程中设置的pipe理员密码,但得到这个错误: ldap_bind:凭证无效(49) 我没有slapd.conf文件。 我在Debian 6.0.1,OpenLDAP 2.4.23 谢谢
我在Debian 5上运行ruby1.9,并没有设法用rubygems安装“独angular兽”。 我得到这个错误,并不真正知道如何解决它。 你有任何想法可能的根源? > gem install unicorn Building native extensions. This could take a while… ERROR: Error installing unicorn: ERROR: Failed to build gem native extension. /usr/bin/ruby1.9 extconf.rb checking for CLOCK_MONOTONIC in time.h… yes checking for clockid_t in time.h… yes checking for clock_gettime() in -lrt… yes checking for t_open() in -lnsl… no checking for […]
我在一个虚拟主机上使用Debian Stable(挤压),在这个虚拟主机上,我无法触及内核,它被困住了(并且会有一段时间,因为支持告诉我) Linux 2.6.18-028stab070.3 #1 SMP Wed Jul 21 18:33:27 MSD 2010 x86_64 所以当我尝试更新时,有几个软件包会导致FATAL: kernel too old失败FATAL: kernel too old例如, FATAL: kernel too old Preparing to replace libgcc1 1:4.6.0-11 (using …/libgcc1_1%3a4.6.1-1_amd64.deb) … Unpacking replacement libgcc1 … Setting up libgcc1 (1:4.6.1-1) … FATAL: kernel too old Segmentation fault dpkg: error processing libgcc1 (–configure): subprocess installed post-installation […]
ADSL路由器:Cisco 877(172.16.0.254) PC1(172.16.0.10)到路由器的端口1 PC2(172.16.0.20)到路由器的端口2 服务器,2个网卡,eth0到路由器的port0。 (172.16.0.240) 上述设置一切正常。 现在,服务器的eth1连接到千兆交换机。 服务器上的DHCP3使用此configuration在eth1上提供请求 subnet 172.16.0.0 netmask 255.255.255.0 { range 172.16.0.151 172.16.0.199; option domain-name-servers 194.30.220.117,194.30.220.114; option domain-name "XXXXXXXXXXXXXXX"; option routers 172.16.0.1; option broadcast-address 172.16.0.255; default-lease-time 600; max-lease-time 7200; } 和/ etc / network / interfaces auto lo iface lo inet loopback allow-hotplug eth0 iface eth0 inet static address 172.16.0.240 netmask […]
我有一个同时运行KVM实例的问题,实际上我只能将其描述为干扰。 当我单独运行一台虚拟机时,无论是通过sdl控制台还是通过ssh进行交互,都没有任何困难。 但是,一旦我运行两个虚拟机,我无法: 在sdl控制台login; 正确的用户名/密码在第一次尝试时声明为无效,并进一步回应我没有input的文字,例如“r ^] o ^] o ^] t ^]” 最终确定ssh连接到受影响的实例 我的客户端机器是Debian Squeeze,我的主机是Arch Linux 2.6.39-ARCH,带有qemu-kvm 0.14.1。 以下是我如何运行两个干扰性虚拟机: #!/bin/sh for f in puppet loadbalance # app0 db_master0 db_slave0 jenkins do qemu-kvm -drive file=$f.qcow2,if=virtio -boot c -netdev type=vde,id=tiny \ -device virtio-net-pci,netdev=tiny -name $f & done 如果我使用-nographic标志运行计算机,则可以完成sshlogin,但是最终(在5分钟内)除了一个ssh控制台外,其他所有ssh控制台都会遇到非常高的延迟。 一旦“专注”虚拟机立即响应,而其他虚拟机变为高延迟。 围绕虚拟networking的Ping在“聚焦”机器和所有其他机器之间以及从我的主机之间失败。 这里发生了什么?
我在我的服务器上安装了Debian 5 + Plesk 9.5.4,通过apt-get安装了Nagios3。 我在我的虚拟主机上build立了一个子域,在Plesk中使用了cgi支持,然后将所有的nagios cgi复制到这个新的目录中,将那个cgi文件的所有者设置为我的子域的FTP用户和组。 现在,访问http://subdomain.mydomain.com/nagios3/我可以看到我的nagios主菜单,文档等,但从nagios菜单访问任何cgi,我总是看到这个CGI错误信息: Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: Verify configuration options using the -v command-line option to check for errors. Check the Nagios log file for messages relating to startup or status data errors. […]