Linux Ô´Âë°²×°Mysql5.5
¹«Ë¾µÄ·þÎñÆ÷ÊÇCentOS 5.4(Final)°æµÄ£¬½ñÌìÔÚÉÏÃæ°²×°ÁËÒ»»Ømysql5.5£¬¼Ç¼ÈçÏ£º
1¡¢´Óhttp://blog.s135.com/soft/linux/nginx_php/mysql/mysql-5.5.2-m2.tar.gz ÏÂÔØÔ´Âë°²×°°üµ½/usr/local/src
2¡¢tar zxvf mysql-5.5.2-m2.tar.gz ½âѹµ½/usr/local/src/mysql-5.5.2-m2ÏÂ
cd mysql-5.5.2-m2/
./configure --prefix=/home/mysql/ --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client --with-big-tables --with-readline --with-ssl --with-embedded-server --enable-local-infile --with-plugins=partition,innobase,myisammrg
£¨ÔÚÁíÍâһ̨·þÎñÆ÷°²×°Ê±£¬³öÏÖconfigure: error: No curses/termcap library found´íÎ󣬼ÓÉÏ--with-named-curses-libs=/usr/lib/libncursesw.so.5²ÎÊý¿ÉÒÔ½â¾ö£¬»òÕßÔÙÓÃyum°²×°ncurses-develÒ²¿É£©
make
make install
ÔÚmake installµÄºó°ë¹ý³Ì£¬ÓÐÒ»¶Î±È½Ï³¤Ê±¼äµÄÍ£¶Ù£¬²»Òªµ£ÐÄËÀµôÁË£¬Êµ¼ÊÉÏËü»¹»î×Å£¬ÄÍÐĵĵȴý£¬×îÖջᰲװÍê±Ï¡£
3¡¢Èç¹û»¹Ã»ÓÐmysqlÓû§£¬´´½¨£º
groupadd mysql
useradd mysql -g mysql
4¡¢ÐÞ¸ÄĿ¼ȨÏÞ£º
chmod +w /home/mysql
chown -R mysql:mysql /home/mysql
5¡¢´´½¨Êý¾ÝĿ¼£¨mysql5.5ĬÈÏÒѾûÓÐdataĿ¼ÁË£©
mkdir /home/mysql/data
6¡¢³õʼ»¯Êý¾Ý¿â£º
/home/mysql/bin/mysql_install_db --basedir=/home/mysql --datadir=/home/mysql/data --user=mysql
7¡¢´´½¨mysqlÅäÖÃÎļþ£º/etc/my.cnf
[mysqld]
datadir=/home/mysql/data
socket=/tmp/mysql.sock
user=mysql
log=/home/mysql/sql.log
log_slow_queries=ON
log_slow_queries=/home/mysql/sql_slow.log
long_query_time=2
[client]
port = 3306
socket = /tmp/mysql.sock
8¡¢Æô¶¯mysql
/home/mysql/bin/mysqld_safe &
´ó¹¦¸æ³É£¡
²»¹ý£¬ÕâÖ»ÊÇ×î¼òµ¥µÄ°²×°ÅäÖùý³Ì£¬mysql5ÒѾ֧³ÖÊý¾Ý¿â¼¯ÈºµÈºÜ¶à¸ß¼¶¹¦ÄÜ£¬´ýÒÔºóÔÙÉîÈëÑо¿¡£
Ïà¹ØÎĵµ£º
Ò»¡¢ÒýÑÔ£º
±¾ÎĵµµÄÄÚÈݴ󲿷ÝÄÚÈݶ¼ÊÇ´ÓÍøÉÏÊÕ¼¯¶øÀ´£¬È»ºóÅäºÏһЩеĽØÍ¼£¨Äں˰汾£ºV2.4.19£©¡£ÔÚÿһÅäÖÃÏîºó»áÓÐÒ»¸öÑ¡ÔñÖ¸ÄϵIJ¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾Ñ飨Õâ¸ö»¹µ ......
±¾ÎÄÏêϸÃèÊöÁËÔÚLinux²Ù×÷ϵͳÉϰ²×°ºÍÅäÖÓ×ÔÊÊӦͨÐÅ»·¾³(ACE)”µÄ¹ý³ÌºÍ×¢ÒâÊÂÏî¡£zCkLinuxÁªÃË
ÎÄÖеÄÃèÊö»ùÓÚRedHat Linux 9²Ù×÷ϵͳºÍACE 5.4°æzCkLinuxÁªÃË
×¼±¸¹¤×÷£ºzCkLinuxÁªÃË
1.È·±£ÄãµÄLinux²Ù×÷ϵͳµÄ¿ª·¢»·¾³(gcc¡¢make……)ÊÇÍêÕûÇÒ¿ÉÓõġ£zCkLinuxÁªÃË
2.ÔÚ°²×°ACEµÄ¹ý³ÌÖÐ ......
Ï̵߳Äͬ²½, ·¢ÉúÔÚ¶à¸öÏ̹߳²ÏíÏàͬÄÚ´æµÄʱºò, ÕâʱҪ±£Ö¤Ã¿¸öÏß³ÌÔÚÿ¸öʱ¿Ì¿´µ½µÄ¹²ÏíÊý¾ÝÊÇÒ»ÖµÄ. Èç¹ûÿ¸öÏß³ÌʹÓõıäÁ¿¶¼ÊÇÆäËûÏ̲߳»»áʹÓõÄ(read & write), »òÕß±äÁ¿ÊÇÖ»¶ÁµÄ, ¾Í²»´æÔÚÒ»ÖÂÐÔÎÊÌâ. µ«ÊÇ, Èç¹ûÁ½¸ö»òÁ½¸öÒÔÉϵÄÏ߳̿ÉÒÔread/writeÒ»¸ö±äÁ¿Ê±, ¾ÍÐèÒª¶ÔÏ߳̽øÐÐͬ²½, ÒÔÈ·±£ËüÃÇÔÚ·ÃÎʸñä ......
ÒÔubuntuΪÀý£¬×ÖÌåÎļþΪnfont.ttf
sudo mkdir /usr/share/fonts/myfonts /*½¨Á¢myfontsµÄ×Ô¶¨ÒåĿ¼*/
sudo cp nfont.ttf /usr/share/fonts/myfonts /*¿½±´nfont.ttfµ½×Ô¶¨ÒåĿ¼*/
sudo fc-cache -fv
È»ºó¾ÍOKÁË£¡
......