You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					33 lines
				
				679 B
			
		
		
			
		
	
	
					33 lines
				
				679 B
			| 
								 
											7 years ago
										 
									 | 
							
								# Set up Debian Stretch server.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# Install dependencies.
							 | 
						||
| 
								 | 
							
								apt update
							 | 
						||
| 
								 | 
							
								apt install openjdk-8-jdk-headless
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# Get Mule
							 | 
						||
| 
								 | 
							
								# https://developer.mulesoft.com/download-mule-esb-runtime
							 | 
						||
| 
								 | 
							
								wget https://repository-master.mulesoft.org/nexus/content/repositories/releases/org/mule/distributions/mule-standalone/4.1.1/mule-standalone-4.1.1.tar.gz
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											7 years ago
										 
									 | 
							
								# As root
							 | 
						||
| 
								 | 
							
								mv mule-standalone-4.1.1.tar.gz /opt/
							 | 
						||
| 
								 | 
							
								cd /opt
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											7 years ago
										 
									 | 
							
								tar zxvf mule-standalone-4.1.1.tar.gz
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											7 years ago
										 
									 | 
							
								ln -s mule-standalone-4.1.1 mule
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# tarball has uid 500
							 | 
						||
| 
								 | 
							
								chown -R root:root /opt/mule*
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											7 years ago
										 
									 | 
							
								# Run manually
							 | 
						||
| 
								 
											7 years ago
										 
									 | 
							
								/opt/mule/bin/mule start
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# Configure Mule ESB
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# Set to start on Boot
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# Open up Mule ESB port on firewall: 
							 | 
						||
| 
								 | 
							
								-A INPUT -p tcp --dport 32000 -j ACCEPT
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 
											7 years ago
										 
									 | 
							
								
							 |