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

linuxÏ mysql Íü¼ÇrootÓû§ÃÜÂë½â¾ö°ì·¨

linuxÏÂÍü¼ÇÁËmysqlµÄrootÓû§ÃÜÂë½â¾ö°ì·¨£º
¡¡¡¡Ò»¡¢ÒÔϵͳµÄrootÓû§£¨Ê²Ã´£¬ÄãµÄϵͳµÄrootÓû§ÃÜÂëÒ²ÍüÁË¡£ÄÇÖ»ºÃ¿´ÎÒÁíÍâһƪlinuxÏÂÍü¼ÇrootÓû§µÄ½â¾ö°ì·¨ÁËÏȽâ¾öÕâ¸öÎÊÌ⣩µÇ½ϵͳ£¬½øÈëÖÕ¶Ë
¡¡¡¡[root@localhost /]#
¡¡¡¡¶þ¡¢É±µômysql½ø³Ì
¡¡¡¡·½·¨1¡¢[root@localhost /]#killall mysqld
¡¡¡¡·½·¨2¡¢[root@localhost /]#ps -aux  //²é¿´ËùÓнø³Ì£¬ÕÒµ½mysql½ø³ÌµÄpid
¡¡¡¡È»ºó
¡¡¡¡[root@localhost /]#kill pid   //pidÊÇmysqlµÄ½ø³ÌºÅ
¡¡¡¡Èý¡¢ÓÃ--skip-grant-tables²ÎÊýÆô¶¯mysqld
¡¡¡¡[root@localhost /]#/usr/local/mysql/bin/mysqld_safe --skip-grant-tables& 
¡¡¡¡// ÆäÖÐ/usr..../binÊÇÎÒµÄmysql°²×°Ä¿Â¼
¡¡¡¡[root@localhost /]#/usr/local/mysql/bin/mysql  //½øÈëmysql
¡¡¡¡mysql> use mysql   //Çл»µ½mysql database
¡¡¡¡mysql> UPDATE user SET password=password('123456') WHERE user='root';
¡¡¡¡//½«rootÃÜÂë¸ÃΪ123456ÁË
¡¡¡¡ËÄ¡¢×¢ÒâÊÂÏî
¡¡¡¡The full command to load MySQL like this is:
¡¡¡¡mysqld_safe --skip-grant-tables --autoclose
¡¡¡¡(Editor's Note: Our technical reviewer found that he had to launch the mysqld_safe command
¡¡¡¡without the '--autoclose' flag, otherwise the daemon never started.)
¡¡¡¡ÕâÊǹúÍâÍøÕ¾ËµµÄ£¬ÎÒûÓÃautoclosaÒ²³É¹¦ÁË
¡¡¡¡µ«ÊÇÎÒÔÚÖ´ÐÐ/usr/local/mysql/bin/mysqld_safe --skip-grant-tables&¼´³öÏÖ´íÎóÌáʾ£º
¡¡¡¡./mysqld_safe
¡¡¡¡starting mysqld daemon with databases from /usr/local/var
¡¡¡¡STOPPING server from pid file /usr/local/var/localhost.localdomain.pid
¡¡¡¡mysqld  ended
¡¡¡¡È»ºó½øÈë/usr/local/var/
¡¡¡¡vi ./localhost.localdomain.err ÄÚÈÝÈçÏ£º
¡¡¡¡050410 04:02:59 mysqld started
¡¡¡¡050410 4:03:00 InnoDB:Operating system error number 13 in a file operation.
¡¡¡¡InnoDB:The error means mysqld does not have the access rights to
¡¡¡¡InnoDB:the directory.
¡¡¡¡InnoDB:File name ./ibdata1
¡¡¡¡InnoDB:File operation call:'create'.
¡¡¡¡InnoDB:Cannot continue operation.
¡¡¡¡050410 04:03:00 mysqld ended
¡¡¡¡»³ÒÉÊÇ./varĿ¼µÄ·ÃÎÊȨÏÞ£¬¹ÊÈçϲÙ×÷£º
¡¡¡¡chmod 777 ./var


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌá¹©ÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

Linux Îļþ

1.Inode
inode ÐÅÏ¢»ú¹¹ÓÉÒÔϼ¸¸ö²¿·Ö×é³É
Mode£ºinodeµÄÃèÊöÄÚÈݺÍÓû§·ÃÎÊȨÏÞ
Owner info£ºÎļþ»òĿ¼ËùÓÐÕßµÄÐÅÏ¢£¬°üÀ¨ËùÊô×éÐÅÏ¢
Size£ºÎļþ´óС
Timestamps£ºÊ±¼ä´Á£¬Îļþ´´½¨¼°×îºóÐÞ¸Äʱ¼ä
Ö±½Ó¿éÖ¸Õë:
¼ä½Ó¿éÖ¸Õ룺
Ë«ÖØ¼ä½Ó¿éÖ¸Õ룺
ÈýÖØ¼ä½Ó¿éÖ¸Õ룺 ......

LinuxÐÂÊÖѧϰ½¨Òé

Ëæ×ÅLinuxÓ¦ÓõÄÀ©Õ¹Ðí¶àÅóÓÑ¿ªÊ¼½Ó´¥Linux£¬¸ù¾ÝѧϰWindwosµÄ¾­ÑéÍùÍùÓÐһЩãȻµÄ¸Ð¾õ£º²»Öª´ÓºÎ´¦¿ªÊ¼Ñ§Æð¡£ÕâÀï½éÉÜѧϰLinuxµÄһЩ½¨Òé¡£
Ò»¡¢´Ó»ù´¡¿ªÊ¼£º³£³£ÓÐЩÅóÓÑÔÚLinuxÂÛ̳ÎÊһЩÎÊÌ⣬²»¹ý£¬ÆäÖдó¶àÊýµÄÎÊÌâ¶¼ÊǺܻù´¡µÄ¡£ÀýÈ磺ΪʲôÎÒʹÓÃÒ»¸öÃüÁîµÄʱºò£¬ÏµÍ³¸æËßÎÒÕÒ²»µ½¸ÃĿ¼£¬ÎÒÒªÈçºÎÏÞÖÆÊ¹ÓÃÕß ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ