Installation Guide

This guide covers the installation of Decconz Multi-ERP Suite on various platforms and deployment methods.

Important Notes

Always backup your existing data before installation. Ensure your server meets the minimum requirements and has all necessary extensions enabled.

Deployment Methods

Method Difficulty Time Required Best For
Cloud (SaaS) Easy 5-10 minutes Quick start, no server management
Manual Installation Intermediate 30-60 minutes Full control, custom environments
Docker Advanced 15-30 minutes Containerized deployments, scaling
Virtual Machine Intermediate 20-40 minutes Testing, development environments

Manual Installation Steps

1. Prerequisites

Check System Requirements
# Check PHP version
php -v

# Check MySQL version
mysql --version

# Check required PHP extensions
php -m | grep -E "pdo|mbstring|curl|json|openssl"

2. Download and Extract

Download Latest Version
# Option 1: Download via wget
wget https://download.decconz-erp.com/decconz-erp-v2.5.1.zip

# Option 2: Download via curl
curl -L -o decconz-erp.zip https://download.decconz-erp.com/decconz-erp-v2.5.1.zip

# Extract files
unzip decconz-erp.zip -d /var/www/html/

# Set proper permissions
cd /var/www/html/decconz-erp
chmod -R 755 storage bootstrap/cache
chmod -R 777 public/uploads

3. Database Setup

Create Database
-- Create database
CREATE DATABASE decconz_erp CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

-- Create user
CREATE USER 'decconz_user'@'localhost' IDENTIFIED BY 'StrongPassword123!';

-- Grant privileges
GRANT ALL PRIVILEGES ON decconz_erp.* TO 'decconz_user'@'localhost';

-- Apply changes
FLUSH PRIVILEGES;

4. Web Server Configuration

Apache Configuration
Virtual Host Configuration
<VirtualHost *:80>
    ServerName erp.yourdomain.com
    DocumentRoot /var/www/decconz-erp/public
    
    <Directory /var/www/decconz-erp/public>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>
    
    ErrorLog ${APACHE_LOG_DIR}/decconz-error.log
    CustomLog ${APACHE_LOG_DIR}/decconz-access.log combined
</VirtualHost>
Nginx Configuration
Server Block Configuration
server {
    listen 80;
    server_name erp.yourdomain.com;
    root /var/www/decconz-erp/public;
    index index.php index.html;
    
    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }
    
    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
        include fastcgi_params;
    }
    
    location ~ /\.ht {
        deny all;
    }
}

5. Run Installation Wizard

Navigate to https://your-domain.com/install and follow the setup wizard:

  1. Accept license agreement
  2. Verify system requirements
  3. Enter database connection details
  4. Configure admin account
  5. Set up company information
  6. Select modules to install
  7. Configure email settings
  8. Complete installation

Post-Installation Tasks

  • Configure SSL certificate for secure access
  • Set up automated backups
  • Configure cron jobs for scheduled tasks
  • Set up monitoring and alerting
  • Create user training schedule