> For the complete documentation index, see [llms.txt](https://docs.plura.io/ko/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.plura.io/ko/uninstall_agents/edr/linux.md).

# Linux

Red Hat 및 Ubuntu용 호스트 보안(EDR) 에이전트 삭제 방법

{% hint style="warning" %}
에이전트를 삭제하면 **필터 탐지 정보 및 전체 로그**를 포함한 관련 정보가 모두 삭제됩니다. 삭제된 정보는 **복구할 수 없으므로** 신중하게 진행해 주세요.
{% endhint %}

## 1. 에이전트 삭제 <a href="#id-1" id="id-1"></a>

### 1-1. 제거 명령 실행

```sh
plura uninstall
```

### 1-2. 에이전트 프로세스 확인

**① 프로세스 확인**

아래 명령어를 실행했을 때 프로세스가 **표시되지 않으면 정상적으로 제거**된 상태입니다.

```sh
ps -ef | grep plurad
```

**② 프로세스가 동작 중인 경우**

아래와 같이 표시될 수 있습니다.

```sh
root 1234 /etc/plura/plurad -start
```

에이전트를 중지한 후 다시 제거합니다.

```sh
plura stop
plura uninstall
```

**③ 강제 종료 (필요한 경우)**

{% hint style="warning" %}
위 방법으로 종료되지 않으면 프로세스 ID(예: `1234`)를 지정하여 **강제 종료**합니다.
{% endhint %}

```sh
kill -9 1234
```

### 1-3. 경로 확인

아래 경로에 plura 파일이 **없으면** 삭제가 정상적으로 완료된 상태입니다.

```sh
ls -al /etc/plura/
ls -al /etc/cron.d/plura
ls -al /etc/logrotate/plura
```

### 1-4. 로그 경로 확인

로그 파일 크기에 **더 이상 변화가 없으면** 정상입니다.

```sh
ls -al /var/log/plura/
```

### 1-5. 감사 정책 백업 및 삭제

**① 감사 정책 백업**

```sh
auditctl -l > paudit.txt
```

**② 감사 정책 삭제**

```sh
auditctl -D
```

**③ 감사 정책 복원**

```sh
auditctl -R paudit.txt
```

## 2. 웹 UI에서 삭제 <a href="#id-2" id="id-2"></a>

1. `시스템 > 시스템 관리`로 이동합니다.
2. 삭제할 호스트를 선택한 후 상단의 **삭제** 메뉴를 클릭합니다.

{% hint style="info" %}
여러 호스트를 **동시에 삭제**할 수도 있습니다.
{% endhint %}

<figure><img src="https://3207796176-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fna9RRdnPjbRdAlosxaSV%2Fuploads%2FYzC0RZhaFfawl9abMbQ9%2F20251110_145510.png?alt=media&amp;token=24c0af7c-de3e-4534-a008-5ba1bfcdf7ad" alt=""><figcaption></figcaption></figure>

## 3. 에이전트 멈춤 <a href="#id-3" id="id-3"></a>

* 터미널에서 아래 명령어를 입력하여 에이전트를 중지합니다.

```sh
plura stop
```
