Articles of centos

客人上网访问酒店

首先,非常感谢本网站所有技术人员的帮助。 我们必须实现客人通过无线上网使用酒店的能力。 当客人入住酒店,如果他们扫描无线networking,他们应该连接到无线接入点没有密码。 一旦他们打开任何网页,他们应该被redirect到酒店主页面input一个访问密码。 客人应该有一个用户名/密码屏幕,用户名=手机号码和密码=客人的房间号码。 上述实现是使用开源产品完成的,因为酒店不想花钱在软件上。 目前我们在实验室testing的内容如下: | ISP | – > |路由器| – > | Switch | – > | CentOS – 带有2个网卡| – > |接入点| – > |来宾笔记本电脑/ IPAD /电话| 我们需要安装和configuration以实现这个目标? 你有什么指导方针吗? 感谢Neolix和团队。

CentOS新内核编译

我试图为CentOS 5.6编译和安装内核3.2.9。 我编译了新的内核并安装了内核模块: make && make modules_install 我也创build了新的initrd映像: mkinitrd initrd-3.2.9 3.2.9 我将kernel-3.2.9,initrd-3.2.9和System.map-3.2.9复制到/ boot目录并编辑了grub.conf文件: title kernel-3.2.9 root (hd0,0) kernel /kernel-3.2.9 ro root=LABEL=/ rhgb quiet initrd /initrd-3.2.9 在启动过程中,我得到一个内核恐慌,出现以下错误: could not find filesystem /dev/root 我做错了什么?

centos 5.x基本的防火墙设置在命令行上

我正在使用专用主机。 不幸的是,当我用xming使用x窗口时,它往往会冻结x窗口会话。 这使我无法调用system-config-securitylevel并对防火墙进行更改。 有没有办法在命令行上做到这一点?

testingCentos性能

我有一个4GB的Ram和Core17处理器的VPS。 服务器的工作非常糟糕,像w,ls或top这样的基本命令有一个严重的延迟,谷歌站长的页面速度还是很快的。 当然,技术团队说一切都很好,但是我很确定他们是超卖。 有一个性能testing,我可以运行,以显示他们的服务器真的很慢? 谢谢

在多个盒子上,自定义扩展SNMP呼叫的OID是否相同?

CentOS 5.7 | SNMPD 这个问题有点混乱,所以我提前道歉,任何混乱。 我在/etc/snmp/snmpd.conf使用extend命令来运行脚本。 我后来使用snmpwalk实用程序为此find适当的OID。 如果我使用完全相同的命令,脚本,相对path和操作系统将OID是相同的? 或者是每个服务器独有的OID?

mod_pagespeed下降标题

我已经在Apache中安装了mod_pagespeed。 它丢弃标题X-UA-Compatible 。 当我转身的mod_pagespeed X-UA-Compatible出现在标题。 有没有人知道如何禁用这个在mod_pagespeed? 我的.htaccess文件: <IfModule mod_headers.c> Header set X-UA-Compatible "IE=Edge,chrome=1" </IfModule> <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] </IfModule> 非常感谢!

Postfix + procmail – 传递失败,因为“无法创build用户输出文件” – 在CentOS 6.2上

我证实我的后缀安装/中继设置工作。 现在我遇到了procmail问题。 我用下面的命令把它连接到postfix: mailbox_command = /usr/bin/procmail -f -a "$USER" 我没有在我的procmailconfiguration,但以下内容: LOGFILE=/var/procmailrc/log 我发送一封电子邮件给以前工作的收件人(在我附加procmail之前)。 现在它失败,错误: Apr 6 14:07:05 localhost postfix/qmgr[15194]: D0C3DFF6E1: from=<[email protected]>, size=938, nrcpt=1 (queue active) Apr 6 14:07:05 localhost postfix/local[1953]: D0C3DFF6E1: to=<[email protected]>, orig_to=<postmaster>, relay=local, delay=0.05, delays=0.02/0.01/0/0.02, dsn=5.2.0, status=bounced (can't create user output file. Command output: procmail: Couldn't create "/var/spool/mail/nobody" procmail: Couldn't read "//root" ) Apr 6 […]

ntpdate无法接收数据

我有一个问题,在我的服务器上运行ntpdate不会返回任何数据,因此我得到以下错误: [root@server etc]# ntpdate -d -u -v time.nist.gov 12 Apr 01:10:09 ntpdate[32072]: ntpdate [email protected] Fri Nov 18 13:21:21 UTC 2011 (1) Looking for host time.nist.gov and service ntp host found : 24-56-178-141.co.warpdriveonline.com transmit(24.56.178.141) transmit(24.56.178.141) transmit(24.56.178.141) transmit(24.56.178.141) transmit(24.56.178.141) 24.56.178.141: Server dropped: no data server 24.56.178.141, port 123 stratum 0, precision 0, leap 00, trust 000 refid […]

configurationhttpd.conf接受1,000个连接 – 如何

我想编辑我的httpd.conf来接受最多1000个客户端连接。 这是我现在所拥有的: StartServers 8 MinSpareServers 5 MaxSpareServers 20 ServerLimit 256 MaxClients 256 MaxRequestsPerChild 4000 StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 我应该如何编辑它?

安装curl-devel时依赖性问题

我想运行passenger-install-apache2-module所以我可以在CentOS 5.8上安装Redmine,但是passenger-install-apache2-module告诉我需要Curl development headers with SSL support ,它告诉我可以使用yum install curl-devel ,但是,当我运行时,我得到以下结果: Loaded plugins: fastestmirror, priorities, protectbase Loading mirror speeds from cached hostfile * base: ftp.pbone.net * extras: ftp.pbone.net * remi: remi-mirror.dedipower.com * updates: ftp.pbone.net 120 packages excluded due to repository priority protections 0 packages excluded due to repository protections Setting up Install Process Resolving Dependencies […]