How to Install WordPress on a Cloud Cube
Three methods to install WordPress: Softaculous via cPanel, DirectAdmin's installer, and a manual SSH install. Takes under 10 minutes.
This guide covers three methods to get WordPress running on your managed Cloud Cube: using cPanel’s Softaculous, DirectAdmin’s installer, or a manual SSH install.
Prerequisites
Before you start, make sure you have:
- An active Cloud Cube with cPanel, DirectAdmin, or SSH access
- A domain pointed at your server (or use your server’s IP for testing)
- PHP 8.1+ and MySQL 8.0+: both pre-installed on all Cloud Cubes
Method 1: Softaculous via cPanel
Softaculous is a one-click installer bundled with every cPanel install. It handles the database, config file, and permissions automatically.
/ for root or /blog for a subdirectory.wp-config.php automatically.yourdomain.com/wp-admin: done.Method 2: DirectAdmin installer
Method 3: Manual install via SSH
For full control, install WordPress manually. Takes about 5 minutes.
# Download and extract WordPress
cd /home/youraccount/public_html
wget https://wordpress.org/latest.tar.gz
tar -xzf latest.tar.gz --strip-components=1
rm latest.tar.gz
# Create database and user
mysql -u root -p <<EOF
CREATE DATABASE wp_mysite;
CREATE USER 'wp_user'@'localhost' IDENTIFIED BY 'StrongPass123!';
GRANT ALL PRIVILEGES ON wp_mysite.* TO 'wp_user'@'localhost';
FLUSH PRIVILEGES;
EOF
# Configure wp-config.php
cp wp-config-sample.php wp-config.php
sed -i "s/database_name_here/wp_mysite/" wp-config.php
sed -i "s/username_here/wp_user/" wp-config.php
sed -i "s/password_here/StrongPass123!/" wp-config.php
Performance & security settings
| Setting | Recommended | Why |
|---|---|---|
| PHP Version | 8.2 or 8.3 | 30-40% faster than 7.4 |
| OPcache | Enabled | Caches compiled PHP bytecode |
| File permissions | 755 dirs / 644 files | Prevents unauthorized writes |
wp-config.php perms | 400 | Owner-readable only |
wp-login.php | IP-restricted or 2FA | Blocks brute-force |
Next steps
- Install a caching plugin: WP Super Cache or LiteSpeed Cache
- Enable Let’s Encrypt SSL from your control panel (free on all plans)
- Review CloudLinux limits to tune PHP memory
- Set up JetBackup for scheduled offsite backups