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

11 total results found

sysadmin

server template setup

wsl_config

configs and dotfiles

enterprise linux boilerplate

server template setup

## ## ct deploy for EL ## ## ## install base stuff ## dnf update -y reboot dnf -y install yum-utils #dnf config-manager --set-enabled crb dnf -y install epel-release #/usr/bin/crb enable #dnf repolist | grep epel dnf -y install bind-utils tmux git vim whoi...

initial setup

wsl_config

To install WSL on a windows machine, use Debian, and use WSL2:https://learn.microsoft.com/en-us/windows/wsl/install # install (ubuntu by default) wsl --install specify a distro to install wsl --install -d Debian reboot here list all wsl -l -v set default wsl...

wsl
windows

enabling bridged networking

wsl_config

  https://randombytes.substack.com/p/bridged-networking-under-wsl https://github.com/microsoft/WSL/issues/4150#issuecomment-1018524753 Install Hyper-V manager first, create an external virtual switch.   After that, edit the `.wslconfig` file (https://le...

fixing hostname issues

wsl_config

To change the hostname, the following has to be completed: add the following to `/etc/wsl.conf` [network] hostname = <hostname> generateHosts = false after that, replace all instances of hold hostname in /etc/hosts sudo sed -i "s/ws1-win/ws1-deb/g" /etc...

guest OS setup

wsl_config

default linux stuff sudo su - mkdir /mnt/nfs1 apt -y update apt -y upgrade apt -y dist-upgrade apt -y install software-properties-common apt-add-repository -y non-free non-free-firmware apt-add-repository -y contrib apt -y update apt -y install bind9-utils ...

changing user uid

wsl_config

edit the uid in registry: Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss\{hash_path}\DefaultUid edit the `/etc/passwd` and `/etc/group` files as root grep jgalley /etc/passwd # jgalley:x:42069:42069:,,,:/home/jgalley:/bin/bash ...

tmux

configs and dotfiles

tmux config examples to change the default tmux prefix to Ctrl+a unbind-key C-b set-option -g prefix C-a bind-key C-a send-prefix installing tmux plugin manager make sure xdg config home is set ``` echo 'export XDG_CONFIG_HOME="$HOME/.config"' >> ~/.profile ...