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

linuxÏÂmysql5°²×°ÈÕÖ¾

step 1)ÏÂÔØÔ´´úÂë°üµ½±¾µØLinuxÖ÷»ú£¬È»ºó½âѹËõ£¬½øÈë¸ÃĿ¼£¬½øÐÐÅäÖ㬱àÒëºÍ°²×°
ÏÂÔØmysql5Ô´Âëmysql-5.0.18.tar.gzµ½Ä¿Â¼/usr/local
cd /usr/local
tar xzvf mysql-5.0.18.tar.gz
cd mysql-5.0.18
./configure --prefix=/usr/local/mysql
make && make install
make¹ý³Ì»¨µÄʱ¼ä±È½Ï³¤
step 2)ÅäÖÃ
cp support-files/my-medium.cnf /etc/my.cnf
vi /etc/my.cnf ¼ÓÈëÒÔÏÂÁ½Ðв¢±£´æ
  log-error=/var/lib/mysql/data/x.err
  datadir= /var/lib/mysql/data
cd /usr/local/mysql
bin/mysql(¿ÉÄܻᱧ´íCan't connect to local MySQL server through socket '/tmp/mysql.sock' (2) )
È»ºó
 scripts/mysql_install_db --user=mysql
bin/mysqld_safe
ÔÙ
 /usr/local/mysql/bin/mysql¾ÍokÁË
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'


Ïà¹ØÎĵµ£º

ÉîÈë·ÖÎöWindowsºÍLinux¶¯Ì¬¿âÓ¦ÓÃÒìͬ

ÕªÒª£º¶¯Ì¬Á´½Ó¿â¼¼ÊõʵÏÖºÍÉè¼Æ³ÌÐò³£Óõļ¼Êõ£¬ÔÚWindowsºÍLinuxϵͳÖж¼Óж¯Ì¬¿âµÄ¸ÅÄ²ÉÓö¯Ì¬¿â¿ÉÒÔÓÐЧµÄ¼õÉÙ³ÌÐò´óС£¬½ÚÊ¡¿Õ¼ä£¬Ìá¸ßЧÂÊ£¬Ôö¼Ó³ÌÐòµÄ¿ÉÀ©Õ¹ÐÔ£¬±ãÓÚÄ£¿é»¯¹ÜÀí¡£
µ«²»Í¬²Ù×÷ϵͳµÄ¶¯Ì¬¿âÓÉÓÚ¸ñʽ ²»Í¬£¬ÔÚÐèÒª²»Í¬²Ù×÷ϵͳµ÷ÓÃʱÐèÒª½øÐж¯Ì¬¿â³ÌÐòÒÆÖ²¡£±¾ÎÄ·ÖÎöºÍ±È½ÏÁËÁ½ÖÖ²Ù×÷ϵͳ¶¯Ì¬¿â¼¼Ê ......

LinuxÏ»ùÓڶ˿ڵķþÎñ¼ì²é½Å±¾

#!/bin/bash
#program:Usingtostudythe[if...then...fi]program
#dsk2007/10/83:00
#content:Iwillusingthisprogramtoshowyousevices
#1.printtheprogram''sworkinyourscreen
echo "Now,the service of your Linux system will be detect!"
echo "The www,ftp,ssh,and sendmail pop3 will be detect!"
echo ""
#2.w ......

LinuxÈí¼þ°²×°¼°Ð¶ÔØ

²éѯÈí¼þÍêÕûÃû³Æ
¸ñʽ£ºrpm -qa ²¿·ÖÎļþÃû
ÀýÈ磺shell>rpm -qa firefox
firefox-3.0.5-l.e15.centos
»áÁгö»ðºüä¯ÀÀÆ÷µÄÈ«³Æ¡£Ò»°ã°²×°°ü¶¼»á°üº¬°æ±¾ºÅ¡£
²éѯÈí¼þ°²×°Ä¿Â¼
¸ñʽ£ºrpm -ql ÍêÕûÈí¼þÃû
ÀýÈ磺rpm -ql firefox-3.0.5-l.e15.centos
°²×°rpm°ü
¸ñʽ£ºrpm -ivh Èí¼þ°ü
ÀýÈ磺rpm -ivh firefox-3 ......

±¾È˳£ÓõĻù´¡ linuxÃüÁî

  Ò» »ù±¾µÄÎļþ²Ù×÷¼°ÏµÍ³²Ù×÷
н¨Ä¿Â¼                              mkdir –Ŀ¼Ãû
½«¹¤×÷Ŀ¼¸Ä±äµ½Dir        ......

֨װwindowsºó»Ö¸´linuxÒýµ¼

ǰ¼¸Ìì֨װÁËwindowsϵͳ£¬µ¼ÖÂÒÔǰ°²×°µÄLinux½ø²»È¥ÁË£¬ÎÞ·¨½øÈëLinux£¬Óò»ÏëÖØÐ°²×°Linux£¬ÄÇÑùÌ«·ÑÊÂÁË£¬ÔÚÍøÉÏËÑË÷ÁËһϣ¬ÕÒµ½»Ö¸´LinuxÒýµ¼µÄ·½·¨£¬¾­ÊµÑ飬֨ÐÂÒýµ¼½øÈëÔ­À´µÄLinuxϵͳ£¬Ôڴ˼òµ¥¼Ç¼һÏ£º
  Ê×ÏÈ£¬ÏÂÔØÒ»¸öGrub4dos£¬½âѹµ½CÅ̸ùĿ¼Ï£¬°ÑÀïÃæµÄgrldr¸´ÖƵ½¸ùĿ¼Ï£¬ÐÞ¸Äboot.iniÎļþ£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ