# Instalare Redis pe Ubuntu

Vrei să îți faci aplicațiile mai rapide? Redis este un sistem de stocare în memorie, folosit pentru cache, sesiuni și funcționalități în timp real.

***

### Pasul 1: Actualizează sistemul

```bash
sudo apt update
```

***

### Pasul 2: Instalează Redis

```bash
sudo apt install redis-server -y
```

***

### Pasul 3: Pornește Redis

```bash
sudo systemctl start redis
sudo systemctl enable redis
```

***

### Pasul 4: Testează Redis

```bash
redis-cli
ping
```

Rezultat:

```
PONG
```

***

### Pasul 5: Configurare

```bash
sudo nano /etc/redis/redis.conf
```

Adaugă:

```
bind 127.0.0.1 ::1
requirepass ParolaTaPuternica123!
```

***

### Pasul 6: Restart

```bash
sudo systemctl restart redis
```

***

### Gata 🎉

Redis este pregătit de utilizare.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ititanhosting.ro/docs/romana/vps/linux/instalare-redis-pe-ubuntu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
