Skip to content

Instantly share code, notes, and snippets.

@anhtran
anhtran / deb9.sh
Last active January 5, 2024 06:25
To setup a Debian 10, 11, 12 server from scratch for Python apps, Go apps (this guide may also work with Debian 8 Jessie, Debian 9 Stretch)
#!/bin/bash
# most of commands should be run with root or sudo
# may add -y flag to ignore comfirmation messages
# adjust files as your demand
# may fix locale issues
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8