YunoHost is a VPS control panel that can be used as an alternative to cPanel, Plesk, and others. YunoHost features a 1-click install similar to Softaculous, and you can install scripts directly from GIT without any hassle. For more information and a YunoHost demo, you can check this page: Welcome! | Yunohost
Prerequisites for Installing YunoHost on a VPS
- VPS/Dedicated Server with Debian 11 OS and kernel >= 3.12 (Cannot use other OS)
- 512MB RAM
- 16GB Disk Space
- SSH, Console, or VNC access
How to Install YunoHost on a VPS
1. SSH Login
To install YunoHost on a VPS or Dedicated server, you first need to access SSH using PuTTY, CMD, Terminal, or a Console. If you are using CMD or terminal, you can use the following command
ssh username@server_IPYou can change the username and server_IP according to your SSH details. For example, if I want to log in to server 127.0.0.1 with the root user, the command used would look like this
2. Update Server
Before installing, ensure that the system is updated to the latest version. To update a VPS or Dedicated system with Debian 11 OS, you can use the following command
sudo apt update && apt upgrade -y3. Install YunoHost on the Server
After the server update process is complete, you can proceed to install YunoHost on your server with the following command
curl https://install.yunohost.org | bashIf your system does not have CURL installed, you can install it first using this command
sudo apt install curlHowever, if the command to install CURL above does not work, you can install ca-certificates using the following command
sudo apt install ca-certificatesDuring the YunoHost installation process, there will be two options that you need to confirm. You can approve or select the Yes option for the first one, and for the second option (SSH settings), you can choose yes or no. Then, wait until the installation process is finished before continuing with the initial YunoHost configuration.
Initial YunoHost Configuration
Actually, the initial YunoHost configuration can be done via SSH or the web panel, but in this guide, we will use the web panel because it is easier to use.
1. Visit the Control Panel
After the installation process is finished and successful, you can visit your YunoHost control panel using a web browser by typing in the IP address of your VPS or Dedicated Server. Here I am using IP 167.99.74.54, so it can be accessed via https://167.99.74.54/
If you encounter a warning Your connection is not private, then you can select the Advanced option, then choose the option Proceed to IP_Address (unsafe).
After selecting Proceed to IP_Address (unsafe), you will be directed to the welcome page and ready to perform the configuration. To continue the configuration, click the Begin button.
2. Add a Domain Name
Next, you need to add a domain name first. The domain name entered here will become the main domain name later and can still be changed through the settings page. Additionally, you can also use a subdomain to be used as the main YunoHost domain name.
After adding the domain name, click the Next button.
3. Add an Admin Login Password
Next, you need to add a password for the admin login, and make sure you remember this password or save it in a safe place. The admin account will later be used to manage the web panel, such as changing YunoHost settings, installing applications, adding domains, and much more.
After entering the password and clicking the next button, you will receive a warning message not to perform other activities on your server. Click OK to continue the configuration process.
If the Disk Space you are using is below 16GB, you will receive a warning, but you can still continue the installation. To continue the installation, you can click the button Force the post-install and wait until the process is finished.
4. Run a Diagnosis
After the YunoHost installation process is finished, you can then perform a server diagnosis to determine whether there are still settings that need to be updated or not.
To perform a YunoHost diagnosis, you can log in to the YunoHost admin page via the link https://Alamat_IP_Kalian/yunohost/admin/#/ then you can click on the menu Diagnosis
After being on the diagnosis page, click the button Run Diagnosis to start the diagnosis process for your web panel.
After the diagnosis process is finished, you can see the details of the errors in the diagnosis and determine what you need to do to eliminate those errors or issues.
5. Connect the Domain to YunoHost
Unfortunately, you cannot connect a domain to YunoHost using Name Servers, so you need to connect it using the pointing method via DNS settings. In this guide, we will use pointing via cPanel.
- Log in to your cPanel or domain service provider
- Open the DNS Manager or Zone Editor page
- Add a new A Record that points to YunoHost
- Because I previously used the subdomain yuno.nasikin.my.id and used server IP 167.99.74.54, the record becomes like this
Name: yuno.nasikin.my.idType: A (Address)Host: 167.99.74.54After the domain is pointed to the hosting, you can then log in to YunoHost using the address
- https://namadomain.com/yunohost/admin for admin login
- https://namadomain.com/yunohost/sso for user login
COMMENTS
Loading...