# Linux (Ubuntu / CentOS)

If you would like to deploy and use ngSurvey on a Linux you may use following ready to use scripts following scripts which will setup ngSurvey on your host in just a couple of minutes  :

## Ubuntu

you may use following shell script from your Ubuntu shell.

`curl -o ngs-ubuntu-docker.sh https://ngsurvey.s3.eu-central-1.amazonaws.com/ngs-ubuntu-docker.sh` \
`sudo chmod +x ./ngs-ubuntu-docker.sh` \
`sudo ./ngs-ubuntu-docker.sh`  &#x20;

## CentOS

you may use following shell script from your CentOS shell.&#x20;

curl -o ngs-centos-docker.sh <https://ngsurvey.s3.eu-central-1.amazonaws.com/ngs-centos-docker.sh> sudo chmod +x ./ngs-centos-docker.sh \
sudo sed -i 's/\r$//' ngs-centos-docker.sh \
sudo ./ngs-centos-docker.sh<br>

{% hint style="danger" %}
We would strongly recommend setting up as well an nginx reverse proxy to your host to proxy the request to your host for added security and performances.
{% endhint %}


---

# 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://docs.ngsurvey.com/installation-setup/installation/linux-ubuntu-centos.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.
