An advanced installation and management script for Paymenter, featuring automated installation, updates, backups, and removal capabilities.
Features • Prerequisites • Installation • Usage • Documentation • Support
- 🔄 One-Click Installation: Automated installation process with all dependencies
- 🛡️ Secure Configuration: Proper security settings and permissions out of the box
- 🔒 SSL/TLS Ready: Built-in support for domain configuration and SSL
- 📦 Service Management: Integrated service configuration and management
- 🔄 Easy Updates: Both automatic and manual update options
- 💾 Backup System: Integrated backup functionality for files and database
- 🧹 Clean Removal: Complete system cleanup option
- 📝 Detailed Logging: Comprehensive logging of all operations
- Supported Operating Systems:
- Ubuntu 20.04 LTS
- Ubuntu 22.04 LTS
- Debian 10
- Debian 11
- Root Access: Root privileges are required
- Minimum Requirements:
- 1 CPU Core
- 2GB RAM
- 10GB Storage
- Download the script:
curl -o paymenter-manager.sh https://raw.githubusercontent.com/ckyuri/Paymenter-Install-Script/refs/heads/main/paymenter-manager.sh
- Make it executable:
chmod +x paymenter-manager.sh
- Run the script:
sudo ./paymenter-manager.sh
The script provides an interactive menu with the following options:
╔══════════════════════════════════════════════════════════════════╗
║ Paymenter Management Script v1.2.0 ║
╚══════════════════════════════════════════════════════════════════╝
Please select an option:
1) New Installation
2) Automatic Update
3) Manual Update
4) Create Backup
5) Remove Paymenter
6) Exit
- Supports both domain-based and IP-based installations
- Automatically installs and configures all required dependencies
- Sets up database, web server, and services
- Creates admin user automatically
- Quick update using Paymenter's built-in updater
- Creates backup before updating
- Handles all necessary cache clearing and permission updates
- Detailed step-by-step update process
- Creates backup before updating
- Maintenance mode during update
- Complete dependency update
- Comprehensive backup of all files and database
- Timestamped backup files
- Stored in
/var/www/paymenter_backups
- Complete system cleanup
- Optional backup before removal
- Removes all related services and configurations
/var/www/paymenter # Main application directory
/var/www/paymenter_backups # Backup storage
/var/log/paymenter-install.log # Installation logs
- Installation logs:
/var/log/paymenter-install.log
- Nginx logs:
/var/log/nginx/
- PHP-FPM logs:
/var/log/php8.2-fpm.log
# Restart Paymenter services
systemctl restart paymenter.service
# Check service status
systemctl status paymenter.service
# View logs
journalctl -u paymenter.service
-
Installation Fails
- Check system requirements
- Verify internet connectivity
- Review logs at
/var/log/paymenter-install.log
-
Database Connection Issues
- Verify MySQL service is running
- Check database credentials in
.env
- Ensure proper permissions
-
Web Server Issues
- Check Nginx configuration
- Verify PHP-FPM is running
- Review Nginx error logs
- 📫 Issues: Create an issue in this repository
- 📝 Feature Requests: Open a discussion
- 🤝 Contributing: Pull requests are welcome
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ for the Paymenter community