Prerequisites for Mule Applications
Prerequisites for Mulesoft Development :
We need to satisfy the following prerequisites before installing Mule on our computer −
Java Development Kit (JDK)
Before installing MULE, verify that you have supported version of Java on your system. JDK 1.8.0 is recommended to successfully install Mule on your system.
Operating System :
Following operating systems are supported by Mule −
- MacOS 10.11.x
- HP-UX 11iV3
- AIX 7.2
- Windows 2016 Server
- Windows 2012 R2 Server
- Windows 10
- Windows 8.1
- Solaris 11.3
- RHEL 7
- Ubuntu Server 18.04
- Linux Kernel 3.13+
System Requirements :
Before installing Mule on your system, it must fulfil the following system requirements −
- At least 2 GHz CPU or 1 Virtual CPU in virtualized environments
- Minimum 1 GB RAM
- Minimum 4 GB storage
Maven : Maven is optional but we should have maven 3 version installed in our machine.(in Mule 4, mule project is by default mavenized.)
Download and Install Mule :
Before downloading and installing Mule, verify that you have a supported JDK installed. This example uses AdoptOpenJDK 8, which is recommended for Mule 4.2.
Downloading Mule :
Download the Mule 4 binary file from the following link and unzip it:
https://www.mulesoft.com/lp/dl/mule-esb-enterprise
Set an environment variable called MULE_HOME for the mule directory inside your extracted folder.
Example for version 4.2.0 in the Downloads directory:
On Windows environments:
$ env:MULE_HOME=C:\Downloads\mule-enterprise-standalone-4.2.0\
On Linux/Unix environments:
$ export MULE_HOME=~/Downloads/mule-enterprise-standalone-4.2.0/
Running Mule
You can test if Mule runs in your system without errors by running the following commands:
On Windows environments:
%MULE_HOME%\bin\mule.bat
On Linux/Unix environments:
$ $MULE_HOME/bin/mule
These commands run Mule in foreground mode, and the startup script displays information on the terminal’s standard output. You can’t issue further commands on the terminal as long as Mule is running.
To stop Mule, press CTRL-C in the terminal in which the script is running.
Download and Install Mule :
Before downloading and installing Mule, verify that you have a supported JDK installed. This example uses AdoptOpenJDK 8, which is recommended for Mule 4.2.
Downloading Mule :
Download the Mule 4 binary file from the following link and unzip it:
https://www.mulesoft.com/lp/dl/mule-esb-enterprise
Set an environment variable called MULE_HOME for the mule directory inside your extracted folder.
Example for version 4.2.0 in the Downloads directory:
On Windows environments:
$ env:MULE_HOME=C:\Downloads\mule-enterprise-standalone-4.2.0\
On Linux/Unix environments:
$ export MULE_HOME=~/Downloads/mule-enterprise-standalone-4.2.0/
Running Mule
You can test if Mule runs in your system without errors by running the following commands:
On Windows environments:
%MULE_HOME%\bin\mule.bat
On Linux/Unix environments:
$ $MULE_HOME/bin/mule
These commands run Mule in foreground mode, and the startup script displays information on the terminal’s standard output. You can’t issue further commands on the terminal as long as Mule is running.
To stop Mule, press CTRL-C in the terminal in which the script is running.
You might like this:
Labels:
MuleSoft tutorial documentation, MuleSoft tutorial, What is MuleSoft API, MuleSoft API integration, MuleSoft Anypoint, MuleSoft Anypoint Studio
No comments:
Post a Comment