Post-Installation Screen: YunoHost packaged have been installed successfully! Prompts to begin post-installation process.
0

The creator chosen the Mozilla Basis to obtain a donation as a part of the Write for DOnations program.

Introduction

YunoHost is an open-source platform that facilitates the seamless set up and configuration of self-hosted net purposes, together with webmail shoppers, password managers, and even WordPress websites. Self-hosting webmail and different purposes gives privateness and management over your private data. YunoHost permits you to configure settings, create customers, and self-host your personal purposes from its graphical person interface. A market of purposes is offered by way of YunoHost so as to add to your internet hosting setting. The frontend UI acts as a homepage for your whole purposes.

On this tutorial, you’ll set up and configure YunoHost on a server operating Debian 9. To attain this, you’ll configure your DNS data utilizing DigitalOcean, safe your YunoHost occasion with Let’s Encrypt, and set up your chosen net purposes.

Conditions

Step 1 — Putting in YunoHost

On this step, you’ll set up YunoHost utilizing the official set up script. YunoHost gives this open-source script that guides you thru putting in and configuring the whole lot needed for a YunoHost operation.

Earlier than you obtain the set up script, transfer into a brief listing. Utilizing the /tmp listing will delete the script on reboot, which you’ll not want after you have put in YunoHost:

Subsequent, run the next command to obtain the official set up script from YunoHost:

  • wget -O yunohost https://install.yunohost.org/

This command downloads the script and saves it to the present listing as a file referred to as yunohost.

Now you possibly can run the script with sudo:

When requested to overwrite configuration information, choose sure.

You'll then see a Put up-installation display screen confirming YunoHost's set up.

Post-Installation Screen: YunoHost packaged have been installed successfully! Prompts to begin post-installation process.

Choose Sure to proceed to the post-installation course of.

When requested to enter the Foremost area, enter the area identify you wish to use to entry your YunoHost occasion. Then select and enter a safe password for the administrator account.

You will have now put in YunoHost in your server. Within the subsequent step, you'll log in to your recent YunoHost occasion to configure and handle domains.

Step 2 — Configuring DNS

Now you've gotten YunoHost put in, you possibly can entry the admin panel for the primary time. You'll arrange the area the place you wish to host YunoHost by configuring your DNS data.

To begin, kind both the IP deal with of your server or the area identify you selected within the final step into your net browser. You will see a display screen warning that your connection just isn't non-public.

This Connection Is Not Private

The connection just isn't but safe as a result of YunoHost makes use of a self-signed certificates by default. You possibly can go to the location anyway since you may safe your web site with Let's Encrypt within the subsequent step.

Now, enter the admin password you set within the earlier step to entry YunoHost's admin panel.

Admin Panel

To ensure that YunoHost to operate correctly, you'll configure the DNS settings in your area identify. From the admin panel, navigate to the Domains part and choose your area identify. You will now see the Operations web page the place you possibly can entry the DNS configuration settings.

Domain Section

Choose the DNS configuration button. YunoHost will show a pattern zone file in your area. You will use this file to configure the data in your area.

sample zone file

To begin configuring your DNS data, entry your area host. This tutorial walks by way of configuring DNS data through DigitalOcean's management panel.

Log in to your DigitalOcean account and click on on Networking within the menu. Enter your YunoHost area within the Area subject and click on Add Area.

You will be taken to your area identify's edit web page. On this web page, you may see the fields the place you possibly can add the YunoHost data.

DigitalOcean DNS record create page

There can be three NS data already arrange that specify the DigitalOcean servers are offering DNS companies in your area. Now you can add the next data utilizing the pattern file supplied by YunoHost:

  • Create two new A data:

    • Enter @ for the identify and select your Droplet or IP deal with within the Will Direct To field, go away the TTL at 3600.
    • Enter * for the identify and select your Droplet or IP deal with within the Will Direct To field, go away the TTL at 3600.
  • Create two new SRV data:

    • Enter _xmpp-client._tcp for the hostname, 5222 for the port, 0 precedence, 5 for the weight, and alter the TTL to 3600.
    • Enter _xmpp-server._tcp for the hostname, 5269 for the port, 0 precedence, 5 for the weight, and alter the TTL to 3600.
  • Create three new CNAME data:

    • Enter muc for the hostname, @ in is an alias of, and set the TTL to 3600.
    • Enter pubsub for the hostname, @ in is an alias of, and set the TTL to 3600.
    • Enter vjud for the hostname, @ in is an alias of, and set the TTL to 3600.

To your Mail configuration, create the next data:

  • An MX document with @ for the hostname, your area identify for the mail server with a precedence of 10 and the TTL at 3600.
  • Three new TXT data:
    • Copy the TXT string, together with the double quotes, from the pattern zone file into the worth field that begins with: "v=spf1", add @to the hostname, and go away the TTL at 3600.
    • Copy the lengthy TXT string, together with the double quotes, from the pattern zone file into the worth field, add mail._domainkey to the hostname, and go away the TTL at 3600.
    • Copy the TXT string, together with the double quotes, from the pattern zone file into the worth field, one thing like: "v=DMARC1; p=none", add _dmarcto the hostname, and go away the TTL at 3600.

And at last, for Let's Encrypt, configure the next document:

  • Create a brand new CAA document:
    • Enter @ for the hostname, add letsencrypt.org to the authority granted for field, set tag to concern, flags to 128, and set the TTL to 3600.

After getting added all the DNS data you may see an inventory in your area's management panel. You can even learn this information for extra data on managing your data by way of the DigitalOcean management panel.

List of records set up

You will have configured all of the DNS data needed for the YunoHost companies to work. Within the subsequent step you may safe your connection by putting in Let's Encrypt.

Step 3 — Putting in Let's Encrypt

On this step you'll configure an SSL certificates through Let's Encrypt to make sure that your connection is secured by encrypted HTTPS every time you or customers log in to your web site. YunoHost features a operate to put in Let's Encrypt to your area by way of the person interface.

Within the Domains part of the admin panel, choose your area identify once more. Navigate right down to the Operations part. From right here, underneath Handle SSL certificates, choose SSL certificates. You will see an choice to Set up a Let's Encrypt certificates, you possibly can choose this to put in the certificates.

You'll now have a Let's Encrypt certificates put in in your area. You'll not see the warning messages while you go to your area or IP deal with. Your Let's Encrypt certificates will robotically renew by default. To manually renew your Let's Encrypt certificates or revert to a self-signed certificates sooner or later, you should use this Operations web page.

Manage SSL Certificates

You will have configured and secured your area. Within the subsequent part you may arrange a brand new person and e-mail account to start putting in purposes to your YunoHost operation.

Step 4 — Putting in Purposes

YunoHost gives the power to put in plenty of pre-packaged net purposes alongside one another. To start putting in and utilizing purposes, you might want to create a daily, non-admin person and e-mail account. You are able to do this by way of the admin panel.

From the foundation of the admin panel, navigate to the Customers part.

Choose the inexperienced New person button to the appropriate of your display screen. Enter the specified credentials for the brand new person within the fields supplied.

New User page with fields for username, email, etc.

You've got completed creating the person. By default, this person already has an related e-mail deal with, which you'll entry by way of any IMAP e-mail shopper. Alternatively, you possibly can set up a webmail shopper on YunoHost to perform this, which you'll do as a part of this tutorial.

You will have configured all of YunoHost's primary features and created a person, full with an e-mail account. Now you can entry the purposes by way of the admin panel which might be prepared for set up. On this tutorial, you may set up Rainloop, a light-weight webmail app, however you possibly can comply with these directions to put in any of the out there purposes.

Navigate to the Purposes part of the admin panel. From right here, you possibly can choose and set up any of the official purposes.

Applications page. List of applications in alphabetical order, ready for installation.

Choose Rainloop from the checklist. You will notice some configuration choices for the applying.

Rainloop Configuration Options

  • Label for Rainloop: You possibly can select what to enter right here, the applying shows this to customers on YunoHost's house display screen.
  • Select a site for Rainloop: Enter the area identify that may host the applying.
  • Select a path for Rainloop: Set the URL path for the applying, like /rainloop. If you would like it to be on the root of the area, merely enter /. Needless to say in the event you achieve this, you won't be able to make use of another purposes with that area.
  • Is it a public utility?: Select if you would like the applying to be accessible to the general public, or solely to logged in customers.
  • Enter a robust password for the 'admin' person: Enter a password for the admin person of the applying.
  • Do you wish to add YunoHost customers to the recipients solutions?: "Yes" right here will consequence within the utility suggesting different customers' e-mail addresses and names as recipients when composing emails.
  • Choose default language: Choose your most popular language.

As soon as completed, click on the inexperienced Set up button.

You've got put in Rainloop. Open a brand new browser tab and navigate to the trail you selected for the applying (instance.com/rainloop). You will notice the Rainloop fundamental dashboard.

Rainloop main screen.

You possibly can repeat Step Four to create extra customers and set up additional purposes as you want.

Within the Purposes part of the admin panel, it's also doable to put in customized purposes from third events by pulling from GitHub repositories.

You now have a safe YunoHost occasion configured in your server.

Conclusion

On this tutorial you've gotten put in YunoHost in your server, created an e-mail account, and put in an utility. You will have a central place to host all of your purposes alongside one another, together with a webmail shopper to test your e-mail. See the YunoHost web site for a full checklist of purposes, each official and unofficial. Additionally see the official Troubleshooting information that gives data on companies, configuration, and upgrades to YunoHost.

Easy Methods to Hold Your WordPress Website Safe

Previous article

The best way to Set up Craft CMS on CentOS 7

Next article

You may also like

Comments

Leave a Reply