Skip to content

Commit

Permalink
Merge all install script for 3 debian versions into a single branch
Browse files Browse the repository at this point in the history
  • Loading branch information
alexAubin committed Aug 23, 2021
1 parent a32262c commit b785f37
Show file tree
Hide file tree
Showing 4 changed files with 1,261 additions and 20 deletions.
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
# YunoHost installation scripts

Please report any issue/feedback on https://github.com/YunoHost/issues/issues

## Context

The script `install_yunohost` will install [YunoHost](https://yunohost.org/) on a Debian system.

Only Debian 10/Buster systems running with kernel >= 3.12 [systemd](https://wiki.debian.org/systemd) - which is generally the default - are supported.
Only Debian systems running with kernel >= 3.12 [systemd](https://wiki.debian.org/systemd) - which is generally the default - are supported.

## Basic usage

With a `curl|bash` syntax :

$ curl https://raw.githubusercontent.com/YunoHost/install_script/buster/install_yunohost | bash
```bash
$ curl https://raw.githubusercontent.com/YunoHost/install_script/main/<distname> | bash
```

If something goes wrong, you can check the installation logs saved in ```/var/log/yunohost-installation.log```
If something goes wrong, you can check the installation logs saved in `/var/log/yunohost-installation.log`

## Advanced usage

The script supports a number of positional arguments:

$ bash install_yunohost -h
Usage :
install_yunohost [-a] [-d <DISTRIB>] [-h]

Options :
-a Enable automatic mode. No questions are asked.
This does not perform the post-install step.
-d Choose the distribution to install ('stable', 'testing', 'unstable').
Defaults to 'stable'
-h Prints this help and exit

By specifying ```-a```, the installation will be performed without asking any question.
This is useful for fully automated headless installations.
The [post-installation](https://yunohost.org/#/postinstall) will need to be performed later.
```
$ bash install_yunohost -h
Usage :
install_yunohost [-a] [-d <DISTRIB>] [-h]
The ```-d <DISTRIB>``` switch is mostly for advanced users who want to install the bleeding edge versions of YunoHost packages.
Options :
-a Enable automatic mode. No questions are asked.
This does not perform the post-install step.
-d Choose the distribution to install ('stable', 'testing', 'unstable').
Defaults to 'stable'
-h Prints this help and exit
```

## Issues, Feedback
Option `-a` is useful for fully automated headless installations.

Please report issues here : https://github.com/YunoHost/issues/issues
The [post-installation](https://yunohost.org/#/postinstall) will have to be performed later.
Loading

0 comments on commit b785f37

Please sign in to comment.