Refactor docs

master
crudo 2017-10-20 19:16:47 +02:00
parent 5e05184df6
commit 2f4c857611
2 changed files with 21 additions and 19 deletions

View File

@ -6,23 +6,9 @@ Oikia is the Unit's primary server in the wild Internet. Its name comes from
* FQDN: `oikia.unit.macaomilano.org`
* OS: FreeBSD 11.1-RELEASE-p1
## Jails
## Table of contents
Jails permit containerization and isolation of services.
Jails are placed inside the `/iocage/jails` directory. There you can find:
* the `root` directory: contains the jail filesystem
* the `fstab` file: sourced at jail bootstrap time to map directories between
the host filesystem and the jail filesystem
When you read "inside the jail" it means that:
* for paths: you must prepend `/iocage/jails/{jail_name}/root` before the
specified path
* for commands you must run them inside the jail environment with the command
`iocage console {jail_name}`
### Jails index
* [httpd](jail-httpd.md) -- HTTP reverse proxy
* [Filesystem](filesystem.md) -- Where is what
* [Jails](jails.md) -- You should read this before performing any operation
* [HTTP reverse proxy](jail-httpd.md)
* [SSL](jail-httpd.md#SSL)

16
oikia/jails.md 100644
View File

@ -0,0 +1,16 @@
## Jails
Jails permit containerization and isolation of services.
Jails are placed inside the `/iocage/jails` directory. There you can find:
* the `root` directory: contains the jail filesystem
* the `fstab` file: sourced at jail bootstrap time to map directories between
the host filesystem and the jail filesystem
When you read "inside the jail" it means that:
* for paths: you must prepend `/iocage/jails/{jail_name}/root` before the
specified path
* for commands you must run them inside the jail environment with the command
`iocage console {jail_name}`