Advanced Search
Search Results
19 total results found
Linux Network Monitoring
Here’s a list of some useful terminal based network monitoring utilties: https://askubuntu.com/questions/257263/how-to-display-network-traffic-in-the-terminal Best one we have used so far, is BMon. It’s available as: sudo apt install bmon Can be run with: ...
Git Usage in Ubuntu
Here’s some commands and such for accessing git from Ubuntu: Use this to mount the bliss.git repository from 192.168.1.211, to /mnt/oga:sudo mount -t cifs //192.168.1.211/oga/bliss.git /mnt/oga -o username=glwhite,noexec This command will clone the above rep...
Allow Remote Debugging of Docker Containers
When remotely debugging linux docker containers, the account that your remote debugging session uses to SSH into the Linux host must have RW access to the docker.sock process. If the permission is not granted, you may see an error like this: The above erro...
Install DotNet 6 on Ubuntu 24.04
The process of installing DotNet on Ubuntu has evolved a bit.It was especially rocky on Ubuntu v22, where the OS package manager had conflicts with the official Microsoft packages, rendering the installation broken. But, it appears that in Ubuntu 24.04, it wo...
Arch Linux VM Setup
Base VM Needs Select guest OS type: Linux and Linux 4.x from the Vsphere dropdowns. Make sure the install ISO is mounted, and boot the VM. Once the live terminal is up, determine if the guest VM is efi or not: ls /sys/firmware/efi/efivars If it’s an EFI p...
Jenkins Notes and Links
Here are links to Jenkins references. Jenkins User Manual: Jenkins User Handbook Dealing with the Jenkins System Account: Jenkins: Home Profile
Ubuntu: SSH Server
Here are steps to setup the SSH server on an Ubuntu host. Here's a good reference article for how to do what we're doing here: How to Enable SSH on Ubuntu 20.04 Here are the commands to execute: sudo apt update sudo apt install openssh-server sudo ufw all...
Linux: Impersonating Users
NOTE: This page was created to generalize the technique of impersonating a system account that has no defined shell, and no known password. Specifically, it was documented as a means to add functionality to a Jenkins build server (where the jenkins account has...
Jenkins: Home Profile
When Jenkins is installed on a linux host, the Jenkins service and any spawned builds run under the context of the jenkins user account.Problem is, the jenkins user account is not a regular user account, with a profile that lives under /home.Instead, the Jenki...
Linux Disk Usage
Linux has a few means to analyze a disk for space usage. One way, is a package called, ncdu. It can be downloaded with: sudo apt install ncdu You execute it, like this: sudo ncdu -x / NOTE: -x forces it to stay within the same filesystem, and not travers...
Dotnet Dev on Linux
To create a new project at the current folder: dotnet new console --framework net6.0 --use-program-main To run the app: dotnet run
Kali in VMWare
Here are some things for installing Kali in a VMWare VM. Adapted from here: https://www.kali.org/docs/virtualization/install-vmware-guest-vm/ Choose the latest Workstation Hardware version. 16.x is current as of this writing. Kali is debian based, so use...
Docker Space Full
Here are some things to check on when the disk on a docker host gets full sudo docker system prune -a -f This will cleanup other resource types: docker system prune -a This command will remove older logs from the container logs folder: sudo find /projec...
Ubuntu v24 Host Setup
Setting the Host Name Get the current hostname with this: hostnamectl To set it, use this: sudo hostnamectl set-hostname new-hostname (replace new-hostname) Once set, confirm it with the previous command. Now, you need to update the hostname in your h...
SystemCtl Usage
Below is a list of commonly used systemd commands. If you are needing to configure a binary as a linux service, see this: Ubuntu Service Creation Reload Systemd Units Each time you edit a systemd unit file, you must tell systemd to reload changes.To reload ...
Ubuntu Service Creation (Systemd)
Below are instructions on how to setup a binary as a linux service. For additional systemd commands, see this: SystemCtl Usage Service Creation Here are steps to run a binary as a linux service. Create a systemd unit file for the service by generating a fi...
UFW and Docker
When running containers in Docker, you will come across the need for a container to gain access to a resource on the host.If you have UFW firewall enabled, you will need to allow ingress from the docker network, running on the host. To identify the docker net...
Permission Denied while Copying SSH Key for New User
When setting up a new host, you will come across the need to copy SSH keys to it. This is easy to do, before disabling password authentication.But, the command line gyrations to copy a public key to a remote host while simultaneously logging into it with a di...
Creating SSH Keys in Linux
Creating an SSH key is straightforward on a linux client, using this command: ssh-keygen By default recent versions of ssh-keygen will create a 3072-bit RSA key pair, which is secure enough for most use cases (you may optionally pass in the -b 4096 flag to c...