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 enableDownload 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.debsudo dpkg -i pendulum_[version]_amd64.debAmplitude
wget https://downloads.pendulumchain.tech/amplitude_debian_latest/amplitude_[version]_amd64.debsudo dpkg -i amplitude_[version]_amd64.debTest 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.
sudo service amplitude status● amplitude.service - amplitude
Loaded: loaded (/etc/systemd/system/amplitude.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-03-28 11:58:20 UTC; 54ms ago
Main PID: 1072 (amplitude-colla)
Tasks: 4 (limit: 4620)
Memory: 5.7M
CGroup: /system.slice/amplitude.service
└─1072 /usr/local/bin/amplitude-collator --collator --base-path /var/lib/amplitude --no-private-ipv4 --rpc-cors all --force-authoring --enable-offchain-indexing=true --ws-port 8844 --ws-max-connections 200 --port 30335 --rpc-port 9955 --chain /var/lib/amplitude/amplitude-spec-raw.json --execution=wasm --state-cache-size 0 --prometheus-external -- --port 30334 --chain /var/lib/amplitude/kusama.json --execution=wasm -d /var/lib/amplitude/ --prometheus-externalThe service will use the /var/lib/amplitude directory as the database location and the log files are located in /var/log/amplitude directory.
Last updated
Was this helpful?