Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Hosting Management Platform - Installer System

Sistema de instalación automatizada para la plataforma completa de gestión de hosting.

🚀 Quick Start

# Download installer
wget https://raw.githubusercontent.com/juliobrasa/installer/master/scripts/install.sh

# Make executable
chmod +x install.sh

# Run installer
sudo ./install.sh

📋 Requirements

  • OS: CentOS 7/8, RHEL 7/8, AlmaLinux 8
  • RAM: Minimum 1GB (2GB recommended)
  • Disk: Minimum 2GB free space
  • CPU: 1 core minimum (2+ recommended)
  • Network: Internet connection required for package installation

🔧 Installation

Automatic Installation

The installer script will automatically:

  1. Check system requirements
  2. Install all dependencies (PHP, MySQL, Apache, etc.)
  3. Configure databases
  4. Clone and setup all three systems:
    • WHM Panel
    • cPanel Integration
    • Admin Panel
  5. Configure Apache virtual hosts
  6. Setup SSL certificates
  7. Create systemd services
  8. Configure cron jobs

Manual Installation

If you prefer manual installation, follow these steps:

# 1. Install dependencies
yum install -y httpd php mariadb-server git composer nodejs npm

# 2. Clone repositories
git clone https://github.com/juliobrasa/whm.git /home/whm.soporteclientes.net/public_html
git clone https://github.com/juliobrasa/cpanel.git /home/cpanel1.soporteclientes.net
git clone https://github.com/juliobrasa/admin-panel.git /home/admin.soporteclientes.net

# 3. Setup each application
cd /home/whm.soporteclientes.net/public_html
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate

# Repeat for other applications...

📦 Components Installed

1. WHM Panel

2. cPanel Integration

3. Admin Panel

🔐 Security

The installer automatically:

  • Generates secure random passwords for all databases
  • Configures firewall rules
  • Sets proper file permissions
  • Enables SELinux contexts
  • Creates SSL certificates via Let's Encrypt

🔄 Updates

To update the platform:

./update.sh

This will:

  • Pull latest code from repositories
  • Update dependencies
  • Run database migrations
  • Clear and rebuild caches

🗑️ Uninstallation

To completely remove the platform:

./uninstall.sh

Warning: This will remove all data and cannot be undone!

📁 File Structure

/home/
├── whm.soporteclientes.net/
│   └── public_html/         # WHM Panel
├── cpanel1.soporteclientes.net/  # cPanel System
└── admin.soporteclientes.net/    # Admin Panel

/etc/httpd/conf.d/
├── whm.conf                 # WHM VirtualHost
├── cpanel.conf              # cPanel VirtualHost
└── admin.conf               # Admin VirtualHost

/root/
├── .db_credentials          # Database passwords
└── installation.log         # Installation log

🛠️ Troubleshooting

Common Issues

  1. Permission Errors

    chown -R apache:apache /home/*/
    chmod -R 755 /home/*/
  2. Database Connection Errors

    • Check credentials in /root/.db_credentials
    • Verify MySQL is running: systemctl status mariadb
  3. Apache Errors

    systemctl status httpd
    journalctl -xe
  4. Laravel Errors

    php artisan config:clear
    php artisan cache:clear
    composer dump-autoload

📝 Configuration

Environment Variables

Each application has its own .env file with configuration:

  • Database connections
  • API keys
  • Mail settings
  • Cache configuration
  • Queue drivers

Apache Configuration

Virtual hosts are configured in /etc/httpd/conf.d/

SSL Certificates

Managed by Certbot with auto-renewal configured.

🔍 System Check

Run health check:

curl https://admin.soporteclientes.net/api/health

📊 Monitoring

  • Logs: /var/log/httpd/
  • Laravel logs: storage/logs/laravel.log
  • System status: systemctl status laravel-worker

🤝 Support

For issues or questions:

  • Check documentation
  • Review installation log: /root/installation.log
  • Contact support team

📄 License

Proprietary software - All rights reserved

🔗 Links

About

Automated installer system for hosting management platform

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages