Skip to content

CatalinManolescu/linux-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

set up new linux box

Debian box setup

Additional config:

create user

su
useradd -m -s /bin/bash catalin

install and configure sudo

su
apt install sudo
usermod -aG sudo catalin

enable non-free apps

Edit /etc/apt/sources.list and add non-free to the end of all lines.

set up ssh server

sudo apt install openssh-server

Add ssh key to ~/.ssh/authorized_keys.

Disable SSH password login by setting PasswordAuthentication no in /etc/ssh/sshd_config.

set up ssh key

ssh-keygen -t ed25519 -a 100

the -a option specifies the number of KDF (key derivation function) rounds used. Higher numbers result in slower passphrase verification and increased resistance to brute-force password cracking (should the keys be stolen).

install apps

sudo apt update
sudo apt install \
    apt-transport-https lsb-release \
    ca-certificates gnupg2 dirmngr software-properties-common \
    curl jq nmap rsync joe vim mc tmux git build-essential xml-twig-tools\
    vnstat htop ifmetric lm-sensors bmon tcptrack \
    xclip xsel

install dotfiles

cd ~
git clone [email protected]:CatalinManolescu/dotfiles.git .dotfiles
cd .dotfiles
./install

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published