Lamina1
1. System Requirements
Ensure your machine meets the following minimum requirements:
Operating System: Linux (Ubuntu 20.04+ recommended)
CPU: 4 or more cores
RAM: 16 GB or higher
Disk: SSD with at least 200 GB of free space
Network: 1 Gbps connection preferred
Software Dependencies: Docker and Docker Compose
2. Prerequisites
Install Docker: If Docker is not already installed on your system, install it using the following commands:
Install Docker Compose: Docker Compose is needed to manage the node’s services. Install it using:
Verify Installation: Check if Docker and Docker Compose are properly installed:
This should display the versions of Docker and Docker Compose.
3. Setting Up the Node
Clone the Lamina1 Node Repository: Start by cloning the official Lamina1 Betanet repository:
Create the Configuration File: You need to create a
.env
file to configure your node. Create this file in the root of thelamina1-betanet
directory:Open the file using a text editor (e.g.,
nano
) and add the following content:Replace
<YOUR_NODE_NAME>
with a unique name for your node.Replace
<YOUR_PUBLIC_IP>
with your machine’s public IP address.
Generate Keys: You’ll need to generate the keys for your node. Use the following script:
This script will create a set of keys and configuration files for your node.
4. Running the Node
Start the Node: Use Docker Compose to start the node:
This command will start the Lamina1 node in detached mode (
-d
), meaning it will run in the background.Check Node Logs: To check if the node is running correctly, view the logs using:
Look for messages indicating that the node is syncing with the Betanet.
Stop the Node: If you need to stop the node for any reason, use:
5. Monitoring and Maintenance
Node Health Check: To verify the health and sync status of your node, run:
This will display detailed information about your node’s status.
Troubleshooting: If you encounter issues, check the Docker logs for errors:
Updating the Node: As Lamina1 releases updates, you may need to pull the latest changes:
This will ensure your node is running the latest version.
6. Security Considerations
Firewall Configuration: Ensure your firewall allows the following ports:
3030: For node communication
24567: For peer-to-peer networking
Use
ufw
to configure the firewall:Node Backup: Regularly back up your keys and configuration files. Store them in a secure location to prevent data loss.
7. Common Issues and Solutions
Docker Permissions Issue: If you receive a permission error when running Docker commands, add your user to the Docker group:
Log out and log back in for the changes to take effect.
Node Not Syncing:
Check if your firewall settings are correct.
Ensure that the
.env
file has the correct IP and port configurations.
Outdated Node Version: If your node fails to sync or throws errors, it could be due to an outdated version. Update the node as described in the Updating the Node section.
Last updated