Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. arch wiki
  2. arch home repository
  3. wiki.archlinux.org
  4. aur.archlinux.org
  5.  
  6.  
  7. fdisk -l
  8. cfdisk /dev/sda → dos
  9. 3 partitions
  10. 1G Biitabke
  11. 2G type linux swap
  12. 10G primary
  13.  
  14. mkfs.ext4 /dev/sda1
  15. mkswap /dev/sda2
  16. swapon /dev/sda2
  17. mkfs.ext4 /dev/sda3
  18.  
  19. mount /dev/sda3 /mnt
  20. mkdir /mnt/boot /mnt/var /mnt/home
  21. mount /dev/sda1 /mnt/boot
  22.  
  23. ping -c 3 www.google.com
  24. pacstrap /mnt base base-devel
  25.  
  26. pacman -Syu
  27. pacstrap /mnt grub-bios
  28.  
  29. genfstab -p /mnt >> /mnt/etc/fstab
  30.  
  31. arch-chroot /mnt /bin/bash
  32.  
  33. nano /etc/locale.gen
  34. uncomment en_US.UTF-8 UTF-8
  35.  
  36. locale-gen
  37. echo LANG=en_US.UTF-8 > /etc/locale.conf
  38. #genfstab -p /mnt >> /mnt/etc/fstab
  39. export LANG=en_US.UTF-8
  40.  
  41. rm /etc/localtime
  42. ln -s /usr/share/zoneinfo/Europe/Copenhagen /etc/localtime
  43. hwclock --systohc --utc
  44.  
  45. echo hostname > /etc/hostname
  46.  
  47. systemctl enable dhcpcd.service
  48. pacman -S openssh
  49.  
  50. systemctl enable sshd.service
  51.  
  52. passwd root
  53.  
  54. useradd -m -g users -G wheel -s /bin/bash john
  55.  
  56. -m = createhomedir
  57. -g primary group
  58. -G supplementary groups
  59.  
  60.  
  61.  
  62. passwd john
  63.  
  64. nano /etc/sudoers
  65. john ALL(ALL) ALL
  66.  
  67. grub-install /dev/sda
  68. grub-mkconfig -o /boot/grub/grub.cfg
  69.  
  70. mkinitcpio -p linux
  71.  
  72. exit
  73. umount /mnt/boot
  74. umount /mnt
  75. reboot
  76.  
  77. --------------------------------------------------------------------------------------------------------
  78.  
  79. ping -c 3 www.google.com
  80. pacman -Syu
  81. pacman -Sy xorg xterm xorg-twm xorg-xinit xorg-server-utils
  82. *Note: error: target not found: xorg-server-utils
  83. http://puu.sh/xhlpc/e9e03ff85c.png
  84.  
  85. pacman -Rns xorg-server-utils
  86. pacman -S xorg-apps
  87. *Note: The Xorg applications provide the expected applications available in previous X Window implementations.
  88. *Note: error:target not found: xorg-server-utils
  89.  
  90.  
  91.  
  92. pacman -Sy xorg xterm xorg-twm xorg-xinit xorg-apps
  93. *Note: replacing xorg-server-utils with xorg-apps works like a charm all dependencies present
  94.  
  95.  
  96.  
  97. pacman -Syyu
  98. pacman -Sy gnome gnome-extra gnome-tweak-tool
  99. pacman -Sy firefox qt4 vlc gimp libreoffice flashplugin
  100. pacman -Sy archlinux-wallpaper
  101.  
  102. systemctl enable gdm.service
  103. reboot
  104.  
  105. --------------------------------------------------------------------------------------------------------
  106.  
  107. pacman -Syyu
  108.  
  109. pacman -Sy net-tools gtkmm
  110. pacman -Sy open-vm-tools
  111. pacman -Sy xf86-video-vmware
  112. pacman -Sy xf86-input-vmmouse
  113.  
  114. systemctl enable vmtoolsd.service
  115.  
  116. reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement