xml version="1.0" encoding="utf-8" standalone="yes"12bet++博客-ljfpuddinghttp://www.fometaux.com/ljfpudding/zh-cnSat, 23 Mar 2019 17:55:32 GMTSat, 23 Mar 2019 17:55:32 GMT6012bet++博客-ljfpuddinghttp://www.fometaux.com/ljfpudding/archive/2014/05/04/206813.htmlJackLiJackLiSun, 04 May 2014 07:50:00 GMThttp://www.fometaux.com/ljfpudding/archive/2014/05/04/206813.htmlhttp://www.fometaux.com/ljfpudding/comments/206813.htmlhttp://www.fometaux.com/ljfpudding/archive/2014/05/04/206813.html#Feedback0http://www.fometaux.com/ljfpudding/comments/commentRss/206813.htmlhttp://www.fometaux.com/ljfpudding/services/trackbacks/206813.html1 Mysql server为免安装版本的mysql 5.6.11,  在某个文件夹下展开后,缺少了my.ini文件,

需要自己重新创建一个, 否则也没有办法mysql query链接显示;

2 查询分析 \data 目录中的  err错误文件, 发现实际上没有办法链接的原因是 mysql server只接受 ipv6的链接,  我在主机上安装了IPv4+IPv6两个协议栈。  这个也是有名的mysql 67119号bug。  在ini文件中加入 bind_address = 0.0.0.0 解决.

可能之前解决过该问题,后来忘记了具体过程。

12bet网址 2014-05-04 15:50 发表评论
]]>
12bet++博客-ljfpuddinghttp://www.fometaux.com/ljfpudding/archive/2013/12/25/205008.htmlJackLiJackLiWed, 25 Dec 2013 08:56:00 GMThttp://www.fometaux.com/ljfpudding/archive/2013/12/25/205008.htmlhttp://www.fometaux.com/ljfpudding/comments/205008.htmlhttp://www.fometaux.com/ljfpudding/archive/2013/12/25/205008.html#Feedback10http://www.fometaux.com/ljfpudding/comments/commentRss/205008.htmlhttp://www.fometaux.com/ljfpudding/services/trackbacks/205008.html阅读全文

12bet网址 2013-12-25 16:56 发表评论
]]>
12bet++博客-ljfpuddinghttp://www.fometaux.com/ljfpudding/archive/2013/11/18/204314.htmlJackLiJackLiMon, 18 Nov 2013 09:15:00 GMThttp://www.fometaux.com/ljfpudding/archive/2013/11/18/204314.htmlhttp://www.fometaux.com/ljfpudding/comments/204314.htmlhttp://www.fometaux.com/ljfpudding/archive/2013/11/18/204314.html#Feedback4http://www.fometaux.com/ljfpudding/comments/commentRss/204314.htmlhttp://www.fometaux.com/ljfpudding/services/trackbacks/204314.html阅读全文

12bet网址 2013-11-18 17:15 发表评论
]]>
12bet++博客-ljfpuddinghttp://www.fometaux.com/ljfpudding/archive/2013/11/18/204313.htmlJackLiJackLiMon, 18 Nov 2013 08:55:00 GMThttp://www.fometaux.com/ljfpudding/archive/2013/11/18/204313.htmlhttp://www.fometaux.com/ljfpudding/comments/204313.htmlhttp://www.fometaux.com/ljfpudding/archive/2013/11/18/204313.html#Feedback2http://www.fometaux.com/ljfpudding/comments/commentRss/204313.htmlhttp://www.fometaux.com/ljfpudding/services/trackbacks/204313.html阅读全文

12bet网址 2013-11-18 16:55 发表评论
]]>
12bet++博客-ljfpuddinghttp://www.fometaux.com/ljfpudding/archive/2013/11/18/204309.htmlJackLiJackLiMon, 18 Nov 2013 06:42:00 GMThttp://www.fometaux.com/ljfpudding/archive/2013/11/18/204309.htmlhttp://www.fometaux.com/ljfpudding/comments/204309.htmlhttp://www.fometaux.com/ljfpudding/archive/2013/11/18/204309.html#Feedback1http://www.fometaux.com/ljfpudding/comments/commentRss/204309.htmlhttp://www.fometaux.com/ljfpudding/services/trackbacks/204309.html
需要注意的一个地方是 在反复安装drupal 有时候会出现数据库安装的问题, 这个时候需要清理浏览器的cache, 这样的话就没有问题了。

12bet网址 2013-11-18 14:42 发表评论
]]>
12bet++博客-ljfpuddinghttp://www.fometaux.com/ljfpudding/archive/2010/03/11/109409.htmlJackLiJackLiThu, 11 Mar 2010 02:33:00 GMThttp://www.fometaux.com/ljfpudding/archive/2010/03/11/109409.htmlhttp://www.fometaux.com/ljfpudding/comments/109409.htmlhttp://www.fometaux.com/ljfpudding/archive/2010/03/11/109409.html#Feedback1http://www.fometaux.com/ljfpudding/comments/commentRss/109409.htmlhttp://www.fometaux.com/ljfpudding/services/trackbacks/109409.html
1) 内存泄漏----new ---delete

2) 线程结束--正常结束也最好CloseHandle()

3) 最好应用API或者Runtime的函数 如 towlower towupper等

4)使用安全函数  strcpy_s  strncpy_s  等



12bet网址 2010-03-11 10:33 发表评论
]]>
12bet++博客-ljfpuddinghttp://www.fometaux.com/ljfpudding/archive/2009/02/03/72918.htmlJackLiJackLiTue, 03 Feb 2009 08:21:00 GMThttp://www.fometaux.com/ljfpudding/archive/2009/02/03/72918.htmlhttp://www.fometaux.com/ljfpudding/comments/72918.htmlhttp://www.fometaux.com/ljfpudding/archive/2009/02/03/72918.html#Feedback0http://www.fometaux.com/ljfpudding/comments/commentRss/72918.htmlhttp://www.fometaux.com/ljfpudding/services/trackbacks/72918.html
The basic usage of create a service on windows system.:
c:\> sc create MYSERVICE binpath= "Y:\testservice.exe" type= share start= auto depend= Tcpip

=====================================================================================================================
net use Command reminder
net use \\126.124.12.151\IPC$ "ljflong" /user:Administrator                      
net share
net view \\126.124.12.101

===========================================================================================================================
sometime, we can not access remote machine through net use command, even if we have the previlige of admin. For example, we have administrator's password.
This perhaps because serveral reasons. One is firewall, please close it. And another important reason is user's login manner, and target machine's setting
about network access, local account share and safe manner.

remember change only guest manner to use self authuentation manner.   in SECPOL.MSC--->LOCAL POLICY-->SECURITY OPTIONS-->NETWORK ACCESS: local account share and
safe manner.

So that, now can access remote machine.

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



12bet网址 2009-02-03 16:21 发表评论
]]>
12bet++博客-ljfpuddinghttp://www.fometaux.com/ljfpudding/archive/2008/11/06/66179.htmlJackLiJackLiThu, 06 Nov 2008 15:25:00 GMThttp://www.fometaux.com/ljfpudding/archive/2008/11/06/66179.htmlhttp://www.fometaux.com/ljfpudding/comments/66179.htmlhttp://www.fometaux.com/ljfpudding/archive/2008/11/06/66179.html#Feedback0http://www.fometaux.com/ljfpudding/comments/commentRss/66179.htmlhttp://www.fometaux.com/ljfpudding/services/trackbacks/66179.html今天在 Unix Box 更改Soft Link  好久没用ln 都忘记了

命令是   ln -sf  /export/home2/gchen/jili_view_update_component/clem/clemserv.tar.z   package.tar.Z

ls -l

package.tar.Z --> /export/home2/gchen/jili_view_update_component/clem/clemserv.tar.z



关于find的命令

find . -name "*"  -newer fileA    找出比fileA更新的文件


12bet网址 2008-11-06 23:25 发表评论
]]>
12bet++博客-ljfpuddinghttp://www.fometaux.com/ljfpudding/archive/2007/08/07/29509.htmlJackLiJackLiTue, 07 Aug 2007 12:58:00 GMThttp://www.fometaux.com/ljfpudding/archive/2007/08/07/29509.htmlhttp://www.fometaux.com/ljfpudding/comments/29509.htmlhttp://www.fometaux.com/ljfpudding/archive/2007/08/07/29509.html#Feedback0http://www.fometaux.com/ljfpudding/comments/commentRss/29509.htmlhttp://www.fometaux.com/ljfpudding/services/trackbacks/29509.html 也许很多人早就知道了,
 首先,最好先下载

 http://msdl.microsoft.com/downlo ... SP2-slp-Symbols.exe

符号表,然后安装到真实系统中。再下载

 http://msdl.microsoft.com/downlo ... dbg_x86_6.5.3.8.exe WinDbg

程序的最新版本,同样也安装到真实系统中。

 接下来我们要在虚拟机中装系统了,我用的是WinXP SP2。安装完成后修改boot.ini文件。
在里面 [operating systems] 节中加入一行,

QUOTE:
" multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional -debug" /fastdetect /debug /debugport=com1 /baudrate=115200 "

 随后关闭系统。配制虚拟机的硬件,点击 "Edit virtual machine settings",添加一个 Serial Port,
选择"Output to named pipe",然后下一步,

第一框里保持默认的 "\\.\pipe\com_1" 
第二框里选"This end is the server."
第三框里选"The other end is an application." 选中 "Connect at power on"

然后点击 "Advanced>>" 然后在新窗口中选中 "Yield CPU on poll"。保存退出。

好了,以上就是虚拟机系统要做的全部事情。

在真实系统中,我们要在设备管理器中。找到Com1口,然后再属性页中修改他的速率为 115200。

然后为使用方便,创建一个WinDbg的快捷方式。快捷方式的命令行为

[quote]
"C:\Program Files\Debugging Tools for Windows\windbg.exe" -y C:\Windows\Symbols\ -b -k com:port=\\.\pipe\com_1,baud=115200,pipe
[quote]

这里面 -y 后面的路径就是我们前面安装符号表的路径。
使用时,首先运行虚拟机系统,到 bootloader 选择进入哪个系统的时候,我们先按一下上下,
将倒计时停止。然后再到真实系统中运行刚才我们创建的 WinDbg 快捷方式。运行完成后再
在虚拟系统中选择带有调试标志的系统即可。此时回到真实系统,稍等一会就可以看到
WinDbg 输出信息告诉我们两个系统已经连接上了。


12bet网址 2007-08-07 20:58 发表评论
]]>
12bet++博客-ljfpuddinghttp://www.fometaux.com/ljfpudding/archive/2007/07/01/25849.htmlJackLiJackLiSun, 01 Jul 2007 02:50:00 GMThttp://www.fometaux.com/ljfpudding/archive/2007/07/01/25849.htmlhttp://www.fometaux.com/ljfpudding/comments/25849.htmlhttp://www.fometaux.com/ljfpudding/archive/2007/07/01/25849.html#Feedback0http://www.fometaux.com/ljfpudding/comments/commentRss/25849.htmlhttp://www.fometaux.com/ljfpudding/services/trackbacks/25849.html接下来我们创建 Team



一路next下去.






从已经Clone好的文件夹Clone-Linux-A, Clone-Linux-B中选择虚拟机,  加入Team





加入了一个 LAN1 后


可以看到对每个虚拟机有四种连接方式 LAN1, Bridged, NAT, Host only, Custom
初始的时候, 我们设置Original Linux时,是采用的Custom的方式, 现在初始的连接也是选在了Custom方式上. 我们需要将它们
改变到LAN 1 上




12bet网址 2007-07-01 10:50 发表评论
]]>