Articles of centos

IPv6静态路由

我正在寻找在我的networking上configurationIPv6的几台主机。 路由器(运行CentOS 5)configuration了Hurricane Electric(HE)隧道,该隧道在该主机上正常工作。 但是,我想静态地添加一些额外的主机在同一个局域网有IPv6通过这个隧道。 不,我不希望radvd或dhcpv6在这种情况下为我工作。 我已经在sysctl.conf中启用了IPv6转发。 我正在寻找下一步的帮助(静态添加路线)。 可以说IP地址如下: 路由器:2001:470:1b07:1 :: Host1:2001:470:1b07:2 :: 我将如何去让他们看到对方? 先谢谢您的帮助。

centos为我的url创build第二个别名

可能重复: 三级域名和debian 我怎么可以去有另一个别名为我的url,我的意思是,如果要到我的Centos服务器上的网站,我可以去domain.com例如,我怎么能让它如此x.domain的东西。 com也将作为我的网站的地址,我想使用虚拟主机后来使第二个地址在不同的索引页上…任何帮助appriciated 谢谢 丹尼尔

CentOS 6和Sun / Oracle Java问题

可能重复: Linux在VPS上的内存不足 我有一个运行CentOS 6.3 64位的OpenVZ VPS,当我尝试使用以下命令安装JRE 7 64位时: rpm -Uvh java.rpm 它给了我这个错误: Preparing… ########################################### [100%] 1:jre ########################################### [100%] Unpacking JAR files… rt.jar… Error: Could not open input file: /usr/java/jre1.7.0_09/lib/rt.pack jsse.jar… Error: Could not open input file: /usr/java/jre1.7.0_09/lib/jsse.pack charsets.jar… Error: Could not open input file: /usr/java/jre1.7.0_09/lib/charsets.pack localedata.jar… Error: Could not open input file: /usr/java/jre1.7.0_09/lib/ext/localedata.pack 然后我尝试了这个命令: java […]

覆盖退出networking之上的DHCP池

我有一个networking在过去被静态分配到DHCP。 有些主持人,我们有保留,但不是全部。 我们的服务器在cenotos 5上运行bind dhcpd,用webmin来configuration。 如果我在我们的networking中创build了一个IP地址为10-254的“池”,我知道它会跳过这个保留,但是它会在发送之前先尝试ping IP吗? 如果我们把他们全部留在预定表中,我不是很积极,也不想要一堆重复的IP。 或者我需要手动扫描子网(并希望每个人都有自己的笔记本电脑在办公室,并打开?)?

在centos安装bugify

我正尝试在CentOS服务器上安装bugify。 当我用来安装bugify时,下面的错误被拔出: Bugify requires certain binaries to exist on this server in order to run properly. Could not find the PHP Cli tool at /usr/bin/php. 我需要哪些二进制文件,以及如何获取它们?

在CentOs 6.3上安装mysql的php 5.4.9

好吧,让我直截了当地说,我是一个完全的小白,从来没有做过这样的东西,我已经阅读了tuorial后的教程,但我不能得到任何工作。 当我试图安装rpm文件时,我得到了这个错误 rpm -Uvh ftp://ftp.pbone.net/mirror/rpms.famillecollet.com/enterprise/6/test/x86_64/php-mysqlnd-5.4.9-1.el6.remi.x86_64.rpm Retrieving ftp://ftp.pbone.net/mirror/rpms.famillecollet.com/enterprise/6/test/x86_64/php-mysqlnd-5.4.9-1.el6.remi.x86_64.rpm warning: /var/tmp/rpm-tmp.ez4vvd: Header V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY error: Failed dependencies: php-pdo(x86-64) = 5.4.9-1.el6.remi is needed by php-mysqlnd-5.4.9-1.el6.remi.x86_64 所以我尝试安装该rpm文件并得到这个错误 rpm -ivh ftp://ftp.pbone.net/mirror/rrpms.famillecollet.com/enterprise/6/test/x86_64/php-pdo-5.4.6-1.el6.remi.x86_64.rpm Retrieving ftp://ftp.pbone.net/mirror/rrpms.famillecollet.com/enterprise/6/test/x86_64/php-pdo-5.4.6-1.el6.remi.x86_64.rpm curl: (9) Server denied you to change to the given directory error: skipping ftp://ftp.pbone.net/mirror/rrpms.famillecollet.com/enterprise/6/test/x86_64/php-pdo-5.4.6-1.el6.remi.x86_64.rpm – transfer failed 我使用的FTP链接,因为我不知道如何让他们到服务器。 我觉得我对此感到非常沮丧,但是我必须安装这个驱动程序才能使我的任何脚本正常工作。 任何帮助将不胜感激!

远程主机拒绝SSH连接

我有2个VPS在CentOS 6,Server1和Server2上运行。 我可以从我的PC上用SSH访问两台服务器,但是当我使用以下命令从Server2连接到Server1时: ssh [email protected] -p 22 我得到这个错误: 无法连接到xxx.xx.xxx.x:22:连接被拒绝 这只是发生在Server2上。 Server1可以连接到Server2没有任何问题。 我相信我的SSH端口是22,我已经停止在两台服务器的iptables,我已经检查主机允许和拒绝configuration。 我怎样才能解决这个问题?

Ossectesting和validation

我刚刚安装了OSSec作为服务器。 当它问我的电子邮件,我把我的GMail地址和SMTP我不知道,所以我只是把它设置为本地的第一。 然后它相应地运行一些命令。 最后说明这一点: In order to connect agent and server, you need to add each agent to the server. Run the 'manage_agents' to add or remove them: /var/ossec/bin/manage_agents 另一件事我做了/var/ossec/bin/ossec-control开始 Starting OSSEC HIDS v2.6 (by Trend Micro Inc.)… OSSEC analysisd: Testing rules failed. Configuration error. Exiting. Started ossec-maild… Started ossec-execd… Started ossec-analysisd… Started ossec-logcollector… Started […]

Linux – 安全 – 有人试图find一个方法吗?

可能重复: 数百个失败的sshlogin 最近,我花了更多的时间在我的生产服务器上努力伪装几个configuration,而我偶然发出了一个find /var/log -mmin1 ,它返回了/var/log/secure文件等等。 对最近被logging到这个特定文件的活动感到好奇,我开始跟踪它,并logging了其中的一些条目: Jan 9 22:15:59 myhost sshd[22916]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=58.213.48.82 user=apache Jan 9 22:16:01 myhost sshd[22916]: Failed password for apache from 58.213.48.82 port 36464 ssh2 Jan 9 22:16:01 myhost sshd[22917]: Received disconnect from 58.213.48.82: 11: Bye Bye Jan 9 22:16:03 myhost unix_chkpwd[22922]: password check […]

Centos5 /tmp/.xzibit在clamav中显示多个病毒,我可以安全的删除这个目录吗?

可能重复: 我如何处理受损的服务器? 我做了一个扫描我的整个VPSfind上面的文件夹与大量的病毒。 我可以放心删除这个文件夹吗? 我可以通过SSH或有办法,我需要通过命令行来完成吗? 具体结果: /tmp/.xzibit/new64: UNIX.Exploit.CVE_2010_3301-2 FOUND /tmp/.xzibit/c/robert_you_suck.c: UNIX.Exploit.CVE_2010_3301-1 FOUND /tmp/.xzibit/ab: UNIX.Exploit.CVE_2010_3301-1 FOUND /tmp/.xzibit/3/ptrace: Linux.RST.B-1 FOUND /tmp/.xzibit/3/ptrace24: Linux.Rst.A FOUND /tmp/.xzibit/3/elf: Exploit.Linux.Race.C FOUND /tmp/.xzibit/3/brk: Linux.Brk.B FOUND /tmp/.xzibit/3/90: Linux.Osf.3974 FOUND /tmp/.xzibit/3/ex: Linux.RST.B-1 FOUND /tmp/.xzibit/3/x: Linux.RST.B-1 FOUND /tmp/.xzibit/3/ee: Linux.RST.B-1 FOUND /tmp/.xzibit/3/nc: Linux.Rst.A FOUND /tmp/.xzibit/3/e2: Linux.RST.B-1 FOUND /tmp/.xzibit/3/uselib24: Exploit.Linux.Race.C FOUND /tmp/.xzibit/1/32/therebel/exploit.c: Exploit.Linux-2 FOUND /tmp/.xzibit/01: UNIX.Exploit.CVE_2010_3301-2 FOUND Addl的信息:我注意到这个网站在过去的妥协,扫描和清理。 […]