wget mule-standalone-3.3.1.tar.gz cd /opt/ tar zxf mule-standalone-3.3.1.tar.gz ln -s mule-standalone-3.3.1 mule nano /etc/init.d/mule
#!/bin/bash # # mule Starts Mule ESB. # # # chkconfig: 345 88 12 # description: Mule ESB. ### BEGIN INIT INFO # Provides: $mule ### END INIT INFO # Set Mule related environment MULE_HOME=/opt/mule # Invoke Mule $MULE_HOME/bin/mule $1
chmod +x /etc/init.d/mule service mule start cat /opt/mule/logs/mule.log