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

linux°²×°glassfish

1¡¢°²×°°ü£º
ÏÂÔØÍøÖ·£ºhttp://dev.sun.com.cn/glassfish/index_zh.html
glassfish-installer-v2.1-b60e-linux-ml.jar£¨°æ±¾£º2.1£©
2¡¢½âѹGlassFishÈí¼þ°ü²¢×Ô¶¯´´½¨Ò»¸öеÄÎļþ¼Ð½Ð“glassfish”
java -Xmx256m -jar glassfish-installer-v2.1-b60e-linux-ml.jar
»Ø¸´A
mv glassfish /usr/local/
3¡¢ÉèÖÃAntµÄÖ´ÐÐȨÏÞ£¬²¢Ö´Ðа²×°
chmod -R +x /usr/local/glassfish/lib/ant/bin
/usr/local/glassfish/lib/ant/bin/ant -f /usr/local/glassfish/setup.xml
4¡¢ÐÞÕýÖ÷»úÃû   
vi  /etc/hosts
192.168.0.2      VirtualBox
5¡¢ServiceÆô¶¯Îļþ
chmod 755 glassfish.sh
chown root:root glassfish.sh
mv glassfish.sh /etc/init.d/glassfish
service glassfish start
================glassfish.sh=====================
#!/bin/sh
#
# glasshfish    Startup script for the glassfish server
#
#
# processname: glassfish
#
# Source function library
. /etc/rc.d/init.d/functions
if [ -f /etc/sysconfig/glassfish ]; then
        . /etc/sysconfig/glassfish
fi
if [ -z "$GLASSFISH_DOMAIN" ]; then
        GLASSFISH_DOMAIN="domain1"
fi
prog="glassfish"
glassfish="/usr/local/glassfish/bin/asadmin"
RETVAL=0
start() {
        echo -n $"Starting $prog: "
        daemon $glassfish start-domain $GLASSFISH_DOMAIN
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
        return $RETVAL
}
stop() {
        echo -n $"Stopping $prog: "
        daemon $glassfish stop-domain $GLASSFISH_DOMAIN
        RETVAL=$?
       


Ïà¹ØÎĵµ£º

linux c/c++ GDB½Ì³ÌÏê½â

GDB
ÊÇ
GNU
¿ªÔ´×éÖ¯·¢²¼µÄÒ»¸öÇ¿´óµÄ
UNIX
ϵijÌÐòµ÷ÊÔ¹¤¾ß¡£»òÐí£¬¸÷λ±È½Ïϲ»¶ÄÇÖÖͼÐνçÃ淽ʽµÄ£¬Ïñ
VC
¡¢
BCB
µÈ
IDE
µÄµ÷ÊÔ£¬µ«Èç¹ûÄãÊÇÔÚ
UNIX
ƽ̨ÏÂ×öÈí¼þ£¬Äã»á·¢ÏÖ
GDB
Õâ¸öµ÷ÊÔ¹¤¾ßÓбÈ
VC
¡¢
BCB
µÄͼÐλ¯µ÷ÊÔÆ÷¸üÇ¿´óµÄ¹¦ÄÜ¡£Ëùν

´çÓÐËù³¤£¬³ßÓÐËù¶Ì

¾ÍÊÇÕâ¸öµÀÀí ......

linux ÏÂracµÄ°²×°

   LinuxÏÂracµÄ°²×°
1£¬»·¾³×¼±¸
 192.168.5.10  rac1
 192.168.5.100 prac1
 10.20.0.10 vrac1
 192.168.5.20 rac2
 192.168.5.200 prac2
 10.20.0.20 vrac2
2.Íø¿¨ÉèÖÃÇ°ÌáÊÇÁ½¿éÍø¿¨
 cd /etc/sysconfig/network-scripts
& ......

LinuxÄÚºËѧϰ(תÌû+Ô­´´)

     ²Ù×÷ϵͳÊÇÒ»¸ö·Ç³£¸´ÔÓµÄÈí¼þ,Éè¼ÆºÍʵÏÖÒ»¸ö²Ù×÷ϵͳÐèÒª¾ßÓо«ÉîµÄÀíÂÛ֪ʶºÍ¸ß³¬µÄʵ¼ùÄÜÁ¦.´«Í³µÄ²Ù×÷ϵͳÉè¼Æ¿Î³Ì,¹ýÓÚÆ«ÖØÀíÂÛµÄѧϰ,ȱ·¦¶Ôʵ¼ùµÄÖ¸µ¼¡£Ï£ÍûÉîÈëѧϰ²Ù×÷ϵͳµÄÉè¼Æ£¬×îºÃµÄ·½·¨¾ÍÊÇÕÒÒ»¸ö²Ù×÷ϵͳÀ´×Ô¼ºÊµ¼ù£¬ÔÚʵ¼ùÖÐѧϰ£¬¿ÉÒÔ´´Ôì³öÆæ¼£¡£
     ......

linuxµÄ¼òµ¥ÍøÂçÅäÖÃ

1¡¢RootµÇ¼
2¡¢²éip:ifcongfig
3¡¢ÐÞ¸ÄÍøÂçÉèÖÃ
vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=VirtualBox
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.0.2
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
4¡¢Ìí¼ÓÐÂÓû§º ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ