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

ÔÚLinuxÏ£¬°²×°Mysql£¨tar£©

# cd /home/tmp (½øÈëѹËõ°üËùÔÚĿ¼)
# groupadd mysql (½¨Á¢mysql×é)
# useradd -g mysql mysql (ÔÚmysql×éÖн¨Á¢mysqlÓû§)
# tar -zxvf mysql-5.0.37.tar.gz (½âѹmysqlÔ´Âë,bz2ѹËõ°üÇëÓÓtar -jvxf ÎļþÃû”Ö¸Áî)
# cd mysql-5.0.37 (½øÈë½âѹĿ¼)
# ./configure --prefix=/usr/local/mysql (prefix²ÎÊýÖ¸Ã÷mysql°²×°Ä¿Â¼)
# make
# make install
# /usr/local/mysql/bin/mysql_install_db --user=mysql
# cp support-files/my-medium.cnf /etc/my.cnf (¸´ÖÆmysqlÅäÖÃÎĵµµ½/etcĿ¼)
# cp support-files/mysql.server /etc/rc.d/init.d/mysqld
# chmod 700 /etc/rc.d/init.d/mysqld
# chkconfig --add mysqld
# cd /usr/local/mysql (½øÈëmysql°²×°Ä¿Â¼)
# chown -R root . (²»ÒªÂ©Á˺óÃæµÄ“.”)
# chown -R mysql var
# chgrp -R mysql . (²»ÒªÂ©Á˺óÃæµÄ“.”)
# /usr/local/mysql/bin/mysqld_safe --user=mysql & (Æô¶¯mysql£¬³öÏÖmysqld endedʱµã»÷»Ø³µ£¬»Øµ½ÃüÁîÐÐ)
# bin/mysql -u root -p (µÇ½mysql£¬Ä¿Ç°ÃÜÂëΪ¿Õ)
mysql> selcet version(); (²é¿´mysqlµÄ°æ±¾ºÅ)
mysql> quit; (Í˳ömysql)


Ïà¹ØÎĵµ£º

LinuxÄÚºËÅäÖÃÎĵµ(make menuconfig)

Ò»¡¢ÒýÑÔ£º
    ±¾ÎĵµµÄÄÚÈݴ󲿷ÝÄÚÈݶ¼ÊÇ´ÓÍøÉÏÊÕ¼¯¶øÀ´£¬È»ºóÅäºÏһЩеĽØÍ¼£¨Äں˰汾£ºV2.4.19£©¡£ÔÚÿһÅäÖÃÏîºó»áÓÐÒ»¸öÑ¡ÔñÖ¸ÄϵIJ¿·Ý£¬ÓÃÀ´Ö¸µ¼´ó¼ÒÔõôÑù¸ù¾Ý×Ô¼ºµÄÇé¿öÀ´×öÏàÓ¦µÄÑ¡Ôñ£»»¹ÓÐÔÚÿһ¸ö´óÏîºÍÎĵµµÄ×îºó»áÓÐÒ»¸ö¾­Ñé̸£¬ËüÊÇһЩ¸ßÊÖÃÇÔÚÓ¦¶ÔÎÊÌâºÍ´¦ÀíÌØÓÐÓ²¼þʱµÄһЩ¾­Ñ飨Õâ¸ö»¹µ ......

LinuxϵͳʹÓÃ×ܽá(1) »¥·Ãwindows×ÀÃæ·ÃÎÊ

      £¨±¾ÎÄÕÂÀ´´ËÍøÂ磬µ«ÊÇ×÷Õß½øÐÐÁËÏà¹ØµÄÕûÀí£©¡£
ÏëÔÚLinuxϵͳÏÂÔ¶³Ì·ÃÎÊWindowsϵͳ£¬ÔÚWindows¡¢UNIXÏÂÔ¶³Ì·ÃÎÊLinuxϵͳÂ𣬱¾ÎĽÌÄúÈçºÎ×ö¡£
rdesktop
ÊÇUNIXºÍLinuxϵͳµÄÒ»¸öÔ¶³Ì×ÀÃæÁ¬½ÓÈí¼þ£¬Ëüͨ¹ýMicrosoftWindowsNT¡¢Windows2000ÌṩµÄÖÕ¶Ë·þÎñ
(TerminalServices)ÒÔ¼°Win ......

linux»·¾³ÖÐÉ趨¿ª»ú×ÔÆô¶¯Ó붨ʱÈÎÎñ

¿ª»ú×ÔÆô¶¯ÈÎÎñµÄÉ趨
ͨ³£Çé¿öÊDZ༭rc.local£¬½«ÒªÆô¶¯µÄÄÚÈÝдÔÚÀïÃæ¼´¿É
Eg:
¿ª»ú×Ô¶¯¿ªÆô3306¶Ë¿Ú
#vi  /etc/rc.local
iptables -I RH-Firewall-1-INPUT -p tcp --dport 3690 -j ACCEPT
 
µ±È»£¬ÓеķþÎñ£¬ÏëÒªÉ趨¿ª»ú×ÔÆô¶¯»¹Òª×öһЩÆäËüµÄÅäÖã¬Æ©È磬É趨oracle¿ª»ú×ÔÆô¶¯¡£
crontabÓÐ兩 ......

Linux PROCÎļþϵͳÏêϸ½éÉÜ

ʲôÊÇprocÎļþϵͳ£¿ procÎļþϵͳÊÇÒ»¸öαÎļþϵͳ£¬ËüÖ»´æÔÚÄÚ´æµ±ÖУ¬¶ø²»Õ¼ÓÃÍâ´æ¿Õ¼ä¡£ËüÒÔÎļþϵͳµÄ·½Ê½Îª·ÃÎÊϵͳÄÚºËÊý¾ÝµÄ²Ù×÷Ìṩ½Ó¿Ú¡£Óû§ºÍÓ¦ÓóÌÐò¿ÉÒÔͨ¹ýprocµÃµ½ÏµÍ³µÄÐÅÏ¢£¬²¢¿ÉÒԸıäÄں˵ÄijЩ²ÎÊý¡£ÓÉÓÚϵͳµÄÐÅÏ¢£¬Èç½ø³Ì£¬ÊǶ¯Ì¬¸Ä±äµÄ£¬ËùÒÔÓû§»òÓ¦ÓóÌÐò¶ÁÈ¡procÎļþʱ£¬procÎļþϵͳÊǶ¯Ì¬´Ó ......

Redhat Linux IPµØÖ·ÅäÖñʼÇ

ÔÚÃüÁîģʽÏÂÉèÖÃIPµØÖ·£¬ÓÐÁ½ÖÖ·½Ê½£¬Ò»ÖÖÊDZ¾´Î¿ª»úÓÐЧ£¬¼´Ê¹ÓÃifconfig eth0 IP netmask µÄ·½Ê½£¬ÏµÍ³Ò»µ©¹Ø»úÖØÆôÐèÒªÖØÐÂÉèÖÃIP£»ÁíÒ»ÖÖÖ±½Ó¸ü¸ÄÅäÖÃÎļþ¡£ÔÚÕâÀï²ÉÓÃÖ±½ÓÐÞ¸ÄÅäÖÃÎļþµÄ·½Ê½½øÐÐÉèÖÃIP¡£
 
LINUX IPÅäÖÃÎļþΪifcfg-eth0£¬¸ÃÎļþ´æ·ÅÔÚ/etc/sysconfig/network-scripts·¾¶Ï£¬
 
²ÉÓÃV ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ