王殊勋的个人博客

只要开始,虽远不迟!

到http://sourceforge.net/projects/tripwire/下载最新版本的tripwire. 目前是tripwire-2.4.2.2-src.tar.bz2. 安装非常简单: 1 2 tar -jxvf tripwire-2.4.2.2-src.tar.bz2 cd tripwire-2.4.2.2-src 解压后进入目录: 1 2 3 ./configure --prefix=/usr/local/tripwire make && make install Continue with installation [y/n] y #键入y继续安装
阅读全文 »

2024年7月17日更新: 有些僵尸进程无法直接kill,需要杀死其父进程才行。 查找僵尸进程父进程并杀死。 1 2 ps -ef | grep 9802(僵尸进程id) kill -9 6700(父进程id) 但是有些僵尸进程杀死父进程后父进程id会变成1,这种情况就只能重启服务器解决了. 最近工作过程中,发现好几台服务器出现僵死进程. 使用命令找出僵死进程: 1 ps -A -o stat,ppid,pid,cmd | grep -e '^[Zz]' 命令注解: 1 2 ps -C java -o lstart,pid,cmd #不过貌似打印的不全 p
阅读全文 »

第一步、环境准备: 1 2 3 4 5 6 7 lvs-master:10.80.11.245 lvs-backup:10.80.11.246 vip:10.80.11.240 web1:10.80.11.243 web2:10.80.11.244 netmask:255.255.255.0 gateway:10.80.11.1 接下来关掉一些不必要的系统服务: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 chkconfig bluetooth off chkconfig firstboot off chkconfig
阅读全文 »

出现错误: 1 2 3 4 5 6 7 8 9 10 loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether ln works... yes che
阅读全文 »

需要有服务器的管理权限. 把配置文件php.ini里的;extension=php_gd2.dll前面的;去掉. 重启iis或apache就好了.
阅读全文 »

解决报错: 1 rake/rdoctask is deprecated. Use rdoc/task instead 遇到的问题: 1 2 3 4 5 D:/redmine>rake db:migrate (in D:/redmine) rake aborted! syntax error on line 8, col 2: `? encoding: utf8' (See full trace by running task with --trace) 修改redmine目录下config中的database.yml 配置mysql连接密码时应在密码前加一个空格. 1 2
阅读全文 »

开始-设置-网络和拨号连接-本地连接-TCP/IP属性-高级-WINS-选’禁用TCP/IT上的NETBIOS’. 查看当前打开的端口可以用 开始->运行->cmd 运行netstat -na ,你改完以后用这个命令看一下,这3个端口应该关了,不影响使用的.
阅读全文 »

错误信息如下: 1 2 3 4 Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:81 (13)Permission denied: make_sock: could not bind to address 0.0.0.0:81 no listening sockets available, shutting down Unable to open logs 处理办法: 1 2 3 semanage port -a -t http_port_t -p tcp 81 s
阅读全文 »
0%