web stats
How to install Mirth Connect on AWS Linux ? - Mirth Community

Go Back   Mirth Community > Mirth Connect > General Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 01-19-2017, 05:45 PM
eric_analyticsmd eric_analyticsmd is offline
What's HL7?
 
Join Date: Jan 2017
Posts: 5
eric_analyticsmd is on a distinguished road
Default How to install Mirth Connect on AWS Linux ?

Hi,
I'm new to Mirth Connect and I want to know how to install / configure Mirth Connect on EC2-AMI on AWS.
I've already used 'rpm -i' to install the rpm file.
But, I don't know how to start it and configure it.
The user guide has detailed info on Mac and PC.
But I'm installing it on a headless AWS instance.

Any pointers much appreciated.

Thanks.
Reply With Quote
  #2  
Old 01-20-2017, 01:24 PM
jack.downes jack.downes is offline
OBX.2 Kenobi
 
Join Date: Apr 2014
Posts: 67
jack.downes is on a distinguished road
Default

I've never used AWS, however, I'm under the impression that it's much like any other virtualized linux VM. so... I use debian when using linux, or SmartOS anymore for just about everything.

The thing about using the package manager method, is they are going to put it where it belongs in your environment - according to the package installation rules. This is generally good, but it means I can't tell you directly where it is.

If during the install, it installed a service, you should be able to use the service start stop scripts as provided by redhat. barring that, take a look in /etc/init.d or /etc/rc.d ... gah, I have minimal idea where it is. you could always run update and then locate mirth to find it

you'll just have to perform the config to tie it into the database, etc.

If this is your first time installing mirth... you should REALLY REALLY setup fedora on a local machine, install it there, and learn locally first. remote installs, until you know what you are doing, well, they aren't as fun -this doesn't apply only to mirth, but to most anything.
Reply With Quote
  #3  
Old 01-20-2017, 02:40 PM
eric_analyticsmd eric_analyticsmd is offline
What's HL7?
 
Join Date: Jan 2017
Posts: 5
eric_analyticsmd is on a distinguished road
Default

I could start mcservice ok, it seems.
But I couldn't start mcserver.

My conf/mirth-cli-config.properties looks like this:
====
address=https://1.2.3.4:8443
user=admin
password=xxx
version=0.0.0
====
1.2.3.4 is my AWS instance's public IP.

The only things that I changed in my conf/mirth.properties file is this:
=====
http.host = 1.2.3.4
https.host = 1.2.3.4
database = mysql
database.url = jdbc:mysql://localhost:3306/mirthdb
database.username = mirth
database.password = xxx
=======
Reply With Quote
  #4  
Old 01-20-2017, 02:43 PM
eric_analyticsmd eric_analyticsmd is offline
What's HL7?
 
Join Date: Jan 2017
Posts: 5
eric_analyticsmd is on a distinguished road
Default

Quote:
Originally Posted by jack.downes View Post
I've never used AWS, however, I'm under the impression that it's much like any other virtualized linux VM. so... I use debian when using linux, or SmartOS anymore for just about everything.

The thing about using the package manager method, is they are going to put it where it belongs in your environment - according to the package installation rules. This is generally good, but it means I can't tell you directly where it is.

If during the install, it installed a service, you should be able to use the service start stop scripts as provided by redhat. barring that, take a look in /etc/init.d or /etc/rc.d ... gah, I have minimal idea where it is. you could always run update and then locate mirth to find it

you'll just have to perform the config to tie it into the database, etc.

If this is your first time installing mirth... you should REALLY REALLY setup fedora on a local machine, install it there, and learn locally first. remote installs, until you know what you are doing, well, they aren't as fun -this doesn't apply only to mirth, but to most anything.
I could start mcservice but failed to start mcserver
Here is my conf/mirth-cli-config.properties
(1.2.3.4 is my AWS instance's public IP)
=====
address=https://1.2.3.4:8443
user=admin
password=xxx
version=0.0.0
=====
Here's what I changed in my conf/mirth.properties :
====

http.host = 1.2.3.4
https.host = 1.2.3.4
database = mysql
database.url = jdbc:mysql://localhost:3306/mirthdb
====
Reply With Quote
  #5  
Old 01-20-2017, 09:43 PM
jack.downes jack.downes is offline
OBX.2 Kenobi
 
Join Date: Apr 2014
Posts: 67
jack.downes is on a distinguished road
Default

Oh, well, when you start mcservice, is the port 8080 listening? if so, point a browser at the IPort and use it.

also, if mcservice is running, then attempting to run mcserver after that will fail - the port is already used.
I'll join IRC and see if you are in there still, it's late, but perhaps I can help there.
Reply With Quote
  #6  
Old 01-24-2017, 10:00 AM
markolschesky markolschesky is offline
Mirth Newb
 
Join Date: Dec 2014
Location: Madison, WI
Posts: 7
markolschesky is on a distinguished road
Default

I have a github gist for the instructions right here:

https://gist.github.com/molsches/322bce27f21b65768f12
Reply With Quote
Reply

Tags
install

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 05:45 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation