chore: add uninstall steps to remove a Coder OSS deployment from docs (#3742)

Co-authored-by: Ben <ben@coder.com>
This commit is contained in:
sharkymark
2022-09-09 00:31:29 +00:00
committed by GitHub
co-authored by Ben
parent 3610f09c77
commit c026464375
2 changed files with 75 additions and 2 deletions
+68
View File
@@ -0,0 +1,68 @@
# Uninstall
This article walks you through how to uninstall your Coder server.
To uninstall your Coder server, delete the following directories.
## Cached Coder releases
```console
rm -rf ~/.cache/coder
```
## The Coder server binary and CLI
Debian, Ubuntu:
```sh
sudo apt remove coder
```
Fedora, CentOS, RHEL, SUSE:
```sh
sudo yum remove coder
```
Alpine:
```sh
sudo apk del coder
```
If you installed Coder manually or used the install script on an unsupported operating system, you can remove the binary directly:
```console
sudo rm /usr/local/bin/coder
```
## Coder as a system service configuration
```console
sudo rm /etc/coder.d/coder.env
```
## Coder settings and the optional built-in PostgreSQL database
> There is a `postgres` directory within the `coderv2` directory that has the
> database engine and database. If you want to reuse the database, consider
> not performing the following step or copying the directory to another
> location.
### macOS
```console
rm -rf ~/Library/Application\ Support/coderv2
```
### Linux
```console
rm -rf ~/.config/coderv2
```
### Windows
```console
C:\Users\USER\AppData\Roaming\coderv2
```
+7 -2
View File
@@ -33,18 +33,23 @@
},
{
"title": "Kubernetes",
"description": "Install Coder with Kubernetes via Helm",
"description": "Install Coder with Kubernetes via Helm.",
"path": "./install/kubernetes.md"
},
{
"title": "Docker",
"description": "Install Coder with Docker / docker-compose",
"description": "Install Coder with Docker / docker-compose/",
"path": "./install/docker.md"
},
{
"title": "Standalone binaries",
"description": "Download binaries for macOS, Windows, and Linux.",
"path": "./install/binary.md"
},
{
"title": "Uninstall",
"description": "Learn how to uninstall Coder.",
"path": "./install/uninstall.md"
}
]
},