49 lines
1.9 KiB
Plaintext
49 lines
1.9 KiB
Plaintext
╔══════════════════════════════════════════════════════════════╗
|
|
║ QBPOS Help Server - Quick Command Reference ║
|
|
╚══════════════════════════════════════════════════════════════╝
|
|
|
|
📍 CURRENT ACCESS
|
|
http://192.168.10.130:8888/POS_Help.html
|
|
http://localhost:8888/POS_Help.html
|
|
|
|
🚀 INSTALL AUTO-RESTART (ONE TIME)
|
|
cd /home/pts/Documents/QBPOS_Help_Web
|
|
sudo bash install_service.sh
|
|
|
|
⚡ SERVICE COMMANDS
|
|
sudo systemctl start qbpos-help # Start
|
|
sudo systemctl stop qbpos-help # Stop
|
|
sudo systemctl restart qbpos-help # Restart
|
|
sudo systemctl status qbpos-help # Status
|
|
sudo journalctl -u qbpos-help -f # Logs
|
|
|
|
📊 MONITORING
|
|
tail -f /tmp/qbpos_help_server.log # Access logs
|
|
ss -ant | grep :8888 # Connections
|
|
top | grep python3 # CPU usage
|
|
|
|
🔒 SECURITY CONFIG
|
|
Edit: secure_production_server.py
|
|
Line 19: ALLOWED_IPS = [] # Add IPs
|
|
Line 24: RATE_LIMIT_REQUESTS = 1000 # Adjust limit
|
|
|
|
🌐 ENABLE HTTPS (WHEN READY)
|
|
1. Get domain name
|
|
2. Point DNS to 192.168.10.130
|
|
3. sudo bash setup_https.sh
|
|
4. Enter domain name
|
|
|
|
📚 DOCUMENTATION
|
|
STATUS_REPORT.txt # Full status & checklist
|
|
DEPLOYMENT_GUIDE.md # Complete deployment guide
|
|
|
|
✅ VERIFIED WORKING
|
|
- Font size 12pt on all pages
|
|
- Security headers enabled
|
|
- Rate limiting active
|
|
- Logging operational
|
|
- Auto-restart ready
|
|
- HTTPS prepared
|
|
|
|
╚══════════════════════════════════════════════════════════════╝
|