{
  "schema_version": 2,
  "id": "operate/rs/installing-upgrading/install/plan-deployment/file-locations",
  "title": "File locations",
  "url": "https://redis.io/docs/latest/operate/rs/installing-upgrading/install/plan-deployment/file-locations/",
  "summary": "Redis Software file installation locations.",
  "tags": [
    "docs",
    "operate",
    "rs"
  ],
  "last_updated": "2026-09-24T09:16:34+01:00",
  "page_type": "content",
  "content_hash": "6906a164a0889f0bcb2349d99bdb0dfe5429a2d8c531cde6c32175b29427dad8",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "> [!WARNING]\n> To ensure that Redis Software functions properly, be careful with the files in the application directories. If you modify or delete the application files, Redis Software might not work as expected."
    },
    {
      "id": "application-directories",
      "title": "Application directories",
      "role": "content",
      "text": "The directories that Redis Software installs into are:\n\n| **Path** | **Description** |\n|------------|-----------------|\n| /opt/redislabs | Main installation directory for all Redis Software binaries |\n| /opt/redislabs/bin | Binaries for all the utilities for command-line access and management, such as [`rladmin`](https://redis.io/docs/latest/operate/rs/references/cli-utilities/rladmin) or [`redis-cli`](https://redis.io/docs/latest/operate/rs/references/cli-utilities/redis-cli) |\n| /opt/redislabs/config | System configuration files |\n| /opt/redislabs/lib | System library files |\n| /opt/redislabs/sbin | System binaries for tweaking provisioning |"
    },
    {
      "id": "configuration-and-data-directories",
      "title": "Configuration and data directories",
      "role": "configuration",
      "text": "The default directories that Redis Software uses for data and metadata are:\n\n| **Path** | **Description** |\n|------------|-----------------|\n| /var/opt/redislabs | Default storage location for the cluster data, system logs, backups, and ephemeral, persisted data |\n| /var/opt/redislabs/log | System logs for Redis Software |\n| /var/opt/redislabs/run | Socket files for Redis Software |\n| /etc/opt/redislabs | Default location for cluster manager configuration and certificates |\n| /tmp | The /tmp filesystem is for temporary files and should be sized according to this formula: `<number-of-cluster-nodes> * <size-of-/var/opt/redislabs/log-filesystem>`  |\n\nYou can change these file locations for:\n\n- [Ephemeral and persistence storage](https://redis.io/docs/latest/operate/rs/clusters/new-cluster-setup) during cluster setup\n- [Socket files](https://redis.io/docs/latest/operate/rs/installing-upgrading/configuring/change-location-socket-files) after cluster setup\n\n> [!NOTE]\n> To specify custom paths for ephemeral and persistent storage during cluster setup, you must install Redis Software using [custom installation directories](https://redis.io/docs/latest/operate/rs/installing-upgrading/install/customize-install-directories). If you use the default installation, you cannot specify custom storage paths and will receive a \"path not mounted\" error."
    }
  ],
  "examples": []
}
