Umzug
This commit is contained in:
34
install.sh
Executable file
34
install.sh
Executable file
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/env bash
|
||||
# __ __ _____
|
||||
# / \ / \ / __ \
|
||||
# / /\ \ / /\ \ | |__| | Manuel Prinz (MP)
|
||||
# / / \ \/ / \ \ | ___/
|
||||
# / / \__/ \ \| |
|
||||
# /_/ \_\_|
|
||||
#
|
||||
# Beschreibung: install packages
|
||||
# letzte Änderung: 21.08.2023
|
||||
|
||||
sudo apt update
|
||||
sudo apt install vim vifm htop qemu-guest-agent iputils-ping net-tools --yes
|
||||
|
||||
# start qemu-guest-agent
|
||||
sudo systemctl start qemu-guest-agent
|
||||
|
||||
# enable passwortauthentication for ssh
|
||||
sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config
|
||||
sudo systemctl restart sshd
|
||||
|
||||
# change timezone
|
||||
sudo timedatectl set-timezone Europe/Berlin
|
||||
|
||||
# copy config for vim and vifm
|
||||
cp configs/.vimrc ~/
|
||||
mkdir -p ~/.vim/pack/plugins/start
|
||||
cp -r configs/.vim/* ~/.vim/pack/plugins/start/
|
||||
mkdir -p ~/.config/vifm
|
||||
cp -r configs/vifm/* ~/.config/vifm/
|
||||
|
||||
# change .bashrc
|
||||
sed -i "s/alias ls='ls --color=auto'/alias ls='ls --color=auto --group-directories-first'/g" ~/.bashrc
|
||||
source ~/.bashrc
|
||||
Reference in New Issue
Block a user