-
Notifications
You must be signed in to change notification settings - Fork 0
/
arch_install_normal.sh
36 lines (27 loc) · 1.17 KB
/
arch_install_normal.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
#
# * File : arch_install_normal.sh
# * Author : sunowsir
# * Mail : [email protected]
# * Github : github.com/sunowsir
# * Creation : 2023年08月05日 星期六 15时18分25秒
# pacstrap -K /mnt base linux linux-firmware
# genfstab -U /mnt >> /mnt/etc/fstab
#
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
hwclock --systohc
# /etc/locale.gen
locale-gen
echo "LANG=en_US.UTF-8" > /etc/locale.conf
echo "sun-arch" > /etc/hostname
echo "
127.0.0.1 localhost
::1 localhost
127.0.1.1 sun-arch.localdomain sun-arch
" >> /etc/hosts
mkinitcpio -P
pacman -Syyu
sudo pacman -S networkmanager git zsh wget curl man fzf efibootmgr intel-ucode wayland xorg-xwayland plasma-meta plasma-wayland-session kde-applications-meta plasma-pa plasma-nm kdegraphics-thumbnailers kdeplasma-addons samba kdenetwork-filesharing systemd sddm-kcm kde-gtk-config akonadi kdepim-addons sshfs kdeconnect kscreen colord-kde ttf-dejavu ttf-liberation libappindicator-gtk2 libappindicator-gtk3 gst-libav phonon-qt5-vlc khotkeys dhcpcd sddm
pacman -S akonadi --assume-installed mariadb
systemctl enable NetworkManager
systemctl enable dhcpcd