doc/postinstall.md

62 lines
3.1 KiB
Markdown
Raw Normal View History

2014-05-15 12:17:15 +02:00
# Post-Installation
The step called "**post-installation**" is actually the initial configuration of YunoHost. It has to be done just after the installation of the system itself.
2014-06-05 14:37:27 +02:00
## Access
2014-06-05 00:00:43 +02:00
2014-06-05 01:53:17 +02:00
You can access it graphically by entering your **server's local IP** address in a **web browser** (e.g. `http://192.168.1.7`).
<img style="max-width:100%;border-radius: 5px;border: 1px solid rgba(0,0,0,0.15);box-shadow: 0 5px 15px rgba(0,0,0,0.35);" src="/images/postinstall_web.png">
2014-06-05 00:00:43 +02:00
2014-06-06 12:33:58 +02:00
<em><p class="text-muted">Preview of the Web post-installation</p></em>
2014-06-05 00:00:43 +02:00
<br>
2014-06-05 01:53:17 +02:00
Or by running `yunohost tools postinstall` in command-line.
2017-06-28 11:33:55 +02:00
<img style="max-width:100%;border-radius: 5px;border: 1px solid rgba(0,0,0,0.15);box-shadow: 0 5px 15px rgba(0,0,0,0.35);" src="/images/postinstall_cli.png">
2014-06-05 00:00:43 +02:00
2014-06-06 12:33:58 +02:00
<em><p class="text-muted">Preview of the command-line post-installation</p></em>
2014-06-05 00:00:43 +02:00
2014-06-05 14:38:45 +02:00
<br>
2014-06-05 14:37:27 +02:00
---
2014-06-05 00:00:43 +02:00
2014-05-15 12:17:15 +02:00
### Main domain
This is the first domain name linked to your YunoHost server, but also the one which will be used by your server's users to access the **authentication portal**. It will thus be **visible by everyone**, choose it wisely.
* If you do not have a domain name, or if you want to use the YunoHost's DynDNS service, choose a sub-domain of **.nohost.me** or **.noho.st** (e.g. `homersimpson.nohost.me`). The domain will be configured automatically and you won't need any further configuration step.
2014-05-15 12:17:15 +02:00
2017-02-07 10:14:31 +01:00
* If you do know what **DNS** is, you probably want to configure your own domain name here. In this case, please refer to the [DNS page](/dns) page for more informations.
2014-05-15 12:17:15 +02:00
2017-02-07 10:14:31 +01:00
* If you don't own a domain name and don't want a **.nohost.me** or **.noho.st**, you can use a local domain. The idea is to configure your router to redirect a local domain name to your server. For example you could create the yunohost.local domain redirecting to your server in your router, and now every device on the network will be redirected to your server when accessing yunohost.local. More information on how to setup a local domain can be found [here](dns_local_network).
2014-05-15 12:17:15 +02:00
### 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).
2014-06-05 14:38:45 +02:00
<br>
2014-06-05 14:37:27 +02:00
---
## Congratz!
If you got so far and saw 'YunoHost has been successfully installed' (web
postinstall) or 'YunoHost has been correctly configured', then congratulations!
### What now ?
- If you're self-hosting at home and without a VPN, you need to [make sure to
correctly forward ports on your router/Internet box](isp_box_config) ;
- If you're using your own domain name (i.e. not a .nohost.me / .noho.st), you
need to [configure it according to the recommended DNS
configuration](dns_config) ;
- If you cannot configure your domain name yet (because you didn't register it
yet, or because this is a test domain), see last paragraph
[here](dns_local_network) for a workaround ;
- Don't be too afraid of the [certificate warning](certificate), you'll probably
be able to install a Let's Encrypt certificate :).
- Have a look at [the available apps](apps) !
2014-05-15 12:17:15 +02:00