Cent OS 5.4 32Bit
Apache/2.2.15 (Unix) PHP/5.3.2
[root@localhost src]# /usr/local/apache/bin/apachectl start
httpd: Syntax error on line 53 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied
# chcon -t texrel_shlib_t /usr/local/apache/modules/libp
可以解决以上权限问题提示,主要原因在于系统启用了selinux
可以禁用尝试禁用selinux,另外PHP/5.3.2目前版本的ZendOptimizer皆无法使用
本日志由 flyinweb 于 2010-07-09 10:29:20 发表到 Linux 中,目前已经被浏览 286 次,评论 0 次;
作者添加了以下标签: extract archive;
最近发现vsftpd的日志记录/var/log/vsftpd.log里显示的文件修改时间与实际的系统时间不一致,一般都差了8个小时。搜索了一下,发现因为默认情况下, vsftpd使用的是GMT标准时间,而不是Local Time。修改也很简单:
# 修改vsftpd 的配置文件 vsftpd.conf
# 不一定是这个路径
vi /etc/vsftpd/vsftpd.conf
在配置文件里加入一行:
- use_localtime=YES
保存之后重启 vsftpd 即可。
如果是用 xinetd 的方式来启动,要注意把配置文件中的listen参数值改为NO,否则 vsftpd 重启之后问题依旧。
本日志由 flyinweb 于 2010-07-09 10:18:35 发表到 Linux 中,目前已经被浏览 126 次,评论 0 次;
作者添加了以下标签: vsftpd log;
在Linux下有时候需要给一个网卡绑定多个IP,本文介绍在Redhat系列(redhat,Fedora Core,Centos)中的实现方法和一种在Gentoo等其他Linux中普遍适用的方法。
本日志由 flyinweb 于 2010-07-08 14:43:39 发表到 Linux 中,目前已经被浏览 139 次,评论 0 次;
作者添加了以下标签: network,interfaces;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
Securing your Linux server is important to protect your data, intellectual property, and time, from the hands of crackers (hackers). The system administrator is responsible for security Linux box. In this first part of a Linux server security series, I will provide 20 hardening tips for default installation of Linux system.
本日志由 flyinweb 于 2010-06-22 08:48:43 发表到 Linux 中,目前已经被浏览 197 次,评论 0 次;
作者添加了以下标签: linux security;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
Need to monitor Linux server performance? Try these built-in command and a few add-on tools. Most Linux distributions are equipped with tons of monitoring. These tools provide metrics which can be used to get information about system activities. You can use these tools to find the possible causes of a performance problem. The commands discussed below are some of the most basic commands when it comes to system analysis and debugging server issues such as:
本日志由 flyinweb 于 2010-06-22 08:47:12 发表到 Linux 中,目前已经被浏览 183 次,评论 0 次;
作者添加了以下标签: linux monitoring tools;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
Whenever a Linux system CPU is occupied by a process, it is unavailable for processing other requests. Rest of pending requests must wait till CPU is free. This becomes a bottleneck in the system. Following command will help you to identify CPU utilization, so that you can troubleshoot CPU related performance problems.
本日志由 flyinweb 于 2010-06-22 08:43:31 发表到 Linux 中,目前已经被浏览 193 次,评论 0 次;
作者添加了以下标签: Linux CPU Utilization;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
本日志由 flyinweb 于 2010-06-10 14:33:46 发表到 Linux 中,目前已经被浏览 351 次,评论 0 次;
作者添加了以下标签: Net::SMTP,Authen::SASL;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
To: jconsole不能打开,大概两种可能: 1 没有启用独占模式,如O
两个实例分别放在不同的 datadir 里面,会方便很多
今天遇到了“Cleanup failed to process the following paths:-
谢谢分享.有帮助.
根据inotify + rsync的思路,现在有了个c++版本的同步程序,只需指
真是有耐心呀。我做了个pdf 文件 在上面的网站可以下载