π Installation Guide
Get SEB Ultra Stack up and running in minutes with our automated installation process.
π Prerequisites
System Requirements
Minimum Requirements
- OS: Ubuntu 20.04+ LTS (fresh installation recommended)
- RAM: 2GB (4GB recommended)
- Storage: 20GB SSD
- CPU: 2 vCPU cores
- Network: Stable internet connection
Recommended for Production
- OS: Ubuntu 22.04+ LTS
- RAM: 8GB+
- Storage: 50GB+ NVMe SSD
- CPU: 4+ vCPU cores
- Network: 1Gbps connection
Access Requirements
- Root or sudo access to your server
- SSH access to your server
- Domain name pointed to your server IP (optional, can be configured later)
β‘ One-Click Installation
Quick Install
curl -sSL https://sebhosting.com/install.sh | bash
Thatβs it! The installation script will automatically:
- Update your system packages
- Install and configure all stack components
- Set up security hardening
- Configure optimal performance settings
- Create initial WordPress installation
Installation with Custom Options
# Download installer first
wget https://sebhosting.com/install.sh
# Make executable
chmod +x install.sh
# Run with options
sudo ./install.sh --domain=example.com --email=admin@example.com
π§ Step-by-Step Installation
Step 1: Server Preparation
# Update system packages
sudo apt update && sudo apt upgrade -y
# Install required dependencies
sudo apt install -y curl wget git unzip software-properties-common
Step 2: Download and Run Installer
# Download the installer
curl -sSL https://sebhosting.com/install.sh -o install.sh
# Review the script (recommended)
less install.sh
# Make executable and run
chmod +x install.sh
sudo ./install.sh
Step 3: Follow Interactive Setup
The installer will guide you through:
- Domain Configuration
- Primary domain name
- SSL certificate setup
- Cloudflare integration (optional)
- Database Setup
- MySQL root password
- WordPress database credentials
- Database optimization settings
- WordPress Configuration
- Admin username and password
- Site title and description
- Multisite network setup
- Security Settings
- Firewall rules
- Fail2Ban configuration
- SSH key setup (recommended)
π Installation Process
What Gets Installed
Web Server Stack
- Nginx 1.24+ - High-performance web server
- PHP 8.4 - Latest PHP with FPM and OpCache
- MariaDB 10.11+ - Optimized database server
- Redis 7+ - In-memory caching system
WordPress Ecosystem
- WordPress 6.6+ - Latest WordPress core
- WP-CLI - Command-line WordPress management
- Essential plugins - Caching, security, optimization
Security Components
- UFW Firewall - Uncomplicated Firewall
- Fail2Ban - Intrusion prevention system
- SSL/TLS Certificates - Letβs Encrypt integration
- Security headers - HSTS, CSP, and more
Management Tools
- PHPMyAdmin - Database management interface
- Composer - PHP dependency manager
- Git - Version control system
- SEB Stack CLI - Custom management commands
Installation Timeline
| Step | Duration | Description | |ββ|βββ-|ββββ-| | System Update | 2-5 min | Package updates and dependencies | | Stack Installation | 5-10 min | Core components installation | | Configuration | 3-5 min | Optimization and security setup | | WordPress Setup | 2-3 min | WordPress installation and configuration | | Total | 12-23 min | Complete stack ready |
β Post-Installation Verification
Test Web Server
# Check Nginx status
sudo systemctl status nginx
# Test configuration
sudo nginx -t
# Check if site loads
curl -I http://your-domain.com
Test Database
# Check MariaDB status
sudo systemctl status mariadb
# Test connection
mysql -u root -p -e "SHOW DATABASES;"
Test PHP
# Check PHP-FPM status
sudo systemctl status php8.4-fpm
# Test PHP functionality
php -v
php -m | grep -E "(redis|opcache|mysql)"
Test Cache
# Check Redis status
sudo systemctl status redis-server
# Test Redis connection
redis-cli ping
π Domain Configuration
Add Your First Domain
# Add domain to stack
sudo seb-stack add-domain example.com
# Enable SSL
sudo seb-stack enable-ssl example.com
# Verify SSL certificate
sudo seb-stack check-ssl example.com
Configure DNS
Point your domainβs A record to your server IP:
Type: A
Name: @
Value: YOUR_SERVER_IP
TTL: 300
For www subdomain:
Type: CNAME
Name: www
Value: example.com
TTL: 300
π§ Custom Installation Options
Environment Variables
# Set before installation
export SEB_DOMAIN="example.com"
export SEB_EMAIL="admin@example.com"
export SEB_DB_PASSWORD="secure_password"
export SEB_WP_ADMIN="admin_user"
export SEB_WP_PASSWORD="secure_wp_password"
# Run installer
curl -sSL https://sebhosting.com/install.sh | bash
Configuration File
Create /tmp/seb-config.conf:
[general]
domain=example.com
email=admin@example.com
[database]
root_password=secure_db_password
wp_db_name=wordpress
wp_db_user=wp_user
wp_db_password=wp_password
[wordpress]
admin_user=admin
admin_password=secure_wp_password
site_title=My Awesome Site
[security]
enable_fail2ban=true
enable_firewall=true
ssh_port=22
Run with config:
sudo ./install.sh --config=/tmp/seb-config.conf
π¨ Troubleshooting Installation
Common Issues
Installation Fails
# Check installer logs
tail -f /var/log/seb-stack/install.log
# Re-run specific components
sudo seb-stack install --component=nginx
sudo seb-stack install --component=php
Permission Errors
# Fix web directory permissions
sudo chown -R www-data:www-data /var/www/
sudo find /var/www/ -type d -exec chmod 755 {} \;
sudo find /var/www/ -type f -exec chmod 644 {} \;
Database Connection Issues
# Reset database passwords
sudo seb-stack reset-db-password
# Test database connection
mysql -u wp_user -p wordpress -e "SELECT 1;"
SSL Certificate Problems
# Force SSL certificate renewal
sudo certbot renew --force-renewal
# Check certificate status
sudo certbot certificates
Getting Help
If you encounter issues:
- Check logs:
sudo seb-stack logs - Run diagnostics:
sudo seb-stack diagnose - Contact support: support@sebhosting.com
- Community help: Discord
π― Next Steps
After successful installation:
- Configure your stack - Customize settings
- Set up domains - Add additional domains
- Optimize performance - Fine-tune for speed
- Harden security - Additional security measures
- Set up backups - Protect your data
π Congratulations! Your SEB Ultra Stack is now ready. Visit your domain to see your new WordPress site!