User Guide - Logicrays

Git Knowledge

  • Git: First Time Configuration
    • Checking Your Settings
      • View All Current Git Settings
      • View Specific Configuration Level
    • Configuring Your Identity
      • Set Username and Email (Repository Level)
      • Set Username and Email (Global Level)
      • Verify Your Identity Configuration
    • Configuring Your Editor
      • Set Vim as Default Editor
      • Set VS Code as Default Editor
      • Set Nano as Default Editor
      • Set Sublime Text as Default Editor
      • Set Other Editors
    • Configuring Color Output
    • Configuring Default Branch Name
    • Configuring Line Endings
      • For Windows
      • For macOS/Linux
    • Configuring Credential Storage
      • Cache Credentials (Temporary)
      • Store Credentials Permanently
    • Configuring Merge Strategy
    • Configuring Push Behavior
    • Enable AutoCorrect
      • Disable AutoCorrect
    • Creating Git Aliases
      • Basic Aliases
      • Advanced Aliases
    • Additional Useful Configurations
      • Show Branch in Terminal Prompt
      • Configure Diff Tool
      • Configure Merge Tool
      • Enable Reuse Recorded Resolution
      • Set Commit Template
      • Ignore File Permissions Changes
      • Configure Pager
    • Getting Help
      • View Command Help
      • Examples
      • Quick Option Reference
    • Complete Setup Script
    • Viewing and Editing Configuration
      • View Configuration File
      • Remove Configuration
      • Reset Configuration
    • Verifying Your Setup
    • Best Practices
    • Troubleshooting
      • Configuration Not Working
      • Wrong Editor Opening
      • Commits Showing Wrong Author
  • Git: Display Branch Name in Terminal
    • Configuration Steps
    • Result
  • Git: Branch Divergence Guide
    • Overview
      • What is Git Branch Divergence?
    • Key Causes of Divergence
    • How Git Shows Divergence
      • Using git status
      • Using git log
    • Branch Divergence Scenarios
      • 1️⃣ When Local and Remote Branches Are in Sync
      • 2️⃣ When Local is Ahead of Remote
      • 3️⃣ When Local is Behind Remote
      • 4️⃣ When Local and Remote Have Diverged
      • 5️⃣ Detached HEAD (No Branch)
    • Resolving Branch Divergence
      • Strategy 1: Merge (Preserves History)
      • Strategy 2: Rebase (Linear History)
      • Strategy 3: Force Push (Dangerous)
    • Resolving Conflicts
      • During Merge
      • During Rebase
    • Visualizing Divergence
      • Custom Git Alias
    • Preventing Branch Divergence
      • Standard Git Workflow
      • Best Practices
    • Troubleshooting Common Issues
      • Issue 1: Can’t Push Due to Divergence
      • Issue 2: Accidentally Worked on Wrong Branch
      • Issue 3: Merge Conflicts Too Complex
      • Issue 4: Lost Commits After Rebase
    • Configuration Tips
      • Configure Pull Behavior
      • Configure Push Behavior
    • Summary
      • Key Takeaways
      • Quick Reference Commands
    • See Also
  • Git: Commit Messages Guide
    • Overview
      • Reference Documentation
    • Normal Git Commit Messages
      • Example
      • Characteristics
      • Pros
      • Cons
    • Formatted Git Commit Messages (Conventional Commits)
      • Commit Message Format Structure
      • Syntax
      • Rules
    • Header Structure
      • Type
      • Scope
      • Subject
    • Body
    • Footer
    • Commit Types
    • Examples
      • Type 1: feat - A New Feature
      • Type 2: fix - A Bug Fix
      • Type 3: docs - Documentation Only Changes
      • Type 4: style - Code Formatting Changes
      • Type 5: refactor - Code Refactoring
      • Type 6: perf - Performance Improvements
      • Type 7: test - Adding Tests
      • Type 8: chore - Build Process and Tools
    • Writing Commit Messages
      • Step-by-Step Process
      • Quick Commit (One-Liner)
      • Multi-Line Commit Message
    • Best Practices
      • Do’s
      • Don’ts
    • Comparison: Normal vs Formatted Commits
      • Normal Commits Pros
      • Normal Commits Cons
      • Formatted Commits Pros
      • Formatted Commits Cons
    • Automation Tools
      • Example Tools
    • See Also
  • Git: Commands Reference Guide
    • Overview
    • Git Basics
      • Initialize Repository
      • Clone Repository
      • Configuration
    • Working with Files
      • Stage Changes
      • Commit Changes
      • Check Status
      • View Differences
    • View History
    • Branching
      • List Branches
      • Create Branch
      • Switch Branch
      • Rename Branch
      • Delete Branch
    • Merging
    • Remote Repositories
      • Manage Remotes
      • Fetch
      • Pull
      • Push
    • Undoing Changes
      • Reset
      • Revert
      • Clean
      • Restore
    • Rewriting History
      • Amend
      • Rebase
      • Rebase Operations
      • Reflog
    • Stashing
    • Tags
    • Useful Commands
      • Show Information
      • Search
      • Bisect
      • Cherry-Pick
    • Submodules
    • Advanced Operations
      • Worktree
      • Patch
      • Archive
    • Common Workflows
      • Feature Branch Workflow
      • Initial Setup Workflow
      • Updating from Remote
    • Quick Reference
      • Essential Commands
      • Useful Aliases
    • See Also
  • Git: GitHub Releases Guide
    • Overview
    • Prerequisites
    • GitHub Release Workflow
      • Step 1: Initialize Repository
      • Step 2: Create GitHub Repository
      • Step 3: Link Local Repository to GitHub
      • Step 4: Push Code to GitHub
      • Step 5: Create and Push Tag
        • Option A: Lightweight Tag
        • Option B: Annotated Tag (Recommended)
        • Option C: Multi-line Tag Message
    • Complete Release Workflow Example
    • Managing Tags
      • List Tags
      • View Tag Information
      • Delete Tags
      • Tag Specific Commits
    • Creating GitHub Releases
      • API Method
    • Semantic Versioning
      • Pre-release Versions
    • Best Practices
      • Tagging Best Practices
      • Release Workflow Best Practices
    • Common Workflows
      • Feature Release Workflow
      • Hotfix Release Workflow
    • Troubleshooting
      • Tag Not Appearing on GitHub
      • Cannot Push Tag
      • Tag Already Exists
    • See Also
  • Git: Project Setup
    • Git Setup Script
      • Quick Example
    • Manual Setup Using GIT Commands
  • Git: SSH Key Generation and Setup
    • Why Use SSH Keys?
    • Prerequisites
    • Generating SSH Keys
      • Step 1: Navigate to Your Working Directory
      • Step 2: Generate ED25519 SSH Key
      • Understanding SSH Key Naming
      • Choosing a Key Filename
      • Common Naming Patterns
      • Recommended Naming Strategy
      • Quick Reference: Placeholder vs Actual Examples
      • Complete Key Generation Example with Custom Name
      • Real-World Example: Multiple Keys Setup
      • Alternative: Generate RSA SSH Key
      • Key Generation Output
      • Understanding the Key Pair
    • Moving Keys to SSH Directory
      • Step 1: Create SSH Directory
      • Step 2: Move Keys to SSH Directory
      • Step 3: Set Proper Permissions
    • Adding Key to SSH Agent
      • Step 1: Start SSH Agent
      • Step 2: Add Key to Agent
      • Step 3: Verify Key is Loaded
      • Additional SSH Agent Commands
    • Adding Public Key to GitHub
      • Step 1: Copy Public Key to Clipboard
      • Step 2: Add Key to GitHub
      • Step 3: Test GitHub Connection
    • Adding Public Key to GitLab
      • Step 1: Copy Public Key
      • Step 2: Add Key to GitLab
      • Step 3: Test GitLab Connection
    • Adding Public Key to Bitbucket
      • Step 1: Copy Public Key
      • Step 2: Add Key to Bitbucket
      • Step 3: Test Bitbucket Connection
    • Using SSH Keys with Git
      • Clone Repository with SSH
      • Change Existing Repository to SSH
    • Managing Multiple SSH Keys
      • Create SSH Config File
      • Add Configuration for Each Service
      • Using Different Keys
      • Set Proper Permissions on Config
    • Security Best Practices
    • Troubleshooting
      • Permission Denied (publickey)
      • Bad Permissions
      • Could Not Open a Connection to Your Authentication Agent
      • Wrong Key Being Used
      • Host Key Verification Failed
      • Key Not Loading on System Restart
    • Frequently Asked Questions (FAQ)
      • Does ssh-keygen generate both public and private keys?
      • Which key do I upload to GitHub/GitLab?
      • What happens to the private key?
      • Do I need both files for SSH to work?
      • Can I regenerate the public key from the private key?
      • How many key pairs can I have?
    • Listing All SSH Keys
      • List All Keys in SSH Directory
      • View Public Key Content
      • View Key Fingerprint
      • List Keys on GitHub
    • Removing SSH Keys
      • Remove Key from SSH Agent
      • Delete Key Files
      • Remove Key from GitHub
    • Quick Reference Commands
    • Additional Resources
      • Official Documentation
      • Key Management Tools
    • Best Practices Summary
  • Git: Stash Guide
    • What Gets Stashed?
    • Stashing Changes
      • Basic Stash Commands
      • Stashing Untracked Files
      • Stashing All Files (Including Ignored)
    • Viewing Stashes
      • List All Stashes
      • Show Latest Stash
      • Show Specific Stash
    • Re-applying Stashed Changes
      • Git Stash Pop
      • Git Stash Apply
    • Deleting Stashes
      • Drop a Single Stash
      • Clear All Stashes
    • Creating a Branch from Stash
    • Advanced Usage
      • Stash with Patch Mode
      • Stash Specific Files
      • Stash with Keep Index
      • View Stash as Diff
    • Common Workflows
    • Quick Reference Cheat Sheet
      • Stashing Commands
      • Viewing Commands
      • Applying Commands
      • Deleting Commands
      • Branch Commands
    • Best Practices
    • Troubleshooting
      • Stash Pop Conflicts
      • Lost Stash Recovery
  • Git: Fix Line Ending Issues (CRLF/LF)
    • Understanding the Problem
    • Detect Line Ending Issues
      • Check What Git Sees
      • Verify Line Endings in Files
    • Fix Line Ending Issues
      • Option 1: Convert Local File to CRLF
      • Option 2: Convert Local File to LF
      • Verify the Fix
    • Prevent Future Issues
      • Use .gitattributes
      • Configure Git Settings
    • Real-World Examples
      • When to Convert: Decision Guide
      • Example 1: Converting Local File to CRLF
      • Example 2: Converting Local File to LF
      • Quick Reference
    • Common Scenarios
      • Scenario 1: Cloned Repository on Different OS
      • Scenario 2: Multiple Developers on Different OS
    • Best Practices
    • Troubleshooting
      • Issue: Normalization Doesn’t Work
      • Issue: Files Keep Showing as Modified
    • References

Technical Guides

  • Compare MySQL Database Schema
    • Overview
      • What is mysql-schema-diff?
      • Key Features
    • Installation
    • Command Options
      • Usage Syntax
      • General Options
      • Connection Options
      • Database-Specific Connection Options
    • Usage
      • Basic Syntax
      • Usage Examples
      • Output Example
    • How It Works (Internals)
      • Process Flow
    • Use Cases
  • htaccess Password Protect URL
    • Creating Hash Password
    • Steps to Create Password Protection
    • Understanding the .htaccess Configuration
  • Sphinx & Read the Docs Guide
    • Introduction
    • Reference Links
    • Prerequisites
      • System Requirements
      • 1. Install Sphinx
      • 2. Install pip (Python Package Manager)
      • 3. Install VS Code Extensions (Optional)
      • 4. Install Sphinx Extensions
    • Quick Start Guide
      • Step 1: Create a GitHub Repository
      • Step 2: Initialize Local Git Repository
      • Step 3: Create Documentation Directory
      • Step 4: Run Sphinx Quick Start
      • Step 5: Verify Directory Structure
    • Building Your Documentation
      • Build HTML Output
      • Build Other Formats
      • Preview Documentation Locally
    • Sphinx Configuration
      • Change Theme
      • Configure Extensions
      • Advanced Configuration Options
    • Preparing for Read the Docs Deployment
      • Step 1: Create .readthedocs.yaml Configuration
      • Step 2: Create Requirements File
      • Advanced: Organized Requirements Files
      • Step 3: Configure Git Ignore
      • Step 4: Commit and Push to GitHub
    • Deploying to Read the Docs
      • Step 1: Create Read the Docs Account
      • Step 2: Import Your Project
      • Step 3: Configure Project Settings
      • Step 4: Build Documentation
      • Step 5: View Your Documentation
    • Advanced: Using Sphinx Code Tabs
      • Installation
      • Configuration
      • Basic Usage
      • Advanced Features
    • Troubleshooting
      • Common Build Errors
      • Performance Issues
      • Getting Help
    • Conclusion
  • Visual Studio Code Configuration Guide
    • Introduction
      • What is Visual Studio Code?
    • Installation
      • Download and Install
      • Verify Installation
    • PHP Code Sniffer Configuration for Magento 2
      • Understanding Code Sniffers
      • Prerequisites
      • Install Magento Coding Standard
      • Configure phpcs in VS Code
      • Verify phpcs is Working
      • Manual phpcs Commands
    • Essential VS Code Extensions
      • How to Install Extensions
      • PHP Development Extensions
      • Magento Development Extensions
      • Version Control Extensions
      • HTML/CSS/JavaScript Extensions
      • Productivity Extensions
      • AI-Powered Extensions
      • Remote Development Extensions
      • Utility Extensions
      • Configuration Extensions
      • Container & DevOps Extensions
      • Database Extensions
      • Theme Extensions
    • Performance Optimization
      • Fixing VS Code Freeze or Hang Issues
      • Solution 1: Exclude Large Directories
      • Solution 2: Disable Git Auto Refresh
      • Solution 3: Disable Hardware Acceleration
      • Solution 4: Increase File Size Limits
      • Solution 5: Disable Unused Extensions
    • setting.json File Example
    • Custom Code Snippets
      • How to Create PHP Snippets
      • Snippet Variables
    • Essential Keyboard Shortcuts
      • General Shortcuts
      • Editing Shortcuts
      • Code Navigation
      • Search and Replace
    • Tips and Best Practices
      • Workspace vs User Settings
      • Increase Productivity
      • Debugging PHP in VS Code
    • Conclusion
  • Xdebug in VS Code for PHP
    • Prerequisites
    • Official Documentation
    • Check Xdebug Installation Status
    • Install Xdebug
    • Install PHP Debug Extension in VS Code
    • Configure Xdebug
    • Create launch.json Configuration File
      • Understanding pathMappings
      • Example launch.json Configuration
    • Start/Stop Debugging in VS Code
      • Example: Debugging Customer Login Process
    • Understanding Debug Controls
      • Step Into (F11)
      • Step Over (F10)
      • Step Out (Shift+F11)
    • Additional Resources
      • Demo Video
      • YouTube Tutorials

Magento 2 Guides

  • Magento 2: Installation Guide
    • Overview
    • System Requirements
      • Minimum Requirements
      • Hardware Recommendations
    • Prerequisites Installation
      • Quick Summary
      • Required PHP Extensions
      • Configure PHP for Magento
      • Create Database
    • Installation Methods
      • Method 1: Install via Composer (Recommended)
      • Method 2: Install from Archive
    • Configure Apache Virtual Host
      • Create Virtual Host Configuration
      • Enable Site and Modules
      • Update Hosts File
    • Post-Installation Configuration
      • Common Post-Installation Steps
      • Deploy Static Content
      • Set Magento Mode
      • Configure Cron
      • Configure Redis (Optional)
      • Configure Two-Factor Authentication
    • Verification
      • Check Installation
    • Performance Optimization
      • Enable Flat Catalog
      • Configure Full Page Cache
      • Production Mode Optimization
    • Troubleshooting
      • Common Issues
    • Maintenance Commands
      • Update Magento
      • Backup Database
      • Clear Cache
      • Reindex Data
    • Security Best Practices
    • Quick Reference
      • Essential Commands
      • Installation Checklist
    • See Also
      • Prerequisites
      • Magento Related
      • External References
  • Magento 2: Module Installation
    • Overview
    • Installation Methods
      • Method 1: Composer Installation
      • Method 2: Manual Installation
      • Method 3: Marketplace Installation
      • Method 4: Git Submodule Installation
    • Module Management Commands
      • Essential CLI Commands
      • Setup Commands
    • Module Dependencies
      • Checking Dependencies
      • Module Load Order
    • Troubleshooting
      • Common Issues
      • Module Conflicts
    • Best Practices
      • Installation Best Practices
      • Development Mode vs Production Mode
      • Version Control
    • Module Update Process
      • Updating via Composer
      • Manual Update
    • Security Considerations
      • Module Verification
    • Quick Reference
      • Complete Installation Sequence
      • Common Commands Summary
    • See Also
  • Magento 2: n98-magerun2 Tool
    • Overview
      • What is n98-magerun2.phar?
      • Source & Documentation
    • Installation
    • Create Alias (Optional)
    • Available Commands
      • Core Commands
      • Admin Commands
      • Cache Commands
      • CMS Commands
      • Configuration Commands
      • Customer Commands
      • Database Commands
      • Design Commands
      • Development Commands
      • EAV Commands
      • Generation Commands
      • GitHub Commands
      • Index Commands
      • Integration Commands
      • Media Commands
      • Route Commands
      • Sales Commands
      • Script Commands
      • Search Commands
      • System Commands
    • Common Usage Examples
      • Admin User Management
      • Database Operations
      • Cache Management
      • Configuration
      • Customer Management
      • Development Tools
      • System Information
    • Best Practices
    • See Also
  • Magento 2: RabbitMQ Message Queue
    • Overview
      • Installation Sequence
      • Code Structure
      • Connection Adapters
        • Database Adapter
        • AMQP Adapter
    • Message Queue Framework Architecture
      • Components
    • Message Queue Status
      • Status Management
    • Install RabbitMQ Server
    • Enable RabbitMQ Management Dashboard
    • Configure RabbitMQ
      • Create User with Permissions
      • Create Queue
      • Access Management Dashboard
      • Login Credentials
    • Magento 2 configuration
      • Connect RabbitMQ to Magento Open Source or Adobe Commerce
    • RabbitMQ Example
    • Basic Information about RabbitMQ files
      • communication.xml
      • queue_publisher.xml
      • queue_topology.xml
      • queue_consumer.xml
      • Create Publisher Class
      • How to consume message in queue
    • Conversion of Magento 2 Queue from MySQL to AMQP
    • Conclusion
  • Magento 2: NPM Package Integration
    • Overview
    • Installation Steps
    • Usage Example
    • Result
    • Benefits
  • Magento 2: MFTF Testing Framework
    • Overview
      • What is MFTF?
      • Key Features
    • MFTF Tests Location
    • Directory Structure
    • Prerequisites
      • Prepare Environment
      • System Requirements
      • Required PHP Extensions
    • Installation
      • Step 1: Install MFTF
      • Install Composer
      • Install Java
      • Install ChromeDriver
      • Download Selenium Server
      • Directory Structure After Installation
    • Find your MFTF Version
      • Using MFTF CLI
      • Using Composer CLI
    • Configuration
    • WYSIWYG Admin Configuration
    • Change Security Settings
    • Check MFTF Health
      • Generate Configuration File
      • Configure Environment
    • Steps For The Running MFTF Test
      • Configure Credentials
    • MFTF Project Structure
      • Directory Layout
      • Test Components
    • Workflow MFTF
      • Test
      • Page
      • Section
      • ActionGroup
      • Data
      • MetaData
    • Building Tests
      • Generate Test Files
      • Clean Generated Tests
    • Running Tests
      • Run All Tests
      • Run Specific Tests
      • Run Tests in Parallel
      • Debug Mode
    • Creating Custom Tests
      • Example 1: Simple Login Test
      • Example 2: Product Creation Test
      • Creating Action Groups
      • Creating Page Objects
      • Creating Sections
      • Creating Data Entities
    • Test Annotations
      • Common Annotations
    • MFTF Actions
      • Common Actions
      • Advanced Actions
    • Best Practices
      • Test Organization
      • Test Data Management
      • Performance Optimization
    • Debugging Tests
      • Enable Debug Mode
      • View Test Output
      • Screenshots and Logs
      • Common Issues
    • CI/CD Integration
      • GitLab CI Example
      • GitHub Actions Example
    • Quick Reference
      • Essential Commands
      • Test Structure Template
    • See Also

Linux Guides

  • Apache Virtual Host Configuration Guide
    • Introduction
      • What is a Virtual Host?
    • Prerequisites
    • Understanding Apache Directory Structure
    • Basic Virtual Host Configuration
      • Method 1: Standard Virtual Host File
      • Method 2: Include Configuration from Project Directory
    • Magento-Specific Virtual Host Configuration
      • Step 1: Create Virtual Host Configuration
      • Step 2: Add Magento Virtual Host Configuration
      • Step 3: Include Configuration in Apache
      • Step 4: Enable Required Apache Modules
      • Step 5: Verify Configuration
      • Step 6: Fix Magento HTTPS Issues (Optional)
    • SSL/HTTPS Virtual Host Configuration (Optional)
      • Configuring HTTPS with Let’s Encrypt
      • Manual SSL Virtual Host Configuration
      • HTTP to HTTPS Redirect
    • Common Apache Commands
      • Managing Virtual Hosts
      • Managing Apache Modules
      • Apache Service Management
      • Testing and Validation
    • Troubleshooting
      • Common Issues and Solutions
      • Viewing Logs
    • Performance Optimization
      • Enable Compression
      • Enable Caching
    • Security Best Practices
      • Disable Directory Listing
      • Hide Apache Version
      • Limit Request Size
    • Conclusion
  • Bash Scripts for Service Management
    • Overview
    • Prerequisites
    • Script 1: Stop Web Services
      • Create the Script
      • Add Script Content
      • Make Executable
      • Install Globally
      • Usage
    • Script 2: Start Web Services
      • Create the Script
      • Add Script Content
      • Make Executable and Install
      • Usage
    • Script 3: Start Docker Services
      • Create the Script
      • Add Script Content
      • Make Executable and Install
      • Usage
    • Script 4: Stop Docker Services
      • Create the Script
      • Add Script Content
      • Make Executable and Install
      • Usage
    • Script 5: Git Repository Setup
      • Create the Script
      • Add Script Content
      • Make Executable
      • Usage
      • Features
      • What the Script Does
      • Verify Installation
    • Script 6: Automated PHP Version Switching
      • Create the Script
      • Add Script Content
      • Make Executable and Install
      • Usage
      • Features
    • Script 7: System Information Checker
      • Create the Script
      • Add Script Content
      • Make Executable and Install
      • Usage
      • Features
      • Available Information Categories
      • Saving System Reports
    • Managing Custom Scripts
      • List Installed Scripts
      • View Script Content
      • Edit Installed Script
      • Remove Script
      • Check Service Status
    • Best Practices
      • Script Development
      • Service Management
      • Security Considerations
      • Documentation
    • Troubleshooting
      • Script Permission Denied
      • Command Not Found
      • Service Fails to Start/Stop
      • Script Runs But Services Not Affected
      • Git Setup Issues
      • PHP Switching Issues
    • Quick Reference
    • Conclusion
      • Key Benefits
      • Next Steps
      • Best Practices Summary
      • Related Resources
  • LAMP Stack Installation Guide
    • Introduction
      • What is LAMP Stack?
    • Prerequisites
    • Apache Web Server Installation
      • Update System Packages
      • Install Apache
      • Verify Apache Installation
      • Configure UFW Firewall (Remote Servers)
      • Enable Apache Modules
      • Manage Apache Service
      • Set Directory Permissions
    • Troubleshooting Apache
      • Configuration Test
      • Fix 404 Not Found Errors
      • Fix 403 Forbidden Errors
      • Configure ServerName
    • MySQL Database Installation
      • Install MySQL Server
      • Verify MySQL Installation
      • Configure MySQL Root Password
      • Create Database
      • MySQL Security Configuration
      • Create Database User with Privileges
      • Manage MySQL Service
      • Useful MySQL Commands
    • PHP Installation and Configuration
      • Update System Packages
      • Install Required Dependencies
      • Add Ondrej PPA Repository
      • Install PHP
      • Install PHP Extensions
      • Configure PHP Settings
      • Switch Between PHP Versions
      • Verify PHP Installation
    • PHP-FPM Configuration (Optional)
      • Understanding PHP Execution Methods
      • What is PHP-FPM?
      • Install and Configure PHP-FPM
      • Manage PHP-FPM Service
      • Configure PHP-FPM Pool
      • Virtual Host Configuration for PHP-FPM
      • Run Multiple PHP Versions with PHP-FPM
    • Troubleshooting PHP
      • Module Does Not Exist Error
      • Apache Not Executing PHP Files
    • Elasticsearch Installation
      • Install Java (OpenJDK)
      • Install cURL
      • Import Elasticsearch GPG Key
      • Add Elasticsearch Repository
      • Install Elasticsearch
      • Enable and Start Elasticsearch
    • Configure Elasticsearch
      • Configuration Files Location
      • Edit Main Configuration
      • Configure JVM Memory Settings
      • Increase Startup Timeout
      • Verify Elasticsearch
      • Manage Elasticsearch Service
    • Composer Installation
      • Download Composer Installer
      • Install Composer Globally
      • Verify Composer Installation
      • Manage Composer Versions
      • Clear Composer Cache
      • Health Check
    • Complete Stack Verification
      • Apache Status
      • MySQL Status
      • PHP Version
      • Elasticsearch Status
      • Composer Version
      • Create PHP Info Page
    • Performance Optimization
      • Apache Optimization
      • MySQL Optimization
      • PHP Optimization
    • Security Best Practices
      • Apache Security
      • MySQL Security
      • PHP Security
      • Elasticsearch Security
    • Additional Resources
      • Official Documentation
      • Tutorial References
      • Community Support
    • Quick Command Reference
      • Apache Commands
      • MySQL Commands
      • PHP Commands
      • PHP-FPM Commands
      • Elasticsearch Commands
      • Composer Commands
      • File Permissions
      • Log File Locations
      • System Monitoring
    • Backup and Maintenance
      • Database Backup
      • Website Backup
      • Automated Backups with Cron
      • System Updates
      • Restore from Backup
    • Conclusion
  • Linux Alias Configuration
    • What is an Alias?
    • Setting Up Aliases
      • Configuration Steps
    • System Management Aliases
      • Update System
      • Clean System
      • Install DEB Package
    • Magento Development Aliases
      • Magento Command Shortcut
      • Basic Magento Cleanup
      • Full Magento Cleanup
      • Check Magento Versions
      • n98-magerun2 Tool
    • Git Aliases
      • Count Git Commits
    • Common Useful Aliases
      • Navigation Shortcuts
      • List Files with Details
      • Disk Usage
      • Search History
      • Process Management
      • Safety Aliases
    • Web Development Aliases
      • Apache Management
      • MySQL Management
      • Docker Aliases
    • Network Aliases
      • Check Public IP
      • Ping Google
      • Network Connections
    • Complete Alias Setup Script
    • Managing Aliases
      • List All Aliases
      • View Specific Alias
      • Remove Temporary Alias
      • Remove Permanent Alias
    • Alias Best Practices
    • Advanced: Creating Functions
      • Extract Archives
      • Make Directory and Navigate
      • Find and Kill Process
    • Troubleshooting
      • Alias Not Working
      • Alias Not Persisting
      • Conflict with Existing Command
    • Quick Reference
    • Conclusion
  • Linux: Boot Speed Optimization Guide
    • Overview
      • What is Boot Optimization?
      • Why Optimize Boot Time?
    • Understanding Boot Process
      • Boot Stages
    • Analyzing Boot Performance
      • Check Boot Time
      • Identify Slow Services
      • Generate Boot Timeline
    • Safe Boot Optimizations
      • Critical Fix: fstrim Service
      • Fix plocate Database Updates
      • Disable NetworkManager-wait-online
    • Optional Service Optimizations
      • Optimize Development Services
      • Manage Snap Services
      • Optimize Docker
    • Performance Enhancement Tools
      • Install Preload
      • Install TLP (Laptops)
      • Install apt-fast
    • Manual Step-by-Step Guide
      • Step 1: Analyze Current Boot Time
      • Step 2: Fix fstrim Service
      • Step 3: Optimize plocate
      • Step 4: Disable Network Wait
      • Step 5: Reboot and Verify
    • Monitoring and Maintenance
      • Regular Boot Time Checks
      • Compare Boot Times
    • Troubleshooting
      • Common Issues
      • Rollback Optimizations
    • Best Practices
      • Do’s
      • Don’ts
      • Security Considerations
    • Expected Results
      • Benchmark Comparison
      • Service-by-Service Savings
    • Resources
      • Official Documentation
      • Useful Tutorials
      • Related Guides
    • Quick Reference
      • Essential Commands
    • Conclusion
  • Linux: Commands Reference Guide
    • File System Navigation
    • pwd (Print Working Directory)
    • ls (List Directory Contents)
    • cd (Change Directory)
    • tree
    • File Operations
    • cp (Copy)
    • mv (Move)
    • rm (Remove)
    • mkdir (Make Directory)
    • touch
    • File Viewing and Editing
    • cat (Concatenate)
    • less
    • head
    • tail
    • Text Processing
    • grep (Global Regular Expression Print)
    • sed (Stream Editor)
    • Compression and Archives
    • tar
    • gzip
    • zip/unzip
    • System Information
    • uname
    • top
    • htop
    • df (Disk Free)
    • du (Disk Usage)
    • free
    • Search and Find
    • find
    • Permissions
    • chown (Change Owner)
    • chmod (Change Mode)
    • Networking
    • ping
    • curl
    • wget
    • ssh (Secure Shell)
    • scp (Secure Copy)
    • Process Management
    • nohup
    • Package Management
    • dpkg
    • snap
    • systemctl
    • Database Operations
    • Create Database
    • Import Database
    • Export Database
    • Remove Definer
    • Additional Examples
    • Create .tar File
    • Extract .tar File
    • Create .zip File
    • Extract .zip File
    • SCP File Transfer
    • Quick Reference
    • See Also
  • Linux: Package Management Guide
    • Introduction
      • What is Package Management?
      • APT Package Manager
    • Prerequisites
    • Understanding APT Commands
      • APT vs APT-GET
    • Updating Package Database
      • Update Package Index
      • Upgrade Packages
    • Installing Packages
      • Install Single Package
      • Install Multiple Packages
      • Install Specific Version
      • Install Without Recommendations
      • Reinstall Package
      • Install Local DEB Package
    • Removing Packages
      • Remove Package (Keep Configuration)
      • Purge Package (Remove Everything)
      • Remove Unused Dependencies
    • Searching and Listing Packages
      • Search for Packages
      • List Installed Packages
      • List Available Packages
      • List Upgradeable Packages
    • Package Information
      • Show Package Details
      • Show Package Dependencies
      • Show Reverse Dependencies
      • List Package Files
      • Find Which Package Provides a File
    • Advanced Package Management
      • Hold Package Version
      • Download Package Without Installing
      • Simulate Package Operations
      • Check for Broken Dependencies
      • Reconfigure Package
    • Repository Management
      • List Repositories
      • Add PPA Repository
      • Remove PPA Repository
      • Add GPG Key for Repository
    • Cleaning and Maintenance
      • Clean Package Cache
      • Check Disk Usage
      • Remove Unnecessary Packages
    • Troubleshooting
      • Fix Broken Packages
      • Lock File Issues
      • Hash Sum Mismatch
      • Repository GPG Errors
      • Unable to Locate Package
      • Unmet Dependencies
    • Package Manager Best Practices
      • Regular Maintenance
      • Security Updates
      • Backup Package List
      • Safe Upgrade Practices
    • Quick Command Reference
      • Essential Commands
      • Complete Command List
    • APT Configuration Files
      • Important Files and Directories
      • Customize APT Behavior
    • Alternative Package Managers
      • Snap Packages
      • Flatpak Packages
      • AppImage
    • Common Use Cases
      • Development Environment Setup
      • Web Server Setup
      • Media Production Setup
    • Conclusion
    • Additional Resources
      • Official Documentation
      • Useful Tools
      • Community Support
  • Linux: Snap Package Management
    • What is Snap?
      • Benefits of Snap
    • Installing Snap on Linux Mint
      • Step 1: Remove nosnap.pref File
      • Step 2: Update Package Database
      • Step 3: Install snapd
      • Step 4: Verify Installation
      • Troubleshooting Installation
    • Installing Snap on Other Linux Distributions
      • Ubuntu
      • Debian
      • Fedora
      • Arch Linux
    • Installing Applications with Snap
      • Basic Installation Syntax
      • Common Applications
      • Installing with Different Confinement Modes
    • Snap Commands Reference
      • Checking Version
      • Searching for Packages
      • Listing Installed Snaps
      • Installing Packages
      • Updating Packages
      • Removing Packages
      • Reverting to Previous Version
      • Managing Snap Services
      • Viewing Snap Information
    • Cleaning Up Old Snap Revisions
      • Understanding Snap Revisions
      • Manual Cleanup
      • Automated Cleanup Script
      • Script Explanation
      • Schedule Automatic Cleanup
    • Advanced Snap Management
      • Snap Configuration
      • Snap Connections
      • Snap Aliases
      • Controlling Snap Updates
      • Checking Disk Usage
    • Best Practices
    • Troubleshooting
      • Snap Not Found
      • Permission Denied
      • Application Won’t Start
      • Disk Space Issues
      • Update Failed
    • Quick Reference
    • Common Applications to Install
    • Conclusion
  • Linux: System Information Commands
    • Overview
      • Why Check System Information?
    • Basic System Information Commands
      • General System Information
      • Operating System Information
      • Architecture Information
    • CPU Information
      • Display CPU Details
    • Memory Information
      • Display Memory Usage
      • Memory Hardware Information
    • Disk and Storage Information
      • Disk Usage Commands
      • Partition Information
      • Disk Block Devices
    • Hardware Information
      • PCI Devices
      • USB Devices
      • All Hardware Information
    • System Status and Monitoring
      • System Uptime
      • Date and Time
      • User Information
    • Process Information
      • View Running Processes
    • Network Information
      • Network Interfaces
      • Network Connections
      • Routing Information
    • Kernel and Module Information
      • Kernel Information
      • Kernel Modules
      • Kernel Messages
    • System Logs
      • View System Logs
    • Environment and Configuration
      • Environment Variables
      • System Configuration Files
    • System Information Script
      • Interactive System Information Tool
        • Quick Example
    • Quick Reference
      • Essential Commands
    • Common Use Cases
      • Server Inventory
      • Performance Monitoring
      • Troubleshooting
    • Resources
      • Official Documentation
      • Useful Tutorials
      • Related Guides
    • Best Practices
      • Regular Monitoring
      • Security Considerations
    • Conclusion
  • Linux: Mailpit: Email Testing Tool for Developers
    • Overview
      • What is Mailpit?
      • Key Features
    • Installation
      • Prerequisites
      • Install Mailpit Binary
    • PHP Configuration
      • Configure php.ini Files
    • Creating Mailpit Service
      • Prepare Service Configuration
      • Create Mailpit Systemd Service
    • Service Management
      • Managing Mailpit Service
      • Service Status Commands
    • Using Mailpit
      • Accessing the Web Interface
      • Testing Email with PHP
      • Testing with Magento 2
      • Viewing Captured Emails
    • Updating Mailpit
      • Keeping Mailpit Up to Date
      • Handling Update Errors
    • Troubleshooting
      • Common Issues
    • Best Practices
      • Development Environment
      • Testing Workflow
      • Integration Testing
      • Security Considerations
    • Search Filters
      • Common Search Filters
    • Resources
      • Official Documentation
      • Related Guides
    • Quick Reference
    • Conclusion
  • Linux: Nano Text Editor Guide
    • Introduction
    • Installation
      • Install on Debian/Ubuntu
      • Install on RHEL/CentOS/Fedora
      • Verify Installation
    • Basic Usage
      • Opening Files
      • Understanding the Interface
    • Keyboard Shortcuts Reference
      • File Handling
      • Editing Operations
      • Search and Replace
      • Deletion
      • Navigation
      • Advanced Operations
      • Information and Help
      • View and Display Options
    • Common Tasks
      • How to Save and Exit
      • How to Cut, Copy, and Paste
      • How to Search and Replace
      • How to Go to a Specific Line
    • Configuration
      • Nano Configuration File
      • Creating Custom Configuration
      • Useful Command-Line Options
    • Tips and Best Practices
      • Essential Tips
      • Syntax Highlighting
      • Working with Multiple Files
    • Troubleshooting
      • Common Issues
    • Conclusion
  • Linux: Setup Swap Memory
    • Prerequisites
    • Check Current Swap Memory
    • Turn Off Existing Swap
    • Create New Swap File
    • Configure Swap File Permissions
    • Initialize Swap Area
    • Make Swap Permanent
    • Final Verification
    • Troubleshooting
      • Swap file is not persisting after reboot
      • Insufficient disk space error
      • Permission denied errors
    • Additional Resources
    • Summary
  • Linux: Switch Between Multiple PHP Versions
    • Overview
    • Prerequisites
    • Manual PHP Version Switching
      • Switch From PHP 7.4 to PHP 8.1
      • Switch From PHP 8.1 to PHP 7.4
      • Troubleshooting
    • Switch PHP Script
      • Quick Example
      • Script Output
    • Best Practices
      • Version Management
      • Common Use Cases
    • Additional Commands
      • Check Current PHP Version
      • List Installed PHP Versions
      • Install Additional PHP Versions
User Guide - Logicrays
  • Welcome to Logicrays Docs

Welcome to Logicrays Docs

Git Knowledge

  • Git: First Time Configuration
  • Git: Display Branch Name in Terminal
  • Git: Branch Divergence Guide
  • Git: Commit Messages Guide
  • Git: Commands Reference Guide
  • Git: GitHub Releases Guide
  • Git: Project Setup
  • Git: SSH Key Generation and Setup
  • Git: Stash Guide
  • Git: Fix Line Ending Issues (CRLF/LF)

Technical Guides

  • Compare MySQL Database Schema
  • htaccess Password Protect URL
  • Sphinx & Read the Docs Guide
  • Visual Studio Code Configuration Guide
  • Xdebug in VS Code for PHP

Magento 2 Guides

  • Magento 2: Installation Guide
  • Magento 2: Module Installation
  • Magento 2: n98-magerun2 Tool
  • Magento 2: RabbitMQ Message Queue
  • Magento 2: NPM Package Integration
  • Magento 2: MFTF Testing Framework

Linux Guides

  • Apache Virtual Host Configuration Guide
  • Bash Scripts for Service Management
  • LAMP Stack Installation Guide
  • Linux Alias Configuration
  • Linux: Boot Speed Optimization Guide
  • Linux: Commands Reference Guide
  • Linux: Package Management Guide
  • Linux: Snap Package Management
  • Linux: System Information Commands
  • Linux: Mailpit: Email Testing Tool for Developers
  • Linux: Nano Text Editor Guide
  • Linux: Setup Swap Memory
  • Linux: Switch Between Multiple PHP Versions
Next

© Copyright 2011-2025 by LogicRays Technologies, All Rights Reserved. Last updated on Nov 01, 2025.