Last active
April 24, 2020 00:32
-
-
Save YuriFontella/ab24744d84208ccc509727a6822d48c2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ## CONFIGURAÇÃO | |
| touch /etc/hostname | |
| echo "emcasadormindo" > /etc/hostname | |
| sed -i -- 's/#pt_BR.UTF-8 UTF-8/pt_BR.UTF-8 UTF-8/g' /etc/locale.gen | |
| sed -i -- 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' /etc/locale.gen | |
| locale-gen | |
| touch /etc/locale.conf | |
| cat <<EOF > /etc/locale.conf | |
| LANG=pt_BR.UTF-8 | |
| LANGUAGE=pt_BR | |
| EOF | |
| ln -s /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime | |
| hwclock --utc --systohc | |
| timedatectl set-ntp true | |
| # DESKTOP | |
| pacman -S plasma-desktop plasma-meta sddm sddm-kcm dolphin konsole ark gwenview xdg-user-dirs | |
| # SERVIÇOS | |
| systemctl enable sddm | |
| systemctl enable NetworkManager | |
| # GRUB | |
| pacman -S grub | |
| grub-install /dev/sda | |
| grub-mkconfig -o /boot/grub/grub.cfg | |
| # USUÁRIO | |
| useradd -m -g users -G wheel,storage,power,video -s /bin/bash yuri | |
| echo -e "yuri\nyuri" | passwd yuri |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment