Sunday, November 17, 2013

Configurando Arch Linux

Configurando o ArchLinux para desktop





Meu desktop atual no Archlinux



Instalação do archlinux

fdisk /dev/sda
o
n
p
enter
enter
mkfs.btrfs /dev/sda1
mount -o compress=lzo /dev/sda1 /mnt
pacstrap /mnt base base-devel grub ntfs-3g os-prober net-tools xfce4 xorg hdparm smartmontools reflector
genfstab /mnt >> /mnt/etc/fstab
arch-chroot /mnt
grub-mkconfig -o /boot/grub/grub.cfg
grub-install /dev/sda
ctrl+d
reboot
#gerar lista de mirrors otimizada
#reflector -l 50 -f 50 --verbose -c Brazil --save /etc/pacman.d/mirrorlist
pacman -S net-tools  kdebase xorg btrfs-progs
pacman -S xorg-xinit xterm lxdm mc networkmanager network-manager-applet
systemctl enable NetworkManager
systemctl enable lxdm
hdparm -tT /dev/sda
partx -a /dev/sda
reboot
pacman -S firefox flashplugin icedtea-web-java7
testar no firefox
http://www.bb.com.br
http://www.caixa.gov.br
pacman -S gedit base-devel gnome-disk-utility gkrellm chromium openssh
yaourt --noconfirm --needed --force -S aur/mkinitcpio-btrfs
#remove pacote mazelado
pacman -R openresolv
#configura idioma e teclado
localectl set-locale LANG=pt_BR.utf8
localectl set-keymap br-abnt
localectl set-x11-keymap br
#desligar/remove pacote fcitx ; senão o teclado fica sem inglês