Setup:
source bootstrap.sh --force
SSH Connections not possible in VPN
# lower the networking mtu if it leads into timeouts
ip link set mtu 1100 eth0
SSH Config Permissions
.ssh directory: 700 (drwx------)
public key (.pub file): 644 (-rw-r--r--)
private key (id_rsa): 600 (-rw-------)
Install GPG-Keys:
gpg --import PATH_TO_GPG_FILE;
gpg --edit-key {KEYID_FROM_IMPORT} trust quit; # Select first 5 and then Y in Dialog
gpg --list-secret-keys --keyid-format LONG; # Check key has state "ultimate" instead of "unknown"
Git Configuration
git config --global user.name "Denis Zunke"
git config --global user.email [email protected]
git config --global user.signingkey KEY_ID_FROM_GPG_LIST
git config --global commit.gpgsign true
git config --global tag.forceSignAnnotated true
Manually write the windows hosts file to wsl hosts file
cat /mnt/c/Windows/System32/drivers/etc/hosts | grep 192.* | sudo tee -a /etc/hosts
Globales Git Ignore
nano ~/.gitignore_global
# Einträge eintragen
git config --global core.excludesfile ~/.gitignore_globalgit config --global credential.helper 'cache --timeout=3600'
# Disable sudo password prompt
sudo -i bash -c "echo \"$USER ALL=(ALL) NOPASSWD: ALL\" >> /etc/sudoers"
# Install Basics and Updates
sudo apt upgrade
sudo apt install make htop unzip
# Install PHP
sudo add-apt-repository ppa:ondrej/php
export PHP_VERSION=8.4
sudo apt install php${PHP_VERSION}-cli php${PHP_VERSION}-intl php${PHP_VERSION}-bcmath php${PHP_VERSION}-curl php${PHP_VERSION}-zip php${PHP_VERSION}-mbstring php${PHP_VERSION}-gd php${PHP_VERSION}-xml php${PHP_VERSION}-amqp
# Install Composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php -r "unlink('composer-setup.php');"
sudo mv composer.phar /usr/bin/composer
sudo chmod +x /usr/bin/composer
# Install Docker
# https://docs.docker.com/engine/install/ubuntu/#install-using-the-convenience-script
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USER
newgrp docker
rm get-docker.sh
docker --version
# Chrome, for Jetbrains IDEA Activation
cd ~
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt --fix-broken install
google-chrome --ozone-platform=wayland
# Jetbrains
curl -fsSL https://raw.githubusercontent.com/nagygergo/jetbrains-toolbox-install/master/jetbrains-toolbox.sh | bash
# Copy Application Files of JetBrains & PHPStorm
sudo ln -s ~/.local/share/applications/jetbrains-toolbox.desktop /usr/share/applications/jetbrains-toolbox.desktop
sudo ln -s ~/.local/share/applications/jetbrains-phpstorm-f2485a63-7ade-499c-afc6-566ed0b6f576.desktop /usr/share/applications/jetbrains-phpstorm.desktop
# Setup NVM, needed to run local mcp servers utilizing npx
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
reload
nvm install --lts
nvm use --lts# Disable sudo password prompt
sudo -i bash -c "echo \"$USER ALL=(ALL) NOPASSWD: ALL\" >> /etc/sudoers"
# Install Basics and Updates
sudo apt upgrade
sudo apt install make htop unzip
# Setup PHP
sudo add-apt-repository ppa:ondrej/php
export PHP_VERSION=8.5
sudo apt install php${PHP_VERSION}-cli php${PHP_VERSION}-intl php${PHP_VERSION}-bcmath php${PHP_VERSION}-curl php${PHP_VERSION}-zip php${PHP_VERSION}-mbstring php${PHP_VERSION}-gd php${PHP_VERSION}-xml php${PHP_VERSION}-amqp php${PHP_VERSION}-pgsql php${PHP_VERSION}-redis
# Install Composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php -r "unlink('composer-setup.php');"
sudo mv composer.phar /usr/bin/composer
sudo chmod +x /usr/bin/Composer
# Install Docker
# https://docs.docker.com/engine/install/ubuntu/#install-using-the-convenience-script
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USER
newgrp docker
rm get-docker.sh
docker --Version
# Setup NVM, needed to run local mcp servers utilizing npx
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
reload
nvm install --lts
nvm use --lts
# Setup Profile
mkdir ~/Development
cd ~/Development
git clone [email protected]:DZunke/dotfiles.git
# --- DO the full dotfiles setup ---
# Github CLI
# https://github.com/cli/cli/blob/trunk/docs/install_linux.md#debian
gh auth login
# Sentry CLI
curl https://cli.sentry.dev/install -fsS | bash
----- AGENT SETUP
# Agent Browser
npm install -g agent-browser
npx skills add https://github.com/vercel-labs/agent-browser --skill agent-browser
# Sentry Skill
$ npx skills add getsentry/sentry-for-ai
# Github CLI Skill
npx skills add https://github.com/github/awesome-copilot --skill gh-cli
# Postgres Skils
npx skills add https://github.com/planetscale/database-skills --skill postgres
npx skills add https://github.com/timescale/pg-aiguide --skill pgvector-semantic-search
# Others
npx skills add https://github.com/github/awesome-copilot --skill excalidraw-diagram-Generator