This guide explains how to automatically deploy the latest WordPress installation on your domains using the Liberu Control Panel.
- One-Click Installation: Deploy the latest WordPress version with a single click
- Automatic Updates: Keep WordPress up-to-date with automatic version checks and updates
- Database Integration: Automatically configure WordPress with your database settings
- Multi-PHP Support: Choose from PHP versions 8.1, 8.2, 8.3, or 8.4
- WP-CLI Support: Automatic installation via WP-CLI when available
- Secure Configuration: Automatically generate secure authentication keys and salts
Before deploying WordPress, ensure you have:
- A domain configured in the control panel
- A MySQL database created for WordPress
- A server with SSH access configured
- Sufficient disk space for WordPress installation
-
Navigate to Applications → WordPress in the control panel
-
Click Create to start a new WordPress installation
-
Fill in the installation form:
Domain & Database:
- Select the domain where WordPress will be installed
- Choose an existing database for WordPress
WordPress Configuration:
- Site Title: The name of your WordPress site
- Site URL: Full URL including http:// or https://
- Installation Path: Path relative to domain root (default:
/public_html) - PHP Version: Select PHP version (8.1-8.4)
Administrator Account:
- Admin Username: WordPress admin username
- Admin Email: Administrator email address
- Admin Password: Strong password (min 8 characters)
-
Click Create to save the configuration
-
Click the Install button to start the installation process
-
Monitor the installation progress in the Status column
-
View installation logs by clicking View Logs
The system performs the following steps automatically:
- Download WordPress: Fetches the latest WordPress version from wordpress.org
- Extract Files: Extracts WordPress files to the specified installation path
- Configure wp-config.php: Creates configuration file with database settings and security keys
- Set Permissions: Applies correct file permissions (755 for directories, 775 for wp-content)
- Install via WP-CLI: If available, completes the installation automatically
- Create Admin User: Sets up the administrator account
WordPress installations can have the following statuses:
- Pending: Configuration saved, waiting for installation
- Installing: Installation in progress
- Installed: Successfully installed and ready to use
- Failed: Installation failed (check logs for details)
- Updating: WordPress core update in progress
To update WordPress to the latest version:
- Go to Applications → WordPress
- Find your WordPress installation
- Click the Update button
- Confirm the update action
- Monitor the update progress
The system will:
- Check for the latest WordPress version
- Download and install updates via WP-CLI
- Update the version number in the control panel
- Log all update activities
To troubleshoot issues:
- Find your WordPress installation in the list
- Click View Logs
- Review the installation or update log
- Look for error messages or warnings
To remove a WordPress installation:
- Go to Applications → WordPress
- Find your WordPress installation
- Click the Delete button
- Confirm the deletion
Note: This only removes the database record. Files on the server must be removed manually via FTP/SSH or the File Manager.
The system automatically generates wp-config.php with:
- Database Settings: Pulled from your database configuration
- Authentication Keys: Randomly generated 64-character keys
- Site URLs: Configured with WP_HOME and WP_SITEURL
- Security: Debug mode disabled for production
- Character Set: UTF-8 with utf8mb4 collation
WordPress is installed in the following structure:
/var/www/{domain_name}/{install_path}/
├── wp-admin/
├── wp-content/
│ ├── plugins/
│ ├── themes/
│ └── uploads/
├── wp-includes/
├── wp-config.php
└── index.php
The system sets the following permissions:
- Directories:
755(rwxr-xr-x) - wp-content:
775(rwxrwxr-x) - Files: Inherited from parent directory
If WP-CLI is installed on your server, the system will:
- Complete the WordPress installation automatically
- Create the admin user
- Configure site settings
- Enable automatic updates
To install WP-CLI on your server:
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wpCheck the logs for specific error messages:
- Database connection issues: Verify database credentials
- Permission errors: Ensure web server has write access
- Download errors: Check internet connectivity
- Verify the site URL matches your domain
- Check NGINX/Apache configuration
- Ensure DNS is properly configured
- Verify SSL certificates if using HTTPS
If WP-CLI is not available:
- The installation will still complete
- You'll need to finish setup via web browser
- Navigate to
http://yourdomain.com/wp-admin/install.php - Complete the installation wizard manually
For programmatic WordPress deployments, use the REST API:
# Create WordPress application
curl -X POST https://your-control-panel.com/api/wordpress \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"domain_id": 1,
"database_id": 2,
"site_title": "My Blog",
"site_url": "https://example.com",
"admin_username": "admin",
"admin_email": "admin@example.com",
"admin_password": "SecurePassword123",
"php_version": "8.2"
}'- Use Strong Passwords: Always use complex passwords for admin accounts
- Regular Backups: Enable automatic backups for your WordPress installation
- Keep Updated: Regularly update WordPress, themes, and plugins
- Monitor Logs: Check installation logs for warnings or errors
- SSL Certificates: Always use HTTPS for WordPress sites
- File Permissions: Don't modify permissions unless necessary
- Admin passwords are hashed and stored securely
- Authentication keys are randomly generated
- Database credentials are encrypted
- SSH connections use key-based authentication
- File permissions follow WordPress security best practices
For issues or questions:
- Check the installation logs for error details
- Review this documentation
- Contact support via GitHub issues
- Visit https://liberu.co.uk for professional support