🛠️Tools and scripts

Follow the Safety checks before running these scripts in your server

CPUQuota remover

This script will comment out the CPUQuota line in your node service file. Go with full power 🔥

wget -O - https://raw.githubusercontent.com/lamat1111/quilibriumscripts/master/tools/qnode_cpuquota_remover.sh | bash

Extract Peer Manifests by Peer ID

This command retrieves the manifest details for a specific peer identified by its unique peer ID. You will be probably requested to install some app before being able to execute it.

The peer details contain much relevant info about your peer, included the "difficulty metric" a score telling you how your node is performing in the network.

If it's the first time you are trying to retrieve the manifest, run the below script. This will install the necessary apps and output the manifest last.

wget --no-cache -O - https://raw.githubusercontent.com/lamat1111/quilibriumscripts/main/tools/qnode_peermanifest_checker.sh | bash

Next time you want to retrieve the manifest, you can simply run the below command (it will be faster). This command temporarily exports some variables, this may be redundant, but it solves the gRPCurl not found error on some systems.

export GOROOT=/usr/local/go && export GOPATH=$HOME/go && export PATH=$GOPATH/bin:$GOROOT/bin:$PATH && peer_id_base64=$(grpcurl -plaintext localhost:8337 quilibrium.node.node.pb.NodeService.GetNodeInfo | jq -r .peerId | base58 -d | base64) && grpcurl -plaintext -max-msg-sz 5000000 localhost:8337 quilibrium.node.node.pb.NodeService.GetPeerManifests | grep -A 15 -B 1 "$peer_id_base64"

Password authentication disabler

CAREFUL: this script will disable password connections for your server as well as root login. You will only be able to access your server via SSH keys after runnig this, so be sure you have set them up and tested them first!

wget -O - https://raw.githubusercontent.com/lamat1111/password-connection-disabler/master/script | bash

Server system cleaner

This script will clean up your system from temporary files and old log entries. It won't delete anything important for your node.

wget -O - https://raw.githubusercontent.com/lamat1111/quilibrium-node-auto-installer/master/tools/qnode_system_cleanup.sh | bash

Last updated