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

ÔÚLinuxϰ²×°ºÍʹÓÃMySQL

¶þ¡¢°²×°Mysql
¡¡¡¡1¡¢ÏÂÔØMySQLµÄ°²×°Îļþ
¡¡¡¡°²×°MySQLÐèÒªÏÂÃæÁ½¸öÎļþ£º
¡¡¡¡
MySQL-server-4.0.16-0.i386.rpm¡¡¡¡¡¡
¡¡¡¡MySQL-client-4.0.16-0.i386.rpm
¡¡
¡¡ÏÂÔØµØÖ·Îª£ºhttp://www.mysql.com/downloads/mysql-4.0.html£¬ ´ò¿ª´ËÍøÒ³
£¬
ÏÂÀ­ÍøÒ³ÕÒµ½“Linux x86 RPM downloads”ÏÕÒµ½“Server”ºÍ“Client
programs”ÏÏÂÔØÐèÒªµÄÉÏÊöÁ½¸örpmÎļþ¡£
¡¡¡¡2¡¢°²×°MySQL
¡¡¡¡rpmÎļþÊÇRed Hat¹«Ë¾¿ª·¢µÄÈí¼þ
°²×°°ü£¬rpm¿ÉÈÃLinuxÔÚ°²×°Èí¼þ°üʱÃâ³ýÐí¶à¸´ÔÓµÄÊÖÐø¡£¸ÃÃüÁîÔÚ°²×°Ê±³£ÓõIJÎÊýÊÇ –ivh
,ÆäÖÐi±íʾ½«°²×°Ö¸¶¨µÄrmpÈí¼þ°ü£¬V±íʾ°²×°Ê±µÄÏêϸÐÅÏ¢£¬h±íʾÔÚ°²×°ÆÚ¼ä³öÏÖ“#”·ûºÅÀ´ÏÔʾĿǰµÄ°²×°¹ý³Ì¡£Õâ¸ö·ûºÅ½«³ÖÐøµ½°²×°Íê³Éºó²ÅÍ£
Ö¹¡£
¡¡¡¡1£©°²×°·þÎñÆ÷¶Ë
¡¡¡¡ÔÚÓÐÁ½¸örmpÎļþµÄĿ¼ÏÂÔËÐÐÈçÏÂÃüÁ
¡¡¡¡[root@test1 local]# rpm
-ivh MySQL-server-4.0.16-0.i386.rpm
¡¡¡¡ÏÔʾÈçÏÂÐÅÏ¢¡£
¡¡¡¡¡¡ warning:
MySQL-server-4.0.16-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
¡¡
¡¡Preparing...¡¡¡¡¡¡¡¡¡¡¡¡¡¡########################################### [100%]
¡¡
¡¡1:MySQL-server¡¡¡¡¡¡¡¡¡¡########################################### [100%]
¡¡
¡¡¡¡¡£¡£¡£¡£¡£¡££¨Ê¡ÂÔÏÔʾ£©
¡¡¡¡/usr/bin/mysqladmin -u root password 'new-password'
¡¡
¡¡/usr/bin/mysqladmin -u root -h test1 password 'new-password'
¡¡¡¡¡¡
¡£¡£¡£¡£¡£¡££¨Ê¡ÂÔÏÔʾ£©
¡¡¡¡Starting mysqld daemon with databases from
/var/lib/mysql
¡¡¡¡Èç³öÏÖÈçÉÏÐÅÏ¢£¬·þÎñ¶Ë°²×°Íê±Ï¡£²âÊÔÊÇ·ñ³É¹¦¿ÉÔËÐÐnetstat¿´Mysql¶Ë¿ÚÊÇ·ñ´ò¿ª£¬Èç´ò¿ª±íʾ·þÎñ
ÒѾ­Æô¶¯£¬°²×°³É¹¦¡£MysqlĬÈϵĶ˿ÚÊÇ3306¡£
¡¡¡¡[root@test1 local]# netstat -nat
¡¡¡¡
Active Internet connections (servers and established)
¡¡¡¡Proto Recv-Q
Send-Q Local Address¡¡¡¡¡¡¡¡¡¡ Foreign Address¡¡¡¡¡¡¡¡ State¡¡¡¡¡¡
¡¡¡¡tcp¡¡¡¡0¡¡¡¡0
0.0.0.0:3306¡¡¡¡¡¡¡¡ 0.0.0.0:*¡¡¡¡¡¡¡¡¡¡ LISTEN¡¡¡¡¡¡
¡¡¡¡ÉÏÃæÏÔʾ¿ÉÒÔ¿´³öMySQL·þÎñÒѾ­Æô¶¯¡£
¡¡
¡¡2£©°²×°¿Í»§¶Ë
¡¡¡¡ÔËÐÐÈçÏÂÃüÁ
¡¡¡¡[root@test1 local]# rpm -ivh
MySQL-client-4.0.16-0.i386.rpm
¡¡¡¡warning:
MySQL-client-4.0.16-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
¡¡
¡¡P


Ïà¹ØÎĵµ£º

linux³£ÓõÄһЩÃüÁî

1.ÏÔʾÎļþĿ¼ÃüÁîls(DOSÏÂΪDIR)
¡¡¡¡¡¡¡¡ÔÚLinuxÖÐÓÃlsÃüÁîÏÔʾÎļþ¼°Ä¿Â¼(µ±È»£¬ÄãÈÔȻҲ¿ÉÓÃDIRÃüÁֻ²»¹ýÔÚÕâÀïµÄ²ÎÊý²»Í¬)¡£ÀýÈ磺#ls
¡¡¡¡¡¡¡¡root mnt boot dev bin usr xiong tmp etc games
¡¡¡¡¡¡¡¡¿´ÆðÀ´Ëƺõ¼òµ¥(¾ÍÏ൱ÓÚDOSÖеēDIR/W”)£¬µ«Äã»á·¢ÏÖÄã¿´µ½µÄÓÐЩÄѶ®£¬Á¬ÄÄЩÊÇĿ¼ÄÄÐ©Ê ......

½â¾ölinux vimÂÒÂëÎÊÌâ

VimºÍËùÓеÄÁ÷ÐÐÎı¾±à¼­Æ÷Ò»Ñù£¬Vim ¿ÉÒԺܺõı༭¸÷ÖÖ×Ö·û±àÂëµÄÎļþ£¬Õ⵱Ȼ°üÀ¨ UCS-2¡¢UTF-8 µÈÁ÷ÐÐµÄ Unicode ±àÂ뷽ʽ¡£È»¶ø²»ÐÒµÄÊÇ£¬ºÍºÜ¶àÀ´×Ô Linux ÊÀ½çµÄÈí¼þÒ»Ñù£¬ÕâÐèÒªÄã×Ô¼º¶¯ÊÖÉèÖá£
Vim ÓÐËĸö¸ú×Ö·û±àÂ뷽ʽÓйصÄÑ¡Ïencoding¡¢fileencoding¡¢fileencodings¡¢termencoding (ÕâЩѡÏî¿ÉÄܵÄȡֵÇë ......

linux»·¾³ÏÂjdkµÄ°²×°¼°ÅäÖÃ

1.    È¥http://java.sun.com/j2se/1.4.2/download.html ÏÂÔØÒ»¸öLinux PlatformµÄJDK£¬½¨ÒéÏÂÔØRPM×Ô½âѹ¸ñʽµÄ£¨RPM in self-extracting file£¬j2sdk-1_4_2_06-linux-i586-rpm.bin£©£»
2.    ÉÏÔØµ½Linux·þÎñÆ÷ÉÏ£¬ÔÚshellÏÂÖ´ÐÐÃüÁ
[root@LinuxServer rpm]# chmod 755 j2s ......

LinuxÖг£ÓõÄC\C++Í·Îļþ

1¡¢  һЩͷÎļþµÄ×÷Óãº
<assert.h>£ºANSI C¡£Ìṩ¶ÏÑÔ£¬assert(±í´ïʽ)
<glib.h>£ºGCC¡£GTK£¬GNOMEµÄ»ù´¡¿â£¬ÌṩºÜ¶àÓÐÓõĺ¯Êý£¬ÈçÓÐÊý¾Ý½á¹¹²Ù×÷º¯Êý¡£Ê¹ÓÃglibÖ»ÐèÒª°üº¬<glib.h>
<dirent.h>£ºGCC¡£Îļþ¼Ð²Ù×÷º¯Êý¡£struct dirent,struct DIR,opendir(),closedir(),readdir(),readdi ......

Linux Kernel Linked List Explained

²Î¼û£ºhttp://isis.poly.edu/kulesh/stuff/src/klist/
Introduction:
Linux kernel is mostly written in the C language. Unlike many other languages C does not have
a good collection of data structures built into it or supported by a collection of standard libraries.
Therefore, you're probably excited ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ