Advanced Search
Search Results
11 total results found
sysadmin
server template setup
wsl_config
configs and dotfiles
enterprise linux boilerplate
## ## 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
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...
enabling bridged networking
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
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
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
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
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 ...