[v9.5.x] Docs: adds uninstall instructions to debian/ubuntu (#71077)
Docs: adds uninstall instructions to debian/ubuntu (#70841)
* adds uninstall to debian/ubuntu
* updates based on SME feedback
* Update docs/sources/setup-grafana/installation/debian/index.md
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
* Moved remove grafana repo as separate step
* adds uninstall docs to remaining linux topics
* Update docs/sources/setup-grafana/installation/debian/index.md
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
* Update docs/sources/setup-grafana/installation/suse-opensuse/index.md
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
* Update docs/sources/setup-grafana/installation/redhat-rhel-fedora/index.md
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
* Update docs/sources/setup-grafana/installation/suse-opensuse/index.md
* corrects punctuation
* makes prettier
---------
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
(cherry picked from commit 971058919f)
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
This commit is contained in:
co-authored by
Christopher Moyer
parent
a279c804db
commit
eb8d9f5a34
@@ -88,6 +88,42 @@ Complete the following steps to install Grafana using DEB or the standalone bina
|
||||
1. Depending on which system you are running, click the **Linux** or **ARM** tab on the [download page](/grafana/download).
|
||||
1. Copy and paste the code from the [download page](/grafana/download) into your command line and run.
|
||||
|
||||
## Uninstall on Debian or Ubuntu
|
||||
|
||||
Complete any of the following steps to uninstall Grafana.
|
||||
|
||||
To uninstall Grafana, run the following commands in a terminal window:
|
||||
|
||||
1. If you configured Grafana to run with systemd, stop the systemd servivce for Grafana server:
|
||||
|
||||
```shell
|
||||
sudo systemctl stop grafana-server
|
||||
```
|
||||
|
||||
1. If you configured Grafana to run with init.d, stop the init.d service for Grafana server:
|
||||
|
||||
```shell
|
||||
sudo service grafana-server stop
|
||||
```
|
||||
|
||||
1. To uninstall Grafana OSS:
|
||||
|
||||
```shell
|
||||
sudo apt-get remove grafana
|
||||
```
|
||||
|
||||
1. To uninstall Grafana Enterprise:
|
||||
|
||||
```shell
|
||||
sudo apt-get remove grafana-enterprise
|
||||
```
|
||||
|
||||
1. Optional: To remove the Grafana repository:
|
||||
|
||||
```bash
|
||||
sudo rm -i /etc/apt/sources.list.d/grafana.list
|
||||
```
|
||||
|
||||
## Next steps
|
||||
|
||||
- [Start the Grafana server]({{< relref "../../start-restart-grafana/" >}})
|
||||
|
||||
@@ -98,6 +98,40 @@ Complete the following steps to install Grafana using the standalone binaries:
|
||||
1. Depending on which system you are running, click the **Linux** or **ARM** tab on the [download page](/grafana/download).
|
||||
1. Copy and paste the code from the [download page](/grafana/download) page into your command line and run.
|
||||
|
||||
## Uninstall on RHEL or Fedora
|
||||
|
||||
To uninstall Grafana, run the following commands in a terminal window:
|
||||
|
||||
1. If you configured Grafana to run with systemd, stop the systemd service for Grafana server:
|
||||
|
||||
```shell
|
||||
sudo systemctl stop grafana-server
|
||||
```
|
||||
|
||||
1. If you configured Grafana to run with init.d, stop the init.d service for Grafana server:
|
||||
|
||||
```shell
|
||||
sudo service grafana-server stop
|
||||
```
|
||||
|
||||
1. To uninstall Grafana OSS:
|
||||
|
||||
```shell
|
||||
sudo dnf remove grafana
|
||||
```
|
||||
|
||||
1. To uninstall Grafana Enterprise:
|
||||
|
||||
```shell
|
||||
sudo dnf remove grafana-enterprise
|
||||
```
|
||||
|
||||
1. Optional: To remove the Grafana repository:
|
||||
|
||||
```shell
|
||||
sudo rm -i /etc/apt/sources.list.d/grafana.list
|
||||
```
|
||||
|
||||
## Next steps
|
||||
|
||||
Refer to [Start the Grafana server]({{< relref "../../start-restart-grafana/" >}}).
|
||||
|
||||
@@ -86,6 +86,40 @@ Complete the following steps to install Grafana using the standalone binaries:
|
||||
1. Depending on which system you are running, click the **Linux** or **ARM** tab on the [download page](/grafana/download).
|
||||
1. Copy and paste the code from the [download page](/grafana/download) into your command line and run.
|
||||
|
||||
## Uninstall on SUSE or openSUSE
|
||||
|
||||
To uninstall Grafana, run the following commands in a terminal window:
|
||||
|
||||
1. If you configured Grafana to run with systemd, stop the systemd service for Grafana server:
|
||||
|
||||
```shell
|
||||
sudo systemctl stop grafana-server
|
||||
```
|
||||
|
||||
1. If you configured Grafana to run with init.d, stop the init.d service for Grafana server:
|
||||
|
||||
```shell
|
||||
sudo service grafana-server stop
|
||||
```
|
||||
|
||||
1. To uninstall Grafana OSS:
|
||||
|
||||
```shell
|
||||
sudo zypper remove grafana
|
||||
```
|
||||
|
||||
1. To uninstall Grafana Enterprise:
|
||||
|
||||
```shell
|
||||
sudo zypper remove grafana-enterprise
|
||||
```
|
||||
|
||||
1. Optional: To remove the Grafana repository:
|
||||
|
||||
```shell
|
||||
sudo zypper removerepo grafana
|
||||
```
|
||||
|
||||
## Next steps
|
||||
|
||||
Refer to [Start the Grafana server]({{< relref "../../start-restart-grafana/" >}}).
|
||||
|
||||
@@ -22,7 +22,7 @@ The following subsections describe three methods of starting and restarting the
|
||||
|
||||
### Start the Grafana server with systemd
|
||||
|
||||
Complete the following steps to start the Grafana server using systemd and verify that it is running:
|
||||
Complete the following steps to start the Grafana server using systemd and verify that it is running.
|
||||
|
||||
1. To start the service, run the following commands:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user