Windows Server 2008激活机制曝出漏洞 用户可无限期免费使用
[
2009/02/24 00:28 | by Totti ]

微软Windows Server 2008里计算安装到激活前可使用的时间机制日前曝出了漏洞,使得用户理论上可以在激活前无期限试用。据分析师称,这是由于微软未能评定它的虚拟化策略所导致的。在安装Windows时,系统会记录安装的日期(定位到注册表里),并启动计时器,对比当前的时间来计算激活前可试用的时间,一旦超过这个时间,你必须得激活。
但是这个机制在用户保存虚拟机状态,或者将机器调到休眠时不会运行,如果用户永不关机或者重启,在离激活期限还剩数小时时,将机器调到休眠状态之后唤醒,或者保存虚拟机状态之后激活,Windows系统将重新计算激活期限,用户理论上可以在激活前无期限使用Windows Server 2008。
据微软Windows Server产品部经理Ward Ralston称,“Windows中的计时器只是跟踪产品被使用的时间而不是产品被安装的时间,而且必须要求机器有规律的重启或者关闭进行维护的情况下才能正常运行,而通过这种方式人工延长激活期限,会阻止系统进行关键性升级(需要重启)”。
但是这个机制在用户保存虚拟机状态,或者将机器调到休眠时不会运行,如果用户永不关机或者重启,在离激活期限还剩数小时时,将机器调到休眠状态之后唤醒,或者保存虚拟机状态之后激活,Windows系统将重新计算激活期限,用户理论上可以在激活前无期限使用Windows Server 2008。
据微软Windows Server产品部经理Ward Ralston称,“Windows中的计时器只是跟踪产品被使用的时间而不是产品被安装的时间,而且必须要求机器有规律的重启或者关闭进行维护的情况下才能正常运行,而通过这种方式人工延长激活期限,会阻止系统进行关键性升级(需要重启)”。
dede 恢复后台密码
[
2009/02/22 20:51 | by Totti ]

进入phpmyadmin
修改表dede_admin
密码:admin==f297a57a5a743894a0e4
修改表dede_admin
密码:admin==f297a57a5a743894a0e4
PHP has encountered an Access Violation at 7C94BD02 解决方法
[
2009/02/19 11:34 | by Totti ]

解决方法如下:
第一种可能:
去掉 php中 eaccelerator 的扩展
这样做能够解决您的问题,不过可能会加重系统负担
因为eaccelerator主要是为了节省系统资源的东西
具体做法是找到php.ini
如果是我帮您配置的,一般在c:/php/php.ini或者 c:/winnt/php.ini 或者c:/windows/php.ini
去掉
zend_extension_ts="C:\php\extensions\eaccelerator_win_xxx.dll"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="c:\temp"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
ea主要是在unix环境下开发的,但是作者忽略到windows实际上不像u主机那样,是没有u主机的那种内存共享机制的
这个bug已经提交给他们了,希望0.9.5能够解决
第一种可能:
去掉 php中 eaccelerator 的扩展
这样做能够解决您的问题,不过可能会加重系统负担
因为eaccelerator主要是为了节省系统资源的东西
具体做法是找到php.ini
如果是我帮您配置的,一般在c:/php/php.ini或者 c:/winnt/php.ini 或者c:/windows/php.ini
去掉
zend_extension_ts="C:\php\extensions\eaccelerator_win_xxx.dll"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="c:\temp"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
ea主要是在unix环境下开发的,但是作者忽略到windows实际上不像u主机那样,是没有u主机的那种内存共享机制的
这个bug已经提交给他们了,希望0.9.5能够解决
PHP加速组件 eaccelerator
[
2009/02/19 11:29 | by Totti ]

We have been using this PHP accelerator (0.9.5), on multiple servers, for a long time. It's used on some high traffic sites without any problem.
Install:
a) Download a copy of eAccelerator that is compatible with your version of PHP.
This can be an issue with eAccelerator. Sometimes it can take a little time before the Windows binaries are available for the most recent version of PHP.
b) Copy a compatible eaccelerator.dll to your PHP extensions folder (like:D:\php\ext replace with your actual folder location).
Make sure the configuration directive extension_dir in your php.ini is properly pointing to your extensions folder.
Like: extension_dir = "D:/php/ext"
//将dll文件复制到D:/php/ext下.
c) Create a folder (with the appropriate permissions) for the temporary cached files.
For example: D:\temp\eaccelerator
//创建tmp目录 权限可写
d) Add the following to your php.ini (as the first loaded extension):
.
;extension=php_yaz.dll
;extension=php_zip.dll
//编辑php.ini 在extension=php_zip.dll之后添以红字部分
[eaccelerator]
zend_extension_ts="D:\php\ext\eAccelerator0952_5.2.3.dll"
zend_extension="D:\php\ext\eAccelerator0952_5.2.3.dll"
eaccelerator.cache_dir = "D:\temp\eaccelerator"
eaccelerator.shm_size="64"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.debug ="0"
eaccelerator.check_mtime="1"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl ="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.keys= "shm"
eaccelerator.sessions="shm"
eaccelerator.c
zend_extension="D:\php\ext\eLoader0952_5.2.3.dll"
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
.
.
e) Restart your Web Server.You can see..
http://www.sitebuddy.com/PHP/Accelerators/eAccelerator_windows_binaries_builds
Install:
a) Download a copy of eAccelerator that is compatible with your version of PHP.
This can be an issue with eAccelerator. Sometimes it can take a little time before the Windows binaries are available for the most recent version of PHP.
b) Copy a compatible eaccelerator.dll to your PHP extensions folder (like:D:\php\ext replace with your actual folder location).
Make sure the configuration directive extension_dir in your php.ini is properly pointing to your extensions folder.
Like: extension_dir = "D:/php/ext"
//将dll文件复制到D:/php/ext下.
c) Create a folder (with the appropriate permissions) for the temporary cached files.
For example: D:\temp\eaccelerator
//创建tmp目录 权限可写
d) Add the following to your php.ini (as the first loaded extension):
.
;extension=php_yaz.dll
;extension=php_zip.dll
//编辑php.ini 在extension=php_zip.dll之后添以红字部分
[eaccelerator]
zend_extension_ts="D:\php\ext\eAccelerator0952_5.2.3.dll"
zend_extension="D:\php\ext\eAccelerator0952_5.2.3.dll"
eaccelerator.cache_dir = "D:\temp\eaccelerator"
eaccelerator.shm_size="64"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.debug ="0"
eaccelerator.check_mtime="1"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl ="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.keys= "shm"
eaccelerator.sessions="shm"
eaccelerator.c
zend_extension="D:\php\ext\eLoader0952_5.2.3.dll"
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
.
.
e) Restart your Web Server.You can see..
http://www.sitebuddy.com/PHP/Accelerators/eAccelerator_windows_binaries_builds
Google搜索结果出现异常
[
2009/01/31 22:55 | by Totti ]

蛮超值的7天连锁:)
[
2009/01/19 18:12 | by Totti ]

上海-广州,今晚在广州待一晚,明天坐车回家。
第一次入住7天,是三元里店,77元体验大床,真的挺超值的,朋友们可以点击注册下,嘿嘿,通过以下链接注册会员,入住,将给我带来积分,谢谢:)
1.8米大床— 精选的五星级标准
按摩淋浴 — 专业水压调配处理
放心毛巾 — 特意为您消毒打包
舒睡枕头 — 根据人体工程学设计
营养早餐 — 健康营养的膳食搭配
7天专业睡眠方案 健康环保的床垫
舒适的床上用品
遮光性好的窗帘
科学的客房配色方案
促进睡眠的睡前牛奶
便利的设备设施
免费宽带 冷暖空调 有线电视 IDD电话 电热水壶 办公书桌




点击以下链接注册:
http://www.7daysinn.cn/spread.php?spreader=9249104
第一次入住7天,是三元里店,77元体验大床,真的挺超值的,朋友们可以点击注册下,嘿嘿,通过以下链接注册会员,入住,将给我带来积分,谢谢:)
1.8米大床— 精选的五星级标准
按摩淋浴 — 专业水压调配处理
放心毛巾 — 特意为您消毒打包
舒睡枕头 — 根据人体工程学设计
营养早餐 — 健康营养的膳食搭配
7天专业睡眠方案 健康环保的床垫
舒适的床上用品
遮光性好的窗帘
科学的客房配色方案
促进睡眠的睡前牛奶
便利的设备设施
免费宽带 冷暖空调 有线电视 IDD电话 电热水壶 办公书桌
点击以下链接注册:
http://www.7daysinn.cn/spread.php?spreader=9249104