> For the complete documentation index, see [llms.txt](https://ayakaleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ayakaleaf-pro.ayaka.space/on-premises/fi/asennus/air-gapped-offline-deployments.md).

# Air-gapped-/offline-käyttöönotot

Yleisesti ottaen emme suosittele AyakaLeaf Pron käyttöönottoa offline-ympäristössä, koska monet sen ominaisuuksista, kuten GitHub Sync ja Zotero-integraatio, edellyttävät internet-yhteyttä.

Mutta jos haluat työskennellä offline-tilassa, se tarkoittaa, ettei ghcr.io-rekisteriin välttämättä aina päästä noutamaan tarvittavia `sharelatex` , `ayakaleaf-pro` ja TeX Live -kuvia. Tämä ei ole ongelma, sillä Docker tarjoaa työkalut kuvien viemiseen ja tuomiseen, jotka auttavat sinua offline-/air-gapped-käyttöönotossa.

Korkealla tasolla lataa tarvittavat kuvat internet-yhteydellä varustetulla laitteella, vie ne siirrettävälle laitteelle (tai siirrä ne SCP:n/Rsyncin avulla) ja tuo ne verkosta erotetulle palvelimelle.

Tätä varten sinun on suoritettava seuraavat vaiheet:

* Nouda kaikki tarvittavat kuvat ( `overleaf-pro`, `git-bridge`, `mongo`, `redis` + kaikki tarvittavat [TeX Live -kuvat](https://docs.overleaf.com/on-premises/configuration/overleaf-toolkit/server-pro-only-configuration/sandboxed-compiles#available-tex-live-images) käytettäväksi [Sandboxed Compiles](https://docs.overleaf.com/on-premises/configuration/overleaf-toolkit/server-pro-only-configuration/sandboxed-compiles)) koneella, jossa on internet-yhteys
  * `docker pull ghcr.io/ayaka-notes/overleaf-pro:6.1.2`
  * `docker pull quay.io/sharelatex/git-bridge:6.1.2` (tunnisteen on oltava sama kuin `overleaf-pro`)
  * `docker pull mongo:6` (Vaihda oikeaan versioon)
  * `docker pull redis:6.2` (Vaihda oikeaan versioon)
  * `docker pull ghcr.io/ayaka-notes/texlive-full:2024.1` (Vaihda oikeaan versioon)
* Jokaisen **noudetun** kuvan kohdalla sinun on sitten vietävä se .tar-tiedostoksi. Esimerkiksi, `docker save ghcr.io/ayaka-notes/overleaf-pro:6.1.2 > overleaf-pro:6.1.2.tar`
* Siirrä haluamallasi tavalla `.tar` tiedostot internet-yhteydessä olevasta koneestasi offline-/air-gapped-palvelimelle
* Käytä jokaisen .tar-tiedoston kohdalla `docker load` komentoa kuvan lataamiseen .tar-tiedostosta. Esimerkiksi, `docker load < overleaf-pro:6.1.2.tar`
* Lopuksi suorita `docker images` komento nähdäksesi/vahvistaaksesi, että kuvien lataus onnistui ja että ne ovat saatavilla

{% hint style="danger" %}
Oletusarvoisesti, kun suoritat `bin/up` komennon, Toolkit yrittää automaattisesti noutaa jokaisen TeX Live -kuvista, jotka on asetettu seuraavan kautta `ALL_TEX_LIVE_DOCKER_IMAGES` kohdassa `config/variables.env`. Koska käyttöönotto on verkosta erotettu, tämä epäonnistuu -- voit estää tämän käyttämällä `SIBLING_CONTAINERS_PULL=false` kohdassa `config/overleaf.rc`.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ayakaleaf-pro.ayaka.space/on-premises/fi/asennus/air-gapped-offline-deployments.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
