> For the complete documentation index, see [llms.txt](https://cqube.sunbird.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cqube.sunbird.org/cqube-v-4.1-beta/prerequisites-for-installation-process.md).

# 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](https://720888978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Miy6UN-HyTKGo2Sjcky%2Fuploads%2Fgit-blob-eefbe569623e4e86d6bff1a8160a37160cfdbf96%2Fcqube_nginx_routes.png?alt=media)

#### 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
