How to Install YunoHost on RackNerd VPS Running Debian 11YunoHost is an application oriented, open-source web hosting control panel that simplifies the process of hosting applications on your server like cPanel. It is also very similar to Cloudron.

In this article, we will guide you through the step-by-step process of installing YunoHost on a RackNerd VPS running Debian 11.

Prerequisites

Before you begin the installation process, make sure you have the following:

  1. A RackNerd VPS with Debian 11 installed.
  2. Root access to your server.
  3. A domain on Namecheap.

How to Install YunoHost on RackNerd VPS Running Debian 11

Step 1. Signup with RackNerd VPS

Choose at least 2GB of RAM. Check this tutorial out on how to setup RackNerd VPS.

RackNerd VPS 2GB

Step 2. Connect to Your Server Via SSH

Use an SSH client called Bitvise. It’s free!

Bitvise RackNerd

Click New terminal console on the left menu.

Bitvise New Terminal Console RackNerd

Step 3. Update System Packages

Ensure that your server has the latest updates and security patches installed:

apt update && apt -y upgrade && apt -y install curl

Update Upgrade Debian 11

Step 4. Run YunoHost Installation Script

YunoHost provides a convenient installation script. Download it using the following command:

curl https://install.yunohost.org | bash

Install YunoHost

Follow the on-screen instructions to configure your YunoHost installation.

Yunohost Installation

Caution !

Your configuration files for:
– postfix
– dovecot
– mysql
– nginx
– metronome
will be overwritten !

Are you sure you want to proceed with the installation of Yunohost?

<Yes> <No>

Choose Yes.Yunohost Installation CLI

SSH Configuration

To improve the security of your server, it is recommended to let YunoHost manage the SSH configuration.
Your current SSH configuration differs from the recommended configuration.
If you let YunoHost reconfigure it, the way you connect to your server through SSH will change in the following way:
– you will not be able to connect as root through SSH. Instead you should
use the admin user ;

Do you agree to let YunoHost apply those changes to your configuration and therefore affect the way you connect through SSH ?

<Yes> <No>

Choose Yes.

SSH Configuration YunoHost

YunoHost Package Installation

Step 5: Access and Configure YunoHost

Once the installation is done, access your YunoHost using your IP address.

Access Yunohost

Congratulations! YunoHost has been successfully installed.

Click Begin.

Congratulations! YunoHost has been successfully installed.

Set main domain. Do not use your top level domain, instead a subdomain.

Set Domain for YunoHost

Create first admin user.

Create first admin user

A message will popup:

You are about to launch the post-installation process on the domain webshanks.store. It may take a few minutes, *do not interrupt the operation*.

Just click OK.

Launch the post-installation process on the domain

Run the post-install

After this process, you may now log in to your newly installed YunoHost.

Enter your username and password you’ve created earlier.

Admin YunoHost

Now you are logged in!

Your administration control panel. Here you can install your favorite applications.

YunoHost Admin Control Panel

Now we need to install SSL certificate in order to access our YunoHost using the subdomain we’ve used.

I’m using Cloudflare as my DNS provider.

Add an A record for cp.webshanks.store. Just replace it with your own subdomain. Be sure to use DNS only.

Add A Records Subdomain YunoHost

Then let’s issue an SSL  certificate.Go to Domains > Select the subdomain.

Toggle on Ignore diagnosis checks.

Install SSL Certificate YunoHost

We can now access cp.webshanks.store with SSL certificate!

SSL Certificate Installed Subdomain YunoHost

Now you can install WordPress, Joomla, Nextcloud or VPN.

Install WP YunoHost

You now have a running YunoHost without using cPanel!

Watch on YouTube

Frequently Asked Questions (FAQs)

Can I install YunoHost on a different Debian version?

The YunoHost installation script is designed for specific Debian versions. Make sure to check the compatibility before installation. As of the last update, Debian 11 is recommended.

How can I add applications to YunoHost?

You can easily add applications through the YunoHost web interface. Navigate to the Applications section, find the application you want to install and click on Install.

What applications can I install on YunoHost?

There are various web applications that can be installed. For your reference, follow this link to see the list of applications.

Does it include email server?

Yes, YunoHost includes support for hosting and managing email servers. This means you can set up and configure email services on your server using YunoHost’s web interface. The email server component includes functionality for sending, receiving, and managing email accounts associated with your hosted domain.

Conclusion

Installing YunoHost on a RackNerd VPS running Debian 11 provides you with a user-friendly web hosting control panel for managing your applications.

By following the steps outlined in this article, you can have YunoHost up and running on your server in no time.

If you encounter any issues, refer to the official YunoHost documentation for additional guidance or comment your querries down below and I’ll try to answer them all.

Leave a Reply

Your email address will not be published. Required fields are marked *