targz.adoc 1.8 KB

12345678910111213141516171819202122232425
  1. [#install-targz]
  2. = .tar.gz Install (manual)
  3. Installing OliveTin from a .tar.gz file is considered advanced setup, and is provided for users who cannot use the .deb or .rpm packages, or who don't want to use the Linux container.
  4. == Manual setup (.tar.gz)
  5. . Copy the `OliveTin` binary to `/usr/local/bin/OliveTin`
  6. .. Make sure it is executable: `chmod +x /usr/local/bin/OliveTin`
  7. . Make a directory for the configuration files: `mkdir -p /etc/OliveTin`
  8. .. Copy the `config.yaml` file to `/etc/OliveTin/`
  9. . Copy the `webui` directory contents to `/var/www/olivetin/` (eg, `/var/www/olivetin/index.html`)
  10. . Copy the `OliveTin.service` file to `/etc/systemd/system/`
  11. . Files in the `var` directory are all considered optional.
  12. .. `var/entities/` contains some example entity files used by the default config.yaml. You can copy these to `/etc/OliveTin/entities/` if you want to use them.
  13. .. `var/helper-actions/` contains some helpers that are mostly useful for containers. These should be copied to somewhere on your path if you want to use them, such as `/usr/local/bin/`.
  14. .. `var/initscript/OliveTin` is provided for init-based systems. You can copy this to `/etc/init.d/OliveTin` and make it executable if you want to use it.
  15. .. `var/manpage/OliveTin.1.gz` contains the manpage for OliveTin. You can copy this to `/usr/share/man/man1/` if you want to use it.
  16. .. `var/marketing` contains some marketing materials used by the repository. You can probably ignore these unless you're writing a blog article or something.
  17. .. `var/openrc/OliveTin` is provided for OpenRC-based systems. You can copy this to `/etc/init.d/OliveTin` and make it executable if you want to use it.
  18. .. `var/tekton` is a directory that contains an experimental Tekton base image builder. You don't need this.
  19. include::partial$install/post_systemd.adoc[]