# Prerequisites for Installation process

#### Prerequisites to install cQube:

* ubuntu 18.04 (supported)
* 32GB of System RAM (minimum requirement)
* 8 core CPU (minimum requirement)
* Domain name (with SSL)
* 1 TB Storage

#### Reverse proxy rules (public routing):

* Port 4200 should be proxied to the '/'
* Port 8080 should be proxied to the '/auth'
* Port 3000 should be proxied to the '/api'
* Port 8000 should be proxied to the '/data'

#### Nginx - cQube server firewall configuration

* Port 4200 should be open from Nginx to the cQube server
* Port 8080 should be open from Nginx to the cQube server
* Port 3000 should be open from Nginx to the cQube server
* Port 8000 should be open from Nginx to the cQube server

#### OpenVPN - cQube server firewall configuration

* Port 9000 should be open from OpenVPN to the cQube server

![cQube Nginx Routes](/files/ioYVbJsUeijhKHBSOQQ1)

#### Reverse proxy rules (internal routing):

The following ports have to be configured in the Nginix server with reverse proxy:

* Port 4201 should be proxied to the '/'
* Port 3001 should be proxied to the '/api'

#### Nginx - cQube server firewall configuration

* Port 4201 should be open from Nginx to the cQube server
* Port 3001 should be open from Nginx to the cQube server

#### Openvpn - cQube server firewall configuration

* Port 80 should be open from openvpn to the Nginx


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cqube.sunbird.org/cqube-v-4.1-beta/prerequisites-for-installation-process.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
