Notities

Notities

ing. M.A.C.M. (Martijn) van den Boom

Computer Infrastructure Engineer
ingenieur, docent en mentor

Social Media Links:

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

With Deskflow you control multiple computers — macOS, Windows or Linux — using a single mouse and keyboard. It works as a software-based KVM switch (without video) and is sponsored by Synergy. This program is still actively maintained, with an intuitive interface that makes it easy to use. Tip: disable TLS in the settings for a smooth start. Download it via: https://github.com/deskflow/deskflow/releases. Look for the “latest” tag and check all assets for the correct version!

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

Try the following steps: $ sudo apt update $ sudo apt upgrade $ sudo apt install curl $ curl -fsSL https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg –dearmor -o /usr/share/keyrings/virtualbox-archive-keyring.gpg $ echo “deb [arch=amd64 signed-by=/usr/share/keyrings/virtualbox-archive-keyring.gpg] http://download.virtualbox.org/virtualbox/debian noble contrib” | sudo tee /etc/apt/sources.list.d/virtualbox.list $ sudo apt update $ sudo search virtualbox...

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

To be able to use XRDP on Ubuntu Linux try the following instructions: $ sudo apt update $ sudo apt upgrade $ sudo apt install xrdp $ echo “gnome-session –session=ubuntu” > ~/.xsession $ echo “export DISPLAY=:10.0” > ~/.bash_profile $ echo “xhost +” > ~/.bash_profile $ ip a Remember write down your IP address of your system and to log out of your graphical user session. Now try to login to your system with a RDP tool.

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

Follow the below steps to install Microsoft Visual Studio Code IDE on Linux from its repository: sudo rpm –import https://packages.microsoft.com/keys/microsoft.asc sudo sh -c ‘echo -e “[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc” > /etc/yum.repos.d/vscode.repo' sudo dnf install code -y

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

If you are using a hosts file, make sure it contains FQDNs and pay close attention to the order in which they appear. Check the hosts file and adjust it if necessary: The FQDN must come first, followed by any aliases. /etc/hosts 10.0.0.1 server1.example.com server1 application1 If an alias is listed before the FQDN, you may encounter error messages that are not immediately traceable to this cause.

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

Below is the source code of a C program to create a Zombie process in Linux and analyse it. vim create_zombie_process.c #include <stdlib.h>#include <sys/types.h>#include <unistd.h> int main () { pid_t child_pid; child_pid = fork (); if (child_pid > 0) { sleep (60); } else { exit (0); } return 0; } Compile the C source code into an executable program: gcc create_zombie_process.c Start the program: ./a.out Open a second Terminal and view the process list.

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

Checkmk installation on Rocky Linux 9.3 dnf install epel-release setsebool -P httpd_can_network_connect 1 firewall-cmd --zone=public --add-service=http --permanent firewall-cmd --reload wget https://download.checkmk.com/checkmk/2.2.0p18/check-mk-raw-2.2.0p18-el9-38.x86_64.rpm yum install check-mk-raw-2.2.0p18-el9-38.x86_64.rpm omd version omd create monitoring omd start monitoring http://localhost.localdomain/monitoring/ user: cmkadmin with password: <given> omd su monitoring (For command...

ing. M.A.C.M. (Martijn) van den Boom

1-Minute Read

Installing the VirtualBox Guest Additions on Rocky Linux 9.3 dnf install epel-release dnf update --refresh dnf update kernel-* reboot (optional) dnf install dkms kernel-devel kernel-headers gcc make bzip2 perl elfutils-libelf-devel rpm -q kernel-devel uname -r Top menu: Devices -> Insert Guest Additions CD-Image Run (optional) cd /run/media/ ./VBoxLinuxAdditions.run

Recent Posts:

Categories

About

Sponsor me link:
ko-fi.com/martijnvandenboom
paypal.me/ingmacmvandenboom
buymeacoffee.com/ingvdboom