{
  "id": "customize-install-directories",
  "title": "Customize installation directories",
  "url": "https://redis.io/docs/latest/operate/rs/7.8/installing-upgrading/install/customize-install-directories/",
  "summary": "Customize Redis Enterprise Software installation directories.",
  "content": "\nWhen you install Redis Enterprise Software on Red Hat Enterprise Linux, you can customize the installation directories.\n\nThe files are installed in the `redislabs` directory located in the path that you specify.\n\n## Considerations\n\n- When you install with custom directories, the installation does not run as an RPM file.\n\n- If a `redislabs` directory already exists in the path that you specify, the installation fails.\n\n- All nodes in a cluster must be installed with the same file locations.\n\n- Custom installation directories are not supported for databases using Auto Tiering.\n\n- [Configure different mount points for data and log directories](#config-diff-data-log-dirs).\n\n## Specify file locations\n\nYou can specify these file locations:\n\n| Files               | Installer flag | Example parameter | Example file location |\n| ------------------- | -------------- | ----------------- | --------------------- |\n| Binaries files      | --install-dir  | /opt              | /opt/redislabs        |\n| Configuration files | --config-dir   | /etc/opt          | /etc/opt/redislabs    |\n| Data and log files  | --var-dir      | /var/opt          | /var/opt/redislabs    |\n\nThese files are not in the custom directories:\n\n- OS files\n    - /etc/cron.d/redislabs\n    - /etc/firewalld/services\n    - /etc/firewalld/services/redislabs-clients.xml\n    - /etc/firewalld/services/redislabs.xml\n    - /etc/ld.so.conf.d/redislabs_ldconfig.conf.tmpl\n    - /etc/logrotate.d/redislabs\n    - /etc/profile.d/redislabs_env.sh\n    - /usr/lib/systemd/system/rlec_supervisor.service.tmpl\n    - /usr/share/selinux/mls/redislabs.pp\n    - /usr/share/selinux/targeted/redislabs.pp\n\n- Installation reference files\n    - /etc/opt/redislabs/redislabs_custom_install_version\n    - /etc/opt/redislabs/redislabs_env_config.sh\n\nTo specify directories during [installation](), include installer flags as [command-line options]() when you run the `install.sh` script. For example:\n\n```sh\nsudo ./install.sh --install-dir \u003cpath\u003e --config-dir \u003cpath\u003e --var-dir \u003cpath\u003e\n```\n\n## Configure different mount points for data and log directories {#config-diff-data-log-dirs}\n\nTo configure different mount points for data and log directories, use symbolic links:\n\n1. Create a symbolic link for the data directory:\n\n    ```sh\n    ln -s /var/opt/redislabs/data \u003c/path/to/data/mount/point\u003e\n    ```\n\n1. Create a symbolic link for the log directory:\n\n    ```sh\n    ln -s /var/opt/redislabs/log \u003c/path/to/log/mount/point\u003e\n    ```\n\n## Limitations\n\nSeveral Redis Enterprise Software installation reference files are installed to the directory `/etc/opt/redislabs/` even if you use custom installation directories.\n\nAs a workaround to install Redis Enterprise Software without using any root directories, do the following before installing Redis Enterprise Software:\n\n1. Create all custom, non-root directories you want to use with Redis Enterprise Software.\n\n1. Mount `/etc/opt/redislabs` to one of the custom, non-root directories.\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "2026-04-01T08:10:08-05:00"
}

