Linuxϰ²×°MySQLÊý¾Ý¿â¹¥ÂÔ
1.MySQL¼ò½é
MySQLÊÇÒ»¸ö¹ã·ºÊ¹ÓõĽṹ»¯²éѯÓïÑÔ£¨SQL£©Êý¾Ý¿â·þÎñÆ÷¡£ºÍÆäËûSQL·þÎñÆ÷Ò»Ñù£¬MySQLÌṩÁË·ÃÎʺ͹ÜÀíSQLÊý¾Ý¿âµÄ·½·¨£¬µ«ÊÇ£¬MySQLͬʱҲÌṩÁË´´½¨Êý¾Ý¿â½á¹¹ÒÔ¼°ÔÚÕâЩ½á¹¹ÖÐÌí¼Ó¡¢Ð޸ĺÍɾ³ýÕâЩ½á¹¹µÄ¹¤¾ß¡£
MySQLÊý¾Ý¿âÏà¹ØµÄÈí¼þ°üÖ÷ÒªÓÐÒÔϼ¸ÖÖ£º
£¨1£©mysql£ºÕâ¸öÈí¼þ°üÖаüº¬ÁËÐí¶àMySQL¿Í»§¶Ë³ÌÐò£¨ÔÚ/usr/binÖУ©¡¢¼¸¸ö¿Í»§¶Ë¹²Ïí¿â¡¢Ä¬ÈϵÄMySQLÅäÖÃÎļþ£¨/etc/my.conf£©¡¢Èô¸Éʾ·¶ÅäÖÃÎļþ¡¢Ö§³Ö¼¸ÖÖ²»Í¬ÓïÑÔµÄÎļþºÍÎĵµ£¨/usr/share/mysql£©¡£
£¨2£©mysql-server£ºÕâ¸öÈí¼þ°ü°üº¬MySQL·þÎñÆ÷ÊØ»¤½ø³Ì£¨mysqld£©ºÍmysqldÆô¶¯½Å±¾£¨/etc/init.d/mysqld£©¡£¸ÃÈí¼þ°ü»áͬʱ´´½¨ÉèÖÃMySQLÊý¾Ý¿âËùÐèµÄ¸÷ÖÖ¹ÜÀíÎļþºÍĿ¼¡£
£¨3£©mysql-devel£ºÕâ¸öÈí¼þ°ü°üº¬Óпª·¢MySQL³ÌÐòËùÐèµÄ¿âÎļþºÍÍ·Îļþ¡£
£¨4£©php-mysql£ºÕâ¸öÈí¼þ°ü°üº¬Ò»¸ö¹²Ïí¿â£¬ÔÊÐíPHP³ÌÐò·ÃÎÊmysqlÊý¾Ý¿â£¬ËüÔÊÐíÓû§ÔÚÍøÒ³ÖÐÌí¼Ó¿É·ÃÎÊMySQLÊý¾Ý¿âµÄPHP½Å±¾¡£
°²×°MySQLÊý¾Ý¿â£¬ÖÁÉÙÐèÒª°²×°mysql°üºÍmysql-server°ü£¬·½±ãÆð¼û£¬¿É²ÉÓÃÃüÁװģʽ¡£
Fedora Linux²Ù×÷ϵͳÖпÉʹÓÃÈçϵÄÃüÁ
yum install mysql
yum install mysql-server
Ubuntu²Ù×÷ϵͳÖпÉʹÓÃÈçÏÂÃüÁ
sudo apt-get install mysql
sudo apt-get install mysql-server
2. ÏÂÔØMySQLµÄ°²×°Îļþ£¬ÊÖ¶¯°²×°£¨RPM°ü°²×°Ä£Ê½£©
°²×°MySQLÖÁÉÙÐèÒª°²×°ÏÂÃæÁ½¸öÎļþ£º
MySQL-server-5.0.9-0.i386.rpm
MySQL-client-5.0.9-0.i386.rpm
ÏÂÔØµØÖ·Îª£ºhttp://dev.mysql.com/downloads/mysql/5.0.htm£¬´ò¿ª´ËÍøÒ³£¬ÏÂÀÍøÒ³ÕÒµ½“Linux x86 RPM downloads”ÏÕÒµ½“Server”ºÍ“Client programs”ÏÏÂÔØÐèÒªµÄÉÏÊöÁ½¸örpmÎļþ¡£
3. ÊÖ¶¯°²×°MySQL
rpmÎļþÊÇRed Hat¹«Ë¾¿ª·¢µÄÈí¼þ°²×°°ü£¬rpm¿ÉÈÃLinuxÔÚ°²×°Èí¼þ°üʱÃâ³ýÐí¶à¸´ÔÓµÄÊÖÐø¡£¸ÃÃüÁîÔÚ°²×°Ê±³£ÓõIJÎÊýÊÇ –ivh ,ÆäÖÐi±íʾ½«°²×°Ö¸¶¨µÄrmpÈí¼þ°ü£¬V±íʾ°²×°Ê±µÄÏêϸÐÅÏ¢£¬h
Ïà¹ØÎĵµ£º
1.´Ó80386¿ªÊ¼£¬Intel´¦ÀíÆ÷µÄÏßÐÔ32±»·ÖΪ3¸öÓò£¬×î¸ßʮλΪ´ËÏßÐÔµØÖ·ÔÚҳĿ¼µÄË÷Òý£»ÖмäʮλΪ´ËÏßÐÔµØÖ·ÔÚÒ³±íÖеÄË÷Òý£»×îµÍ12ΪÎïÀíµØÖ·µÄµÍ12루Ҳ¿ÉÒÔ˵ÊÇÒ³ÄÚÆ«ÒÆÁ¿£©¡£Ã¿¸ö½ø³ÌÒ»¶¨Óи÷×Ô¶ÀÁ¢µÄÒ³±í£¨×¢Ò⣺ÕâÀï˵µÄÊǽø³Ì£¬¶ø²»ÊÇÏ̡߳£ÔÚlinuxÀïÏß³ÌÆäʵ¾ÍÊÇÇáÁ¿¼¶µÄ½ø³Ì£¬ËûÃÇÊÇÁ¬Ò³Ä¿Â¼¶¼ÏàͬµÄ½ø³Ì£¬Ö»ÊÇ ......
×î½üÔÚһЩǶÈëʽ¿ª·¢ÈºÀïÃæ»òÕßÂÛ̳ÉÏ¿´¼ûһЩÅóÓÑÔÚÌÖÂÛÔõôÔÚÐéÄâ»úÀïÃæÊ¹ÓÃminicomÓ뿪·¢°åͨѶ£¬±Ï¾¹»¹ÓкöàÏñÎÒÕâÑùÔÚÐéÄâ»úÀïÃæÓÃLinuxµÄÅóÓÑ¡£ÏÂÃæµÄ·½·¨½öÊDZ¾ÈËÔÝʱʹÓò¢ÇÒ»¹ÄÜÐеÃͨµÄ·½·¨£¬Ï£Íû´ó¼Ò»¹ÄÜÕÒµ½¸üºÃµÄ·½·¨£¬²»¹ý±ðÍüÁËÒ²¸øÐ¡µÜ֪ͨһϰ¡£¬¼ÇµÃ¿ªÔ´¾«ÉñŶ£¬
¿ªÊ¼Ö®Ç°ÏÈ˵һÏÂ×Ô¼ºµÄϵͳ ......
1
"
2
" @(#) This is vimrc for vim/gvim.
3
" This vimrc file will automatically configure itself based on
4
" the system it runs on (Windows/Unix).
5
" This vimrc file has been tested on SPARC/Solaris, Intel/Linux
6
" ......
2.1 LinuxÄÚºËģʽ
µ¥ÄÚºËģʽµÄÄں˿ÉÒÔ´ÖÂԵķÖΪÈý¸ö²ã´Î£ºµ÷Ó÷þÎñµÄÖ÷³ÌÐò²ã¡¢Ö´ÐÐϵͳµ÷ÓõķþÎñ²ãºÍÖ§³Öϵͳµ÷Óõĵײ㺯Êý¡£
2.2 LinuxÄÚºËÌåϵ½á¹¹
LinuxÄÚºËÓÉÎå¸öÄ£¿é×é³É£º½ø³Ìµ÷¶ÈÄ£¿é¡¢ÄÚ´æ¹ÜÀíÄ£¿é¡¢Îļþϵͳģ¿é¡¢½ø³Ì¼äͨР......
linux°²×°£¨ÐéÄâ»ú£©
1.ÄÚ´æÖÁÉÙ256mb
2.Ó²ÅÌÖÁÉÙ2gb£¬ÀíÏëΪ10gbÒÔÉÏ
3.¶àÖØÒýµ¼GRUB
4.IDE¡¢SCSI½Ó¿Ú
IDE½Ó¿ÚÓ²Å̱ÈSCSI½Ó¿ÚÓ²Å̶ÁдËÙ¶ÈÂýµ«¼Û¸ñÏà¶Ô±ãÒË£¬pc×îΪ³£¼û
Ò»°ãһ̨»ú×ÓÓÐÁ½¸öIDE½Ó¿Ú£¨IDE0 IDE1£©
ÿ¸ö½Ó¿Ú¿ÉÒÔÁ¬½ÓÁ¬¸öÓ²ÅÌ£¨Ö÷Å̺ʹÓÅÌ£© ......