wwwer.org 域名列表

[ 2007/11/08 17:04 | by Johnny.He ]
blog地址 http://wwwer.org
blog地址 http://blog.wwwer.org
blog地址 http://www.wwwer.org
Club地址 http://club.wwwer.org
相册地址 http://photo.wwwer.org
Data管理 http://phpmyadmin.wwwer.org
--------------------
以上为已开通地址,作为存档。

修改FreeBSD系统时间

[ 2007/11/07 17:05 | by Johnny.He ]
sysinstall
#Configure
#Time Zone
#CMOS clock set to UTC? [  No  ]
#5  Asia
#9   China
#1  east China - Beijing, Guangdong, Shanghai, etc.
#Does the abbreviation `CST' look reasonable? [  Yes  ]
#[Cancel]
#[X Exit Install]
date 200711071728(date 年月日时分)
以上时间修改完成,但是不知道重起之后会怎么样,我reboot了一次,察看时间的时候已经正确了,但是不知道这种方法是否正确...
从httpd.conf中 打开虚拟机
>apachectl restart

Syntax error on line 33 of /usr/local/etc/apache22/extra/httpd-vhosts.conf:
CustomLog takes two or three arguments, a file name, a custom log format string or format name, and an optional "env=" clause (see docs)

如果在httpd-vhosts.conf中注释掉下面这句启动就不会有问题。

CustomLog "/usr/local/www/log/club.wwwer.org-access_log common"

并且 apachectl restart 特别的慢 如果把apache的虚拟目录关闭就很快。
Tags: ,
  今天要介绍的Cocoon手机是欧洲移动运营商O2定制的一款手机。Cocoon这个字的意思有“茧”的意思。而这款手机本身看起来也确实像一只茧——洁白而圆滑。相信很多人看到O2 Cocoon的第一反应都会觉得这应该是一部概念机,可事实上,这款手机现在已经发布,已经可以在手机店中买到货真价实的真机。今天我们为大家送上的就是Cocoon的拆包装实录。
  O2 Cocoon是一款采用翻盖式设计的手机,机身三围为94×49×21mm。外形上,O2 Cocoon整体风格非常简约,翻盖上采用隐藏式蓝色LED屏幕显示屏,用户可以通过该屏幕查看当前时间、电池容量、来电信息、音乐播放信息,甚至还能查看短信息。在屏幕上方便是该机的摄像头所在处,据了解,这款手机拥有200万像素摄头,支持自动对焦。同时这款手机还是一款拥有超大内存的音乐手机。
  下面就是O2 Cocoon的拆包装实录,大家欣赏:
点击在新窗口中浏览此图片
O2 Cocoon的外包装非常精致
现在本系统已经运行在FreeBSD6.2
其中配置了Apache2.2/MySQL5.045/php5/ZendO3.3.0
经过N个小时的调试终于成功了,感觉很好,总之还是有些小问题,需要时间调试。

Apache22后 Gzip的安装

[ 2007/11/03 22:42 | by Johnny.He ]
今天刚刚装好服务器,上了FreeBSD6.2,ports安装了 apache22,php5,php5-ex,mysql50-Ser 上面放了一个Discuz的论坛,安装也成功,但是我进入后台 要起用 Gzip的时候 他告诉我没有安装,然后我返回到ports/www/mod_gzip,make就出错,不知道是什么原因。
错误如下:(只贴了最后的部分..)
mod_gzip.c: In function `mod_gzip_generate_vary_header':
mod_gzip.c:8069: error: `array_header' undeclared (first use in this function)
mod_gzip.c:8069: error: `ary' undeclared (first use in this function)
mod_gzip.c:8071: warning: assignment makes pointer from integer without a cast
mod_gzip.c:8076: warning: assignment makes pointer from integer without a cast
mod_gzip.c:8080: warning: return makes pointer from integer without a cast
mod_gzip.c: In function `mod_gzip_compress_file':
mod_gzip.c:8110: warning: passing arg 4 of `ap_log_error' makes integer from pointer without a cast
mod_gzip.c:8110: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
apxs:Error: Command failed with rc=65536
.
*** Error code 1

Stop in /usr/ports/www/mod_gzip/work/mod_gzip-1.3.26.1a.
*** Error code 1

Stop in /usr/ports/www/mod_gzip.
在安装了Apache以后,确认httpd.conf的配置没有任何错误,但启动时却遇到:

“[warn] (2)No such file or directory:Failed to enable the ‘httpready’ Accept Filter”
这个错误,百思不得其解。后来找遍资料终于明白,原因出在内核上(我的FreeBSD是6.2)。

解决办法:要在内核加载accf_http这个module,他的作用是直到接到完整的http请求前先缓冲下数据。
可以输入    kldload accf_http 加载到内核中,如果想永久的在内核里加载这个模块可以在/boot/loader.conf文件中输入:

accf_http_load=”YES”
Tags:
! 和%h一样
%B 开始粗体模式
%b 结束粗体模式
%c 当前工作目录名称的最后部分
%c2,%c3等等 当前工作目录名称的最后两个、三个(等等)组成部分
%C 跟%c类似,但是使用长形式的目录名称
%d 本周的当天
%D 今天是当月中的第几天
%h 当前命令的历史记录编号
%l shell的当前控制终端
%L 清除从提示符末尾到下一行的所有内容
%m 机器的主机名称
%M 机器的完全符合规范的域名
%n 用户名
Tags:
分页: 9/15 第一页 上页 3 4 5 6 7 8 9 10 11 12 13 14 下页 最后页 [ 显示模式: 摘要 | 列表 ]