Skip to content

Instantly share code, notes, and snippets.

@opslocs
Last active July 9, 2023 11:46
Show Gist options
  • Save opslocs/0873191df7f3c968c2184bf0dc4f0ddc to your computer and use it in GitHub Desktop.
Save opslocs/0873191df7f3c968c2184bf0dc4f0ddc to your computer and use it in GitHub Desktop.
Linux Start
cd $HOME
curl https://gist.githubusercontent.com/opslocs/0873191df7f3c968c2184bf0dc4f0ddc/raw/01_new-system-basics.sh | bash
curl https://gist.githubusercontent.com/opslocs/0873191df7f3c968c2184bf0dc4f0ddc/raw/02_bash-basics.sh | bash
curl https://gist.githubusercontent.com/opslocs/0873191df7f3c968c2184bf0dc4f0ddc/raw/04_basic_installs.sh | bash
# Linux updaten
sudo apt update -y
sudo apt upgrade -y
sudo apt dist-upgrade -y
sudo apt autoremove -y
sudo apt autoclean -y
# Wichtige Repos ziehen
# ... TODO
# Linux updaten ???
sudo apt update -y
sudo apt upgrade -y
sudo apt dist-upgrade -y
sudo apt autoremove -y
sudo apt autoclean -y
# Firmware updates ziehen
sudo fwupdmgr get-devices -y
sudo fwupdmgr get-updates -y
sudo fwupdmgr update -y
# Tastaturlayout (Neo 2 QWERTZ) einstellen
sudo localectl --no-convert set-x11-keymap de pc105 neo_qwertz
wget "https://neo-layout.org/download/XCompose" -O ~/.XCompose
# Tastatur für allte Terminals
sudo mkdir -p /usr/share/keymaps
wget "https://neo-layout.org/download/console.tar.xz" -O - | \
sudo tar -C /usr/share/keymaps/ -xJ
echo "KMAP=/usr/share/keymaps/neo/neoqwertz.map" | \
sudo tee -a /etc/default/keyboard
sudo setupcon
# Microcode für CPU installieren
# amd64-microcode
sudo apt -y install intel-microcode
# create important directorys
mkdir $HOME/bin
mkdir $HOME/.local/bin
# sehr grundlegende Sachen hinzufügen
sudo apt -y install git curl vim
# Einmal neu starten, damit die Einstellungen übernommen werden! + Einstellungen in Grub übernehmen
sudo update-initramfs -u -k all
sudo reboot
# Download files
cd $HOME
curl https://gist.githubusercontent.com/opslocs/089966a9eb8c7e30d23741b887258902/raw/.profile | bash
curl https://gist.githubusercontent.com/opslocs/089966a9eb8c7e30d23741b887258902/raw/.bashrc | bash
curl https://gist.githubusercontent.com/opslocs/089966a9eb8c7e30d23741b887258902/raw/.bash_aliases | bash
curl https://gist.githubusercontent.com/opslocs/089966a9eb8c7e30d23741b887258902/raw/.bash_logout | bash
# Pakage-Manger
sudo apt -y install apt-file apt-show-versions apt-utils aptitude check-dfsg-status fwupdmgr
# Dev-Essentials
sudo aptitude -y install install make build-essential
# Other
sudo aptitude -y install cryptsetup firmware-misc-nonfree gnupg htop keychain lm-sensors ncdu rsync
# Terminal-Tools
sudo aptitude -y install command-not-found shellcheck tmux tree unzip whois plocate
# Xorg
# sudo aptitude -y install xorg xbacklight xbindkeys xvkbd xinit xinput xserver-xorg-input-all xterm
# Basic Desktop
sudo aptitude install alsa-utils

Start Up of DebianComputer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment