Installing Yadle » Self-Hosted » Environment Setup

Follow the steps outlined here to ensure your Linux system is ready to go for a self-hosted Yadle deployment.

1. Install both curl and gzip packages if not already installed on system.

CentOS:
$ sudo yum install curl gzip

Ubuntu:

$ sudo apt install curl gzip

2. Install Docker Engine for your Linux Distribution. Refer to the official Docker docs for installation.

CentOS:
https://docs.docker.com/engine/install/centos/

Ubuntu:
https://docs.docker.com/engine/install/ubuntu/
3. Install Docker-Compose for Linux. Refer to the official Docker docs for installation.

https://docs.docker.com/compose/install/

Note:
  • Make sure to create a symbolic link for docker-compose with the following command:
    $ sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

4. It is recommended to enable docker and containerd to start on system boot.
$ sudo systemctl enable docker
$ sudo systemctl enable containerd

5. Modify the following system parameters:
$ sudo sysctl -w vm.max_map_count=262144
$ sudo sysctl -w vm.swappiness=1
$ sudo sysctl -w fs.nr_open=2097152

6. Append the following lines to /etc/sysctl.conf so the parameters persist on system reboots.
vm.max_map_count=262144
vm.swappiness=1
fs.nr_open=1048576