Ubuntu Installation

Install and run a Pendulum or Amplitude collator node on an Ubuntu machine.

Firewall Config

Configure local firewall to allow required ports.

sudo ufw allow 30335/tcp
sudo ufw allow 30334/tcp
sudo ufw allow https
sudo ufw enable

Download and install deb package

Pendulum and Amplitude node installers are available as deb packages for Ubuntu 20 LTS and Ubuntu 22 LTS.

Go to Pendulum Downloads and locate the latest deb version.

Run the following commands to download and install the packages (replace [version] with the latest version number):

Pendulum

wget https://downloads.pendulumchain.tech/pendulum_debian_latest/pendulum_[version]_amd64.deb
sudo dpkg -i pendulum_[version]_amd64.deb

Amplitude

wget https://downloads.pendulumchain.tech/amplitude_debian_latest/amplitude_[version]_amd64.deb
sudo dpkg -i amplitude_[version]_amd64.deb

Test node status

sudo service pendulum status
● pendulum.service - pendulum
     Loaded: loaded (/etc/systemd/system/pendulum.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2023-03-09 11:36:20 UTC; 14min ago
   Main PID: 1090301 (pendulum-collat)
      Tasks: 18 (limit: 19015)
     Memory: 8.0G
     CGroup: /system.slice/pendulum.service
             └─1090301 /usr/local/bin/pendulum-collator --collator --no-private-ipv4 --rpc-cors all --force-authoring --enable-offchain-indexing=true --ws-p>

Mar 09 11:36:20 pencol-kus-03 systemd[1]: Starting pendulum...
Mar 09 11:36:20 pencol-kus-03 systemd[1]: Started pendulum.

The service will use the /var/lib/pendulum directory as the database location and the log files are located in /var/log/pendulum directory.

Last updated