littleshop/Hostinger/QUICK_REFERENCE.txt
SysAdmin e1b377a042 Initial commit of LittleShop project (excluding large archives)
- BTCPay Server integration
- TeleBot Telegram bot
- Review system
- Admin area
- Docker deployment configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-17 15:07:38 +01:00

75 lines
2.4 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

================================================================================
DEBIAN 13 SETUP - QUICK REFERENCE CARD
================================================================================
🚀 **30-MINUTE SETUP PROCESS**
1⃣ FRESH DEBIAN 13 INSTALL
- Hostinger control panel → Reinstall OS → Debian 13
- Password: Th3fa1r13sd1d1t.
2⃣ COPY FILES (2 minutes)
scp -P 22 vps_hardening_key* root@thebankofdebbie.giize.com:/tmp/
scp -P 22 *.sh root@thebankofdebbie.giize.com:/tmp/
3⃣ RUN HARDENING (5 minutes)
ssh root@thebankofdebbie.giize.com
chmod +x /tmp/*.sh
/tmp/debian13_vps_hardening.sh
# Add SSH key
cat /tmp/vps_hardening_key.pub > /home/ubuntu/.ssh/authorized_keys
chown ubuntu:ubuntu /home/ubuntu/.ssh/authorized_keys
4⃣ TEST SSH KEYS (CRITICAL!)
ssh -i vps_hardening_key -p 2255 ubuntu@thebankofdebbie.giize.com
# If working, disable passwords:
sudo sed -i 's/PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config
sudo systemctl restart ssh
5⃣ INSTALL BTCPAY (15 minutes)
sudo su -
/tmp/btcpay_tor_installer.sh
6⃣ MONITOR
~/monitor-btcpay.sh
================================================================================
🔐 **SECURITY CHECKLIST**
□ SSH keys working on port 2255
□ Password auth disabled
□ UFW firewall: 4 rules active
□ Fail2Ban: 2+ jails active
□ Docker: 8 containers running
□ Bitcoin: Pruning confirmed in logs
□ Onion addresses generated
💾 **STORAGE SAFETY**
□ Bitcoin pruned: max 10GB
□ Total usage: ~20GB
□ Available: 367GB+
□ Safe for 387GB VPS ✅
🧅 **TOR INTEGRATION**
□ BTCPay onion service active
□ Bitcoin P2P over Tor only
□ No clearnet Bitcoin connections
□ Customer payment privacy ✅
⚡ **READY FOR PRODUCTION**
□ 24-hour Bitcoin sync complete
□ BTCPay setup wizard done
□ Test payment successful
□ LittleShop API integration ready
================================================================================
📞 **EMERGENCY COMMANDS**
sudo btcpay-restart.sh # Fix most issues
docker ps | grep btcpay # Check containers
df -h # Check disk space
~/monitor-btcpay.sh # Overall status
🎯 **SUCCESS = All green checkboxes above completed!**