Iomatex_OS/ENGINEER_INSTRUCTIONS.md

80 lines
2.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Engineer Instructions / Инструкция для инженера
## Русский
Передан один файл:
```text
install_iomatex_edge.sh
```
Что нужно сделать на Edge:
```bash
sudo bash /path/to/install_iomatex_edge.sh
```
Что будет дальше:
- скрипт можно запускать из любого каталога;
- если `git` еще не установлен, скрипт установит его автоматически;
- скрипт спросит только `Git username` и `Git password or token`;
- затем он скачает или обновит систему из `git.it-screen.com`, ветка `ci-cd`;
- после `stage_env` устройство автоматически уйдет в `reboot`;
- после загрузки установка продолжится автоматически;
- не нужно вручную повторно входить под другим пользователем и не нужно повторно скачивать файлы.
Важно:
- дождитесь полного завершения установки;
- только после этого смените пароль пользователя `iomatex`:
```bash
sudo iomatex-passwd
```
Если нужен только обязательный набор stage:
```bash
sudo bash /path/to/install_iomatex_edge.sh --default-only
```
## English
You only need one file:
```text
install_iomatex_edge.sh
```
Run on the Edge device:
```bash
sudo bash /path/to/install_iomatex_edge.sh
```
What happens next:
- the script can be started from any directory;
- if `git` is not installed yet, it will be installed automatically;
- the script will ask only for `Git username` and `Git password or token`;
- then it will download or update the system from `git.it-screen.com`, branch `ci-cd`;
- after `stage_env`, the device will reboot automatically;
- after boot, the installation will continue automatically;
- no manual re-login under another user is required, and no second download is needed.
Important:
- wait until the full installation is completed;
- only after that, change the `iomatex` user password:
```bash
sudo iomatex-passwd
```
If you need only the default required stages:
```bash
sudo bash /path/to/install_iomatex_edge.sh --default-only
```