This script is designed for the automated installation and configuration of a Penumbra node. It includes all necessary steps, from setting up the environment to launching the node, ensuring a seamless setup process.
- Ubuntu version 22 or higher
- Internet connection
- Sufficient disk space and memory
- The script removes previous versions of Penumbra and related modules.
- Renames existing Penumbra directory for updates.
- Updates package list and installs dependencies.
- Installs Go 1.21.1 and sets environment variables.
- Installs Rust and sets up the environment.
- Clones the Penumbra repository and checks out the specified version.
- Builds
pcli
andpd
. - Installs CometBFT.
- Updates Go modules and compiles the cometbft executable.
- Increases the number of allowed open file descriptors.
- Requests node name from the user.
- Retrieves the external IP address of the server.
- Joins the testnet with the specified external address and moniker.
- Offers to create a new wallet or restore an existing one.
- Adds
pcli
to the system path for simplified command usage. - Launches the node and CometBFT in tmux.
To run the script, simply execute:
chmod +x penumbra_nodes_bond_installer.sh
./penumbra_nodes_bond_installer.sh