Debootstrap-script/chroot-commands.sh

31 lines
639 B
Bash
Raw Permalink Normal View History

apt-get update
2024-03-30 02:24:50 -04:00
ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
hwclock --systohc
apt-get install -y locales
cat "en_US.UTF-8 UTF-8" >/etc/locale.gen
locale-gen
cat "LANG=en_US.UTF-8" >/etc/locale.conf
apt-get install -y network-manager
systemctl enable NetworkManager
apt-get install -y vim openssh-server
systemctl enable sshd
apt-get install -y sudo
echo "change passwd for root:"
passwd
echo "add user: wyj"
useradd -m wyj
echo "change passwd for wyj:"
passwd wyj
usermod -aG sudo wyj
apt-get install -y intel-microcode btrfs-progs
apt-get install -y firmware-linux linux-image-amd64 systemd-boot
bootctl install
exit