[toc]
# RMM Server 3.x Installation Guide
If you are interested in **RMM 3.x** and used to Windows platform, On-Premise, we also provide an installer for Windows 10. This section will guide you how to install RMM 3.x Server on Windows. Note here that:
- The RMM installer is named something like “**RMM 3.x ServerSetup_3.x.x.exe**”. To acquire the installer and ensure having the latest version, please contact us.
## Minimum Hardware Requirements
- Intel® Core™ i5 2.3 GHz CPU and at least 8GB of RAM

- 500 GB data storage partition (for documents and indexing)
## Prerequisites
- **RMM 3.x ServerSetup_3.x.x.exe installer for Windows.**
- *RMM 3.2 ServerSetup_3.2.19 (Support CHT SMS).exe*
- **Java Runtime Environment (JRE) installer for Windows x64**
- *jre-8u351-windows-x64.exe*
- **The .NET Framework 3.5 installer (Offline)**
- *dotnetfx35.exe*
- **Suggest to update all security updates and feateurs through Windows Update**

## Steps to Installation
### Prerequisites
1. Install Java Runtime Environment (JRE)

2. Click on "**Install**"

3. Normaly, it will auto setup and configure the system environment by default, click "**Close**" to end of process.

4. Install .Net Framework 3.5.
a). Option 1, through **dotnetfx35.exe** offline package.

b). Option 2, through Windows features to turn on. Enter "**windows features**" on the search bar, and click on "**Turn Windows features on or off**"

Pick-up the **.Net Framework 3.5 (include .Net2.0 and 3.0**) then apply the change.

### RMM 3.x Server
1. Install RMM 3.x and run as administrator.

2. Click "**Next**"

3. Select "**I accept the term in the License Agreement**" then click "**Next**".

4. Select installation folder and click on "**Next**"

5. Enter HTTP port number, default adopt 8080 for web service.

6. Configure the password of the relational database (PostgreSQL) that RMM uses to manage account, device, permission, and relation data.

7. Configure the password of the NoSQL database (MongoDB) that stores device sensor data.

8. Configure MQTT SSL, disable SSL by default.

9. Restore the previous relation database (PostgreSQL), if not please select "**I do not need to restore Database**"

10. Restore the previous nosql database (MongoDB), if not please select "**I do not need to restore Database**"

11. Enter the login password for RMM portal.

12. Click "**Install**"

13. Launch RMM web service shortcut on desktop, click the “RMM 3.x” shortcut in order to launch a browser and to start device operation and management. It is recommended to use Chrome for the best user experience.

14. Log in to the RMM service with your account (admin) and password configured on step 11.

### Enable Data Recycling
The default of the RMM system is not to enable data recycle. In order to prevent your hard disk out of space, it is recommended to enable the **capped mechanism** for the database. At least for '**InfoSpec**' collection.
Set **100MB** (104857600) for **InfoSpec** collection, try to open the command line on "**C:\Program Files (x86)\Advantech\RMM 3.2 Server\Database\MongoDB\Server\3.0**"
```typescript!
mongo.exe
use SA31
db.auth("admin", "YOUR_PASSWORD")
db.runCommand({"convertToCapped": "InfoSpec", size:104857600})
```

Confirm the status:
```typescript!
db.InfoSpec.stats()
```

### Product Activation
1. Copy the **Setting.xml** and send back to ours (PM or Sales)

or copy the xml tag (**Information** and **authorization**) data and send an e-mail to ours.

2. After authorization, we will sign the file and send it back to you, please **replace** the original file.
3. Restart the **RMSWatchDog** service or restart the operation system.
4. Login to RMM portal with your account and password. Click on **admin** -> **System Setting**

5. The version will include the ***Profession*** in the **About** section.
