View difference between Paste ID: B6MHLCvW and wkcbLjMh
SHOW: | | - or go back to the newest paste.
1
+---------------------------------------------------+
2
|Instalaçao arch linux com interface grafica gnome3 |
3
+---------------------------------------------------+
4
|By:Phacker_fredom_br raidCall id=7548174           |
5
|https://www.facebook.com/groups/632708736750749/   |
6
+===================================================+
7
 siga os passo  exatamente asim 
8
9
 #loadKeys br-abnt2  // configura  o teclado 
10
 #cfdisk // ou #fdisk /dev/sda
11
 crie duas partiçoes logicas sendo uma swap type(82) e a outra linux type (83)
12
 formate a partisao sda5 
13
 #mkfs.ext4 /dev/sda5  //formta  para ext4
14
 ative a swap 
15
 #mkswap /dev/sda6 && swapon /dev/sda6
16
#mount /dev/sda5 /mnt
17
 #pacstrap /mnt base base-devel   
18
 #genfstab -U -p /mnt >> /mnt/etc/fstab 
19
 #arch-chroot /mnt 
20
 #echo archlinux > /etc/hostname
21
 #loadkeys br-abnt2   //configure denovo
22
 #nano /etc/locale.gen remova o comentario(#=comentario) da linha pt_BR.utf8 e utf-8 e ptbr iso-8859-1
23
 #locale-gen 
24
 #ln -s /usr/share/zoneinfo/America/Sao_Paulo/etc/localtime
25
 #mkinitcpio -p linux
26
 #pacman -S grub-bios
27
 #modprobe dm-mod
28
 #grub-install --target=i386-pc --recheck --debug /dev/sda
29
 #mkdir -p /boot/grub/locale
30
 #cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
31
 #pacman -S os-prober este comando e principal pa reconhecer outro sirtema no grub
32
 #grub-mkconfig -o /boot/grub/grub.cfg  
33
 #passwd >>>>>>>> e digite senha de root
34
 exit pa sair do chmod e #reboot
35
 #dhcpcd pa liga a net
36
 #useradd -m -G audio,dbus,lp,network,optical,power,storage,users,video,whell -s /bin/bash nomeuser
37
 para video da intel pacman -S xf86-video-intel escolha opsao defaut
38
 #pacman -S gdm gnome-extra gnome-tweak-tool
39
 #systemctl enable gdm.service faz umas duas veses pa garantir kkk
40
 #systemctl enable NetworkManager
41
 #localectl set-locale LANG="pt_BR.utf8"
42
43
 configurando teclado para nao presisar rodar loadkeys br-abnt   toda ves que logar 
44
45
#setxkbmap -model abnt2 -layout br -variant abnt2 
46
# nano /etc/X11/xorg.conf.d/10-evdev.conf 
47
acresente esta seçao
48
Section “InputClass”
49
    Identifier “evdev keyboard catchall”
50
    MatchIsKeyboard “on”
51
    MatchDevicePath “/dev/input/event*”
52
    Driver “evdev”
53
    Option “XkbLayout” “br”
54
    Option “XkbVariant” “abnt2"
55
EndSection
56
 -------------------------------------------
57
  repositorio blackarch
58
 
59
baixe instale o wget  ==> pacman -S wget  
60
61
como root
62
#wget -q http://blackarch.org/keyring/blackarch-keyring.pkg.tar.xz{,.sig}
63
#gpg --keyserver hkp://pgp.mit.edu --recv 4345771566D76038C7FEB43863EC0ADBEA87E4E3
64
#gpg --keyserver-o no-auto-key-retrieve --with-f blackarch-keyring.pkg.tar.xz.sig
65
#pacman-key --init
66
#rm blackarch-keyring.pkg.tar.xz.sig
67
#pacman --noc -U blackarch-keyring.pkg.tar.xz
68
69
 etite o arquivo  /etc/pacman.conf 
70
 #nano /etc/pacman.conf 
71
adcione  isto  
72
 no pacman.conf
73
[blackarch]
74
Server = http://mirror.jmu.edu/blackarch//$repo/os/$arch  //  vc pode   escolher   seuservidor  repositorio preferido
75
  lista de servidores  para o repositorio  
76
http://blackarch.org/download.html#mirrors
77
#pacman -Syyu
78
#pacman -S blackarch  // isntalçao ferramentas