tacticalrmm/README.md

132 lines
4.7 KiB
Markdown
Raw Normal View History

2020-01-05 23:47:54 +00:00
# Tactical RMM
2020-03-28 10:19:45 +00:00
[![Build Status](https://dev.azure.com/dcparsi/Tactical%20RMM/_apis/build/status/wh1te909.tacticalrmm?branchName=develop)](https://dev.azure.com/dcparsi/Tactical%20RMM/_build/latest?definitionId=4&branchName=develop)
2020-12-16 10:47:05 +00:00
[![Coverage Status](https://coveralls.io/repos/github/wh1te909/tacticalrmm/badge.png?branch=develop&kill_cache=1)](https://coveralls.io/github/wh1te909/tacticalrmm?branch=develop)
2020-01-05 23:47:54 +00:00
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
Tactical RMM is a remote monitoring & management tool for Windows computers, built with Django and Vue.\
2020-10-23 06:20:20 +00:00
It uses an [agent](https://github.com/wh1te909/rmmagent) written in golang, as well as the [SaltStack](https://github.com/saltstack/salt) api and [MeshCentral](https://github.com/Ylianst/MeshCentral)
2020-01-05 23:47:54 +00:00
2020-07-18 07:57:22 +00:00
# [LIVE DEMO](https://rmm.xlawgaming.com/)
Demo database resets every hour. Alot of features are disabled for obvious reasons due to the nature of this app.
2020-01-05 23:47:54 +00:00
*Tactical RMM is currently in alpha and subject to breaking changes. Use in production at your own risk.*
2020-08-12 03:36:34 +00:00
### [Discord Chat](https://discord.gg/upGTkWp)
2020-01-05 23:47:54 +00:00
## Features
- Teamviewer-like remote desktop control
- Real-time remote shell
- Remote file browser (download and upload files)
2020-05-06 01:07:45 +00:00
- Remote command and script execution (batch, powershell and python scripts)
2020-01-05 23:47:54 +00:00
- Event log viewer
- Services management
- Windows patch management
2020-05-06 01:07:45 +00:00
- Automated checks with email/SMS alerting (cpu, disk, memory, services, scripts, event logs)
- Automated task runner (run scripts on a schedule)
2020-01-05 23:47:54 +00:00
- Remote software installation via chocolatey
- Software and hardware inventory
## Windows versions supported
- Windows 7, 8.1, 10, Server 2008R2, 2012R2, 2016, 2019
2020-06-25 17:49:12 +00:00
## Installation
### Requirements
2020-12-19 07:50:05 +00:00
- VPS with 4GB ram (an install script is provided for Ubuntu Server 20.04 / Debian 10)
2020-06-25 17:49:12 +00:00
- A domain you own with at least 3 subdomains
- Google Authenticator app (2 factor is NOT optional)
2020-05-06 01:07:45 +00:00
2020-06-25 17:49:12 +00:00
### Docker
Refer to the [docker setup](docker/readme.md)
2020-05-06 01:07:45 +00:00
2020-06-25 17:49:12 +00:00
### Installation example (Ubuntu server 20.04 LTS)
Fresh VPS with latest updates\
login as root and create a user and add to sudoers group (we will be creating a user called tactical)
```
apt update && apt -y upgrade
adduser tactical
usermod -a -G sudo tactical
```
switch to the tactical user and setup the firewall
```
su - tactical
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow ssh
sudo ufw allow http
sudo ufw allow https
sudo ufw allow proto tcp from any to any port 4505,4506
2020-11-22 22:50:59 +00:00
sudo ufw allow proto tcp from any to any port 4222
sudo ufw enable && sudo ufw reload
```
Our domain for this example is tacticalrmm.com
In the DNS manager of wherever our domain is hosted, we will create three A records, all pointing to the public IP address of our VPS
Create A record ```api.tacticalrmm.com``` for the django rest backend\
Create A record ```rmm.tacticalrmm.com``` for the vue frontend\
Create A record ```mesh.tacticalrmm.com``` for meshcentral
Download the install script and run it
```
2020-11-26 03:42:27 +00:00
wget https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/install.sh
chmod +x install.sh
./install.sh
```
2020-06-25 17:49:12 +00:00
Links will be provided at the end of the install script.\
Download the executable from the first link, then open ```rmm.tacticalrmm.com``` and login.\
Upload the executable when prompted during the initial setup page.
2020-06-25 17:49:12 +00:00
### Install an agent
From the app's dashboard, choose Agents > Install Agent to generate an installer.
2020-06-25 17:49:12 +00:00
## Updating
2020-11-26 03:42:27 +00:00
Download and run [update.sh](https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/update.sh)
```
2020-11-26 03:42:27 +00:00
wget https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/update.sh
chmod +x update.sh
./update.sh
```
## Backup
2020-11-26 03:42:27 +00:00
Download [backup.sh](https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/backup.sh)
```
2020-11-26 03:42:27 +00:00
wget https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/backup.sh
```
Change the postgres username and password at the top of the file (you can find them in `/rmm/api/tacticalrmm/tacticalrmm/local_settings.py` under the DATABASES section)
Run it
```
chmod +x backup.sh
./backup.sh
```
## Restore
Change your 3 A records to point to new server's public IP
Create same linux user account as old server and add to sudoers group and setup firewall (see install instructions above)
Copy backup file to new server
2020-10-30 00:07:02 +00:00
Download the restore script, and edit the postgres username/password at the top of the file. Same instructions as above in the backup steps.
```
2020-11-26 03:42:27 +00:00
wget https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/restore.sh
2020-10-30 00:07:02 +00:00
```
Run the restore script, passing it the backup tar file as the first argument
```
chmod +x restore.sh
./restore.sh rmm-backup-xxxxxxx.tar
```