人的头脑太复杂,时间过得久,有时候连自己也被自己骗了,记下来才是最真实的..
2006年10月25日 20:51
Tags: ,
对于Windows下ping命令相信大家已经再熟悉不过了,但是能把ping的功能发挥到最大的人却并不是很多,当然我也并不是说我可以让ping发挥最大的功能,我也只不过经常用ping这个工具,也总结了一些小经验,现在和大家分享一下。
现在我就参照ping命令的帮助说明来给大家说说我使用ping时会用到的技巧,ping只有在安装了TCP/IP协议以后才可以使用:
ping [-t] [-a] [-n count] [-l length] [-f] [-i ttl] [-v tos] [-r count] [-s count] [[-j computer-list] | [-k computer-list]] [-wz timeout] destination-list
Options:
-t Ping the specified host until stopped.To see statistics and continue - type Control-Break;To stop - type Control-C.
不停的ping地方主机,直到你按下Control-C。
此功能没有什么特别的技巧,不过可以配合其他参数使用,将在下面提到。
2006年10月23日 22:44
Tags: ,
#1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client

MySQL 4.1 and up uses an authentication protocol based on a password hashing algorithm that is incompatible with that used by older clients. If you upgrade the server to 4.1, attempts to connect to it with an older client may fail with the following message:

shell> mysql
Client does not support authentication protocol requested
by server; consider upgrading MySQL client


To solve this problem, you should use one of the following approaches:

Upgrade all client programs to use a 4.1.1 or newer client library.

When connecting to the server with a pre-4.1 client program, use an account that still has a pre-4.1-style password.

Reset the password to pre-4.1 style for each user that needs to use a pre-4.1 client program. This can be done using the SET PASSWORD statement and the OLD_PASSWORD() function:

mysql> SET PASSWORD FOR
-> 'some_user'@'some_host' = OLD_PASSWORD('newpwd');


alternatively, use update and FLUSH PRIVILEGES:

mysql> update mysql.user SET Password = OLD_PASSWORD('newpwd')
-> where Host = 'some_host' AND User = 'some_user';
mysql> FLUSH PRIVILEGES;


Substitute the password you want to use for ``newpwd'' in the preceding examples. MySQL cannot tell you what the original password was, so you'll need to pick a new one.

Tell the server to use the older password hashing algorithm:

Start mysqld with the --old-passwords option.

Assign an old-format password to each account that has had its password updated to the longer 4.1 format. You can identify these accounts with the following query:

mysql> select Host, User, Password FROM mysql.user
-> where LENGTH(Password) > 16;


For each account record displayed by the query, use the Host and User values and assign a password using the OLD_PASSWORD() function and either SET PASSWORD or update, as described earlier.

For additional background on password hashing and authentication, see Section 5.5.9, "Password Hashing in MySQL 4.1".

Previous / Next / Up / Table of Contents

2006年10月21日 20:24
Tags: ,
Windows 会将我们访问过的 DNS 条目缓存下来供下次解析该域名时使用, 我们可以通过在注册表添加一下项目老控制 Cache 的有效期 HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings Value Name: DnsCacheTimeout Data Type: REG_DWORD Radix: Decimal Value: (time in seconds)   Value Name: ServerInfoTimeOut Data Type: REG_DWORD Radix: Decimal Value: (time in seconds) 但是有时候我们不能随意改变用户机器中的相关设定,而且我们也只是需要在特定情况下立即刷新本地 DNS 缓存,查阅 MSDN 后没有找到相关方法。Windows 的组件 ipconfig.exe 提供了一个刷新 DNS 的命令行参数,"ipconfig /flushdns".
2006年10月20日 20:20
Tags: ,
1、平结

平结为最多男士选用的领结打法之一,几乎适用于各种材质的领带。要诀:领结下方所形成的凹洞需让两边均匀且对称。

点击在新窗口中浏览此图片
2006年10月18日 20:28
域名过期后第一阶段
域名过期后1~45天内
将处于注册商保留状态
whois英文状态:REGISTRAR-HOLD

域名过期后第二阶段
注册商保留期结束之后
域名将进入30天赎回期
whois英文状态:REDEMPTION-PERIOD

域名过期后第三阶段
赎回期结束之后域名将
进入6天的删除未决期
6天期满后域名删除
whois英文状态:PENDING-DELETE

whois英文状态:REGISTRAR-LOCK是域名锁定状态,过期后防止被转移注册商。
1:比如域名aaa.com到期时间为2003年03月01日;
2:从2003年03月02日开始,域名的ns将会被系统自动删除,域名无法解析,但我公司会继续保留该域名30天,用户可以在这30天的期限内续费;
3:如果在2所述的30天期限内没有续费,即从2003年03月31日开始,域名将变成RedemptionPeriod状态,该状态将会保持30天,在此期间该域名不会掉下来,但是除了restore命令以外的所有命令对此域名无效;
4:域名在RedemptionPeriod状态下可以restore回来,但每restore一次需要支付费用;
5:如果域名在RedemptionPeriod状态下的30天没有restore,从2003.04.29开始域名变成PendingDelete状态(5天),2003年05月04日该域名将会删除。
分页: 32/34 第一页 上页 27 28 29 30 31 32 33 34 下页 最后页 [ 显示模式: 摘要 | 列表 ]