forked from FoundKeyGang/FoundKey
docs/install: Move user creation after installing deps
This commit is contained in:
parent
617f064d61
commit
2e94ea3adc
1 changed files with 7 additions and 7 deletions
|
@ -4,13 +4,6 @@ This guide will assume that you have administrative rights, either as root or a
|
||||||
|
|
||||||
This guide will also assume you're using Debian or a derivative like Ubuntu. If you are using another OS, you will need to adapt the comamnds and package names to match those that your OS uses.
|
This guide will also assume you're using Debian or a derivative like Ubuntu. If you are using another OS, you will need to adapt the comamnds and package names to match those that your OS uses.
|
||||||
|
|
||||||
## Create FoundKey user
|
|
||||||
Running FoundKey as root is not a good idea. Create a separate user to run FoundKey.
|
|
||||||
|
|
||||||
```sh
|
|
||||||
adduser --disabled-password --disabled-login foundkey
|
|
||||||
```
|
|
||||||
|
|
||||||
## Install dependencies
|
## Install dependencies
|
||||||
FoundKey requires the following packages to run:
|
FoundKey requires the following packages to run:
|
||||||
|
|
||||||
|
@ -38,6 +31,13 @@ apt install ffmpeg
|
||||||
corepack enable # for yarn
|
corepack enable # for yarn
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Create FoundKey user
|
||||||
|
Create a separate non-root user to run FoundKey:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
adduser --disabled-password --disabled-login foundkey
|
||||||
|
```
|
||||||
|
|
||||||
## Install FoundKey
|
## Install FoundKey
|
||||||
1. Login to the `foundkey` user
|
1. Login to the `foundkey` user
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue