Lamina1
Detailed Installation and Configuration
1. System Update and Dependencies
First, ensure your system is up to date:
sudo apt update && sudo apt upgrade -y
sudo apt install curl jq -y2. Add LAMINA1 Repository and Install Node
echo "deb [trusted=yes arch=amd64] https://snapshotter.lamina1.global/ubuntu jammy main" | sudo tee /etc/apt/sources.list.d/lamina1.list
sudo apt update
sudo apt install lamina1-node -y3. Configure Node
Create a configuration file for your node:
sudo mkdir -p /etc/lamina1-node
sudo nano /etc/lamina1-node/config.jsonAdd the following content (adjust as needed):
{
"network-id": "testnet",
"http-host": "0.0.0.0",
"http-port": 9650,
"staking-port": 9671,
"db-dir": "/var/lib/lamina1-node",
"log-level": "info",
"api-admin-enabled": false,
"api-ipcs-enabled": false,
"api-keystore-enabled": false,
"api-metrics-enabled": false
}4. Create Systemd Service
Create a systemd service file:
Add the following content:
5. Start and Enable the Service
6. Monitor Node Status
Check the status of your node:
View logs in real-time:
7. Get Node ID
To get your node ID:
8. Firewall Configuration (if using UFW)
If you're using UFW (Uncomplicated Firewall), allow the necessary ports:
9. Node Health Check
You can check your node's health with:
10. Stopping the Node
If you need to stop the node:
Last updated