Last active
December 17, 2018 03:01
-
-
Save miyaokamarina/4d25b3e1ffbfda32e3461c23f6994aca to your computer and use it in GitHub Desktop.
This file contains 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
su | |
mount /dev/sda4 /mnt | |
mkdir /mnt/boot | |
mount /dev/sda2 /mnt/boot | |
mkdir /mnt/boot/efi | |
mount /dev/sda1 /mnt/boot/efi | |
mkdir /mnt/data | |
# | |
echo ' | |
Server = https://mirror.aur.rocks/$repo/os/$arch | |
Server = https://mirror.rol.ru/archlinux/$repo/os/$arch | |
Server = https://mirror.yandex.ru/archlinux/$repo/os/$arch | |
' > /etc/pacman.d/mirrorlist | |
sed -i 's/#TotalDownload/TotalDownload/' /etc/pacman.conf | |
sed -i 's/#Color/Color/' /etc/pacman.conf | |
# | |
pacstrap /mnt base base-devel | |
genfstab -U /mnt >> /mnt/etc/fstab | |
arch-chroot /mnt | |
# | |
ln -sf /usr/share/zoneinfo/Europe/Moscow /etc/localtime | |
sed -i 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen | |
sed -i 's/#ja_JP.UTF-8 UTF-8/ja_JP.UTF-8 UTF-8/' /etc/locale.gen | |
sed -i 's/#ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/' /etc/locale.gen | |
locale-gen | |
echo 'aiko' > /etc/hostname | |
echo ' | |
127.0.0.1 localhost | |
::1 localhost | |
127.0.1.1 aiko.localdomain aiko | |
' > /etc/hosts | |
# | |
mkinitcpio -p linux | |
# | |
nano /etc/pacman.conf | |
# Enable `TotalDownload` | |
# Enable `Color` | |
# Set `SigLevel` to `Never` | |
# Enable `multilib` | |
# Add: | |
# [antergos] | |
# Server = http://repo.antergos.info/$repo/$arch | |
# [archlinuxcn] | |
# Server = https://cdn.repo.archlinuxcn.org/$arch | |
nano /etc/pacman.d/mirrorlist | |
# Generate mirrors for Russia using web interface | |
pacman -S grub efibootmgr intel-ucode | |
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB | |
grub-mkconfig -o /boot/grub/grub.cfg | |
# | |
passwd | |
pacman -S \ | |
\ | |
`# Drivers` \ | |
bumblebee nvidia \ | |
xf86-input-evdev xf86-input-keyboard xf86-input-mouse xf86-input-synaptics \ | |
ntfs-3g sshfs \ | |
\ | |
`# Resources`\ | |
antergos-wallpapers \ | |
kvantum-theme-materia materia-gtk-theme materia-kde \ | |
noto-fonts-cjk noto-fonts-extra otf-fira-code \ | |
papirus-icon-theme \ | |
\ | |
`# KDE`\ | |
plasma \ | |
ark cantata filelight gwenview kdeconnect kdialog konsole krita latte-dock partitionmanager spectacle \ | |
\ | |
`# Non-KDE GUI`\ | |
discord google-chrome mpd peek qbittorrent steam telegram-desktop visual-studio-code-bin \ | |
\ | |
`# Non-KDE CLI` | |
pacman-contrib pkgfile yay \ | |
\ | |
`# Plugins & libs`\ | |
appmenu-qt4 \ | |
dolphin-plugins kcm-wacomtablet plasma5-applets-active-window-control-git \ | |
networkmanager-openvpn pulseaudio-bluetooth \ | |
zsh-completions \ | |
systemctl enable sddm.service | |
systemctl enable bluetooth.service | |
systemctl enable NetworkManager.service | |
useradd -m -G wheel -s /bin/zsh aiko | |
passwd aiko | |
# | |
# Enable `sudo` for `wheel` | |
visudo | |
# | |
nano /etc/fstab | |
# Add /dev/sda5 (Windiows) and `/dev/sdb1` (HDD) | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment