1. Internet Config
$ iwctl
# station wlan0 get-networks
# station wlan0 connect [SSID]
# exit
$ ping -c 4 google.com
$ timedatectl set-ntp true
$ timedatectl set-local-rtc 1 --adjust-system-clock
2. Disks
a) Partitioning
# lsblk
# fdisk /dev/nvme0n1
g
n
b) formatting
# mkfs.fat -F32 /dev/nvme0n1p1
# mkfs.ext4 /dev/nvme0n1p3 -- root directory
# mkswap /dev/nvme0n1p4
# swapon /dev/nvme0n1p4
c) mounting
# mount /dev/snvme0n1p3 /mnt
# mkdir /mnt/boot
# mkdir /mnt/boot/efi
# mount /dev/nvme0n1p1/mnt/boot/efi
# lsblk
3. Base Install
# pacstrap /mnt base base-devel git linux linux-headers linux-firmware networkmanager wireless_tools wpa_supplicant bluez bluez-utils vim
4. FSTAB file
# genfstab -U /mnt >> /mnt/etc/fstab
5. Enter Install
# arch-chroot /mnt
6. Time Zone
# ln -s /usr/share/zoneinfo/Asia/Seoul /etc/localtime
# hwclock --systohc
7. Locales
# ln -s /usr/bin/vim /usr/bin/vi
# vi /etc/locale.gen
en_US.UTF-8 주석 제거
ko_KR.UTF-8 주석 제거
# locale-gen
# echo "LANG=en_US.UTF-8" > /etc/locale.conf
8. Hostname
# echo "[host명]" > /etc/hostname
9. Hosts file
# vi /etc/hosts
127.0.0.1 localhost
::1 localhost
127.0.1.1 [host명].localdomain [host명]
10. Root Password
# passwd
11. Boot Loader
# pacman -S grub efibootmgr os-prober mtools dosfstools ntfs-3g
# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Arch_Linux
# grub-mkconfig -o /boot/grub/grub.cfg
12. Exit Install
# exit
13. Unmount
# umount -a
14. Reboot
15. Activate Internet
# systemctl enable --now NetworkManager
# nmtui // 와이파이 인터넷 연결
# systemctl enable --now bluetooth
16. New User
# useradd -m -G wheel,audio,video,lp,network,power,rfkill,users,storage [계정id]
# passwd [계정id]
# visudo
%wheel ALL=(ALL:ALL) ALL // 주석제거
# echo "set clipboard=unnamedplus" > /home/[계정id]/.vimrc
# echo "set clipboard=unnamedplus" > /root/.vimrc
# echo "[계정id] ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/sudoers
17. install yay
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
cd ..
rm -fr yay
18. install Hangul
# pacman -S --needed noto-fonts-cjk adobe-source-han-sans-kr-fonts adobe-source-han-serif-kr-fonts
$ yay --noconfirm ttf-d2coding
$ yay --noconfirm sublime-text
19. Install GoogleChrome
$ yay --noconfirm google-chrome
20. Graphic Driver
# pacman -S xf86-video-amdgpu // GPU가 intel이면 xf86-video-intel, nvidia이면 삽질을 많이하여야 하므로 생략
21. Display Server
# pacman -S --needed gdm
# pacman -S --needed xorg-xwayland xorg-xlsclients glfw-wayland
# pacman -S --needed gnome gnome-tweaks gnome-terminal papirus-icon-theme xdg-user-dirs-gtk fwupd
$ yay --noconfirm bibata-cursor-theme
$ yay --noconfirm nordic-darker-theme
22. Extra Tools
# pacman -S --needed firefox filezilla dbeaver nemo file-roller qmmp vlc grub-customizer, ibus-hangul
23. Reboot(Final)
# systemctl enable gdm
# reboot
아래는 zsh 플러그인 설치
$ sudo pacman -S --needed zsh-theme-powerlevel10k
$ echo 'source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme' >>! /home/jtfafa/.zshrc
$ yay -Sy --noconfirm ttf-meslo-nerd-font-powerlevel10k
위에 삽질을 하지 않고 쉽게 설치하려면
https://archlinuxgui.com 에서 필요한 iso 받아서 설치하면 편함.
'리눅스' 카테고리의 다른 글
[Arch Linux] Hyprland 적용 스샷 (0) | 2024.01.01 |
---|---|
[Arch Linux] 그놈쉘확장 Panel Date Format 설치후 포맷변경 (0) | 2023.10.12 |
[Arch Linux] Nemo에서 동영상 섬네일 보이게 하기 (0) | 2023.10.11 |
[Linux 공통] zsh 에 history stimestamp (0) | 2023.09.28 |
[Ubuntu 23.04] Grub-Customizer 설치 (0) | 2023.09.15 |