[enh] Add possibility to select device for install process

This commit is contained in:
ljf 2021-02-07 18:56:01 +01:00
parent cdfe863800
commit f2b93a2563
3 changed files with 49 additions and 9 deletions

View file

@ -1,5 +1,5 @@
--- ---
title: Hardware title: Choose your hardware
template: docs template: docs
taxonomy: taxonomy:
category: docs category: docs

View file

@ -50,6 +50,41 @@ routes:
{% set docker = true %} {% set docker = true %}
{% endif %} {% endif %}
<style>
</style>
Select the hardware on which you want install YunoHost :
[div class="flex-container"]
[div class="flex-child"]
[[figure caption="VirtualBox"]![](image://virtualbox.png?height=75)[/figure]](/install_process/hardware:virtualbox)
[/div]
[div class="flex-child"]
[[figure caption="Raspberry Pi"]![](image://raspberrypi.jpg?height=75)[/figure]](/install_process/hardware:rpi2plus)
[/div]
[div class="flex-child"]
[[figure caption="ARM board"]![](image://olinuxino.jpg?height=75)[/figure]](/install_process/hardware:arm_sup)
[/div]
[div class="flex-child"]
[[figure caption="Regular computer"]![](image://computer.png?height=75)[/figure]](/install_process/hardware:regular)
[/div]
[div class="flex-child"]
[[figure caption="Dedicated or virtual private server"]![](image://vps.png?height=75)[/figure]](/install_process/hardware:vps_debian)
[/div]
[div class="flex-child"]
[[figure caption="(Non-official!) Docker"]![](image://docker.png?height=75)[/figure]](/install_process/hardware:docker)
[/div]
[/div]
{% if docker %} {% if docker %}
!! **YunoHost doesnt support Docker officially since issues with versions 2.4+. In question, YunoHost 2.4+ doesnt work anymore on Docker because YunoHost requires systemd and Docker has chosen to not support it natively (and there are other problems link to the firewall and services).** !! **YunoHost doesnt support Docker officially since issues with versions 2.4+. In question, YunoHost 2.4+ doesnt work anymore on Docker because YunoHost requires systemd and Docker has chosen to not support it natively (and there are other problems link to the firewall and services).**
!! !!
@ -68,10 +103,6 @@ However, community images exist and are available on Docker Hub:
## Pre-requisites ## Pre-requisites
[figure class="nomargin" caption="On a regular computer"]
![](image://computer.png?resize=150,150&class=inline)
[/figure]
{% if regular %} {% if regular %}
* A x86-compatible hardware dedicated to YunoHost: laptop, nettop, netbook, desktop ... * A x86-compatible hardware dedicated to YunoHost: laptop, nettop, netbook, desktop ...
{% elseif rpi2plus %} {% elseif rpi2plus %}
@ -325,7 +356,7 @@ curl https://install.yunohost.org | bash
[ui-tab title="From the web interface"] [ui-tab title="From the web interface"]
You can perform the post-installation with the web interface by entering in your browser {%if at_home %} **`{% if internetcube %}internetcube.local{% else %}yunohost.local{% endif %}`** OR **the local IP address of your server** if it is on your local network (e.g. at home !). The address typically looks like `192.168.x.y` (see [finding your local IP](/finding_the_local_ip)){% else %} **the public IP address of your server** if your server is not on your local network. Typically, if you own a VPS, your VPS provider should have given you the IP of the server.{% endif %} You can perform the post-installation with the web interface by entering in your browser {%if at_home %} **`{% if internetcube %}internetcube.local{% else %}yunohost.local{% endif %}`** OR **the local IP address of your server** if it is on your local network (e.g. at home !). The address typically looks like `192.168.x.y` (see [finding your local IP](/finding_the_local_ip)){% else %} **the public IP address of your server** if your server is not on your local network. Typically, if you own a VPS, your VPS provider should have given you the IP of the server.{% endif %}
During the first visit, you will very likely encounter a security warning related to the certificate used by the server. For now, your server uses a self-signed certificate. You will later be able to add a certificate automatically recognized by web browsers as described in the [certificate documentation](/certificate). For now, you should add a security exception to accept the current certificate. ! During the first visit, you will very likely encounter a security warning related to the certificate used by the server. For now, your server uses a self-signed certificate. You will later be able to add a certificate automatically recognized by web browsers as described in the [certificate documentation](/certificate). For now, you should add a security exception to accept the current certificate. PLEASE, don't take the habit to blindly accept this kind of alert !
{% if not internetcube %} {% if not internetcube %}
You should then land on this page : You should then land on this page :
@ -348,7 +379,8 @@ You can also perform the postinstallation with the command `yunohost tools posti
[/ui-tabs] [/ui-tabs]
{% if not internetcube %} {% if not internetcube %}
### Informations asked
[details="Details on information asked during initial configuration"]
#### Main domain #### Main domain
@ -363,13 +395,21 @@ This is the first domain name linked to your YunoHost server, but also the one w
#### Administration password #### Administration password
This password will be used to access to your server's [administration interface](/admin). You would also use it to connect via **SSH** or **SFTP**. In general terms, this is your **system's key**, [choose it carefully](http://www.wikihow.com/Choose-a-Secure-Password). This password will be used to access to your server's [administration interface](/admin). You would also use it to connect via **SSH** or **SFTP**. In general terms, this is your **system's key**, [choose it carefully](http://www.wikihow.com/Choose-a-Secure-Password).
[/details]
## Create a first user ## Create a first user
You should create a first user.
!!! This user will received special emails `root@`, `admin@`, `postmaster@`, `webmaster@` and `abuse@`. These emails are used to send you mails about your server.
[ui-tabs position="top-left" active="0" theme="lite"] [ui-tabs position="top-left" active="0" theme="lite"]
[ui-tab title="From the web interface"] [ui-tab title="From the web interface"]
[/ui-tab] [/ui-tab]
[ui-tab title="From the command line"] [ui-tab title="From the command line"]
You can create your first user by running this command, it will ask you some information.
```
yunohost user create johndoe
```
[/ui-tab] [/ui-tab]
[/ui-tabs] [/ui-tabs]
{% endif %} {% endif %}

View file

@ -62,7 +62,7 @@ This page lists a few installation guides.
[div class="flex-container"] [div class="flex-container"]
[div class="flex-child"] [div class="flex-child"]
[[figure caption="On Debian 10 Buster"]![](image://debian-logo.png?height=150)[/figure]](/install_on_debian)/install_process:hardware [[figure caption="On Debian 10 Buster"]![](image://debian-logo.png?height=150)[/figure]](/install_process:hardware)
[/div] [/div]
[div class="flex-child"] [div class="flex-child"]