Daemon Installation

Learn how to install HydraDaemon


First Install Dependencies

# Ubuntu/Debian
sudo apt install docker.io
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list

sudo apt update
sudo apt install -y nodejs git

Install Files

cd /etc
git clone https://github.com/hydralabs-beta/daemon.git
cd daemon
npm install

Get Configure Key | In Order to do it create a node on the panel and when done click configure and run the command


Start the Daemon using pm2

npm i -g pm2 && pm2 start index.js --name HydraDaemon

Daemon will be running on 3002 port you can change in config.json