Merge branch 'main' of https://git.monigh.nl/moni/stuff
This commit is contained in:
commit
e2339499b1
3 changed files with 2 additions and 53 deletions
|
|
@ -11,11 +11,3 @@ The user also has the authorized_keys so I can do this:
|
||||||
```sh
|
```sh
|
||||||
ssh jellyfin@192.168.1.10
|
ssh jellyfin@192.168.1.10
|
||||||
```
|
```
|
||||||
|
|
||||||
and proceed to add the directories for the media files:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
cd jellyfin/media/tvshows/
|
|
||||||
mkdir "Show I Want To Watch (2020)"
|
|
||||||
mkdir "Season 01"
|
|
||||||
```
|
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ It will run in the foreground because we didn't pass `-d`.
|
||||||
Open your browser to:
|
Open your browser to:
|
||||||
|
|
||||||
* http://192.168.1.11:8080
|
* http://192.168.1.11:8080
|
||||||
* or http://192.168.1.10:8080 for the 8GB server
|
* or http://192.168.1.10:8080 for the other server.
|
||||||
|
|
||||||
You can stop the container with CTRL+C. It should clean itself up (`--rm`).
|
You can stop the container with CTRL+C. It should clean itself up (`--rm`).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -167,47 +167,4 @@ Now destroy it:
|
||||||
```sh
|
```sh
|
||||||
bastille stop alcatraz
|
bastille stop alcatraz
|
||||||
bastille destroy force alcatraz
|
bastille destroy force alcatraz
|
||||||
```
|
```
|
||||||
|
|
||||||
# Using ports
|
|
||||||
|
|
||||||
```sh
|
|
||||||
bastille create alcatraz 14.2-RELEASE 192.168.1.201 em0
|
|
||||||
bastille pkg alcatraz bootstrap
|
|
||||||
bastille pkg alcatraz update
|
|
||||||
bastille pkg alcatraz install -y git
|
|
||||||
bastille cmd alcatraz git clone --depth 1 https://git.FreeBSD.org/ports.git /usr/ports
|
|
||||||
```
|
|
||||||
|
|
||||||
and then go in the console:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
bastille console alcatraz
|
|
||||||
```
|
|
||||||
|
|
||||||
within the console...
|
|
||||||
|
|
||||||
```sh
|
|
||||||
export BATCH=yes
|
|
||||||
cd /usr/ports/www/apache24/ && make install clean
|
|
||||||
exit
|
|
||||||
```
|
|
||||||
|
|
||||||
enable and start it ...
|
|
||||||
|
|
||||||
```sh
|
|
||||||
bastille sysrc alcatraz apache24_enable=YES
|
|
||||||
bastille service alcatraz apache24 start
|
|
||||||
```
|
|
||||||
|
|
||||||
Test it:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
curl http://192.168.1.201/
|
|
||||||
```
|
|
||||||
|
|
||||||
Destroy it:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
bastille destroy force alcatraz
|
|
||||||
```
|
|
||||||
Loading…
Add table
Reference in a new issue