> For the complete documentation index, see [llms.txt](https://allqueue.gitbook.io/allq/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://allqueue.gitbook.io/allq/install/1.-install-allqueue-server.md).

# 1. Install AllQueue Server

AllQServer

## Download Docker Image

Grab latest server:

```
$ docker run -e CONFIG_ONLY=true blitline/allq:server_latest
```

{% hint style="info" %}
&#x20;You can simply run the base image, but it uses default credentials and you will want to update with new credentials
{% endhint %}

You will get results that look something like this

```bash
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I have generated a new CURVE public and private key for you here:

client:
export A_CURVE_PUBLICKEY="K1tMUUVUXXhxXi85KnB3NlQ9Kjp4W0RmdkwtOFhPcGlPbl1dN259eAA="
export A_CURVE_SECRETKEY="SnpBUDA+LShEejMxZ05RKzBWNFpiUjFUdHFkeHstNDM1YTEwVVU4JQA="
export A_CURVE_SERVER_PUBLICKEY="eT8zfV5bN1BPRG9eVnFeM2QoYzNGWWZuOVZXP2ltNXR5XTBJJUomTgA="

server:
export A_CURVE_PUBLICKEY="eT8zfV5bN1BPRG9eVnFeM2QoYzNGWWZuOVZXP2ltNXR5XTBJJUomTgA="
export A_CURVE_SECRETKEY="VmE2JntiMUExN2N9cypKRCElS2lLPEVSPHZFJHlVcj1AWVtxQUljSgA="

Please record and update your client and server containers with these environment values
It's OK if you don't, I will generate new ones again next time you run me.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
```

Please record the CLIENT AND SERVER credentials that were output from docker run command above.

Now, you will start the server with the credentials you have recorded for the **server**.

```bash
docker run --name=allq_server -d \
  -p 5555:5555 \
  -e "A_CURVE_SECRETKEY=$A_CURVE_SECRETKEY" \
  -e "A_CURVE_PUBLICKEY=$A_CURVE_PUBLICKEY" \
  --init \
  blitline/allq:server_latest
```

{% hint style="warning" %}
&#x20;It's important that you use the **SERVER** credentials, and not the client credentials (those will be used later).

Port 5555 must be open to the client (make sure your firewall/vpc is not BLOCKING port 5555)
{% endhint %}
