Articles of centos6

在CentOS 6中使用postfix将邮件转发给[email protected]

我在用着: # cat /etc/*release CentOS release 6.3 (Final) # rpm -qa | grep post postfix-2.6.6-2.2.el6_1.x86_64 在2个服务器上: preferans.de和(是的,有趣的名字) static.103.78.9.176.clients.your-server.de 我拥有多个域名,并希望所有传入邮件的邮件都被转发到我的Gmail地址。 所以我已经为我的域名设置了MXlogging: # host videoskat.de videoskat.de has address 176.9.40.169 videoskat.de mail is handled by 100 static.103.78.9.176.clients.your-server.de. videoskat.de mail is handled by 10 preferans.de. # host balkan-preferans.de balkan-preferans.de has address 176.9.40.169 balkan-preferans.de mail is handled by 100 static.103.78.9.176.clients.your-server.de. […]

删除一堆文件夹中的文件夹的内容?

我有一堆文件夹说/test/和/test1/和这些都包含文件夹/x/和/x/包含一些我不想要的随机文件。 我想recursion遍历所有文件夹并进入/x/并删除所有的内容。 但我似乎无法弄清楚如何删除/x/文件夹内的内容。

httpd服务器变慢,然后出现无响应

那么,我最近从Windows切换到Centos 6,并安装了httpd php ispconfig 3和邮件服务器的东西。 但是在几个小时之后(大约5-8),服务器变慢了,网站不再加载了,而且当用ssh连接时,直到我可以login才会有这个样子。 另外,我注意到硬盘灯发生时总是亮起。 我使用ISPConfig 3作为cPanel,使用Apache2作为Web服务器。 我甚至重新安装了操作系统1次,而且还是发生了… Apacheconfiguration ServerTokens OS ServerRoot "/etc/httpd" PidFile run/httpd.pid Timeout 60 KeepAlive On MaxKeepAliveRequests 0 KeepAliveTimeout 15 <IfModule prefork.c> StartServers 10 MinSpareServers 5 MaxSpareServers 50 ServerLimit 256 MaxClients 256 MaxRequestsPerChild 40000 </IfModule> <IfModule worker.c> StartServers 4 MaxClients 300 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 </IfModule> […]

configurationIPSec

如果你看看我以前的问题 ,你会看到我有两个IP地址(用于远程设备)来configuration我们的VPN隧道: VPN Device Tunnel Endpoint IP Address: 91.151.ab Host(s): IP address(es) to be accessed (Public IP address required): 91.151.cd 在IPSecconfiguration期间,我需要提供机器的IP地址(左)和远程设备(右),但是我仍然不知道对于远程设备来说,哪个IP地址是正确的IPSecconfiguration。

Centos 6.3 DRBD / OpenVZ内核/ userland问题

当我启动我的Centos 6.3服务器的drbd服务时,出现以下错误: Starting DRBD resources: DRBD module version: 8.3.13 userland version: 8.4.2 preferably kernel and userland versions should match. 我99%确定这是与我刚刚安装/使用的openVZ内核有关的,因为如果我从grub启动菜单返回到另一个2,就不会发生错误。 为了使OpenVZ和DRBD能够在同一台服务器上一起工作,我需要做些什么? 出于诊断目的, uname -a的结果是这样的: Linux main2 2.6.32-042stab072.10 #1 SMP Wed Jan 16 18:54:05 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux 如果在安装DRBD时运行命令: yum –enablerepo=elrepo install drbd83-utils kmod-drbd83 代替 yum –enablerepo=elrepo install drbd84-utils kmod-drbd84 然后错误变成: Starting DRBD resources: […]

什么是一个活跃的CentOS6 / RHEL6存储库提供icinga?

维基中列出了几个CentOS6存储库,我几乎查看了所有这些存储库。 只有RPMForge提供了icinga / icinga-web,但在v1.7.2这是相当过时,并包含一些错误。 (例如,状态图不能与儿童/父母主机一起工作)我知道我可以自己编译它,但是这会使得维护和保持更新变得相当困难。 有没有其他CentOS6 / RHEL6回购提供更新版本的icinga-web?

CentOS Dovecot权限被拒绝

我有一个使用Virtualmin的dovecot邮件服务器安装程序,出于某种原因,昨天,邮件服务器停止工作。 我发现在/ var / log / maillog文件中,当我尝试连接到我的服务器(ceres)时,出现以下错误: ceres dovecot: imap-login: Login: user=<some_username>, method=PLAIN, rip=176.250.217.87, lip=178.79.158.216, mpid=15552, TLS ceres dovecot: imap(some_username): Error: opendir(/home/my_user_acc/email/max/Maildir/tmp) failed: Permission denied ceres dovecot: imap(some_username): Error: open(/home/my_user_acc/email/max/Maildir/dovecot.index.log) failed: Permission denied (euid=504(some_username) egid=503(my_user_acc) missing +r perm: /home/my_user_acc/email/max/Maildir/dovecot.index.log, euid is not dir owner) ceres dovecot: imap(some_username): Error: file_dotlock_create(/home/my_user_acc/email/max/Maildir/dovecot-uidlist) failed: Permission denied (euid=504(some_username) egid=503(my_user_acc) missing […]

nf_conntrack_max和nf_conntrack_expect_max有什么区别?

我明白nf_conntrack_max是什么,但是nf_conntrack_expect_max实际上是做什么的? 我无法在任何地方find解释。

百胜没有显示任何更新的软件包

我有一台CentOS 6.3机器。 我正在运行yum update但不显示任何更新的软件包。 我已经试过yum clean all和yum clean expire-cache 。 任何帮助将非常感激。 [root@www1 yum.repos.d]# yum list update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.xmission.com * epel: fedora-epel.mirror.lstn.net * extras: mirrors.xmission.com * updates: mirrors.xmission.com Error: No matching Packages to list PS我也安装了epel ,之前我也在玩。 我在想,那天我可能搞砸了,可能… PPS我也尝试使用baseurl而不是mirrorlist ,再次没有成功… 更新 我在我的yum.conf有这个行,应该保留postfix包以进行手动更新。 我只是评论一下,现在一切都好了。 有谁能解释为什么? exclude=postfix* 回答 我试图做yum […]

无法转到工作

我无法前往工作。 这是我的postconf输出: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 default_verp_delimiters = += disable_verp_bounces = no home_mailbox = Maildir/ html_directory = no inet_interfaces = all inet_protocols = all mail_owner = postfix mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 mailq_path = /usr/bin/mailq.postfix […]