存档

2009年10月 的存档

Dell服务器跳过Raid卡

2009年10月31日 baalchina 没有评论

PowerEdge2950服务器,开机的时候按Ctrl+R进Raid卡配置,Ctrl+E进入远程管理卡配置,结果今天不小心在提示Ctrl+R的时候按得Ctrl+E,结果提示跳过了Raid卡配置,随后报OS找不到。

一个有点意思的功能。

分类: 系统管理 标签:

Windows Live Writer抽风了…(解决“指定了无效的ip地址错误”)

2009年10月27日 baalchina 没有评论

发布的时候报错:尝试登录时发生意外错误 指定了无效的ip地址,google/baidu都无解。

新建账号或者更新账号,提示无法确定日志类型,无论是live spaces或者wordpress都提示这个。

没有错误日志,无法卸载--360或者添加删除程序都找不到wlw...

重新安装,那个下载程序提示你已经安装了wlw,没法重新安装...

求解...

 

=====================

2009-10-30更新

今天发现vmware的vic也这个德行,于是想到可能是.net framewrok报错造成的。于是重装.net framewrok 3.5,重启,一切ok。

分类: Windows 标签:

gene6增加用户登录提示

2009年10月21日 baalchina 没有评论

http://www.g6ftpserver.com/manuals/en/tags.html

在gene6的用户的杂项设置里面。

分类: FTP 标签: ,

升级了下nginx

2009年10月16日 baalchina 没有评论

nginx的漏洞:http://www.kb.cert.org/vuls/id/180065


wget http://www.openssl.org/source/openssl-0.9.8k.tar.gz

wget http://sysoev.ru/nginx/nginx-0.6.39.tar.gz

tar xvzf nginx-0.6.39.tar.gz 

cd nginx-0.6.39

./configure "--with-http_stub_status_module" "--with-http_addition_module" "--with-pcre=/usr/src/pcre-7.7/" "--with-http_ssl_module" "--with-openssl=/root/openssl-0.9.8k" 

make

make install

ps -ef |grep nginx

kill 10986

ps -ef |grep nginx

/usr/local/nginx/sbin/nginx -t

/usr/local/nginx/sbin/nginx -v
 

 

没啥难度。最新的稳定nginx是0.7.x了,暂时不研究~

分类: Nginx 标签:

发现www.kuaiche.com被解析到192.168.254.254了

2009年10月14日 baalchina 没有评论

www.flashget.comwww.kuaiche.com均是如此。

 

难道得罪了电信?

> www.kuaiche.com
Server:  a.center-dns.jsinfo.net
Address:  218.2.135.1

Non-authoritative answer:
Name:    www.kuaiche.com
Address:  192.168.254.254

> www.flashget.com
Server:  a.center-dns.jsinfo.net
Address:  218.2.135.1

Non-authoritative answer:
Name:    www.flashget.com.showq.net
Address:  192.168.254.254
Aliases:  www.flashget.com

分类: DNS 标签: ,

升级Apache+PHP

2009年10月9日 baalchina 2 条评论

招生的时候检测报告说俺们的web server有漏洞,于是决定把Apache+PHP升级一下。

首先看一下版本:

[root@www1 ~]# /usr/local/apache2/bin/apachectl -v
Server version: Apache/2.2.4 (Unix)
Server built:   Aug  7 2008 14:07:37

 

php的版本可以写个phpinfo看到。装的是4.4.4。

 

[root@www1 ~]# /usr/local/php/bin/php -i |grep configure
Configure Command =>  './configure' '--prefix=/usr/local/php' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-zlib-dir' '--with-bz2' '--with-tiff-dir' '--with-gd=/usr/local/gd2' '--with-freetype-dir' '--with-jpeg-dir' '--with-png-dir' '--with-ttf' '--enable-mbstring' '--with-mysql=/usr/local/mysql' '--with-config-file-path=/etc' '--disable-ipv6' '--enable-static'

 

 

更多内容参照:http://www.baalchina.net/2009/08/php-mysql-apache-configure/

注意:

  • ZO也要装
  • 根据跑的cms程序,php升级的时候尤其是4~5切记不可太随意。不过php4在07年就停止支持了…
  • 备份好conf文件,虽然一般不会有问题…

        先搞php

      wget http://cn2.php.net/get/php-5.2.11.tar.gz/from/cn.php.net/mirror
      tar xvzf php-5.2.11.tar.gz
      cd php-5.2.11
      './configure' '--prefix=/usr/local/php' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-zlib-dir' '--with-bz2' '--with-tiff-dir' '--with-gd=/usr/local/gd2' '--with-freetype-dir' '--with-jpeg-dir' '--with-png-dir' '--with-ttf' '--enable-mbstring' '--with-mysql=/usr/local/mysql' '--with-config-file-path=/etc' '--disable-ipv6' '--enable-static'
      make;make install

    然后搞ZO

     

    没啥好说的…bs Zend,居然要注册才给地址

    http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz

    另外暂时不支持php5.3.0。

     

    然后搞Apache:

     

    [root@www1 ~]# ./configure "--prefix=/usr/local/apache2" "--enable-module=so" "--enable-deflate=shared" "--enable-expires=shared" "--enable-rewrite=" "--enable-static-support" "--enable-static-htpasswd" "--enable-static-htdigest" "--enable-static-rotatelogs" "--enable-static-logresolve" "--enable-static-htdbm" "--enable-static-ab" "--enable-static-checkgid" "--enable-ssl" "--disable-userdir" "--with-ssl=/usr/local/openssl" "--with-apr=/usr/local/apr" "--with-apr-util=/usr/local/apr-util/bin"
    [root@www1 ~]# make;make install
    [root@www1 ~]# /usr/local/apache2/bin/apachectl stop
    [root@www1 ~]# /usr/local/apache2/bin/apachectl start
    [root@www1 ~]# /usr/local/apache2/bin/apachectl -v

     

    打完收工。

    分类: Apache, Linux, PHP 标签: , ,