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

Linux»·¾³ÏÂMySQLµÄ°²×°

1¡¢ÏÂÔØMySQLÃâ°²×°°æ/¶þ½øÖÆ°æÈí¼þ£¨²»ÓñàÒ룩
Îļþ¸ñʽ£ºMYSQL-VERSION-OS.tar.gz
 
2¡¢´´½¨MySQL×飬½¨Á¢MySQLÓû§²¢¼ÓÈëµ½mysql×éÖÐ
£¨²»Í¬°æ±¾µÄUnixÖУ¬groupaddºÍuseraddµÄÓï·¨¿ÉÄÜ»áÉÔÓв»Í¬¡££©
#groupadd mysql
#useradd -g mysql mysql
 
3¡¢½øÈëĿ¼/usr/local£¬½âѹËõÃâ°²×°°æ£¬²¢ÔÚ´ËĿ¼Öн¨Á¢ÃûΪmysqlµÄÈíÁ´½Ó
#cd /usr/local
#gunzip < /path/to/MYSQL-VERSION-OS.tar.gz | tar xvf -
(¸ÃÃüÁî»áÔÚ±¾Ä¿Â¼Ï´´½¨Ò»¸öÃûΪMYSQL-VERSION-OSµÄÐÂĿ¼¡£)
(ʹÓÃGNU tar£¬Ôò²»ÔÙÐèÒªgunzip¡£Äã¿ÉÒÔÖ±½ÓÓÃÏÂÃæµÄÃüÁîÀ´½â°üºÍÌáÈ¡·Ö·¢£º
#> tar zxvf /path/to/mysql-VERSION-OS.tar.gz)
#ln -s MYSQL-VERSION-OS mysql
4¡¢Ìí¼ÓMySQLÅäÖÃÎļþ
Èç¹ûÄãÏëÒªÉèÖÃÒ»¸öÑ¡ÏîÎļþ£¬Ê¹ÓÃsupport-filesĿ¼ÖеÄÒ»¸ö×÷Ϊģ°å¡£ÔÚÕâ¸öĿ¼ÖÐÓÐ4¸öÄ£°åÎļþ£¬ÊǸù¾Ý²»Í¬»úÆ÷µÄÄڴ涨ÖƵġ£
#cp support-files/my-medium.cnf /etc/my.cnf
(¿ÉÄÜÄãÐèÒªÓÃrootÓû§ÔËÐÐÕâЩÃüÁî¡£)
5¡¢É趨Ŀ¼·ÃÎÊȨÏÞ£¬ÓÃmysql_install_db´´½¨MySQLÊÚȨ±í³õʼ»¯£¬²¢ÉèÖÃmysql,rootÕʺŷÃÎÊȨÏÞ
#cd mysql
#chown -R mysql .
#chgrp -R mysql .
#scripts/mysql_install_db –user=mysql
#chown -R root .
#chown -R mysql data
(×¢ÒâÒÔÉÏÃüÁîÖеÄ" . "·ûºÅ²»ÄÜÉÙ¡£)
 
6¡¢ÔËÐÐMySQL
#bin/mysqld_safe –user=mysql &
(Èç¹ûûÓÐÎÊÌâµÄ»°,Ó¦¸Ã»á³öÏÖÀàËÆÕâÑùµÄÌáʾ:
[1] 42264
# Starting mysqld daemon with databases from /usr/local/mysql/var
Èç¹û³öÏÖ mysql endedÕâÑùµÄÓï¾ä£¬±íʾMysqlûÓÐÕý³£Æô¶¯£¬Äã¿ÉÒÔµ½logÖвéÕÒÎÊÌ⣬LogÎļþµÄͨ³£ÔÚ/etc/my.cnfÖÐÅäÖá£
´ó¶àÊýÎÊÌâÊÇȨÏÞÉèÖò»ÕýÈ·ÒýÆðµÄ¡£ )
 
7¡¢ÉèÖÃrootÃÜÂ롣ĬÈÏ°²×°ÃÜÂëΪ¿Õ£¬ÎªÁË°²È«ÄãÐèÒªÐÞ¸ÄÃÜÂë
#/usr/local/mysql/bin/mysqladmin -uroot password yourpassword
 
8¡¢¿½±´±àÒëĿ¼µÄÒ»¸ö½Å±¾£¬ÉèÖÿª»ú×Ô¶¯Æô¶¯
#cp support-files/mysql.server /etc/rc.d/init.d/mysqld
#chmod 700 /etc/init.d/mysqld
#chkconfig –add mysqld
#chkconfig –level 345 mysqld on
 
9¡¢Æô¶¯mysqld·þÎñ
#service mysqld start
 
10¡¢²é¿´3306¶Ë¿ÚÊÇ·ñ´ò¿ª¡£Òª×¢ÒâÔÚ·À»ðǽÖпª·Å¸Ã¶Ë¿Ú
#netstat -atln
 
Ãâ°²×°°æ/¶þ½øÖÆ°æ°²×°»ù±¾ÃüÁî¸ÅÊö£º


Ïà¹ØÎĵµ£º

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

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

LinuxÏÂÊØ»¤½ø³ÌµÄ´´½¨Àý×Ó

#include <stdio.h>
#include <signal.h>
#include <ctype.h>
#include <fcntl.h>
int g_count;
void Exit()
{
printf("I will exit, press any key to continue...(g_count = %d)\n", g_count);
exit(0);
}
int main(int argc, char* argv[])
{
struct sigaction almact;
pid_t ......

linux½»²æ±àÒë

ELDK;Ö§³ÖGDBµÄBDIGDB Firmware FOR Linux£»»ùÓÚwindowsµÄǶÈëʽLinux½»²æ¿ª·¢¹¤¾ßÈí¼þINSIGHT GNUPROXTOOLS ;Ö§³ÖGDBµÄBDIGDB  FIRMWARE FOR WINDOWS
bootloader
German DENK U-boot GNU
fuction:
 
       network support;(tftp\Bootp);;;FlashRAM ;´®¿Údeng¶àÖÖ·½Ê½ÏÂÔØ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ