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

³£ÓõÄlinuxÃüÁî

²é¿´°²×°µÄϵͳÐÅÏ¢£º
   ¼òµ¥µÄÐÅÏ¢£ºuname -a
   ÏêϸµÄÐÅÏ¢£ºcat /proc/version
     cat /etc/issue
     lsb_release -a
GentooÉÏ°²×°mysql£¬Ö±½ÓÔËÐУº
  (1) bigner
@localhost
 / $ sudo emerge mysql
  (2) bigner
@localhost
 / $ sudo ebuild /var/db/pkg/dev-db/mysql-
5.0
.
44
/mysql-
5.0
.
44
.ebuild  config 
  (3)
bigner
@localhost
 /etc/init.d $ sudo /etc/init.d/mysql start
  (4)
bigner
@localhost
 / $ mysql -u root -p 
          (ÊäÈëÃÜÂëºó¾Í¿ÉÒԵǼµ½mysqlÁË£¬ÏÂÃæÊÇmysqlÖеÄÃüÁî)
          show databases;
  (5) ÈÃmysql×Ô¶¯runÆðÀ´£º
        
bigner
@localhost
 / $ sudo rc-update add mysql 
default
 
²é¿´ÃüÁîµÄԭʼ·¾¶ÊÇʲô£º
  whereis mysql
  which mysql


Ïà¹ØÎĵµ£º

Installing PHP APC on GNU/Linux Centos 5

Ô­Ìù£ºhttp://2bits.com/articles/installing-php-apc-gnulinux-centos-5.html
Published Mon, 2008/03/24 - 13:49, Updated Wed, 2009/07/15 - 23:40
Complex PHP applications, such as Drupal, can gain a lot of performance benefits from running a PHP op-code cache/accelerators
.
APC,
Alternate ......

Linux ƽ̨Ï MYSQL°²×° Æô¶¯ mysqlÃüÁî

MYSQL°²×°
//½âѹ±àÒë°²×°
# tar xzvf mysql-5.0.27.tar.gz
# cd mysql-5.0.27
# ./configure -prefix=/home/redadmin/mysql
# make
# make install
# cd /home/redadmin/mysql/
# cp share/mysql/my-medium.cnf ./
# mv my-medium.cnf my.cnf
// my.confÎļþÐÞ¸Ä
# vi my.cnf
ÐÞ¸ÄÇ°£º
port  &nb ......

GNU/LinuxÕýÔÚÏòÎÒÃÇ×ßÀ´






<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
        ʲôÊÇ
GNU/Linux
£¿Ê²Ã´ÊÇÕæÕýµÄ×ÀÃæ
Linux
£¿ÕâЩÎÊÌ⣬ÎÒÃDZØÐë¸ãÇå³þ£¬ËµÃ÷°×¡£×ÀÃæ
Linux
²»ÄÜÔÙÕÐÒ¡¹ýÊкöÓÆÈËÁË¡£
 
       Àú ......

¹ØÓÚLinuxϵÄ/dev/nullºÍ/dev/zeroÎļþ

ʹÓÃ/dev/null
°Ñ/dev/null¿´×÷"ºÚ¶´". Ëü·Ç³£µÈ¼ÛÓÚÒ»¸öֻдÎļþ. ËùÓÐдÈëËüµÄÄÚÈݶ¼»áÓÀÔ¶¶ªÊ§. ¶ø³¢ÊÔ´ÓËüÄǶù¶ÁÈ¡ÄÚÈÝÔòʲôҲ¶Á²»µ½. È»¶ø, /dev/null¶ÔÃüÁîÐкͽű¾¶¼·Ç³£µÄÓÐÓÃ. ½ûÖ¹±ê×¼Êä³ö.
1 cat $filename >/dev/null
2 # ÎļþÄÚÈݶªÊ§£¬¶ø²»»áÊä³öµ½±ê×¼Êä³ö.
½ûÖ¹±ê×¼´íÎó
1 rm $badname 2>/dev/ ......

linux ÐÞ¸ÄÓû§ÃÜÂë+·Ç½»»¥ÉèÖÃÃÜÂë

Ð޸ı¾µØÓû§ÃÜÂ룺
1¡¢½»»¥ÅäÖñ¾µØÓû§£º
ÒÔrootÓû§£º
passwd <username>
Changing passWord
for user dewang.
New UNIX passWord
:
BAD PASSWord
: it is too short
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
ÒÔ·ÇrootÓû§ÐÞ¸Ä×Ô¼ºµÄÃÜÂ루עºóÃæ²»Äܸ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ