Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

30 total results found

Linux Network Monitoring

System Administration Linux

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: ...

Networking
Administration
Linux

Git Usage in Ubuntu

HowTo

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...

Administration
ubuntu
git
linux

Allow Remote Debugging of Docker Containers

HowTo

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...

Linux
remote-debug
debugging
docker

Install DotNet 6 on Ubuntu 24.04

HowTo

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...

Linux
.net
deployment
dotnet

Arch Linux VM Setup

HowTo

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...

Administration
infrastructure
Linux

Jenkins Notes and Links

Jenkins

Here are links to Jenkins references. Jenkins User Manual: Jenkins User Handbook Dealing with the Jenkins System Account: Jenkins: Home Profile

Jenkins
infrastructure
.net
dotnet
deployment
programming
angular
angular
Linux

Linux: Impersonating Users

System Administration

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...

Administration
CI/CD
Jenkins
Linux

Jenkins: Home Profile

Jenkins

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...

Jenkins
CI/CD
Linux

Linux Disk Usage

System Administration

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...

infrastructure
Linux
Administration

Dotnet Dev on Linux

.NET

To create a new project at the current folder: dotnet new console --framework net6.0 --use-program-main To run the app: dotnet run  

programming
Linux
dotnet
.net

Kali in VMWare

System Administration

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...

Linux
deployment

SystemCtl Usage

System Administration

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 ...

systemd
Linux
Administration

Ubuntu Service Creation (Systemd)

System Administration

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...

systemd
Administration
Linux

UFW and Docker

System Administration

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...

Administration
Linux
docker

Creating SSH Keys in Linux

System Administration

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...

Linux
Administration
SSH

Linux: Allow User to Skip Sudo Challenge

System Administration

When scripting command line work, you will come across the need to respond to sudo challenges, to execute commands that require elevation, if not running as root. You can choose to pass the user's password as stdinput, using the command line gymnastics at the...

sudo
Linux
Administration

Linux: Shell Appearance

System Administration

If you ever log into a linux host, and the command prompt has only a '$', and there is no scrollable command history, then the shell may not be set to bash. Shell Assignment You can check what shell is assigned to the user with this: getent passwd username ...

Linux
Administration

Managed Host User Setup

System Administration

For hosts that will be managed by Ansible, or some other automated method, the host will need a user account with proper access. Follow these steps to setup the account and access. NOTE: This page assumes that SSH server is setup.And, that the firewall rules...

Linux
deployment
Administration
ansible

Linux: Missing .SSH Folder

System Administration

When creating a new linux user, the system may not create a .ssh folder in the user profile, by default. This creates a little complexity as the permissions are a bit picky. Here are steps to do so. NOTE: Replace 'username' with the target user. Create the...

Linux
Administration

Cleaning up Ansible Temp Folders

HowTo Ansible

As Ansible playbooks run, some will fail to cleanup temp folders on the Ansible server. Since the temp folder for most Ansible jobs is configured as '/home/glwhite/Desktop', this will cause an accumulation of folders in that user's Desktop. The folders are n...

Linux
deployment
Administration
ansible