3. Setting Up Your Foundation
Before you can install your first application, we need to set up the basic infrastructure that Infinity Tools needs to work properly. Don't worry - Infinity Tools will handle most of this automatically!</p>
What We'll Set Up</h2>
- ✅
<strong>Docker</strong>- The system that runs all your applications</li> - ✅
<strong>Docker Network</strong>- How applications talk to each other</li> - ✅
<strong>System Requirements</strong>- Making sure everything is ready</li> - ✅
<strong>Basic Security</strong>- Simple firewall setup (optional)</li>
What is Docker? (Simple Explanation)</h2>
- Applications run in isolated "containers" - they can't interfere with each other
</li> - Everything is pre-configured and ready to go
</li> - If something goes wrong, you can easily restart or replace just that application
</li> - It's the standard way modern applications are deployed
</li>
Step 1: Run the Readiness Check</h2>
Start Infinity Tools</h3>
sudo infinity-tools</code></pre>What Happens Next</h3>
- Checks if Docker is installed
</li> - Installs Docker if it's missing
</li> - Sets up the Docker network
</li> - Installs other required tools
</li> - Verifies everything is working
</li>
♾️ INFINITY TOOLS READINESS CHECKEnsuring all prerequisites are met...
This will check and install:
• Docker & Docker Compose
• Docker Network for services
• GUM for modern UI
• Dialog for compatibility
• System requirements</code></pre>
If Docker Needs to be Installed</h3>
🐳 DOCKER INSTALLATION REQUIREDInfinity Tools requires Docker to run containerized services.
Docker will be installed and configured automatically.
This includes Docker Engine and Docker Compose.
⚠️ This requires internet connection and may take a few minutes.
Install Docker now?</code></pre>
Docker Network Setup</h3>
🌐 DOCKER NETWORK SETUPInfinity Tools services need a Docker network to communicate.
This network allows containers to find each other by name
and enables features like Traefik reverse proxy.
Default network name: proxy</code></pre>
Step 2: Verify Everything is Working</h2>
✅ READINESS CHECK COMPLETEAll prerequisites are satisfied!
Infinity Tools is ready to use.</code></pre>
What Was Installed</h3>
- ✅
<strong>Docker Engine</strong>- The main Docker system</li> - ✅
<strong>Docker Compose</strong>- Tool for managing multiple containers</li> - ✅
<strong>Docker Network</strong>- A network called "proxy" for your services</li> - ✅
<strong>GUM</strong>- The modern interface you're using</li> - ✅
<strong>Dialog</strong>- Backup interface (just in case)</li>
Step 3: Understanding What Happened</h2>
Docker Installation</h3>
- Start automatically when your server boots
</li> - Run containers securely
</li> - Manage storage for your applications
</li> - Handle networking between containers
</li>
Docker Network</h3>
- Allow applications to find each other by name
</li> - Enable Traefik (our reverse proxy) to route traffic
</li> - Keep your applications isolated from the internet
</li> - Make it easy to add new services later
</li>
Step 4: Optional - Basic Security Setup</h2>
What is a Firewall?</h3>
Setting Up the Firewall</h3>
- Allows SSH connections (so you can still connect)
</li> - Allows HTTP and HTTPS traffic (for websites)
</li> - Blocks other unwanted connections
</li> - Protects against common attacks
</li>
Step 5: Understanding Your System</h2>
What's Running Now</h3>
- ✅
<strong>Infinity Tools</strong>- The management system</li> - ✅
<strong>Docker</strong>- Ready to run applications</li> - ✅
<strong>Docker Network</strong>- Ready for services</li> - ❌
<strong>No Applications Yet</strong>- This is what we'll install next!</li>
What's Next</h3>
Troubleshooting</h2>
Docker Installation Failed</h3>
- Check your internet connection
</li> - Make sure you have enough disk space (at least 1GB free)
</li> - Try running the readiness check again
</li> - If it keeps failing, contact support with the error message
</li>
Network Creation Failed</h3>
- Make sure Docker is running:
<code>sudo systemctl status docker</code></li> - Try restarting Docker:
<code>sudo systemctl restart docker</code></li> - Run the readiness check again
</li>
Can't Connect to Server</h3>
- Reconnect via SSH
</li> - Run
<code>sudo infinity-toolsagain</code></li> - The readiness check will continue where it left off
</li>
Quick Reference</h2>
sudo systemctl status docker</code></pre>docker network ls</code></pre>docker ps</code></pre>sudo systemctl restart docker</code></pre>You're Ready!</h2>
- ✅ A working Docker system
</li> - ✅ A network for your applications
</li> - ✅ All the tools Infinity Tools needs
</li> - ✅ A solid foundation for your applications
</li>
What You Learned</h2>
- Docker
</strong>- A system for running applications in containers</li> - Docker Network
</strong>- How applications communicate with each other</li> - Readiness Check
</strong>- Infinity Tools' automatic setup system</li> - Infrastructure
</strong>- The foundation that makes everything else possible</li>