YunoHost: Turn Your Raspberry Pi into a Self-Hosting Server
After spending years configuring Linux servers by hand, I was curious to see what YunoHost could do. It turns a Raspberry Pi into a self-hosting server in just a few minutes, making it easy to deploy applications like WordPress, Nextcloud, or Jellyfin.
YunoHost is a Linux distribution designed for self-hosting. Once installed on a Raspberry Pi, applications can be deployed and managed through its web interface instead of configuring each service manually.
I’ll show you how to install YunoHost on a Raspberry Pi, complete the initial configuration, and deploy your first application in just a few steps.
If you’re new to Raspberry Pi or Linux, I’ve got something that can help you right away!
Download my free Linux commands cheat sheet – it’s a quick reference guide with all the essential commands you’ll need to get things done on your Raspberry Pi. Click here to get it for free!
Introducing YunoHost
If you want to host an application like a WordPress site on Raspberry Pi, several steps are involved. You have to deal with installation and configuration, and then deploy the application on a public or private platform, which comes with challenges.
YunoHost aims to simplify this process by providing a platform (in fact, it is a Debian-based OS) that allows one-click hosting installation and deployment for your applications.

YunoHost is a lesser-known OS because it’s a little unique: you can think of YunoHost as a Docker container manager for your applications (which can be thought of as individual containers).

So, now that you have a better idea of what YunoHost is, let’s start with the tutorial. Before we begin with the installation part, let’s review the requirements (both hardware and software) for this tutorial.
Hardware and Software Requirements
To follow this installation guide, you’ll need:
- A Raspberry Pi: YunoHost now supports the most recent Raspberry Pi 5, Pi 4, and Pi 3.
- A micro-SD card or USB stick: You can pick whichever you have. You will need a storage option with at least 16 GB, as the OS image is over 7 Gigs. If you don’t have one handy and need a new SD card for this tutorial, find our current recommendations here.
- Wired Connection: In this tutorial, I will assume that you have your Pi connected to your home network through a wired Ethernet connection.
- Keyboard Mouse Setup (Optional): If you don’t have a wired connection and can’t set up the Wi-Fi, you can always connect the Pi to a monitor setup and complete the setup process through the OS interface.
In terms of software, the only things you’ll need are:
You can get answers from real experts in minutes.
Get help with your setup
- YunoHost ISO Image: You will need the latest version of the YunoHost image for the Raspberry Pi (I’ll explain how to get it).
- Raspberry Pi Imager or Balena Etcher: You can flash the image with these tools, so pick the one you prefer. I have a complete guide for Raspberry Pi Imager here if you need it.
Now that the requirements are clear, let’s start the installation.
Install and Setup YunoHost: Raspberry Pi Guide
This section will take you through installing and setting up YunoHost on your Raspberry Pi step-by-step. For context, I am using a Raspberry Pi 4 for this tutorial.
Downloading the Yunohost Image
The first step here is getting the latest version of the YunoHost operating system image for your Raspberry Pi. This is fairly easy to do and will take less than 5 minutes. So, let’s get started.
- Go to the YunoHost Installation Page.
You should see the hardware for which YunoHost is supported.
Select “Raspberry Pi” as we would like to install the OS image for that.
- Scroll down to the “Download the YunoHost Image” section.
Click the Download button (the version number will vary) to get the image.
For your reference, I downloaded version 12.0.16 for this tutorial.
Note: The steps differ if you want to use YunoHost on a Raspberry Pi Zero, Pi 1, or Pi 2. For these models, you have to install Raspberry Pi OS and then refer to this tutorial.
You might also like: Should you wait for Raspberry Pi 6?
Flashing YunoHost onto an SD Card
Once you have the image ISO file on your system, we will use Raspberry Pi Imager software to flash it on your SD card:
- Launch Raspberry Pi Imager, and make the following selections.
- Device – select your Raspberry Pi board, (e.g., Pi 5, Pi 4, or Pi 3).
- OS – scroll down to the bottom of the list, and select Use custom.

- When prompted, pick the image file you downloaded earlier.
The image might be named “yunohost-bookworm-12.0.16-rpi-stable.img.gz” or similar.
(You don’t need to extract the file—use it directly.) - Storage – pick your SD card or USB drive. Ensure they are plugged in correctly, and you don’t choose the wrong device as Imager will format the selected drive.
- Customisation – this section should be skipped by default.
- Writing – click WRITE to begin the flashing process.

Wait a few minutes for the writing process to complete. Once it’s done, you can remove the SD card (or USB drive) from your computer and plug it into your Raspberry Pi.
Bonus tip: If the terminal still feels confusing, I made a simple cheat sheet with 74 commands explained in plain English. You can grab it here for free..
If you want a clearer path than jumping from tutorial to tutorial, my book gives you a step-by-step roadmap to really understand your Raspberry Pi.
Check the book hereFirst Boot Setup
Once you have the SD Card ready, all you need to do now is the following:
- Insert the card into your Pi.
- Connect the Pi to a power source.
- Connect an Ethernet cable to establish a wired connection between the Pi and your home network.
If you can’t connect your Pi through a wired connection, you can connect it to a monitor and complete the setup process from there. You can even connect to a Wi-Fi network to enable SSH access.
Note: Ethernet was much easier than setting up a Wi-Fi connection. If you have no other option, you’ll have to connect to Wi-Fi via the command line. See our article: How to Set Up Wi-Fi on Debian and go to the last section for the commands.
If everything goes well, you should be able to access the following link from any device connected to the same network as your Pi: http://yunohost.local
(If that doesn’t work, try navigating directly to the Pi’s IP address instead.)
You may get a privacy error at first, which is normal. Click Advanced > Proceed to continue.

This will open the YunoHost admin page.
Agree to the terms, and click Begin. Now you’re ready to begin configuration.
You might also like: Turn your Raspberry Pi into a money-making machine
Setting up a Domain Name (Existing or New)
The first step for configuration is setting up a domain name for your YunoHost server.

You have three options here:
- Use an existing domain you own (which would generally be paid).
- Get a free domain under the YunoHost project.
- Or keep using the local domain name currently being used for testing.
If you pick the second option, it will expand the window and ask for the domain name and recovery password in case you would like to recover your domain.
YunoHost takes care of everything else.

Once you are done, click the Next button at the bottom to move to the next step of the setup process: “Creating your first Admin User”.
Creating Admin User
The new window will ask you for the username, full name and password to create the admin user:

Fill in the form (follow the password guidelines) and click Next to continue.
You’ll get a warning before starting the post-installation process (creating our new domain, new user and setting things up):

Press the OK button, and the post-installation process will start.
Be patient as it will take a few minutes for this to complete.
Once the process is complete, you should see the following Login screen.
Use the admin credentials you created earlier to log in.

Congratulations on completing the setup process!
Let’s take a look at the admin interface next.
Admin Interface: First Look
Once you log in, you should see options to personalize your YunoHost experience. That includes managing users, domains (yes, it supports multiple domains), applications and even managing your system through an easy-to-learn interface (updates, tools, all the works).

Let’s check a few fundamental things you should know about: Users and Domains.
User Management
As an admin (user), you can manage all the users on your YunoHost server through the Users tab. There are two different users for this platform:
- Admin Users: The users with admin privileges can manage all the non-admin users, applications and domains.
- Non-Admin Users: These types of users can be created by the admin and they can access certain applications based on the permissions that the admins provide them with.
Now, Let’s take a look at what things can we do through this interface:

- Viewing existing users: Existing users are shown as a list on the screen. You can edit its permissions or details or even delete them by clicking on the user.
- Searching users: If you are like me and have a user for each application, the search bar is useful as it lets you search through all users on your platform.

- Adding New Users: You can create new users for your platform. Apart from this, you can even import users from any other existing YunoHost setup you have or export users onto them. This can be handy when you are migrating to a new instance.

- Managing User Groups and Permissions: You can group similar users (for instance, your family members), manage individual and group level permissions, and specify which users/groups have access to what applications. Quite handy, right?

Domain Management
Like users, it is easy to manage all the domains you have configured for your YunoHost server. As explained before, domains can be thought of as an entry point for your applications.
You have the option to redirect two different domains on the same server to different applications. Refer to this image below to get a better idea of what I mean:

Bonus tip: If the terminal still feels confusing, I made a simple cheat sheet with 74 commands explained in plain English. You can grab it here for free..
Domain management options are available under the Domains tab on the home screen.

As can be seen in the above snapshot, you can add a new domain or change the configurations for existing domains.
Configuring domains is a very complex topic and needs a lot of networking knowledge, so we will skip that part for now. Just know that if you are interested and an advanced user, you have the option available (check this article for more details).
System Updates
Lastly, like all operating systems, keeping the core packages is crucial in ensuring the security and operability of the system. Luckily, YunoHost provides quite an interactive user interface for this as well.
Go to the System Updates from the main menu, and at the bottom, click Upgrade all packages.
After it’s all done, I would reboot for good measure.

Additionally, as you can see, you can even manage your Application updates from this very tab. So, all the Applications you host are always running the latest and most secure versions.
That was all for the Admin Interface, now let’s get our hands dirty and install and host our very first application on our YunoHost server.
Still stuck after following this guide? Drop your question in the RaspberryTips Community — real Pi users answer fast. Post your question here.
Hosting Our First Application on YunoHost
For this tutorial, I chose WordPress as the application as I have been wanting to host my personal blogging website. So, if you are like me, you can follow the same steps or choose an application that better suits your needs.
Application Installation: WordPress
Installing an application is straightforward through the YunoHost interface.
Just follow the steps given below:
- Firstly, get to your Admin Interface home screen and then navigate to the Applications tab.

- This will open a new page, where you will see all your installed Applications.
Click “Install an app” on the top-right.
- You will see the Application Catalog that YunoHost offers. You can choose any application from the ones available on this screen. For now, I will be choosing WordPress so type in “WordPress” in the search bar, and then click the application when it appears.

- This will open a new page showing you the details about the Application you are about to install. I recommend you review the information to know more about your application, and then go to the bottom, and complete the Install Settings.

Most options can be left as default if you want. I have just changed the Label of my Application to “PersonalBlog” and left the rest as is. - Finally, press the Install button. This will start the installation process for the application. Depending on the application you choose, this may take a few minutes.

- Once the application has been installed, you should see it on the Installed Applications list in the Applications tab. Congratulations! You just installed and hosted (yes, it’s already hosted!) your first application with YunoHost.

Now, let’s see how we can access our WordPress blog.
Accessing our Application
Accessing our applications is easy for admins, users and visitors (non-registered users, so basically public access). Let’s cover the different ways we can access our application:
- Option 1: Through the Admin Interface (Admins)
- Option 2: Through the User Interface (Users)
- Option 3: Through the Application URL (Visitors)
Let’s explore each option now.
Option 1: Through the Admin Interface (Admins)
If you’re an Admin, you should have access to all the applications on your server. So, the most straightforward way to access an Application for admins is the Admin Interface.
- Navigate to the Applications menu, and click on the app you would like to access. From here, you’ll be able to see details like the version of your application, details, etc. You can access your application by pressing the “Open this app” button on the top-right.

- This will open your blog page in a new window. For now, you will see a pre-created template site created by YunoHost developers.

Option 2: Through the User Interface (Users)
- If you have a User that you created and permitted access to this application, they can access this application through an interactive User interface that YunoHost provides. To access it, click on the blue User interface button in the Admin interface.

- This will open your personalized user interface. Alternatively, you can even enter your base domain and it will open the user interface login screen where you can use your credentials to log into your user interface page.

- To access an application, click on the Application pane (which in this case will be the WordPress website).
- This will open your blog page in a new window. Same as before, you will see a pre-created template site created by YunoHost developers.

Option 3: Through the Application URL (Visitors)
- Finally, if you want your blog to be publicly accessible, you will need a link which anyone can use to access your website. That is generally referred to as your Application URL. It will be in the following format: “https://<your-domain>/<path>” (the path is what you configured during application installation).
So, in my case, it is https://rpitips.nohost.me/blog. - Open your link in any browser and you should be able to access your blog.

This marks the end of this tutorial. You now know how to host your applications with minimal setup using YunoHost. There is a lot more you can do with YunoHost. If you are interested in exploring this further, I would highly recommend you go through the YunoHost Documentation.
Thank you for reading this article. See you in the next one!
Whenever you’re ready, here are other ways I can help you:
Test Your Raspberry Pi Level (Free): Not sure why everything takes so long on your Raspberry Pi? Take this free 3-minute assessment and see what’s causing the problems.
The RaspberryTips Community: Need help or want to discuss your Raspberry Pi projects with others who actually get it? Join the RaspberryTips Community and get access to private forums, exclusive lessons, and direct help.
Master your Raspberry Pi in 30 days: If you are looking for the best tips to become an expert on Raspberry Pi, this book is for you. Learn useful Linux skills and practice multiple projects with step-by-step guides.
Master Python on Raspberry Pi: Create, understand, and improve any Python script for your Raspberry Pi. Learn the essentials step-by-step without losing time understanding useless concepts.
Master Linux Commands: Overwhelmed with Linux commands? This book is your essential guide to mastering the terminal. It includes practical tips, real-world examples, and a bonus cheat sheet to keep by your side.
You can also find all my recommendations for tools and hardware on this page.
