Installation Alternatives
This guide provides instructions for installing Mideye Server 6.x, whether you're performing a new installation or upgrading from previous versions.
Introduction¶
Mideye Server 6.x offers enhanced features and improvements over earlier versions. This guide covers the following installation scenarios:
- New Installation of Mideye Server 6.x
- Upgrading from Mideye Server 5.x to 6.x
- Option 1: Install on a New Server
- Option 2: Install Alongside Mideye Server 5.x
New Installation of Mideye Server 6.x¶
Performing a fresh installation of Mideye Server 6.x is straightforward and ideal for new deployments.
Prerequisites¶
- Download Mideye Server 6.x: Obtain the latest installer from downloads.mideye.com.
- Database Setup: Prepare a database server (MySQL, MSSQL, or MariaDB).
- Windows: MSSQL Express is recommended when both the Mideye Server and the database are on the same server.
- Linux: MariaDB or MySQL is preferred.
Installation Steps¶
-
Install Database Server:
- Set up your preferred database server.
- Create a new database for Mideye Server.
- Note down the database credentials (host, port, database name, username, password).
-
Install Mideye Server 6.x:
- Run the Mideye Server installer on your server.
- Windows: When prompted, input the database credentials to configure Mideye Server's connection. This can also be done afterwards in
C:\Program Files (x86)\Mideye Server 6\config\application-prod.yml
. - Linux: Database is configured in
/opt/mideyeserver6/config/application-prod.yml
after the installation.
Initial Configuration:¶
- Access the Mideye Server Web GUI at
https://<server-ip>:<port>
.- Windows default port: 443
- Linux default port: 8443
- Verify Installation Challenge:
-
Upon first login, you'll be prompted to verify the installation challenge that can be found in the server log file.
- Windows:
C:\Program Files (x86)\Mideye Server 6\logs\mideyeserver.log
. - Linux:
/opt/mideyeserver6/logs/mideyeserver.log
- Windows:
-
Set Root Password:
- Create a secure root password for administrative access.
-
Configure Switch Port to Central Server:
- Set up the switch port to connect to the Mideye Central Server.
- For offline mode or additional assistance, contact Mideye Support.
-
Optional Configurations:
- The Web GUI wizard may prompt you to set up:
- LDAP Profiles
- RADIUS Clients
- RADIUS Shared Secrets
- These steps can be skipped and configured later via the administrative interface.
- The Web GUI wizard may prompt you to set up:
Upgrading from Mideye Server 5.x to 6.x¶
Upgrading from Mideye Server 5.x to 6.x can be achieved using one of two methods. If you're upgrading from Mideye Server 4.x, please upgrade to version 5.x first.
Warning
If multiple Mideye Servers share the same database, special considerations are required due to the encryption of RADIUS Shared Secrets in version 6.x. Refer to Shared Database for details.
Option 1: Install on a New Server¶
Installing Mideye Server 6.x on a new server minimizes downtime and impact on your production environment.
Steps¶
-
Preparation:
- Review the Pre-install Checklist.
- Download the Mideye Server 6.x installer.
-
Database Migration:
- Export Mideye Server 5.x Database:
- Use your database's export tools. Example for MySQL:
- Import into New Database:
- Set up a new database for Mideye Server 6.x.
- Import the exported data. Example:
- Export Mideye Server 5.x Database:
-
Install Mideye Server 6.x:
- Run the installer on the new server.
- Provide the new database credentials during installation.
- Complete the installation process.
-
Initial Configuration:
- Access the Web GUI and complete the Initial Configuration steps as per the new installation.
-
Redirect RADIUS Clients:
- Update your RADIUS clients to point to the new Mideye Server 6.x.
- This switch can often be done without downtime.
Option 2: Install Alongside Mideye Server 5.x¶
You can install Mideye Server 6.x on the same server as version 5.x. Note that both cannot run simultaneously due to port conflicts.
Steps¶
-
Preparation:
- Review the Pre-install Checklist.
- Ensure you have the Mideye Server 6.x installer.
-
Database Handling:
- Export Mideye Server 5.x Database:
- Create New Database for Version 6.x:
- Import Data:
-
Stop Mideye Server 5.x:
- To avoid port conflicts, stop and disable the old server:
-
Install Mideye Server 6.x:
- Run the installer on the same server.
- Provide the new database credentials when prompted or configure it in the configuration file.
- Windows:
C:\Program Files (x86)\Mideye Server 6\config\application-prod.yml
. - Linux:
/opt/mideyeserver6/config/application-prod.yml
.
- Windows:
-
Initial Configuration:
- Access the Web GUI and complete the Initial Configuration steps.
-
Start Mideye Server 6.x:
-
Verify and Redirect:
- Test the new installation to ensure it’s functioning correctly.
- Redirect RADIUS clients to the new server as needed.
Upgrading from 6.x to Mideye Server 6.2 and greater.¶
Upgrading to version 6.2 involves minor configuration changes.
Steps
-
Backup and Preparation:
- Backup: Take a snapshot or backup of your current system.
- Mideye Server Database
- Mideye Server config directory
- Download: Get the latest installer from the Downloads page.
- Backup: Take a snapshot or backup of your current system.
-
Run the Installer:
- Execute the Mideye Server 6.2 installer.
- Proceed through the installation.
-
Update Configuration File:
- Open the configuration file.
- Windows:
C:\Program Files (x86)\Mideye Server 6\config\application-prod.yml
. - Linux:
/opt/mideyeserver6/config/application-prod.yml
.
- Windows:
- Append
;trustServerCertificate=true;
to the database URL. like - Save and close the file.
- Open the configuration file.
-
Verify Installation:
- Check logs to confirm successful installation.
- On Windows, you can monitor logs using PowerShell:
Get-Content 'C:\Program Files (x86)\Mideye Server 6\log\mideyeserver.log' -Wait
Additional Information
- Support: For assistance, contact Mideye Support.
- Offline Mode: If operating in offline mode, additional steps may be required. Contact support for guidance.
- Configuration Wizard: After installation, you can skip optional configurations (LDAP, RADIUS) during the initial setup and configure them later via the Web GUI.
By following this guide, you’ll successfully install or upgrade to Mideye Server 6.x, ensuring minimal disruption to your services.