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

J2EEÏîÄ¿Ç¨ÒÆ(window >linux)

1. download & setup jdk
2. download eclipse and test a simple example of java
3. setup mysql use yum(or download & setup by hand)
 yum install mysql
 problem1:linux mysql configuration & use
  solution1:
   mysql -uroot -p
   password:******
 problem2:ERROR 1045(28000)Access denied for user 'root'@'localhost'(using password:NO)
  solution:
   #mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
   #mysql -u root mysql
   mysql> select host,user,password from user;
   next, you can operator the user table and confirm it without null user;
   if there are null user, you can delete it use delete sql.
 problem3:how to migrate data to linux
  solution1:window ,use mysql-front to output a backup-file name package.sql
   1. change mysql setting as follows:
     mysql> update mysql.user set host='%' where host='localhost';
     mysql> grant all privileges on *.* to root@"%";
     mysql> flush privileges;
   2. in window, use mysql-front to connect it.
  solution2:just linux (not tested)
   out:mysqldump databasename > filename.sql
   in:mysqladmin create databasename;
   shell:mysql databasename < filename.sql
  
4. download & setup Tomcat
  Filename:apache-tomcat-5.5.28.tar.gz -> unpack & directly can use,
       first thing must do if you want use it is configure JDK, like PATH & CLASS_PATH
   vim /etc/profile
   use eclipse to check the jdk setup-directory
   PATH = %PATH:/usr/java/jdk1.6.0_13/bin
   CLASS_PATH=.:/usr/java/jdk1.6.0_13/lib
  then, come in the unpa


Ïà¹ØÎĵµ£º

linux ÉèÖû·¾³±äÁ¿

ÏÂÃæÒÔÅäÖÃjava
»·¾³±äÁ¿ÎªÀý½éÉÜÈýÖÖÅäÖû·¾³±äÁ¿µÄ·½·¨¡£
 
1.ÐÞ¸Ä/etc/profileÎļþ
Èç¹ûÄãµÄ¼ÆËã»ú½ö½ö×÷Ϊ¿ª·¢Ê¹ÓÃÊ±ÍÆ¼öʹÓÃÕâÖÖ·½·¨£¬ÒòΪËùÓÐÓû§
µÄshell
¶¼ÓÐȨʹÓÃÕâЩ»·¾³±äÁ¿£¬¿ÉÄÜ
»á¸øÏµÍ³
´øÀ´°²È«ÐÔÎÊÌâ¡£
 
(1)ÓÃÎı¾±à¼­Æ÷´ò¿ª/etc/profile
 
(2)ÔÚprofileÎļþĩβ¼ÓÈ룺
JA ......

linux fetion

Fedora ϱàÒë linux fetion Ó¦ÓóÌÐòdemo
1: °²×°±àÒë»·¾³
sudo yum install qt4-devel curl-devel gcc glibc-devel
2: È¥ http://www.libfetion.cn/Linux_demoapp_download.html ÏÂÔØ×îеÄlibfetion GUIÔ´´úÂë
3: ʹÓýâѹÃüÁî½âѹÏÂÔØºóµÄÎļþ
tar -zxvf linux-fetion-***.tar.gz (***Ϊ³ÌÐò°æ±¾ºÅ)
4: ½øÈ ......

linux gcc ±àÒëʱͷÎļþºÍ¿âÎļþËÑË÷·¾¶

Ò»¡¢Í·Îļþ
 
gcc ÔÚ±àÒëʱѰÕÒËùÐèÒªµÄÍ·Îļþ £º
 
¡ùËÑѰ»á´Ó-I¿ªÊ¼
 
¡ùÈ»ºóÕÒgccµÄ»·¾³±äÁ¿ C_INCLUDE_PATH,CPLUS_INCLUDE_PATH,OBJC_INCLUDE_PATH
 
¡ùÔÙÕÒÄÚ¶¨Ä¿Â¼
/usr/include 
/usr/local/include
/usr/lib/gcc-lib/i386-linux/2.95.2/include
/usr/lib/gcc-lib/i386-l ......

¹ØÓÚlinuxµÄ¼¸¸öÔ¶³Ì¿ØÖƵÄÈí¼þ

putty
puttyÊǸö±È½Ï¼òµ¥µÄlinuxÔ¶³Ì¿ØÖƹ¤¾ß£¬Ãâ·ÑµÄ£¬Ö»ÒªÏµ½puttyÔËÐоÍokÀ²£¬ÊäÈëÒª·ÃÎʵķþÎñÆ÷µÄip £¬°Ñ·ÃÎÊÀàÐÍÉèΪssh£¬ÊäÈëµÇ½ÕÊ»§¡¢ÃÜÂë¾ÍokÀ²£¬Ò»Çж¼ÊÇÄÇôµÄ¼òµ¥¡£ 
secureCRT
Õâ¸ö±È½Ï¸´ÔÓÒ»µã£¬ÐèҪע²áÂëµÄ£¬µ«»¹ËãÊDZȽÏÈÝÒ×ÕÒµ½µÄ£¬ËüµÄÉèÖÃÒ²ÊǺÜɵ¹ÏµÄÄÇÖÖ£¬¸úputtyÊÇÒ»ÑùµÄ£¬°Ñ·ÃÎʵÄÀàÐÍÉè ......

ÔÚLinux·þÎñÆ÷ÉÏÈçºÎ¿ªÆô°²È«µÄSNMP´úÀí

ÔÚ¸÷ÖÖLinux·Ö·¢°æÖУ¬´ó¶àÊý¶¼ÒѾ­Ä¬Èϼ¯³ÉÁËsnmpd£¬±ÈÈçÔÚsuse10ÖУ¬Äã¿ÉÒÔÕâÑù¿ªÆôsnmpd£º
¡¡¡¡
¡¡¡¡suse10:~ # /etc/init.d/snmpd start
¡¡¡¡
¡¡¡¡Èç¹ûûÓÐĬÈϰ²×°£¬ÄãÒª×öµÄ¾ÍÊÇ×Ô¼ºÀ´±àÒësnmpd£¬°´ÕÕϱߵIJ½Ö裬·Ç³£¼òµ¥¡£
¡¡¡¡
¡¡¡¡±àÒëºÍ°²×°
¡¡¡¡¶ÔÓÚLinuxƽ̨£¬ÎÒÃÇÍÆ¼öʹÓÃNet-SNMP£¬ËüʵÏÖÁ˱ê×¼µÄSNM ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ