Run the following command in your terminal 1 sudo watch "grep 'cpu MHz' /proc/cpuinfo"
Follow the below instructions to enable ssh root login. Become root 1 sudo su Command to add lines in /etc/ssh/sshd_config 1 echo -e "PermitRootLogin yes\nPasswordAuthentication yes" | tee -a /etc/ssh/sshd_config Restart ssh daemon 1 systemctl restart sshd
Here is the automated script. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 # installing libguestfs-tools only required once, prior to first run sudo apt update -y sudo apt install libguestfs-tools -y # remove existing image in case last execution did not complete successfully rm jammy-server-cloudimg-amd64.img wget https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img sudo virt-customize -a jammy-server-cloudimg-amd64.img --install qemu-guest-agent sudo qm create 400 --name "ubuntu-2204-cloudinit-template" --memory 2048 --cores 2 --net0 virtio,bridge=vmbr0 sudo qm importdisk 400 jammy-server-cloudimg-amd64.
About Ripe Ncc has a project called RIS that has Snapshots of global internet routes from different location of the world.
This project collects routes and store them in archives that you can download and inject to a linux machine and from that you can inject to any BGP Speking router.
The way it works:
Diagram Now lets see how to configure it.
Step 1: Download the archive files. Go to this link click on the raw data link according to your choosen location.
Edit the file /etc/systemd/resolved.conf
1 nano /etc/systemd/resolved.conf Make settings like the image: Restart systemd-resolved service 1 systemctl restart systemd-resolved
Enter the following command to install oh my bash 1 bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" Install exa for beautifiying some output. 1 sudo apt install exa Edit .bashrc In the .bashrc file change theme according to your favorable theme choosen from here
1 OSH_THEME="kitsune" Install nerd font Download, extract the zip and install nerd font from here. I use DejaVuSansMono
Enter the following command to disable asterisk in linux terminal while inputing sudo password 1 sudo mv /etc/sudoers.d/0pwfeedback /etc/sudoers.d/0pwfeedback.disabled
What is Portainer? Portainer Community Edition is a lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments.
How to install? Assuming you already have docker installed. If not follow this tutorial according to Os to install docker and than run the below command on the terminal.
1 sudo docker run -d -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest For Docker compose: Create docker-compose.
Install Xrdp sudo apt install xrdp Stop auto-login. * Create dummy user: ''' sudo useradd test ''' * Edit Lightdm file: ''' sudo nano /etc/lightdm/lightdm.conf And uncomment the line autologin-user = test ''' Save and reboot.
Windows installer bootable usb can be easily created on linux using the following steps:
Step 1: Download your desired windows 7/8/10/11 iso Step 2: Install WoeUSB on your linux system. For Debian:
1 2 3 sudo apt install snapd sudo ln -s /var/lib/snapd/snap /snap sudo snap install woe-usb --edge For Fedora
1 2 3 sudo dnf install snapd sudo ln -s /var/lib/snapd/snap /snap sudo snap install woe-usb --edge Step 3: Open WoeUSB-ng.