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¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾Ñ飨Õâ¸ö»¹µ ......
[url=http://www.netdigedu.com/jiagoubaike/13063.html]Linux:LinuxÎļþÃüÁָͨÄÏ[/url]
[url=http://www.netdigedu.com]ÍøÑ¶Í¨ÐÅѧԺ[/url]
Ϊ¸Õ½Ó´¥ Linux ÎļþÃüÁîµÄ³õѧÕßÌṩµÄËٳɽ̳Ì
ËäÈ» GUI ×ÀÃæ£¨Èç KDE ºÍ GNOME£©Äܹ»°ïÖúÓû§ÀûÓà Linux ÌØÐÔ£¬¶øÎÞÐè¹ØÓÚÃüÁîÐнӿڵŦÄÜ֪ʶ£¬µ«»¹ÊǾ³£»áÐèÒª¸ü¶àµÄ ......
±¾ÎÄÏêϸÃèÊöÁËÔÚLinux²Ù×÷ϵͳÉϰ²×°ºÍÅäÖÓ×ÔÊÊӦͨÐÅ»·¾³(ACE)”µÄ¹ý³ÌºÍ×¢ÒâÊÂÏî¡£zCkLinuxÁªÃË
ÎÄÖеÄÃèÊö»ùÓÚRedHat Linux 9²Ù×÷ϵͳºÍACE 5.4°æzCkLinuxÁªÃË
×¼±¸¹¤×÷£ºzCkLinuxÁªÃË
1.È·±£ÄãµÄLinux²Ù×÷ϵͳµÄ¿ª·¢»·¾³(gcc¡¢make……)ÊÇÍêÕûÇÒ¿ÉÓõġ£zCkLinuxÁªÃË
2.ÔÚ°²×°ACEµÄ¹ý³ÌÖÐ ......
Ò»¡¢Ðźż°ÐźÅÀ´Ô´
Ðźű¾ÖÊ
ÐźÅÊÇÔÚÈí¼þ²ã´ÎÉ϶ÔÖжϻúÖÆµÄÒ»ÖÖÄ£Ä⣬ÔÚÔÀíÉÏ£¬Ò»¸ö½ø³ÌÊÕµ½Ò»¸öÐźÅÓë´¦ÀíÆ÷ÊÕµ½Ò»¸öÖжÏÇëÇó¿ÉÒÔ˵ÊÇÒ»ÑùµÄ¡£ÐźÅÊÇÒì²½µÄ£¬Ò»¸ö½ø³Ì²»±ØÍ¨¹ýÈκβÙ×÷À´µÈ´ýÐźŵĵ½´ï£¬ÊÂʵÉÏ£¬½ø³ÌÒ²²»ÖªµÀÐźŵ½µ×ʲôʱºòµ½´ï¡£
ÐźÅÊǽø³Ì¼äͨÐÅ»úÖÆÖÐΨһµÄÒ첽ͨÐÅ»úÖÆ£¬¿ÉÒÔ¿´×÷ÊÇÒì²½Í¨Ö ......
½ñÌìѧµ½µÄ¶«¶«£º
1¡¢²é¿´½ø³ÌËù¶ÔÓ¦¿ÉÖ´ÐгÌÐòµÄ¾ø¶Ô·¾¶
[1]. ps -ef | grep ½ø³ÌÃû »ñµÃPID
[2]. ½øÈëprocÎļþϵͳÀï¶ÔÓ¦µÄĿ¼£º/proc/ <PID>
[3]. ls -l
exeÁ´½Ó¶ÔÓ¦µÄ¾ÍÊÇ¿ÉÖ´ÐÐÎļþµÄȫ·¾
......