Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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'


Ïà¹ØÎĵµ£º

[»ù´¡]³£ÓÃlinuxÃüÁî ±¸²é

=================Îļþ²Ù×÷==================
²»Ê¹ÓÃfindÖ±½ÓʹÓÃͨÅä·û¶ÔÎļþ²Ù×÷£º
cp ./*/*attch* /testout_attch/
 
ÎļþÄÚÈÝÏÔʾ
head/tail:
¡¡¡¡## (1) displays the first 6 lines of a file
¡¡¡¡head -6 readme.txt
¡¡¡¡## (2) displays the last 25 lines of a file
¡¡¡¡tail -25 mail.txt
¡¡¡¡# ......

ÔÚlinuxÉϲ¿Êð´øJMS receiverµÄBWSE³ÌÐòʱ±¨´í

java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.ref ......

ÖØ×°windowsºó»Ö¸´linuxÒýµ¼

Ç°¼¸ÌìÖØ×°ÁËwindowsϵͳ£¬µ¼ÖÂÒÔÇ°°²×°µÄLinux½ø²»È¥ÁË£¬ÎÞ·¨½øÈëLinux£¬Óò»ÏëÖØа²×°Linux£¬ÄÇÑùÌ«·ÑÊÂÁË£¬ÔÚÍøÉÏËÑË÷ÁËһϣ¬ÕÒµ½»Ö¸´LinuxÒýµ¼µÄ·½·¨£¬¾­ÊµÑ飬ÖØÐÂÒýµ¼½øÈëÔ­À´µÄLinuxϵͳ£¬Ôڴ˼òµ¥¼Ç¼һÏ£º
  Ê×ÏÈ£¬ÏÂÔØÒ»¸öGrub4dos£¬½âѹµ½CÅ̸ùĿ¼Ï£¬°ÑÀïÃæµÄgrldr¸´ÖƵ½¸ùĿ¼Ï£¬ÐÞ¸Äboot.iniÎļþ£ ......

Linux¿ªÆôTelnet(RHEL5)

Linux¿ªÆôTelnet£¨¸½RHEL5)
 
1¡£Èç¹û°²×°ÁËtelnet¡¢telnet-serverµÄrpm°ü£¬¾ÍÌøµ½2¡££¬·ñÔò°²×°Õâ¸ö°ü¡£
2¡£ÐÞ¸Ätelnet·þÎñÅäÖÃÎļþ
vi /etc/xinetd.d/telnet
service telnet
{
disable = yes
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failur ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ