Sistema de instalación automatizada para la plataforma completa de gestión de hosting.
# Download installer
wget https://raw.githubusercontent.com/juliobrasa/installer/master/scripts/install.sh
# Make executable
chmod +x install.sh
# Run installer
sudo ./install.sh- 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
The installer script will automatically:
- Check system requirements
- Install all dependencies (PHP, MySQL, Apache, etc.)
- Configure databases
- Clone and setup all three systems:
- WHM Panel
- cPanel Integration
- Admin Panel
- Configure Apache virtual hosts
- Setup SSL certificates
- Create systemd services
- Configure cron jobs
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...- URL: https://whm.soporteclientes.net
- Purpose: WHM server management
- Features: Account management, server control, reseller management
- URL: https://cpanel1.soporteclientes.net
- Purpose: cPanel integration and billing
- Features: Billing system, installer, activity tracking
- URL: https://admin.soporteclientes.net
- Purpose: Central administration
- Features: User management, system monitoring, API control
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
To update the platform:
./update.shThis will:
- Pull latest code from repositories
- Update dependencies
- Run database migrations
- Clear and rebuild caches
To completely remove the platform:
./uninstall.shWarning: This will remove all data and cannot be undone!
/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
-
Permission Errors
chown -R apache:apache /home/*/ chmod -R 755 /home/*/
-
Database Connection Errors
- Check credentials in
/root/.db_credentials - Verify MySQL is running:
systemctl status mariadb
- Check credentials in
-
Apache Errors
systemctl status httpd journalctl -xe
-
Laravel Errors
php artisan config:clear php artisan cache:clear composer dump-autoload
Each application has its own .env file with configuration:
- Database connections
- API keys
- Mail settings
- Cache configuration
- Queue drivers
Virtual hosts are configured in /etc/httpd/conf.d/
Managed by Certbot with auto-renewal configured.
Run health check:
curl https://admin.soporteclientes.net/api/health- Logs:
/var/log/httpd/ - Laravel logs:
storage/logs/laravel.log - System status:
systemctl status laravel-worker
For issues or questions:
- Check documentation
- Review installation log:
/root/installation.log - Contact support team
Proprietary software - All rights reserved