Announcement

Collapse
No announcement yet.

Install on dedicated server?

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

  • Install on dedicated server?

    Trying to install mirth on a CentOS server hosted at ThePlanet.com. Since the only access I have is via SSH, installation is proving to be a pain.

    Has anyone attempted installation via SSH on a remote linux box? I tried to follow the directions for a Linux install and they don't work.

  • #2
    Re:Install on dedicated server?

    We're chatting about this on IRC right now. beta4, please post updates after our chat!
    Jon Bartels

    Zen is hiring!!!!
    http://consultzen.com/careers/
    Talented healthcare IT professionals wanted. Engineers to sales to management.
    Good benefits, great working environment, genuinely interesting work.

    Comment


    • #3
      Re:Install on dedicated server?

      http://pastebin.com/m2b137a8

      This is a chunk of an install script my team uses to build our testing systems where we use Mirth to help us hammer on our own applications. DO NOT USE THIS DIRECTLY, IT IS AN EXAMPLE AND WILL NOT WORK WITHOUT CHANGES FOR YOUR ENVIRONMENT.

      Pretty much what it does is:
      1. Unpack the tarball
      2. Apply a diff patch to mirth.conf, you could also just copy files over.
      3. Adjust file permissions. The parent script is run as root so we change the user around for the user running Mirth.
      4. Run update-rc.d to have mirth run on boot. This is an Ubuntu/Debian thing, not sure what the equivalent is in RedHat.
      5. Use shell.sh and a mirth script to load some channels.

      Feel free to use this as a guide or basis for your own install script. I am not responsible for anything this code does to your system.
      Jon Bartels

      Zen is hiring!!!!
      http://consultzen.com/careers/
      Talented healthcare IT professionals wanted. Engineers to sales to management.
      Good benefits, great working environment, genuinely interesting work.

      Comment


      • #4
        Re:Install on dedicated server?

        The update-rc.d equivalent in RH/CentOS systems is the "chkconfig" command. In older versions of RH there was tool called "setup" to edit the runlevels.

        The main diferences between update-rc.d in Debian-like distros and the chkconfig from the RH-like, is that the chkconfig seems to be more restrictive with the script: the script must implement start/stop/restart/reload ... and it's mandatory to have some information in the script's header with the service's name, order of the start/stop in the runlevel and so on.

        See you!

        Comment

        Working...
        X