MirAI-V2
Installation Guide
Installation, initial configuration, and post-install verification for the on-premise AI video-management system (VMS)
Revision History / 改訂履歴
| Version | Issue Date | Description | Approved |
| 1.0 | 2026-06-17 | Initial release | — |
1. Introduction
This document provides the formal installation procedure for "MirAI-V2 (version 2.0.3)", an on-premise AI video-management system (VMS) provided by MarkAny Co., Ltd. It covers installing the system into the customer environment, performing initial configuration, and verifying correct operation.
1.1 Scope
This document covers installation of the MirAI-V2 server and client, initial configuration including license activation, post-install verification, uninstallation, and troubleshooting of installation-time issues. For day-to-day operation and periodic maintenance procedures, refer to the Operations & Maintenance Manual. For acceptance items and test procedures, refer to the Acceptance & Test Specification.
1.2 Audience
This document is intended for the installer who performs the deployment, and for the system administrator who manages the system afterward. It assumes basic knowledge of Windows operation, network and firewall configuration, and working with administrator privileges.
1.3 Prerequisites (Operating Environment)
Before starting installation, confirm that the target machines meet the operating-environment and system requirements. Detailed server/client hardware requirements, GPU / CUDA / TensorRT requirements, network/port requirements, and supported cameras are documented in the separate System Requirements Specification.
This system is on-premise (installed at the customer site). AI inference is completed entirely within the server; video data is never sent to any external cloud. An NVIDIA GPU is required for AI inference.
2. Prerequisites
Before running the installer, confirm and prepare each item in the checklist below. The NVIDIA driver and CUDA Toolkit must be installed beforehand. All other dependencies (PostgreSQL, VC++ Runtime, GStreamer, CUDA libraries, etc.) are installed automatically by the MirAI-V2 installer.
2.1 Pre-Installation Checklist
- OS: Windows 10 or 11 (64-bit) is installed and fully up to date.
- GPU driver: NVIDIA GPU driver version 560 or higher is installed.
Verify: run nvidia-smi in Command Prompt; your GPU should be listed.
Download: https://www.nvidia.com/drivers
- CUDA Toolkit: CUDA Toolkit 12.8 is installed.
Verify: run nvcc --version in Command Prompt; it should report "release 12.8".
Download: https://developer.nvidia.com/cuda-downloads
- Free disk space: At least 50 GB free for installation (recording storage is reserved separately).
- Administrator rights: The account running the installer has administrator privileges on the target computer.
- Network / ports: If the server and client are on separate machines, the required ports (7878 / 7575 / 7979 TCP, 7676 UDP, etc.) can be opened on the server firewall. See section 5.3 "Network, Ports, and TLS".
- Database (PostgreSQL): The system uses PostgreSQL. PostgreSQL is installed automatically by the installer, so no prior installation is required. Confirm that DB port 5432 is available locally (no conflict with other applications).
- License information: The license key (format
XXXXX-XXXXX-XXXXX-XXXXX), or the offline activation procedure and contact, is ready. License key: ライセンスキー / License Key
- Installer: The official MirAI-V2 installer (
MirAI.exe) is available.
Only the NVIDIA driver and CUDA require prior installation. If these are not correctly installed, the AI engine will fail to start after installation. Always verify with nvidia-smi and nvcc --version before beginning installation.
3. Server Installation
The server is the core machine that runs the AI inference engine, video ingest (RTSP capture), recording, the API / WebSocket / TCP services, and the database. Follow the steps below to install it. For a single-machine setup (server and client on the same machine), select "Client and Server" at the installation-type step in this chapter to install the client at the same time.
3.1 Run the Installer
- Double-click the installer file
MirAI.exe.
- If Windows prompts "Do you want to allow this app to make changes to your device?", click Yes.
- Select the installation language (English / Japanese / Korean).
- Review and accept the License Agreement, then click Next.
[スクリーンショット挿入予定 / Screenshot: Installer start screen (language selection / License Agreement)]
3.2 Choose Installation Type (Components)
The installer asks what to install. To set the machine up as a server, choose one of the following.
| Option | When to Choose |
| Client and Server | This machine will run both the AI server and the viewing client (most common for a single-machine setup). |
| Server only | This machine will run only the AI processing server (dedicated server machine). The client is installed on a separate machine. |
- Select the installation type that matches your deployment.
- Click Next.
[スクリーンショット挿入予定 / Screenshot: Installation type (components) selection screen]
3.3 Run the Installation
The installer automatically performs the following. Please wait until it completes.
- Install VC++ Runtime (if not already present).
- Install the PostgreSQL database.
- Copy the MirAI Server files.
- Copy the MirAI Client files (when "Client and Server" is selected).
- Install GStreamer (video processing).
- Copy the NVIDIA CUDA libraries.
- Register the MirAI service (configured to start automatically on Windows boot).
- Start the MirAI server.
- Create a desktop shortcut.
Installation (file copy and dependency setup) takes approximately 5–10 minutes depending on your system.
[スクリーンショット挿入予定 / Screenshot: Installation progress (progress bar) screen]
3.4 Confirm Service Registration
After installation completes, the MirAI server is registered as a Windows background service and configured to start automatically. You can check and control its status as follows.
- Confirm that the MirAI system-tray icon appears in the notification area (near the clock at the lower-right of the screen).
- To control the service manually, right-click the system-tray icon and select Start Server / Stop Server.
- You can also control it from Command Prompt (run as Administrator):
net start com.markany.miraix
net stop com.markany.miraix
3.5 First Boot and First-Time AI Engine Build
After the server is installed, on the first login from the client (or on first boot), the AI engine builds models optimized for your GPU (TensorRT engine).
The first-time AI engine build takes approximately 15–30 minutes (varies by GPU configuration and number of cameras). This happens only on the first run; subsequent startups are fast. During the build, do not close the application, and do not add cameras or change settings.
[スクリーンショット挿入予定 / Screenshot: AI engine first-build loading screen]
4. Client Installation
The client is a dedicated application for live grid view, AI pipeline editing, and browsing notification/incident history. The steps below describe installing the client only on a machine separate from the server (for a single-machine setup, this chapter is not required).
4.1 Run the Installer and Select Components
- On the client machine, double-click
MirAI.exe.
- Click Yes at the Windows User Account Control prompt.
- Select the installation language (English / Japanese / Korean).
- Accept the License Agreement and click Next.
- Select Client only as the installation type and click Next.
[スクリーンショット挿入予定 / Screenshot: Installation type "Client only" selection screen]
4.2 Run the Installation and Confirm Completion
- The installer automatically installs the MirAI Client files and required dependencies (GStreamer, VC++ Runtime, etc.). Please wait until it completes.
- After installation completes, confirm that a MirAI shortcut has been created on the desktop.
When the client and server are on separate machines, the required ports must be open on the server firewall for the client to connect (see section 5.3 "Network, Ports, and TLS").
5. Initial Configuration
After installation, perform the initial configuration to bring the system to an operational state. Complete the first login, license activation, network/port/TLS, and time-zone/language settings in order.
5.1 First Login and Password Change
- Double-click the MirAI icon on the desktop to launch the client (you can also launch it from the Start Menu).
- On the login screen, enter the following.
| Field | What to Enter |
| Server IP | localhost (if the server is on this machine), or the server's IP address サーバー IP / Server IP |
| ID | admin |
| Password | The password entered at first login becomes the admin initial password. 初期パスワード / Initial Password |
- Click Log In.
- On first connection, a certificate warning for the self-signed certificate may appear. This is normal. Click Yes to trust the server (see section 5.3 "Network, Ports, and TLS" for details).
The administrator account (admin) is created automatically with no password on first boot, and the password entered at the first login becomes the initial password. For security, always change it to a strong password before starting operation.
To change the password:
- Open Settings (gear icon) → Users.
- Select the
admin user and click Edit.
- Change the password to a sufficiently strong one.
- Click Save.
[スクリーンショット挿入予定 / Screenshot: Login screen / Users settings (password change) screen]
5.2 License Activation
Activate the license to use the system legitimately. Depending on whether internet access is available, perform either online or offline activation.
5.2.1 Online Activation
- Open Settings → License.
- Enter the license key (format
XXXXX-XXXXX-XXXXX-XXXXX).
- Click Activate.
5.2.2 Offline Activation (No Internet Access)
- Open Settings → License.
- Click Generate Request File and save the generated file.
- Send the saved file to MarkAny support. Contact: support@markany.com
- Receive the returned license file.
- Click Upload License File, select the received file, and click Apply.
[スクリーンショット挿入予定 / Screenshot: License settings (key entry / offline activation) screen]
5.3 Network, Ports, and TLS
MirAI-V2 uses the following ports for client–server communication and for communication with cameras. If the client and server are on separate machines, allow inbound traffic on the relevant ports on the server firewall.
| Purpose | Port | Protocol | Notes |
| REST API (client ↔ server) | 7878 | HTTPS / TCP | HTTPS when TLS is enabled. |
| Real-time sync (event / status notifications) | 7575 | WSS / TCP | WebSocket over TLS. |
| Binary file transfer (video clips / images) | 7979 | TCP | Incident video / image download. |
| Live video streaming | 7676 | UDP | Live video delivery. |
| RTSP re-streaming (main / sub) | 8554 / 8555 | RTSP / TCP | Video re-delivery to clients. |
| Database connection | 5432 | TCP (PostgreSQL) | Local (server-side) connection recommended. |
Firewall setup (server side):
- Open Windows Defender Firewall → Advanced Settings.
- Click Inbound Rules → New Rule.
- Select Port → TCP and enter ports
7878, 7575, 7979.
- Select Allow the connection, apply to all profiles, and save the rule as "MirAI TCP".
- Repeat for UDP, entering port
7676, and save as "MirAI UDP".
Alternatively, run the following in PowerShell (as Administrator):
New-NetFirewallRule -DisplayName "MirAI TCP" -Direction Inbound -Port 7878,7575,7979 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "MirAI UDP" -Direction Inbound -Port 7676 -Protocol UDP -Action Allow
About TLS (encryption): MirAI-V2 enables TLS by default and communicates over HTTPS (7878) and WSS (7575). On first boot the server auto-generates a self-signed certificate, so a certificate warning may appear on first connection; this is normal for self-signed certificates. Replacement with a certificate issued by your own certificate authority (CA) is also supported.
5.4 Time Zone and Language
- The client display language is the one selected during initial installation (English / Japanese / Korean).
- Recording and event timestamps are recorded based on the Windows system time and time zone of the server machine. Before starting operation, confirm that the time zone is set correctly under Windows Settings → Time & language on the server machine. Time zone: タイムゾーン / Time Zone (e.g., (UTC+09:00) Osaka, Sapporo, Tokyo)
- When operating multiple machines, confirm that time is synchronized between server and client (e.g., via NTP).
6. Post-Install Verification
After completing the initial configuration, verify that the system is operating correctly. Confirm each item in the checklist below. For detailed acceptance items, test procedures, and pass/fail criteria, refer to the Acceptance & Test Specification.
- Server reachable: The server is running and the system-tray icon indicates the running state. If the client is on a separate machine, the server IP/ports are reachable.
- Login OK: You can log in successfully from the client with the
admin account.
- Add a test camera: You can add one test camera. From Settings → Camera Management → + Add Camera, register a camera by IP-range auto-discovery or by manually entering the RTSP URL, then click Add.
- Live view: The video of the added camera appears in the live-view grid.
- AI status running: The AI engine is in the running state and AI inference is operating normally (after the first-time build completes).
To add a test camera:
- Open Settings → Camera Management.
- Click + Add Camera.
- Choose a registration method:
- Automatic: Enter the IP range of the cameras (e.g.,
192.168.1.1 to 192.168.1.255) and click Search.
- Manual: Enter the camera's RTSP URL directly.
- Select the discovered (or entered) camera and click Add.
- Confirm that the video appears in the live-view grid.
[スクリーンショット挿入予定 / Screenshot: Add Camera screen / live-view grid / AI status display]
7. Uninstall
To remove the system from a machine, follow the steps below.
- Right-click the system-tray icon and select Exit to stop the system-tray app.
- Open Windows Settings → Apps, find MirAI in the list, and click Uninstall.
- Follow the uninstaller prompts to proceed.
For the server (and the client, if installed), the uninstaller automatically performs the following.
- Stops the MirAI server service.
- Removes all program files.
- Removes the service registration.
- Removes the desktop and Start Menu shortcuts.
Note on data handling: Recordings, the database, and configuration files are NOT deleted during uninstallation. To completely delete all data, including recorded video, event history, and configuration, you must manually delete the C:\Program Files\MirAI\Server\data\ folder after uninstalling.
This action cannot be undone. Because recorded video is erased in bulk, before performing it confirm that any needed data has been backed up or relocated, and that the deletion does not violate legal or internal retention requirements.
8. Troubleshooting
The following lists common installation-time issues and how to resolve them. For issues and remedies related to post-deployment operation and maintenance, refer to the Operations & Maintenance Manual.
| Category | Symptom | Resolution |
| Installer | Installer fails to start | Right-click the installer and select "Run as administrator". |
| GPU / driver | "NVIDIA driver not found" | Install the latest NVIDIA driver (version 560 or higher) from the NVIDIA site, and verify detection with nvidia-smi. |
| GPU / driver | "CUDA not found" | Install CUDA Toolkit 12.8 and verify with nvcc --version reporting "release 12.8". |
| Port conflict | Service does not start / port in use | Check whether the used ports (7878 / 7575 / 7979 / 7676 / 8554 / 8555, DB 5432) conflict with other applications. If so, stop the conflicting app or review the port settings. |
| License | License activation fails | Check the entered license key. In environments without internet access, perform offline activation (section 5.2.2). |
| DB connection | Server does not start after reboot | Confirm the PostgreSQL service is running. Check Windows Event Viewer → Application logs for error details. |
| Connectivity | Client cannot connect to the server | Confirm the server is running (system-tray icon). If on separate machines, confirm the required ports are open on the firewall. |
| Certificate | Certificate warning on first connection | Normal for self-signed certificates. Click "Yes" to trust the server. |
| AI engine | "AI Engine Loading" for over 30 minutes | Check GPU memory with nvidia-smi. If GPU memory is full, close other GPU applications. |
| Video | Camera stream is a black screen | First test the RTSP URL in VLC Media Player or similar to confirm connectivity. Check the camera credentials (ID/password). |
| Login | Login fails with "Check ID and Password" | The default ID is admin. If the password was changed, check with your administrator. |
If the above does not resolve the issue, or for issues related to post-deployment operation and maintenance, refer to the
Operations & Maintenance Manual and contact MarkAny support (
support@markany.com).