Install LNbits on a VPS with domain and SSL for only $4!
git clone https://github.com/lnbits/lnbits.git
cd lnbits/
python3 -m venv venv
./venv/bin/pip install -r requirements.txt
cp .env.example .env
./venv/bin/quart assets
./venv/bin/quart migrate
./venv/bin/hypercorn -k trio --bind 0.0.0.0:5000 '...
## Cryptocurrency Podcast Summary: 20min/$4 Anon LNbits Install with Domain and SSL Tutorial
This podcast episode provides a step-by-step tutorial on setting up an anonymous Lightning Network Bitserver (LNBIT) using Alambits, a domain name, and an SSL certificate, all within 20 minutes and for under $4. The host aims to demonstrate how easily individuals can create their own LNBIT servers for various purposes, such as running Bitcoin meetups, integrating with businesses, or enabling online payments. The tutorial covers everything from choosing a hosting provider and registering a domain to configuring the server, setting up SSL certificates, and creating a faucet for distributing small amounts of Bitcoin. The overall goal is to empower listeners to build and contribute to the Bitcoin ecosystem.
1. Main Topics Discussed:
- LNBIT Servers & Use Cases: Explanation of LNBIT servers and their versatility for events, business integrations, and online payments.
- Hosting Options: Comparison of BitCloud and Host4Coin.net (by KetoMiner) for Lightning Network hosting, highlighting BitCloud's current scalability limitations.
- Domain Registration: Using AH Names (and alternatives like Angela and KetoMiner) for Lightning-accepting domain registration.
- Server Setup & Configuration: Demonstrating server connection via SSH, software updates, and LNBIT installation.
- Alambits Installation & Configuration: Installation using Git, Venv, and a virtual environment, including creating and editing configuration files.
- Payment Source Integration: Integrating with Alambay for payment processing, requiring API keys.
- SSL Certificate Management: Utilizing Caddy for automatic SSL certificate acquisition and management.
- Reverse Proxy Setup: Configuring a reverse proxy with Caddy to direct traffic to the Alambits instance.
- Faucet Creation & Security: Creating a faucet for distributing small amounts of Bitcoin and emphasizing security considerations.
- User Management: Configuring user access via CSV files, differentiating between authorized and unauthorized user creation.
2. Key Quotes:
- "I'm going to see how quickly I can spin up an LNBIT server with a domain name and a necessary certificate, and a funding source, all from scratch, and I hope to do it in about 10 minutes and for less than $5."
- "It's incredibly fun." (referring to Caddy)
- "So, if you've got 20 minutes, and, four dollars, then you can spin up Alan Bitts on a virtual private server..."
- "Use some of that financial freedom to build cool stuff, run cool stuff, and contribute to, you know, free and open-source projects, uh, in any way you can."
3. People Mentioned:
- Host: (Name not explicitly provided) - Guides the tutorial.
- KetoMiner: Associated with Host4Coin.net.
- Angela: Alternative domain registration service.
4. Bitcoin Price (if mentioned):
- A test payment of 15,000 Satoshis was made.
- The host mentioned "crazy price action" on Bitcoin, indicating recent volatility, but no specific price was stated.
- The maximum withdrawal amount for the faucet was set to 1000 sats.