dpkg-reconfigure keyboard-configuration
locale-gen
dpkg-reconfigure locales
vi /etc/default/locale
LANG="en_US.UTF-8"
LANGUAGE="en_US:en"
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=en_US.UTF-8
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES=en_US.UTF-8
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
dpkg-reconfigure tzdata
adduser MyNewUsername
usermod -aG sudo MyNewUsername
https://wiki.debian.org/HowTo/ChangeHostname#Rename_a_computer To go the full way: How to change a cloned GNU/Linux machine's identity
vi /etc/network/interfaces
append:
iface eth0 inet6 dhcp
vi /etc/network/interfaces
:
iface eth0 inet6 dhcp
pre-up /sbin/sysctl -w net.ipv6.conf.eth0.autoconf=0
pre-up /sbin/sysctl -w net.ipv6.conf.eth0.accept_ra=0
visudo
MyNewUsername ALL=NOPASSWD: ALL
passwd -l root
Use Apt-Pinning. APT::Default-Release won't cut it due to packages coming from stable-updates
.
parted /dev/sda
(parted) mkpart primary ext2 0 4000
(parted) set 3 lvm on
(parted) quit
pvcreate /dev/sda3
vgextend vg0 /dev/sda3
lvextend /dev/vg0 -l +100%FREE
resize2fs /dev/vg0