Xen Guest Agent on Ubuntu 24.04

By default, a newly created Ubuntu 24.04 VM will not display it’s given IP address in XOA (nor will it shut down safely). This is overcome by installing the latest “Xen Guest Agent”.

Note there is no need to do this for “Quick Instances” as they already include this tool.

Switch to root user for this VM.

sudo -i

Download the XenTools archive using the wget command

wget http://files.comp.dkit.ie/oslab/xen-guest-agent_0.4.0_amd64.deb

Run the installer

dpkg -i xen-guest-agent_0.4.0_amd64.deb

Follow any steps on screen. When installed, reboot your VM

shutdown -r now

Recursion in Go

The Go programming language supports recursion (the process of repeating items in a self-similar way). That is, it allows a function to call itself. But while using recursion, programmers need to be careful to define an exit condition from the function, otherwise it will go on to become an infinite loop.

Continue reading “

Deploy a Laravel application with Apache on Ubuntu

Laravel is a free, open-source PHP web framework, intended for the development of web applications following the model–view–controller (MVC) architectural pattern and based on Symfony. Some of the features of Laravel are a modular packaging system with a dedicated dependency manager, different ways for accessing relational databases and utilities that aid in application deployment and maintenance.

Continue reading “