Mule ESB
----------------
https://developer.mulesoft.com/download-mule-esb-runtime
cd /opt
mkdir mule
cd mule
sudo wget "https://repository-master.mulesoft.org/nexus/content/repositories/releases/org/mule/distributions/mule-standalone/3.8.1/mule-standalone-3.8.1.tar.gz"
mkdir mule-dev
sudo tar xzf mule-standalone-3.8.1.tar.gz
mv /opt/mule/mule-standalone-3.8.1 /opt/mule/mule-dev
useradd mule && passwd masxxx
usermod -aG wheel mule
sudo chown -R mule:mule mule-dev
sudo vi /etc/init.d/mule-dev
#!/bin/bash
# RHEL Mule Init Script
#
# chkconfig: 2345 65 64
# description: Mule ESB service
. /etc/init.d/functions
#
if [ -f /etc/sysconfig/mule ]; then
. /etc/sysconfig/mule
fi
# Set JDK related environment
JAVA_HOME=/usr/java/default
PATH=$PATH:$JAVA_HOME/bin
# Set Mule related environment
MULE_HOME=/opt/mule/mule-dev
MULE_LIB=$MULE_HOME/lib
PATH=$PATH:$MULE_HOME/bin
RUN_AS_USER=mule
MULE_ENV=production
# Export environment variables
export JAVA_HOME MULE_HOME MULE_LIB PATH MULE_ENV RUN_AS_USER
case "$1" in
start)
echo "Start service mule"
$MULE_HOME/bin/mule start -M-Dspring.profiles.active=$MULE_ENV -M-DMULE_ENV=$MULE_ENV
;;
stop)
echo "Stop service mule"
$MULE_HOME/bin/mule stop
;;
restart)
echo "Restart service mule"
$MULE_HOME/bin/mule restart -M-Dspring.profiles.active=$MULE_ENV -M-DMULE_ENV=$MULE_ENV
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac
sudo chmod 755 /etc/init.d/mule-dev
sudo service mule-dev start
sudo service mule-dev stop
Check status
-----------------------------
cd /opt/mule/mule-dev/bin/
----------------
https://developer.mulesoft.com/download-mule-esb-runtime
cd /opt
mkdir mule
cd mule
sudo wget "https://repository-master.mulesoft.org/nexus/content/repositories/releases/org/mule/distributions/mule-standalone/3.8.1/mule-standalone-3.8.1.tar.gz"
mkdir mule-dev
sudo tar xzf mule-standalone-3.8.1.tar.gz
mv /opt/mule/mule-standalone-3.8.1 /opt/mule/mule-dev
useradd mule && passwd masxxx
usermod -aG wheel mule
sudo chown -R mule:mule mule-dev
sudo vi /etc/init.d/mule-dev
#!/bin/bash
# RHEL Mule Init Script
#
# chkconfig: 2345 65 64
# description: Mule ESB service
. /etc/init.d/functions
#
if [ -f /etc/sysconfig/mule ]; then
. /etc/sysconfig/mule
fi
# Set JDK related environment
JAVA_HOME=/usr/java/default
PATH=$PATH:$JAVA_HOME/bin
# Set Mule related environment
MULE_HOME=/opt/mule/mule-dev
MULE_LIB=$MULE_HOME/lib
PATH=$PATH:$MULE_HOME/bin
RUN_AS_USER=mule
MULE_ENV=production
# Export environment variables
export JAVA_HOME MULE_HOME MULE_LIB PATH MULE_ENV RUN_AS_USER
case "$1" in
start)
echo "Start service mule"
$MULE_HOME/bin/mule start -M-Dspring.profiles.active=$MULE_ENV -M-DMULE_ENV=$MULE_ENV
;;
stop)
echo "Stop service mule"
$MULE_HOME/bin/mule stop
;;
restart)
echo "Restart service mule"
$MULE_HOME/bin/mule restart -M-Dspring.profiles.active=$MULE_ENV -M-DMULE_ENV=$MULE_ENV
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac
sudo chmod 755 /etc/init.d/mule-dev
sudo service mule-dev start
sudo service mule-dev stop
Check status
-----------------------------
cd /opt/mule/mule-dev/bin/
./mule status
Nice coding you are provided Mulesoft online training
ReplyDeleteHi Bro,
DeleteGratitude for putting up this prolific article! You truly make everything a cake walk. Genuinely good stuff, saving time and energy.
I tried to verify if its permission issue. But respective team mentioned the mule process has access as its in higher environment and I don't have access to it.
I will try to verify again regarding the access permissions.
Its working in lower environments and has issue with higher environment which points to possible permissions issue. But may I know if there there are any other likely possible reasons for this.
I am so grateful for your blog. Really looking forward to read more.
Kind Regards,
Thanks for writing this in-depth post. You covered every angle. The great thing is you can reference different parts.
ReplyDeleteMulesoft Online Training
the blog is about MuleSoft Installation and Configuration on Centos 7 it is useful for students and Mulesoft Developers for more updates on Mulesoft follow the link
ReplyDeletemulesoft Online course
For more info on other technologies go with below links
Python Online Training
tableau online training hyderabad
ServiceNow Online Training
Hi Sysella,
ReplyDeleteGratitude for putting up this prolific article! You truly make everything a cake walk. Genuinely good stuff, saving time and energy.
In the previous blog post of this series on C4E, I discussed using an API-led approach to build software applications. The C4E practice encourages reuse of resources, collaboration with third-party developers, and frequent direct interaction with business owners. During the initial discovery phase, the team recognizes the opportunity to develop a System API that provides an endpoint for retrieving data from a lookup list. The System API also allows for the list to be replaced and updated.
By the way do you have any YouTube videos, would love to watch it. I would like to connect you on LinkedIn, great to have experts like you in my connection (In case, if you don’t have any issues).
Please keep providing such valuable information.
Thank you,
Irene Hynes