﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-daiybh@ this-&gt;cppblog-随笔分类-其他技术</title><link>http://www.cppblog.com/daiybh/category/7802.html</link><description>我的，我的，还是我的！！</description><language>zh-cn</language><lastBuildDate>Mon, 06 Oct 2008 04:11:54 GMT</lastBuildDate><pubDate>Mon, 06 Oct 2008 04:11:54 GMT</pubDate><ttl>60</ttl><item><title>[zt] CVSNT 用户名 密码设置方法</title><link>http://www.cppblog.com/daiybh/archive/2008/10/06/63300.html</link><dc:creator>代李</dc:creator><author>代李</author><pubDate>Mon, 06 Oct 2008 03:17:00 GMT</pubDate><guid>http://www.cppblog.com/daiybh/archive/2008/10/06/63300.html</guid><wfw:comment>http://www.cppblog.com/daiybh/comments/63300.html</wfw:comment><comments>http://www.cppblog.com/daiybh/archive/2008/10/06/63300.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/daiybh/comments/commentRss/63300.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/daiybh/services/trackbacks/63300.html</trackback:ping><description><![CDATA[<span  style="color: rgb(51, 51, 51); font-family: Arial; font-size: 14px; line-height: 20px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><p style="line-height: normal; ">转自：<span  style="line-height: 20px; "><a href="http://hi.baidu.com/sophiaandphilem/blog/item/b63912dff2f17e1263279851.html">http://hi.baidu.com/sophiaandphilem/blog/item/b63912dff2f17e1263279851.html</a></span></p><p style="line-height: normal; ">Note:&#160;<a href="http://book.csdn.net/bookfiles/220/10022010453.shtml" style="line-height: normal; ">http://book.csdn.net/bookfiles/220/10022010453.shtml</a>有非常好的使用介绍，详细全面。</p><p style="line-height: normal; ">安装好CVSNT后，需要用命令行设置用户，密码，否则会出现类似I/O错误的问题：<br style="line-height: normal; ">假设装在了 : C:/Program Files/CVS 中,在命令行中[cmd]中，进入这个文件夹，运行命令：<br style="line-height: normal; "><strong style="line-height: normal; "><font color="#ff0000" style="line-height: normal; ">cvs -d C:\cvsfile passwd -a giles ,</font></strong><br style="line-height: normal; ">next step ,input the password for user-giles ,restart the cvs serve ,you can use it now ...<br style="line-height: normal; ">Generally , you need to make user write the repository , so open the control panel---->Advanced -> unselect the<strong style="line-height: normal; "><font color="#ff0000" style="line-height: normal; ">&#160;All users are read&#160;<font color="#000000" style="line-height: normal; ">item ...<br style="line-height: normal; "></font></font></strong><font color="#ff0000" style="line-height: normal; "><font color="#000000" style="line-height: normal; ">Then , It is ok for you to enjoy it ..&#160;</font></font><strong style="line-height: normal; "><font color="#ff0000" style="line-height: normal; "><font color="#000000" style="line-height: normal; ">-----------------<br style="line-height: normal; ">---------------<br style="line-height: normal; ">compatibility options&#160;<br style="line-height: normal; "></font></font></strong><font color="#ff0000" style="line-height: normal; "><font color="#000000" style="line-height: normal; ">CvsNT clients 选中前三项就好，不选的话，兼容性差点，当然不会影响自己使用。</font></font></p><p style="line-height: normal; "><strong style="line-height: normal; "><font color="#ff0000" style="line-height: normal; ">cvs -d C:\cvsfile passwd -r administrator -a giles ,&#160;&#160; 这样giles用户有了管理员权限。。</font></strong></p><p style="line-height: normal; "><strong style="line-height: normal; "><font color="#ff0000" style="line-height: normal; ">最好把cvs的储存库放在C盘，不然会发生各样的诡异错误。</font></strong></p><p style="line-height: normal; "><strong style="line-height: normal; "><font color="#ff0000" style="line-height: normal; ">2. CVS Control Panel 里的 Server Settings 也需要设置， 不然有可能出现 no such domain的提示。</font></strong></p><p style="line-height: normal; ">3. 支持字符集的问题： 在建好服务器后，右键点击，在属性里面可以修改字符集。</p><p style="line-height: normal; ">4. 如果本地能连上CVS，但是局域网内另外的用户连接不上，那很可能是windows 防火墙的问题 。</p><p style="line-height: normal; ">&#160;&#160;&#160;&#160;&#160; 我们需要在防火墙的例外里面添加 CVs.exe 和 默认的 2401端口 。。</p><p style="line-height: normal; "><strong style="line-height: normal; "><font color="#0000ff" style="line-height: normal; ">好的使用习惯：</font></strong></p><p style="line-height: normal; ">1. One day ,One Commit&#160;&#160; .</p><p style="line-height: normal; ">2. Update before modifying the code.</p><p style="line-height: normal; ">3. Update before committing the code, or else you may encounter some conflicts.</p><p style="line-height: normal; ">Update 的时候，会把server中的代码和本地的代码进行merge ，而不是简单的覆盖本地代码。</p><p style="line-height: normal; ">如果commit之前不进行update，则由于CVS不允许在commit的时候自动进行merge，极有可能产生冲突。</p><p style="line-height: normal; ">一般使用update和commit就可以了。</p></span>
<img src ="http://www.cppblog.com/daiybh/aggbug/63300.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/daiybh/" target="_blank">代李</a> 2008-10-06 11:17 <a href="http://www.cppblog.com/daiybh/archive/2008/10/06/63300.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>apache2.2 + php5.2.5 启动失败</title><link>http://www.cppblog.com/daiybh/archive/2008/08/09/58370.html</link><dc:creator>代李</dc:creator><author>代李</author><pubDate>Sat, 09 Aug 2008 03:41:00 GMT</pubDate><guid>http://www.cppblog.com/daiybh/archive/2008/08/09/58370.html</guid><wfw:comment>http://www.cppblog.com/daiybh/comments/58370.html</wfw:comment><comments>http://www.cppblog.com/daiybh/archive/2008/08/09/58370.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/daiybh/comments/commentRss/58370.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/daiybh/services/trackbacks/58370.html</trackback:ping><description><![CDATA[<p>apache2.2&nbsp; + php5.2.5&nbsp; <br>启动apache 时失败 报错误：<br>
<hr>
---------------------------<br>httpd.exe - 应用程序错误<br>---------------------------<br>"0x01171a76" 指令引用的 "0x020c0161" 内存。该内存不能为 "read"。
<p>&nbsp;</p>
<p><br>要终止程序，请单击&#8220;确定&#8221;。<br>要调试程序，请单击&#8220;取消&#8221;。<br>---------------------------<br>确定&nbsp;&nbsp; 取消&nbsp;&nbsp; <br>---------------------------<br>
<hr>
<br>失败原因：<br>1 php extension中使用了 php_exif.dll这个扩展（屏蔽之 可以正常启动）<br>2 细查原因 php_exif.dll依赖php_mbstring.dll 即若没使用php_mbstring.dll这个扩展也会报错。<br>3 如果扩展中有php_mbstring.dll 也会报错？？？ 不得哦，那不是真的。<br>4 在3 中的那个假设 是存在的。是因为php_exif.dll 在php_mbstring.dll之前初始化 当然会错拉。。。<br>5 所以需要让php_mbstring.dll先初始化。。改php.ini(php的配置文件) 如下<br>[PHP_MBSTRING]<br>extension=php_mbstring.dll<br>[PHP_EXIF]<br>extension=php_exif.dll<br>把php_mbstring.dll项放到php_exif.dll之前。。<br>&nbsp;-----------------------------------------------------------<br>over。<br><br><br>
<p>&nbsp;</p>
<img src ="http://www.cppblog.com/daiybh/aggbug/58370.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/daiybh/" target="_blank">代李</a> 2008-08-09 11:41 <a href="http://www.cppblog.com/daiybh/archive/2008/08/09/58370.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>