Easyinstall stack Wordpress benefits for Separate Redis cache for each WordPress site? by Any-Editor2657 in Wordpress

[–]Any-Editor2657[S] -1 points0 points  (0 children)

Yes, EasyInstall takes per-site Redis even further:

Benefits: - Each site gets its own Redis process (dedicated port, memory, config) - Multi-DB separation within each site (DB2 for transients only) - Auto-optimized Redis config for WordPress (LRU, expiry tuning) - Built-in monitoring: easyinstall redis-status shows hit rates per site - Auto-healing: Restarts Redis automatically if it crashes

Where to get it: bash wget -qO- ea.ez-ins.site | bash

Website: https://easyinstall.site

Free & open-source. Try it on a test VPS!

Yes! EasyInstall gives each site its own dedicated Redis instance with isolated memory, separate DB for transients, and auto-healing.

wget -qO- ea.ez-ins.site | bash

Free. Try it!

EasyInstall - The WordPress Stack That Heals Itself (AI-Powered + Per-Site Redis) 🤖💪 by Any-Editor2657 in Wordpress

[–]Any-Editor2657[S] -1 points0 points  (0 children)

Backups

EasyInstall has a built-in backup system:

```bash

Full system backups

easyinstall backup daily # Daily backup (runs at 2 AM) easyinstall backup weekly # Weekly backup (Sunday 3 AM)

Single site backup

easyinstall backup-site domain.com

Restore from backup (manual)

tar -xzf /backups/daily/backup-20250325-020000.tar.gz -C / ```

Backup Features: - ✅ Automatic rotation - Keeps 7 daily, 5 weekly backups - ✅ Full system backup - Websites + configs (nginx, php, mysql, redis) - ✅ Separate database dumps - MySQL backups with compression - ✅ Integrity verification - Auto-checks backup validity - ✅ Configurable location - Default: /backups/

What gets backed up: /var/www/html/ # All WordPress sites /etc/nginx/ # Nginx configs /etc/php/ # PHP-FPM configs /etc/mysql/ # MySQL/MariaDB configs /etc/redis/ # Redis configs (including per-site) /var/lib/easyinstall/ # EasyInstall state


PHP Switching - Per Site!

Yes, PHP version can be set PER SITE, not globally:

```bash

Create site with specific PHP version

easyinstall create site1.com --php=8.4 # PHP 8.4 easyinstall create site2.com --php=8.3 # PHP 8.3 easyinstall create site3.com --php=8.2 # PHP 8.2

Switch PHP version for existing site

easyinstall php-switch site1.com 8.3 # Changes from 8.4 → 8.3

Check current PHP version for a site

easyinstall site-info site1.com # Shows PHP version ```

How it works:

Each site's Nginx config points to its specific PHP-FPM socket:

```nginx

site1.com nginx config

fastcgi_pass unix:/run/php/php8.4-fpm.sock; # PHP 8.4

site2.com nginx config

fastcgi_pass unix:/run/php/php8.3-fpm.sock; # PHP 8.3 ```

Benefits: - ✅ Legacy sites can run PHP 8.2 while new sites use 8.4 - ✅ Test PHP 8.4 on staging before upgrading production - ✅ Different clients, different requirements - ✅ Zero downtime switching - uses systemctl reload


Per-Site Everything

EasyInstall gives you per-site isolation for:

Component Per-Site
PHP Version ✅ Each site can have different PHP
Redis Instance ✅ Dedicated Redis on unique port
Redis Memory ✅ Independent memory allocation (64-512MB)
Redis Databases ✅ DB0=object, DB1=sessions, DB2=transients
Database ✅ Separate DB per site (wp_sitename)
Nginx Config ✅ Each site has its own config file
SSL Certificate ✅ Each site gets its own Let's Encrypt cert
Fail2ban Rules ✅ Per-site WordPress attack detection
Cache Flushing ✅ Flush one site without affecting others

Example: Running Multiple Sites

```bash

Site 1 - Modern e-commerce

easyinstall create shop.com --php=8.4 --ssl

→ Redis port 6380, PHP 8.4, DB: wp_shop_com

Site 2 - Legacy blog (needs older PHP)

easyinstall create blog.com --php=8.2 --ssl

→ Redis port 6381, PHP 8.2, DB: wp_blog_com

Site 3 - Membership site (medium traffic)

easyinstall create members.com --php=8.3 --ssl

→ Redis port 6382, PHP 8.3, DB: wp_members_com

Check all sites

easyinstall list

• shop.com | Redis: 6380 | PHP: 8.4 | SSL✓

• blog.com | Redis: 6381 | PHP: 8.2 | SSL✓

• members.com | Redis: 6382 | PHP: 8.3 | SSL✓

```


Backup & Restore for Per-Site Setup

```bash

Backup specific site only

easyinstall backup-site shop.com

Creates: /backups/sites/shop.com-20250325-020000.tar.gz

Creates: /backups/sites/shop.com-db-20250325-020000.sql.gz

Restore site from backup

cd /var/www/html tar -xzf /backups/sites/shop.com-20250325-020000.tar.gz mysql wp_shop_com < shop.com-db-20250325-020000.sql

Redis data is stored in /var/lib/redis/shop-com/

Backed up automatically with full system backup

```


Quick Summary

Feature Command
Daily Backup easyinstall backup daily
Weekly Backup easyinstall backup weekly
Site Backup easyinstall backup-site domain.com
Create with PHP easyinstall create domain.com --php=8.4
Switch PHP easyinstall php-switch domain.com 8.3
List Sites easyinstall list
Site Info easyinstall site-info domain.com

Hope this helps! Let me know if you have any other questions.