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
Ïà¹ØÎĵµ£º
Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖÐÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀÐÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâÆª·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´Ë×ªÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨ÕâÆª²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
±¾À´Ïë×°aideµÄ£¬·¢ÏÖÔÚconfigureµÄʱºò¿¨×¡ÁË¡£×Ðϸһ¿´
checking for gcc......no
ÔÀ´Õâ¸ölinuxûÓÐ×°gcc¡£Ë½ÐÎÒÀÁ£¬Ö±½Ó°Ñlinux¿½¹ýÀ´Óá£ÕÒÁ˰ëÌì°²×°¾µÏñÎļþ£¬ÕÒµ½gcc-3.22-5.i386.rpm
¡£ÄǾͿªÊ¼×°°É~
1¡¢¼ì²éÎļþ¹ØÁª
rpm -ivh *.rpmºó£¬Ò»¶Ñ¹ØÁª³öÀ´ÁË
¹Ô¹Ô£¬Ò»¿´£¬Îå¸ö°üÄØ~
......
LinuxµÄÍøÂçÅäÖÃ
Redhat LinuxµÄÍøÂçÅäÖ㬻ù±¾ÉÏÊÇͨ¹ýÐ޸öÅäÖÃÎļþÀ´ÊµÏֵģ¬ËäȻҲ¿ÉÒÔÓÃifconfigÀ´ÉèÖÃIP£¬ÓÃrouteÀ´ÅäÖÃĬÈÏÍø¹Ø£¬ÓÃhostnameÀ´ÅäÖÃÖ÷»úÃû£¬µ«ÊÇÖØÆôºó»á¶ªÊ§¡£
Ïà¹ØµÄÅäÖÃÎļþ
/ect/hosts ÅäÖÃÖ÷»úÃûºÍIPµØÖ·µÄ¶ÔÓ¦
/etc/sysconfig/network ÅäÖÃÖ ......
linuxĿ¼¼Ü¹¹
/ ¸ùĿ¼
/bin ³£ÓõÄÃüÁî binary file µÄÄ¿錄
/boot ´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ (kernel) ÔÚÄÚ
/boot/grub/menu.lst &n ......