Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 94 additions & 0 deletions docs/installation/freebsd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
---
sidebar_position: 9
---

# FreeBSD

Diese Anleitung beschreibt die Installation für FreeBSD.

## Erstinstallation

- Öffne ein Terminal/Eingabeaufforderung (als root)

- Installiere evcc

```sh
pkg install evcc
```

- evcc automatisch starten (beim Systemstart)

```sh
sysrc evcc_enable="YES"
```

- evcc Server jetzt direkt starten:

```sh
service evcc start
```

## Konfiguration

### nginx als Reverse Proxy

Wenn bereits ein nginx läuft, kann dieser mit einem neuen Virtualhost Eintrag ergänzt werden

```
server {
...
server_name evcc.<your-domain>
...
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;

proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";

proxy_redirect off;
proxy_read_timeout 240s;

proxy_http_version 1.1;

proxy_pass http://127.0.0.1:7070;
}
}
```

- Öffne die evcc Oberfläche in deinem Browser [http://evcc.**your-domain**/](http://evcc.your-domain/)
- Die evcc Oberfläche fordert dich auf ein Administrator-Passwort zu vergeben
- Anschließend kannst du deine Geräte direkt über die Weboberfläche einrichten

## Aktualisierung

Um auf eine neue Version von evcc zu aktualisieren, führe folgende Schritte durch:

- Prüfe [Releases](https://github.com/evcc-io/evcc/releases) für Breaking changes (BC) die deine Installation betreffen
- Öffne ein Terminal/Eingabeaufforderung (als root)
- Aktualisiere evcc:

```sh
pkg upgrade evcc
```

- evcc neu starten:

```sh
service evcc restart
```

## Weitere Befehle

- Prüfe den Status des evcc-Servers:

```sh
service evcc status
```

- Logs anzeigen:

```sh
tail -f /var/log/evcc.log
```
5 changes: 5 additions & 0 deletions docs/installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ Falls du mehr über die Funktionsweise von Wallboxen und E-Auto-Laden erfahren m
title="macOS"
description="Via Homebrew."
/>
<NavCard
to="/docs/installation/freebsd"
title="FreeBSD"
description="Via pkg."
/>
<NavCard
to="/docs/installation/windows"
title="Windows"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
---
sidebar_position: 9
---

# FreeBSD

This guide describes the installation for FreeBSD.

## Installation

- Open a terminal (as root)

- Install evcc

```sh
pkg install evcc
```

- Enable evcc daemon

```sh
sysrc evcc_enable="YES"
```

- Start the evcc server:

```sh
service evcc start
```

## Configuration

### nginx As Reverse Proxy

If you have a nginx running, just add a new virtualhost with following configuration

```
server {
...
server_name evcc.<your-domain>
...
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;

proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";

proxy_redirect off;
proxy_read_timeout 240s;

proxy_http_version 1.1;

proxy_pass http://127.0.0.1:7070;
}
}
```

- Use your browser and open the URI you configured in nginx [http://evcc.**your-domain**/](http://evcc.your-domain/)
- The evcc interface will prompt you to set an administrator password
- You can then configure your devices directly via the web interface

## Upgrades

To update to the latest version of evcc, follow this guide:

- Check the [releases](https://github.com/evcc-io/evcc/releases) for breaking changes (BC) for your installation
- Open a terminal (as root)
- Upgrade evcc:

```sh
pkg upgrade evcc
```

- Restart evcc:

```sh
service evcc restart
```

## Additional Commands

- Check the status of the evcc server:

```sh
service evcc status
```

- View logs:

```sh
tail -f /var/log/evcc.log
```
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ If you want to learn more about how wallboxes and EV charging work, first check
title="macOS"
description="Via Homebrew."
/>
<NavCard
to="/docs/installation/freebsd"
title="FreeBSD"
description="Via pkg."
/>
<NavCard
to="/docs/installation/windows"
title="Windows"
Expand Down