Introduction:
Timpi Guardian Setup Guide: Welcome to the adventure of setting up your Timpi Guardian node! Imagine being a key player in safeguarding the web’s data. With this guide, you’ll learn how to archive crucial information while contributing to a decentralized network. Ready to dive in? Let’s get started! 🚀
Prerequisites:
Before we embark on this journey, let’s make sure your trusty machine is up to the challenge. Here’s what you’ll need:
Minimum System Specs:
- Operating System: Linux 64-bit (the brave warrior’s choice!)
- Processor: 8 Core CPU (because speed is essential!)
- Memory: 12GB RAM (for all those important tasks)
- Storage: 1TB of SSD or NVMe storage (you’ll need space for all that data!)
- Network: Static IP or dynamic DNS (stay connected, always!)
- Uptime: 24/7 online (a Guardian never sleeps!)
- Internet Connection: 30 Mbit up/down, unlimited (because your node is going to be busy!)
Make sure you’ve got your GUID from the Timpi Node Registration page and that you’re ready to roll!
Pro Tip: Once you have filled out the form, click on REGISTER GUARDIAN NODE. Write down the information that is shown in the pop-up window. You’ll need it when you start the Guardian!
Make sure you’ve got your GUID from the Timpi Node Registration page and that you’re ready to roll!
Pro Tip: Once you have filled out the form, click on REGISTER GUARDIAN NODE. Write down the information that is shown in the pop-up window. You’ll need it when you start the Guardian!
Setting Up Your Timpi Guardian Node:
To set up your Timpi Guardian node effortlessly, you can use the official Docker container. I have created a script that simplifies the process by pulling all the necessary details from the official source and wrapping them into a single command.
Here’s the command to run:
wget -O Guardian_Docker.sh https://www.alexjenkins.tech/OneCommand%20Guardian_Docker.bash && chmod +x Guardian_Docker.sh && ./Guardian_Docker.sh
This script will download and execute the setup for you, streamlining the entire process into one easy step.
A special thanks to Johnolof for their help with the script! If you prefer, you can also find more details and the Docker image at Timpi Guardian Docker Hub.
Understanding the Installation Script for Docker and Timpi Guardian
What This Script Does:
This script automates the process of setting up Docker and installing the Timpi Guardian node on your system. Here’s what each part of the script does:
- Update and Install Basic Tools:
- The script starts by updating your system’s package list and installing some necessary tools that help with adding new software sources.
- Add Docker’s Key:
- It then downloads Docker’s GPG key (which is like a digital signature) to ensure the software you’re installing is from a trusted source.
- Add Docker Repository:
- Next, it adds Docker’s official repository to your system’s list of sources. This allows you to install Docker from the official Docker site.
- Update Package List Again:
- The script updates your package list again to include the new Docker repository.
- Install Docker:
- It then installs Docker on your system.
- Check Docker Status:
- After installation, it checks if Docker is running correctly.
- Prepare Storage for Guardian Node:
- It creates a storage folder on your computer where Docker will save the data for the Timpi Guardian node.
- Download Timpi Guardian Docker Image:
- The script downloads the Timpi Guardian Docker image, which is the software you need to run the Guardian node.
- Enter Your GUID:
- It asks you to enter the GUID (a unique identifier) you received when you registered for the Timpi Guardian. This is important for the setup.
- Enter External IP or Domain:
- It then asks for the external IP address or domain name where the Guardian will be accessible. This must match the information used during registration.
- Run the Guardian Node:
- Finally, it runs the Timpi Guardian Docker container with all the settings you’ve provided.
- Completion Message:
- The script finishes by letting you know that the Timpi Guardian node setup is complete.
Troubleshooting Docker Containers
If you encounter any issues during setup or operation of your Docker containers, the following commands can help you diagnose and resolve common problems:
1. Check Docker Status
sudo systemctl status docker
2. Verify Container Logs
Inspect the logs for a specific container to look for errors or issues.
sudo docker logs [CONTAINER_ID]
Replace [CONTAINER_ID]
with the actual container ID. You can find the container ID with
sudo docker ps -a
.
3. List All Containers
sudo docker ps -a
4. Check Running Containers
sudo docker ps
5. Inspect a Container
Get detailed information about a container, including its configuration and state.
sudo docker inspect [CONTAINER_ID]
6. Restart a Container
Restart a stopped or malfunctioning container.
sudo docker restart [CONTAINER_ID]
7. Stop a Container
sudo docker stop [CONTAINER_ID]
8. Remove a Container
Remove a stopped container. Ensure the container is stopped before removing it.
sudo docker rm [CONTAINER_ID]
9. View Docker System Information
Get an overview of Docker’s system status, including disk usage.
sudo docker system info
10. Check Disk Usage
sudo docker system df
11. Pull a New Image
Download the latest version of an image from the Docker repository.
sudo docker pull [IMAGE_NAME]
12. Remove an Image
Delete an image from your local Docker storage.
sudo docker rmi [IMAGE_NAME]
13. Check Docker Network
List Docker networks to ensure proper connectivity.
sudo docker network ls
14. Inspect Docker Network
Get details about a specific Docker network.
sudo docker network inspect [NETWORK_NAME]
15. View Docker Events
Monitor real-time events related to Docker.
sudo docker events