Demo entry 6354547

jboos

   

Submitted by jboss on Apr 08, 2017 at 05:58
Language: Bash. Code size: 562 Bytes.

##安装jboss-as-7.1.0.Final
unzip  jboss-as-7.1.0.Final.zip  &&  mv jboss-as-7.1.0.Final  /qzdata1/server/
cd /qzdata1/server/jboss-as-7.1.0.Final/bin/init.d/
mkdir /etc/jboss-as && cp jboss-as.conf /etc/jboss-as/jboss-as.conf 
echo “JBOSS_USER=root” >> /etc/jboss-as/jboss-as.conf
cp jboss-as-standalone.sh /etc/init.d/jboss-as-standalone 
chmod 755 /etc/init.d/jboss-as-standalone
chkconfig --add jboss-as-standalone  &&  chkconfig jboss-as-standalone on

##启动&关闭
#启动
/etc/init.d/jboss-as-standalone start 
#关闭
/etc/init.d/jboss-as-standalone stop 

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).