Installation Guide
Requirements
To run TRASA with a bare minimal setup, you will need :
- Database (PostgreSQL),
- Redis,
- Guacamole Guacd server (Only required If you need to protect Remote Desktop Access),
- TRASA server itself.
The minimum server requirement to run TRASA is:
- 1 core CPU,
- 1 GB ram,
- 20 GB storage.
important
Planning for extra storage space is critical since session recording of remote access can quickly cover up available spaces. It depends on frequency of access, policy that enables session recording.
- docker
- ubuntu
- kubernetes
- Run Postgres or CockroachDB on port 5432
sudo docker run -d -p 5432:5432 --name db \
-e POSTGRES_PASSWORD=trasauser \
-e POSTGRES_USER=trasauser \
-e POSTGRES_DB=trasadb postgres:13.0
- Run Redis on port 6379
sudo docker run -d -p 6379:6379 --name redis redis:6.0.8
- Run guacd (Apache Guacamole RDP proxy server). This is only required if you need to protect RDP service
sudo docker run -d --rm --name guacd \
-p 127.0.0.1:4822:4822 \
-v /tmp/trasa/accessproxy/guac:/tmp/trasa/accessproxy/guac \
--user root seknox/guacd:v0.0.1
- Run trasa-server
tip
- Replace app.trasa in
TRASA.LISTENADDR
with hostname/IP you want TRASA server to listen on. - If
TRASA.LISTENADDR
is not a public domain, turn off the autocert by passing-e TRASA.AUTOCERT="false"
sudo docker run -d --link db:db \
--link guacd:guacd \
--link redis:redis \
-p 443:443 \
-p 80:80 \
-p 8022:8022 \
-e TRASA.LISTENADDR=app.trasa \
-v /tmp/trasa/accessproxy/guac:/tmp/trasa/accessproxy/guac \
seknox/trasa:v1.1.4
info
Go through config reference to run TRASA in environment according to your need