Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

LinuxÖÐʱ¼ä´Áת»»ÃüÁî

Ô­ÎĵØÖ·£ºhttp://wanping.blogbus.com/logs/28663569.html
1¡¢Ê±¼ä´Áת»»ÎªÕý³£ÏÔʾµÄʱ¼ä¸ñʽ
Freebsd
ϵͳÏ£º
ת»»ÃüÁîΪ£º
date -r 1112173761     »òÕߣºdate -r 1112173761 +"%Y-%m-%d %T %z"£¨ÄêÔÂÈյĸñʽ²»Ò»Ñù£©
Linux
ϵͳÏ£º
ת»»ÃüÁdate -d '1970-01-01 UTC 1112173761 seconds'"  »òÕß date -d '1970-01-01 UTC 1112173761 seconds' +"%Y-%m-%d %T %z" £¨ÄêÔÂÈÕ¸ñʽ²»Ò»Ñù£©
ʱ¼ä´Áת»»ÎªÕý³£ÏÔʾµÄʱ¼ä¸ñʽ£¬ÎÊÌâ½â¾öÁË£¬ÄÇôÈçºÎ°ÑÎÒÃÇÕý³£µÄʱ¼ä¸ñʽתΪʱ¼ä´ÁÄØ
2¡¢Õý³£ÏÔʾµÄʱ¼ä¸ñʽת»»ÎªÊ±¼ä´Á
php°Ñµ±Ç°Ê±¼äת»»ÎªÊ±¼ä´Á
 
php -r "echo(mktime());"
ÕâÀïÐèҪ˵Ï£¬Ê¹ÓÃ
php
µÄʱºò£¬Èç¹û²»Ïëÿ´Î¶¼ÔÚÎļþÖбàдִÐУ¬¾ÍÊÇÓÃ
php -r
ÃüÁ¾Í°ÑºóÃæµÄ½Å±¾Ö´ÐÐÁË¡£
php°ÑδÀ´Ä³ÌìµÄʱ¼äתΪʱ¼ä´Á
php -r "echo(strtotime('+2 days'));"    
//
°ÑºóÌìµÄʱ¼äתΪʱ¼ä´Á
ÎÒ²âÊÔµÄϵͳÐèÒª°Ñ¹ýÆÚʱ¼ä±È½Ï¾Ã£¬ÄÇôÖÁÉÙÒªÔÚÎÒ²âÊÔÍêϵͳ²ÅÒªËû¹ýÆÚ£¬²»ÐèҪÿ´Îʱ¼äµ½ÁËÓÖÒª¸ü»»¹ýÆÚʱ¼ä£¬ÎҾͰѹýÆÚʱ¼äÉèΪ
100
Ì죬ִÐÐÃüÁîÈçÏ£º
php -r "echo(strtotime('+100 days'));"
Linux¡¢FreeBsdϵͳµ±Ç°Ê±¼äת»»ÎªÊ±¼ä´Á£º
date +%s


Ïà¹ØÎĵµ£º

ÓÃLinuxÏÂPerl½Å±¾Á¬½ÓSQLServer

×¼±¸¹¤×÷:
¡¡¡¡Óõ½µÄperl À©Õ¹×é¼þ(modules)ÔÚÉÏƪÌù³ö.( win32::odbc Ä£¿é
)ÏÂÔØ×é¼þºó°´ÕÕReadmeÎļþ°²×°µ¹ÏìӦĿ¼.ÅäÖúÃÏàÓ¦µÄodbcÊý¾ÝÔ´.
¡¡¡¡
¡¡¡¡³ÌÐòʵÏÖ:
¡¡¡¡Ê¹ÓÃ
¡¡¡¡use
Win32::ODBC;
¡¡¡¡
¡¡¡¡Óï¾ä°üº¬Ó¦Ê¹ÓõÄÄ£¿éÊÇwin32::odbc,д³öÊý¾Ý¿â
Á¬½Ó×Ö·û´®
¡¡¡¡
¡¡¡¡$DSN = "DSN =
My DSN ......

linuxÏÂdnw(6410)

ÍøÉÏÓÐƪÌû×Ó°üº¬ÀïlinuxϵÄdnw£¬ÎÒÔÚÓÃidea6410£¬±àÒëdnwºÍsecbulkºó²¢²»ÄÜÕý³£Ê¹ÓÃ
LINUXϵÄDNW³ÌÐòÏÂÔØ
http://linux.chinaunix.net/bbs/viewthread.php?tid=1055992
secbulkÉ豸佨Á¢£¬ÊÖ¶¯½¨Á¢/dev/secbulk0²¢²»Æð×÷Óã¬Ô­ÒòÊÇsecbulk probe»áÆ¥Åäid_table£¬Õâ¸öÊÇΪQQ2440×¼±¸µÄ£¬ËùÒÔÐèÒª¸Äid_table
static s ......

LinuxµÄoopsÄں˵÷ÊÔÐÅÏ¢

      Oops¿ÉÒÔ¿´³ÉÊÇÄں˼¶µÄSegmentation Fault¡£Ó¦ÓóÌÐòÈç¹û½øÐÐÁË·Ç·¨ÄÚ´æ·ÃÎÊ»òÖ´ÐÐÁË·Ç·¨Ö¸Á»áµÃµ½SegfaultÐźţ¬Ò»°ãµÄÐÐΪÊÇcoredump£¬Ó¦ÓóÌÐòÒ²¿ÉÒÔ×Ô¼º½Ø»ñSegfaultÐźţ¬×ÔÐд¦Àí¡£Èç¹ûÄÚºË×Ô¼º·¸ÁËÕâÑùµÄ´íÎó£¬Ôò»á´ò³öOopsÐÅÏ¢¡£´¦ÀíÆ÷ʹÓõÄËùÓеØÖ·¼¸ºõ¶¼ÊÇͨ¹ýÒ»¸ö¸´ÔÓµÄÒ³± ......

linux ʶ±ð ntfs Îļþ¸ñʽ

±¾À´ÏëÓàkernel-module-ntfs-2.6.18-53.el5-2.1.27-0.rr.10.11.i686ÕâÖÖ¸ñʽµÄ°ü£¬µ«·¢ÏÖϵͳÄںˠ2.6.18-164.2.1.el5.plus
¸ù±¾ÕÒ²»µ½¶ÔÓ¦µÄÎļþ£¬ËùÒÔÖ»ºÃʹÓà ntfs-3g.
°²×°ºÜ¼òµ¥£¬Ö±½Ó´Óhttp://www.ntfs-3g.org/index.html ÏÂÔØ×îеÄÎļþ£¬
#wget http://www.ntfs-3g.org/ntfs-3g-2009.4.4.tgz
# ......

linux¿Í»§¶ËÁ¬½ÓºóÖÐÎÄÂÒÂë½â¾ö


ÓÃSSHµÇ½Զ³ÌµÄlinux·þÎñÆ÷»òÓÃwinä¯ÀÀÔËÐÐsambaµÄlinux·þÎñÆ÷ÖÐÓÐÖÐÎÄÃûµÄÎļþ¼ÐµÄʱºò£¬¿´µ½ÀïÃæµÄÖÐÎÄÎļþÃû¶¼ÊÇÂÒÂ룬±à¼­ÎĵµµÄʱºò¶¼ÊÇ´®Ðеģ¬Ã¿´ÎÒªexport LANG=enÂé·³ËÀÁË¡£
ÉÏÍøËÄ´¦ËÑË÷£¬Çó½Ì¸ßÈË£¬µÃ´Ë°ì·¨¡£
(1) ´ò¿ª/etc/sysconfig/i18n
ÉèÖÃΪ£º
LANG="zh_CN.GB2312"
LANGUAGE="zh_CN.GB18030:zh_CN ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ