Announcement

Collapse
No announcement yet.

How to install Mirth Connect on AWS Linux ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #2
    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.

    Comment


    • #3
      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
      =======

      Comment


      • #4
        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
        ====

        Comment


        • #5
          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.

          Comment


          • #6
            I have a github gist for the instructions right here:

            https://gist.github.com/molsches/322bce27f21b65768f12

            Comment

            Working...
            X