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

LinuxÏÂmysqlÖÐÎÄÂÒÂë½â¾ö·½·¨

ÉÏ´ÎÔÚÅöµ½ÕâÎÊÌ⣬ÔÚÍøÉÏÕÒÁ˽â¾ö·½·¨£¬¿ÉÊÇû¼ÇÏÂÀ´¡£ÕâÐÇÆÚÒª»»»úÆ÷£¬Òª°ÑÔ­À´linuxϵÄmysqlÊý¾Ý¿âÒƵ½Áíһ̨·þÎñÆ÷ÉÏ¡£°²×°suseϵͳ¡¢ÔÙÅäÖÃtelnet¡¢ftp·þÎñ¡¢°²×°java JDK²¢ÅäÖá¢ÔÙ°²×°eclipseºÍmysql,ÓÖ»¨ÁËÒ»ÌìµÄʱ¼ä¡£¸Ð¾õ»¹ÊDz»ÊìÁ·£¬ÅäÖ÷À»ðǽÀÏÊDz»Äܽ«telnetºÍftp·þÎñÅÅÍâ¡£mysqlÓÖÅöµ½ÁËÖÐÎÄÂÒÂëÎÊÌ⣬ÓÖÔÚÍøÉÏÕÒÒ»ÕÒ£¬ÏÖÔڰѽâ¾ö·½·¨ÏȼÇÏÂÀ´°É¡£
ϵͳ»·¾³:suse linux server 10,mysql 5.0
°²×°mysqlºó£¬Ä¬ÈϵÄ×Ö·û¼¯ÊÇlatin1¡£ÔÚlinuxÏ°²×°mysql²»ÏñÔÚwindowsÉÏ°²×°ÄÇÏñ£¬¿ÉÒÔÑ¡Ôñ×Ö·û¼¯(¼´Ê¹µ±Ê±Ê¹ÓÃÁËĬÈϵÄ×Ö·û¼¯£¬°²×°ºóÒ²¿ÉÒÔÔÚ°²×°Ä¿Â¼ÏÂÐÞ¸Ämy.iniÎļþ£©£¬µ«ÊÇÔÚlinux¾Í²»Ì«Ò»ÑùÁË¡£
ÔÚshellÊäÈëmysqlµÇ½ºó:
mysql>show variables like '%char%';
»Ø³µºóÏÔʾ:
+---------------------£­+-----£­£­--------------
| Variable_name | Value
+-----------------------+-£­£­------------------
| character_set_client | latin1
| character_set_connection | latin1
| character_set_database | latin1
| character_set_filesystem | binary
| character_set_results | latin1
| character_set_server | latin1
| character_set_system | utf8
| character_sets_dir | /usr/share/mysql/charsets/
+---------------------+£­£­£­-------------------
Õâ¾ÍÊÇËüĬÈϵÄÉèÖá£
½ÓÏÂÀ´µ½/usr/share/mysql/Ŀ¼Ï£¬½«my-medium.cnfÎļþ(ʹÓÃÆäËüʵÀýÅäÖÃÎļþÒ²ÐÐ)¿½±´µ½/etcĿ¼Ï£º
pds:~# cp /usr/share/mysql/my-medium.cnf /etc/my.cnf
pds:~# vi /etc/my.cnf
·Ö±ðÔÚÈçϼ¸ÏîÖÐÌí¼Ó×Ö·û¼¯£º
[client]
default-character-set=gb2312
[mysqld_safe]
default-character-set=gb2312
[mysqld]
default-character-set=gb2312
#default-table-type=innodb
[mysql]
default-character-set=gb2312
ÔÙÖØÆômysqlÈÃÅäÖÃÉúЧ:
pds:~# service mysql restart
Shutting down MySQL done
Starting MySQL done
Ôٴεǽmysqlºó£¬²é¿´±äÁ¿£º
mysql>show variables like '%char%';
+---------------------£­+-----£­£­--------------
| Variable_name | Value
+-----------------------+-£­£­------------------
| character_set_client | gb2312
| character_set_connection | gb2312
| character_set_database | gb2312
| character_set_filesystem | binary
| character_set_results | gb2


Ïà¹ØÎĵµ£º

linuxϵͳ½Å±¾µÄ³£¼ûÆô¶¯Ë³Ðò(FW)


ÓÉÓÚÏà¹Ø±äÁ¿¶¨Ò岻ͬ,
ËùÒÔÒÔÏÂÆô¶¯Ë³Ðò½ö¹©²Î¿¼
ÔÚRedhat
Redflag centos fc linuxϵͳÀïÃæ½Å±¾µÄÆô¶¯
ÏȺó£º
µÚÒ»²½£ºÍ¨¹ý/boot/vm½øÐÐ
Æô¶¯ vmlinuz
µÚ¶þ²½£ºinit /etc/inittab
µÚÈý²½£ºÆô¶¯ÏàÓ¦µÄ½Å±¾£¬²¢ÇÒ´ò¿ªÖÕ¶Ë
rc.sysinit
rc.d(Àï
ÃæµÄ½Å±¾£©
rc.local
µÚËIJ½£ºÆô¶¯loginµÇ¼½çÃæ login
µÚÎå² ......

LinuxÏÂÃæµÄÈí¼þRAID6²âÊÔ

linuxϵÄÈí¼þRAIDÖ§³ÖRAID¼¶±ð0,1,4,5,6£¬½ñÌìÌرð²âÊÔÒ»ÏÂRAID6¡£
²½ÖèÒ»£º×¼±¸·ÖÇø
·ÖÇøÇé¿öÈçÏ£¬¾ßÌåÈçºÎ·ÖÇø¾Í²»½éÉÜÁË¡£
/dev/hdb5            5240        5252      1043 ......

UBUNTUÒ»¾ä»°¼¼ÇÉ LinuxÈëÃÅ£¨¸øÐÂÊÖ£©

²é¿´Èí¼þxxx°²×°ÄÚÈÝ
dpkg -L xxx
 
 
²éÕÒÈí¼þ
apt-cache search ÕýÔò±í´ïʽ
 
 
²éÕÒÎļþÊôÓÚÄĸö°ü
dpkg -S filename           apt-file search filename
 
 
²éѯÈí¼þxxxÒÀÀµÄÄЩ°ü
apt-cache depends xxx
 
²éѯ ......

JSPÁ¬½ÓMySqlÊý¾Ý¿â


Á¬Ðø¼¸Ìì°²×°ÅäÖúÍÁ¬½ÓMysqlÊý¾Ý¿â£¬½ñÌìÖÕÓڳɹ¦ÁË£¬»ØÏëÕ⼸Ì죬ÕæµÄÊÇÌðËá¿àÀ±¶¼ÓУ¬µ¥mysql¾ÍÖØ×°Á˲»ÏÂ10´Î£¬¶øÔÚeclipseÉϱàдµÄÁ¬½ÓÊý¾Ý¿âµÄ³ÌÐò×ÜÊDZ¨´í£®ÎÒ¶¼ÒѾ­downÁËoracal×¼±¸·ÅÆúmysqlÁË£¬²»¹ý£®£®£®¾ÍÏóµçÊÓ¾çÑݵÄÄÇÑù£¬×ª»ú×ÜÊÇÔÚÕâ¸öʱºò³öÏÖ£¬ÏÈÊÇ¿´µ½ÁËsaulzy¹ØÓÚmysql4.1.11°æ±¾µÄ°²×°½éÉÜ£¬½Ó×ÅÓÖÕ ......

RedbootÅäÖôÓflashÒýµ¼µÄlinuxÄÚºË

Ê×ÏÈ£¬ÅäÖÃRedBootµÄIP¼°Æätftp·þÎñÆ÷IP£¬×°ºÃtftp·þÎñÆ÷£¬ÐèÒªÏÂÔصÄÄں˼°ÄÚ´æ¾µÏóÓ¦·ÅÔÚ·þÎñÆ÷µÄ/tftpbootĿ¼ÏÂ
ÅäÖÃRedBootµÄÖ¸ÁîÊÇ
> fconfig
×¢Ò⣺Æô¶¯µÄÑÓʱ²»ÒªÉèΪ0£¬·ñÔòÒÔºó¾ÍºÜÄÑÔÙ¸ü¸ÄϵͳÁË
È»ºóÒªÖ´ÐÐflash´æ´¢Æ÷µÄ³õʼ»¯¹¤×÷£º
> fis init
Ö®ºó£¬½«kernelÓëramdisk.gzͨ¹ýtftpÏÂÔØÖÁÄڴ沢д ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ