Last active
July 9, 2023 11:46
-
-
Save opslocs/0873191df7f3c968c2184bf0dc4f0ddc to your computer and use it in GitHub Desktop.
Linux Start
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment