Mirth Connect
Installation Guide
A complete, step-by-step guide to installing and configuring Mirth Connect — covering system requirements, Java setup, database configuration, service startup, and production hardening for healthcare IT teams.
Get Installation Support
Our Mirth Connect engineers can handle the installation for you — contact us for professional setup services.
System Requirements
Ensure your server meets these requirements before beginning the Mirth Connect installation.
Mirth Connect Installation Steps
Follow these steps in order to install and configure Mirth Connect for development or production use.
Install Java Runtime
Mirth Connect requires Java 11 or Java 17. Download and install OpenJDK from the official distribution for your OS. Set JAVA_HOME environment variable and verify with 'java -version'.
# Linux (RHEL/CentOS) sudo yum install java-17-openjdk-devel export JAVA_HOME=/usr/lib/jvm/java-17-openjdk # Ubuntu/Debian sudo apt-get install openjdk-17-jdk export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
Download Mirth Connect Installer
Download the latest Mirth Connect installer from the NextGen Healthcare GitHub releases page. Choose the installer appropriate for your operating system (Windows .exe, Linux .sh, or platform-independent .zip).
# Download via wget (Linux) wget https://github.com/nextgenhealthcare/connect/releases/download/4.5.0/mirthconnect-4.5.0.b325-unix.sh chmod +x mirthconnect-4.5.0.b325-unix.sh
Run the Installer
Execute the installer with administrative privileges. The GUI installer will guide you through selecting the installation directory, port configuration, and initial service settings. For Linux headless servers, use the console mode installer.
# Linux console mode installation sudo ./mirthconnect-4.5.0.b325-unix.sh -c # Windows (Run as Administrator) mirthconnect-4.5.0.b325-windows.exe
Configure External Database (Recommended)
For production deployments, replace the embedded Derby database with PostgreSQL or MySQL. Edit the mirth.properties file in the Mirth Connect installation directory to configure the external database connection.
# Edit mirth.properties database = postgres database.url = jdbc:postgresql://localhost:5432/mirthdb database.username = mirth database.password = your_secure_password database.max-connections = 20
Start the Mirth Connect Service
Start the Mirth Connect server service. On Windows, use the Services panel or the Mirth Connect Service Manager. On Linux, use systemctl or the mcservice script included in the installation directory.
# Linux (systemd) sudo systemctl start mcservice sudo systemctl enable mcservice sudo systemctl status mcservice # Using mcservice script sudo /opt/mirthconnect/mcservice start
Connect via Administrator Client
Launch the Mirth Connect Administrator desktop client (Java Web Start or standalone) and connect to your server at https://[server-ip]:8443. Default credentials are admin/admin — change these immediately after first login.
# Default connection settings Server: https://your-server-ip:8443 Username: admin Password: admin # Change password immediately after login! # Administrator > Settings > User > Change Password
Harden for Production
Before going live, apply production hardening: change default credentials, configure SSL certificates, enable audit logging, restrict administrative access by IP, and configure automatic backups of your Mirth configuration.
# Key production hardening steps: # 1. Change admin password and create role-based users # 2. Import valid SSL certificate (not self-signed) # 3. Configure backup schedule in Settings > Server # 4. Enable message pruning to manage disk usage # 5. Configure SMTP for alert notifications
Installation FAQs
What version of Java does Mirth Connect require?
Can Mirth Connect run on Linux?
Should I use the embedded Derby database or an external database?
What ports does Mirth Connect use by default?
How do I upgrade from an older version of Mirth Connect?
Can Taction Software help with Mirth Connect installation?
Need Help Installing Mirth Connect?
Skip the complexity — let our Mirth Connect engineers handle the installation, configuration, and production hardening for you. We'll have your environment ready faster and configured correctly from the start.
- Professional installation on your infrastructure
- Database setup and migration
- SSL configuration and security hardening
- Initial channel deployment and testing
Get Professional Installation Help
Tell us about your server environment and our engineers will get your Mirth Connect running right.