Linux + JDK + Tomcat + MySQL + JDBC °²×°ÊÖ¼Ç
Linux + JDK + Tomcat + MySQL + JDBC °²×°ÊÖ¼Ç
Ò»¡¢Red Hat Linux
1.·ÖÇø
| swap 512 M
| /boot 100 M
10G¿Õ¼ä | /home 1000M
| / 2000M
| /usr 6500M
2.¹ÒÔØWindows·ÖÇø
# mkdir /mnt/d
# mkdir /mnt/e
# mkdir /mnt/f
# vi /etc/fstab Ìí¼Ó:
/dev/hda5 /mnt/d vfat defaults,codepage=936,iocharset=cp936 0 0
/dev/hda6 /mnt/e vfat defaults,codepage=936,iocharset=cp936 0 0
/dev/hda7 /mnt/f vfat defaults,codepage=936,iocharset=cp936 0 0
3.È¥³ý¿ª»úʱRed Hat LinuxºóµÄ°æ±¾ºÅ
# vi /boot/grub/grub.conf
ɾ³ýRed Hat LinuxºóµÄ°æ±¾ºÅ
¶þ¡¢JDK
1.ÏÂÔØ
ÏÂÔصØÖ· http://java.sun.com/j2se/1.5.0/download.jsp
ÏÂÔØÎļþ Linux self-extracting file (jdk-1_5_0_02-linux-i586.bin)
ÏÂÔص½ /usr/onk
2.°²×°
# chmod u+x jdk-1_5_0_02-linux-i586.bin (Ôö¼ÓÓû§È¨ÏÞ)
Ïà¹ØÎĵµ£º
linuxĿ¼¼Ü¹¹
/ ¸ùĿ¼
/bin ³£ÓõÄÃüÁî binary file µÄÄ¿錄
/boot ´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ (kernel) ÔÚÄÚ
/boot/grub/menu.lst GRUBÉèÖÃ
/boot/vmlinuz ÄÚºË
......
ÒÔÏÂÊǾ¹ý´ÓÍøÉϻ㼯¶ø³É£¬ÏÂÃæµÄÁ¬½ÓµÄ½éÉÜÒ²ÊDZȽÏÏêϸ£º
http://linux.chinaunix.net/techdoc/net/2008/07/26/1020404.shtml
linux NFS ÅäÖò½Öè
linux NFS ÅäÖò½Öè
NFS server¿ÉÒÔ¿´×÷ÊÇÒ»¸öFILE SERVER,Ëü¿ÉÒÔÈÃÄãµÄPCͨ¹ýÍøÂ罫Զ¶ËµÃNFS SERVER¹²Ïí³öÀ´µÄµµ°¸MOUNTµ½×Ô¼ºµÄϵͳÖУ¬Ô ......
Äںˣ¬ÊÇÒ»¸ö²Ù×÷ϵͳµÄºËÐÄ¡£Ëü¸ºÔð¹ÜÀíϵͳµÄ½ø³Ì¡¢ÄÚ´æ¡¢É豸Çý¶¯³ÌÐò¡¢ÎļþºÍÍøÂçϵͳ£¬¾ö¶¨×ÅϵͳµÄÐÔÄܺÍÎȶ¨ÐÔ¡£Linux×÷Ϊһ¸ö×ÔÓÉÈí¼þ£¬ÔÚ¹ã
´ó°®ºÃÕßµÄÖ§³ÖÏ£¬Äں˰汾²»¶Ï¸üС£ÐµÄÄÚºËÐÞ¶©Á˾ÉÄں˵Äbug£¬²¢Ôö¼ÓÁËÐí¶àеÄÌØÐÔ¡£Èç¹ûÓû§ÏëҪʹÓÃÕâЩÐÂÌØÐÔ£¬»òÏë¸ù¾Ý×Ô¼ºµÄϵͳ¶ÈÉí¶¨ÖÆÒ»
¸ö¸ü¸ßЧ£¬¸üÎȶ¨ ......
A) Shutdown management node and data node
devmysql3# ndb_mgm -e shutdown
devmysql4# ndb_mgm -e shutdown
B) Shutdown MySQL proccess
devmysql3# mysqladmin shutdown
devmysql4# mysqladmin shutdown
devmysql3 ip: 10.130.30.217
devmysql4 ip: 10.130.30.218
rpm -ivh MySQL-Cluster-gpl-storage ......