Skip to content

Instantly share code, notes, and snippets.

@mathben
Last active March 11, 2019 03:41
Show Gist options
  • Save mathben/81ad2a9aa09e01427cf94f9d7c389399 to your computer and use it in GitHub Desktop.
Save mathben/81ad2a9aa09e01427cf94f9d7c389399 to your computer and use it in GitHub Desktop.
Installation server debian machine
apt install htop iotop vim sudo git python3 python3-pip postfix mainutils
adduser user
usermod -aG sudo user
su user
# Guide : https://www.ssh.com/ssh/keygen
ssh-keygen -t ed25519
# Fix problem with git and mailname. Default permission 600
chmod 644 /etc/mailname
# Guide for email configuration
# https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-as-a-send-only-smtp-server-on-debian-9
# Update this file : /etc/postfix/main.cf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment