Tech

Install Windows 11 on KVM (Ubuntu 22.04) with software TPM 2.0

To install Windows 11 on KVM you want to make sure that you have swtmp install and in your KVM environment. Like its name suggest is a software that emulates TPM 2.0 in your virtual environment. You can do a quick check by running the following command. swtpm...

How to disable password for sudo command

Disable password for sudo command has its risk and convenience so do assess the risk for your environment before disabling it. I usually disable it in my test/lab environment as the risk is lower there and I do not want to keep entering password for sudo commands. Of...

Windows 10 – Create Template using Sysrep

Creating Windows machine template has become important part of automation and testing. In this tutorial I will cover different aspect of creating a VM template. This similar for VMWare, OracleBox, KVM and most general virtualization technology. Depending on how you...

Install uptime-kuma with Apache as a reverse proxy (Ubuntu 22.04)

Uptime Kuma is an open-source tools that allows you to monitor servers, websites and services that are running in your environment. It is a very useful tools for monitoring your lab environment. You can install Uptime Kuma as a standalone or in a Docker container. For...

Changing Ubuntu 22.04 Hostname through CLI

Here are the steps to change the Ubuntu hostname. To check your current hostname and summary of your machine. hostname hostnamectl There a few ways to change your hostname. sudo hostnamectl set-hostname <new hostname> # Manually changing it in the hostname file...

Bash Prompt in Linux – Change the prompt temporally

OS: Linux You should be familiar with Bash prompt if you are a linux user. Whenever you start a terminal the command line interface of the Linux server you should be using Bash as a default unless you have change the default shell to something else. Bash prompt is set...

Install KVM on Ubuntu 22.04 Server

Install the cpu-checker to check if your system support virtualization. sudo apt install -y cpu-checker Run the command to see if the sys kvm-ok Install all the necessary packages. sudo apt install -y qemu-kvm virt-manager libvirt-daemon-system virtinst...

Ubuntu 22.04 ssh port change additional steps

For those of you who started using Ubuntu 22.04 Jammy Jellyfish and realized the conventional way of editing /etc/ssh/sshd_config does work. Hope this tutorial is useful and nothing else changes. This works as of Feb 19 2023. I am not sure when this started but in...

Basic Network Configuration for Ubuntu 22.04

Let's start with the basic. To check the ip address assign or interface available. ip address Another command to help identify all network interfaces available to your system is lshw sudo lshw -class network ethtool is a program that displays and changes Ethernet card...

Enabling SSH Key Login

OS: DebianSSH: OpenSSH 8.2p1 Enabling SSH Key Login is a great way of protecting your SSH access to the cloud server. In the event that you still prefer password login (For convenience if you access the SSH server from multiple machine and does not want to port your...

Grep and cut Command by example with SSH logs – Brute Force

Linux: Debian 11 Grep is a very useful tools to quickly look through logs and text file. In this tutorial by example I will go through some useful commands and options that you can use to quickly get the ip address and username that is use to brute force your ssh...

Mount additional hard disk in Ubuntu 20.04 – Contabo

To mount additional hard disk in Ubuntu in Contabo. You will need to have root privilege to do it.Use fdisk to identified the disks in the system. Below is the link for the official guide https://contabo.com/blog/mounting-additional-hard-disks-linux/ fdisk -l If the...

Configure Default Route using ip route – Ubuntu 20.04

While setting up your lab environment sometime it is useful to change the default route. In this tutorial I will show you how to quickly configure the default route and some of the commands to check the config. Using the command ip route add You can use ip route / ip...

Manually Resetting WordPress User Password through SSH

OS: Ubuntu 20.04.2 LTSDB: MariaDB 10.3.34Wordpress: 6.0 In this tutorial I am going to show you how to change the Wordpress User Password through SSH and mysql statement in 6 simple steps. Always backup you configuration before making changes so...

Install Xrdp Server – Debian 11

OS: Debian 11 (Bullseye) Xrdp is the open-source implementation of the Microsoft Remote Desktop Protocol (RDP that allows you to control a remote linux server graphically. For any technical folks especially pentester that are doing web penetration testing using kali...

Install TightVNCServer on Ubuntu 20.04

VNC (Virtual Network Computing, is a tool that allows you to connect to the GUI (Graphical User Interface) of linux GDE (Graphical Desktop Environment). This allow you to interact with Ubuntu using mouse and Keyboard in a GUI. Install xfce and choose the display...

Basic Ubuntu Commands that is useful

For Beginners it is Important to take note that linux commands are CASE sensitive. In this section I have list down the commands that are frequently used by me in my lab setup. 1. sudo sudo – command that allows you to run programs or commands with administrator...