{
  "schema_version": 2,
  "id": "operate/rs/installing-upgrading/install/manage-installation-questions",
  "title": "Manage installation questions",
  "url": "https://redis.io/docs/latest/operate/rs/installing-upgrading/install/manage-installation-questions/",
  "summary": "Describes Redis Software installation questions and how to answer them automatically.",
  "tags": [
    "docs",
    "operate",
    "rs"
  ],
  "last_updated": "2026-09-24T09:16:34+01:00",
  "page_type": "content",
  "content_hash": "ee9de0a6aa66f558045216a85201f19b5b263038600cc78499ceca281df34c0a",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Several questions are displayed during the Redis Software installation process.\n\nHere, you'll find a list of these questions and learn how to automatically answer these questions to perform a silent install."
    },
    {
      "id": "installation-questions",
      "title": "Installation questions",
      "role": "setup",
      "text": "Several questions appear during installation:\n\n- **Linux swap file** - `Swap is enabled. Do you want to proceed? [Y/N]?`\n\n    We recommend that you [disable Linux swap](https://redis.io/docs/latest/operate/rs/installing-upgrading/configuring/linux-swap) in the operating system configuration\n    to give Redis Software control of the memory allocation.\n\n- **Automatic OS tuning** - `Do you want to automatically tune the system for best performance [Y/N]?`\n\n    To allow the installation process to optimize the OS for Redis Software, answer `Y`.\n    The installation process prompts you for additional information.\n\n    The `/opt/redislabs/sbin/systune.sh` file contains details about the tuning process.\n\n- **Network time** - `Do you want to set up NTP time synchronization now [Y/N]?`\n\n    Redis Software requires that all cluster nodes have synchronized time.\n    You can either let the installation process configure NTP\n    or you can [configure NTP manually](https://redis.io/docs/latest/operate/rs/clusters/configure/sync-clocks).\n\n- **Firewall ports** - `Would you like to open RedisLabs cluster ports on the default firewall zone [Y/N]?`\n\n    Redis Software requires that all nodes have [specific network ports](https://redis.io/docs/latest/operate/rs/networking/port-configurations) open.\n    To open the ports, you can:\n\n    - Answer `Y` to let the installation process open these ports.\n    - Answer `N` and configure the firewall manually for [RHEL/CentOS firewall](https://redis.io/docs/latest/operate/rs/installing-upgrading/configuring/centos-rhel-firewall).\n    - Answer `N` and configure the firewall on the node manually for your OS.\n\n- **Installation verification (rlcheck)** - `Would you like to run rlcheck to verify proper configuration? [Y/N]?`\n\n    Run the `rlcheck` installation verification to make sure that the installation completed successfully.\n    If you want to run this verification at a later time, you can run:\n    \n    [code example]\n\n- **User already exists** - `The user 'redislabs' already exists, which may lead to problems if it wasn't configured correctly. Would you like to proceed with the installation? (Y/N)?`\n\n- **Group already exists** - `The group 'redislabs' already exists, which may lead to problems if it wasn't configured correctly. Would you like to proceed with the installation? (Y/N)?`\n\n- **Update PATH** - `Add Redis-Enterprise paths to $PATH variable (recommended) [Y/N]?`"
    },
    {
      "id": "answer-install-questions-automatically",
      "title": "Answer install questions automatically",
      "role": "content",
      "text": "To perform a silent (or automated) install, answer the questions when you start the [install](https://redis.io/docs/latest/operate/rs/installing-upgrading/install/install-on-linux)."
    },
    {
      "id": "answer-yes-to-all-questions",
      "title": "Answer yes to all questions",
      "role": "content",
      "text": "To automatically answer `yes` to all questions (which accepts the default values), run the [installation script](https://redis.io/docs/latest/operate/rs/installing-upgrading/install/install-script) with the `-y` parameter:\n\n[code example]"
    },
    {
      "id": "configure-file-to-answer",
      "title": "Configure file to answer",
      "role": "configuration",
      "text": "Use an answer file to manage your response:\n\n1. Create a text file to serve as an answer file.\n\n    The answer file can contain any of the following installation question parameters. If a parameter is not included in the file, the installation script will ask for your answer.\n\n    | Parameter | Values | Description |\n    |-----------|--------|-------------|\n    | `firewall` | `yes`<br />`no` | Configure firewall and open required Redis ports. |\n    | `ignore_existing_osuser_osgroup` | `yes`<br />`no` | Proceed if redislabs user/group already exists. |\n    | `ignore_master_version` | `yes`<br />`no` | Continue the upgrade even if the primary node isn't upgraded. If `no`, stops installation if the primary node hasn't been upgraded. |\n    | `ignore_swap` | `yes`<br />`no` | Continue even if swap is enabled. If `no`, stops installation if swap is enabled. |\n    | `ntp` | `yes`<br />`no` | Configure NTP for time synchronization. |\n    | `rlcheck` | `yes`<br />`no` | Run `rlcheck` after installation to validate the system. |\n    | `update_env_path` | `yes`<br />`no` | Add Redis Software paths to the PATH environment variable. |\n    | `systune` | `yes`<br />`no` | Automatically tune system performance (CPU, sysctl). If `yes`, answers `yes` to all system tuning questions. |\n\n    Example answer file:\n\n    [code example]\n\n1. Run the [installation script](https://redis.io/docs/latest/operate/rs/installing-upgrading/install/install-script) with the `-c` command-line option and add the path to the answer file.\n\n    For example:\n\n    [code example]"
    }
  ],
  "examples": [
    {
      "id": "installation-questions-ex0",
      "language": "sh",
      "code": "/opt/redislabs/bin/rlcheck",
      "section_id": "installation-questions"
    },
    {
      "id": "answer-yes-to-all-questions-ex0",
      "language": "bash",
      "code": "./install.sh -y",
      "section_id": "answer-yes-to-all-questions"
    },
    {
      "id": "configure-file-to-answer-ex0",
      "language": "sh",
      "code": "ignore_swap=no\n    systune=yes\n    ntp=no\n    firewall=no\n    rlcheck=yes\n    ignore_existing_osuser_osgroup=no\n    update_env_path=no\n    ignore_master_version=no",
      "section_id": "configure-file-to-answer"
    },
    {
      "id": "configure-file-to-answer-ex1",
      "language": "sh",
      "code": "./install.sh -c /home/user/answers",
      "section_id": "configure-file-to-answer"
    }
  ]
}
