bookmark_borderInstalling Ubuntu 22.10


In this week’s feature highlight, we look at How to Install Ubuntu 22.10

Ubuntu is one of the most popular Linux distributions out there that is based on Debian and composed mostly of free and open-source software.

In this article, we will learn how to install Ubuntu 22.10 on a server.

Login to Crownpanel

Login to your CrownPanel account.

To start the installation, First, mount the Ubuntu 22.10 ISO.

To mount the ISO, click on CD-ROM and then select the “ubuntu 22.10 server amd64” ISO from the drop-down menu and click on the “Mount” button (It will take 2-3 minutes).

Once the ISO has mounted (the Task Log tab will show the status of the task), navigate to the “Power Control” tab and then perform a Reboot task on the server.

Next, Switch to the “VNC” Tab, Launch VNC to start the installation.

If VNC doesn’t show the Ubuntu 22.10 installer, please click on CTRL+ALT+DEL from the VNC console to send a reboot.

Start the Installation

Select the desired language and click on continue.

At the time of writing this article, there were no updates on the installer but later on, you may be prompted to update the installer in case there is a new version available. This is a recommended option to update it.

Select the desired keyboard layout and click on done.

Select the Network configuration and click done.

You can either set up a static network configuration or simply go ahead with DHCP (Simply press ENTER here).

You can configure a proxy for the server in this part of the process if needed. Ideally, in most cases you don’t need to, just leave it blank and proceed.

Next, in the mirror selection, we keep the default mirror address that Ubuntu detects for us,

Disk partitioning, we will keep it simple and go with automatic partitioning. Select the “Use an entire disk” option and continue.

Review the “partitions” and then proceed.

Since we’re installing a new operating system on the existing disk, you will be prompted to lose data on the selected disk. Confirm and select “Continue”.

Profile setup, You will be provided a form to enter your user information. These will be the login details that we’ll use later to connect to the server.

We will choose the package OpenSSH server to be installed as it is essential if you need to connect remotely after the installation.

The Ubuntu 22.10 installer also has other packages available for pre-install, you can pick any you wish to pre-install on your server, in this guide we will keep it at a bare minimal (ie, no extra packages selected),

At this stage, Ubuntu will start the installation of the disk.

Once the installation is complete, go ahead with the reboot.

After you select to reboot the VPS, Ubuntu will prompt you to unmount the installation medium.

To unmount the ISO, switch back to CrownPanel, Select the “CD-ROM” tab and click on “Unmount”.

Next, switch back to the VNC Window, and press ENTER to reboot the VPS,

The VPS will then reboot into your installation of Ubuntu 22.10

This completes the installation of Ubuntu 22.10

You can now log in to the server using the credentials that were set earlier (under the “Profile setup” part of this guide)

Check the Hostname using the below command,


Sample Output:

crown@crown:~$ hostnamectl
 Static hostname: crown
       Icon name: computer
      Machine ID: 98ef1ad056e345ba99622d140a2f234e
         Boot ID: 1344ac34c125487080c6d75976753fc1
  Virtualization: kvm
Operating System: Ubuntu Kinetic Kudu (development branch)
          Kernel: Linux 5.19.0-21-generic
    Architecture: x86-64
 Hardware Vendor: Red Hat
  Hardware Model: KVM
Firmware Version: 0.5.1

We will then update the Ubuntu system with the below commands,

sudo apt update

sudo apt dist-upgrade

Once the updates are installed, we will push the server for a reboot to apply any modifications.


Done! You are now ready to use the Ubuntu 22.10 server as you like.

bookmark_borderInstalling Python 3.10 on Rocky Linux 9


In this week’s feature highlight, we look at How to Install Python 3.10 on Rocky Linux 9

Python is an interpreted high-level general-purpose programming language. Its design philosophy emphasizes code readability with its use of significant indentation. Its language constructs as well as its object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.

First, check for any pending system updates,

dnf update

Install required packages.

dnf install gcc openssl-devel bzip2-devel libffi-devel zlib-devel wget make

Install Python 3.10.5

By default, Rocky Linux 9 comes with Python version 3.9

In this article, we will install the latest version of Python that is available, 3.10.5, on the Rocky Linux 9 system. You can check their official website to find the latest version available and download its source code.


Extract the downloaded file.

tar xzf Python-3.10.5.tgz 

Change to the extracted directory with the following command.

cd Python-3.10.5 

Run configuration command.

./configure --enable-optimizations 

Complete the Python installation on the Rocky Linux system by running the following command.

make -j 2


make altinstall 

Once the Python has been installed, confirm the version that is available by,

python3.10 --version


[root@server Python-3.10.5]# python3.10 --version
Python 3.10.5

Using pip on Python 3.10.5

Check the installed version of a pip by running the following command,

pip3.10 -V


[root@server ~]# pip3.10 -V
pip 22.0.4 from /usr/local/lib/python3.10/site-packages/pip (python 3.10)

bookmark_borderRunning your own self hosted Git service with Gitea on Rocky Linux 9


In this week’s feature highlight, we look at Running your own self hosted Git service with Gitea on Rocky Linux 9

Gitea is an open-source forge software package for hosting software development version control using Git as well as other collaborative features like bug tracking, wikis, and code review. It supports self-hosting but also provides a free public first-party instance hosted in China on DiDi’s cloud.


  • Rocky Linux 9 installed
  • Full SSH root access.
  • Gitea supports the following databases.
    • SQLite
    • PostgreSQL
    • MySQL
    • MariaDB
    • TiDB
    • MSSQL

In our guide below, we’ll use SQLite as the database for Gitea. You can pick any of the supported databases in your installation as needed.

To Install SQLite using the following command.

dnf install sqlite3

To check the version.

[root@server ~]# sqlite3 --version
3.34.1 2021-01-20 14:10:07 10e20c0b43500cfb9bbc0eaa061c57514f715d87238f4d835880cd846b9ealt1

Install Git

To Install Git, use the following command.

dnf install git

To check the version of Git, run the following command.

git --version


[root@server ~]# git  --version
git version 2.31.1

Add the user that will run the Git application.

[root@server ~]# adduser --system --shell /bin/bash --comment 'Git Version Control' --create-home --home /home/git git

Download the Gitea Binary.Gitea is a painless self-hosted Git service. With features similar to ones in GitHub, Bitbucket, or GitLab.

Download the Gitea binary from download page and make it executable.

At the time of this article, the latest Gitea version is 1.16.9. If there is a the newer version is available on the link above, change the VERSION variable before using the following command.

dnf install wget

wget -O /tmp/gitea


[root@server ~]# wget -O /tmp/gitea
--2022-07-20 18:22:56--
Resolving (,,, ...
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 107593784 (103M) [application/octet-stream]
Saving to: ‘/tmp/gitea’

/tmp/gitea          100%[===================>] 102.61M  7.40MB/s    in 11s

2022-07-20 18:23:08 (8.93 MB/s) - ‘/tmp/gitea’ saved [107593784/107593784]

Move the Gitea binary file to “/usr/local/bin”.

mv /tmp/gitea /usr/local/bin

Make the binary executable.

chmod +x /usr/local/bin/gitea   

Create the directory structure and set the required permissions and ownership.

mkdir -p /var/lib/gitea/{custom,data,indexers,public,log}
chown git: /var/lib/gitea/{data,indexers,log}
chmod 750 /var/lib/gitea/{data,indexers,log}
mkdir /etc/gitea
chown root:git /etc/gitea
chmod 770 /etc/gitea

To give the file permission using the following command.

restorecon -rv /usr/local/bin/gitea

To create a Systemd Unit File.

Download the file to the “/etc/systemd/system/” directory using the following command.

wget -P /etc/systemd/system/  

To reload a Gitea service.

systemctl daemon-reload

To enable a Gitea service.

systemctl enable --now gitea


[root@server ~]# systemctl enable --now gitea
Created symlink /etc/systemd/system/ → /etc/systemd/system/gitea.service.

To check the status of the Gitea service.

systemctl status gitea


[root@server ~]# systemctl status gitea
● gitea.service - Gitea (Git with a cup of tea)
     Loaded: loaded (/etc/systemd/system/gitea.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2022-07-20 18:25:45 CEST; 23s ago
   Main PID: 14699 (gitea)
      Tasks: 8 (limit: 11120)
     Memory: 127.1M
        CPU: 896ms
     CGroup: /system.slice/gitea.service
             └─14699 /usr/local/bin/gitea web --config /etc/gitea/app.ini

Configure Gitea

To allow port using the following command.

firewall-cmd --permanent --zone=public --add-port=3000/tcp
firewall-cmd --reload

Navigate to your browser. http://yourserver-ip-address:3000 to access the Gitea application.

Follow the on-screen instructions to complete the Gitea setup. Click on Register to start the database initialization.

Database Settings:

  • Database Type: SQLite3
  • Path: Use an absolute path, /var/lib/gitea/data/gitea.db

Application General Settings:

  • Site Title: Enter username.
  • Repository Root Path: keep the default /home/git/gitea-repositories.
  • Git LFS Root Path: keep the default /var/lib/gitea/data/lfs.
  • Run As Username: git
  • SSH Server Domain: Enter your domain name or your IP address.
  • SSH Port: 22, change it if SSH is listening on other Port
  • Gitea HTTP Listen Port: 3000
  • Gitea Base URL: Use http and your domain or server IP address.
  • Log Path: Leave the default /var/lib/gitea/log

Click on Install to Install Gitea.


Once the installation is completed then create the first user. Open http://yourip:3000/user/sign_up in a web browser and fill in the required details.


Once the form has been submitted, you are logged into your Gitea account.



bookmark_borderInstalling Xrdp with GNOME GUI on Rocky Linux 9


In this week’s feature highlight, we look at How to Install Xrdp with GNOME GUI on Rocky Linux 9

Xrdp is a free and open-source implementation of the Microsoft RDP server that enables operating systems other than Microsoft Windows to provide a fully functional RDP-compatible remote desktop experience. In this article, we are going to learn how to install Xrdp with GNOME GUI on Rocky Linux 9. So, let’s get started.

Checkout the Xrdp Project Here.

Try this wiki on our VPS. Starts just at $5/month with 24×7 In-house customer support.

Pre-requisites :

  • A system with Rocky Linux 9 installed and running.
  • root access to the system.
  • GNOME GUI installed on the system.

Once you’re all set, we’ll proceed with Xrdp with epel-release installation and configuration.

Install epel-release

dnf install epel-release


[root@server ~]# dnf install epel-release
Last metadata expiration check: 0:01:24 ago on Wed 20 Jul 2022 09:17:59 PM CEST.
Dependencies resolved.
 Package               Architecture    Version            Repository       Size
 epel-release          noarch          9-2.el9            extras           17 k

Transaction Summary
Install  1 Package

Total download size: 17 k
Installed size: 23 k                                         24 kB/s |  17 kB     00:00

Install Xrdp

Let’s install xdrp below commands.

dnf install xrdp


[root@server ~]# dnf install xrdp
Last metadata expiration check: 0:01:04 ago on Wed 20 Jul 2022 09:17:59 PM CEST.
No match for argument: xrdp
Error: Unable to find a match: xrdp
[root@server ~]# dnf install epel-release
Last metadata expiration check: 0:01:24 ago on Wed 20 Jul 2022 09:17:59 PM CEST.
Dependencies resolved.
 Package               Architecture    Version            Repository       Size
 epel-release          noarch          9-2.el9            extras           17 k

Transaction Summary
Install  1 Package

Enable Xrdp using the below commands.

systemctl start xrdp

systemctl enable xrdp

Enable Firewall

firewall-cmd --permanent --add-port=3389/tcp

firewall-cmd --reload

Reboot the system

To boot into Graphical mode, we will reboot the system with the below command,


Let’s connect Xrdp using Windows RDP

After the successful installation of Xrdp with GNOME GUI. We can connect to the remote server using Windows RDP Connection.
Open the Remote Desktop Connection on your Windows computer and enter the public IP of the AlmaLinux server.
Once you click on “Connect” you will be prompted to enter the login credentials to access the Server. After login, complete the GUI Setup.

To find the Public IP of your VPS hosted with us, Click here.

Now you have successfully installed Xrdp with GNOME GUI on Roky Linux 9.