main
Tran Hau 2020-05-20 02:27:28 +07:00
parent d6ed373d4e
commit 356266e3af
1 changed files with 30 additions and 34 deletions

View File

@ -30,12 +30,6 @@ wifi-menu
### Partition the disks ### Partition the disks
Identify:
```sh
lsblk
```
Partition: Partition:
```sh ```sh
@ -52,14 +46,12 @@ Format:
```sh ```sh
# /boot # /boot
mkfs.fat -F32 /dev/sdxY mkfs.fat -F32 /dev/xxxY
# /, /home
# / and /home
mkfs.ext4 /dev/xxxY
``` ```
Read [EFI system partition](https://wiki.archlinux.org/index.php/EFI_system_partition)
### Boot loader ### Boot loader
[systemd-boot](https://wiki.archlinux.org/index.php/Systemd-boot) [systemd-boot](https://wiki.archlinux.org/index.php/Systemd-boot)
@ -72,46 +64,50 @@ Always remember to check **dependencies** when install packages.
Read [Users and groups](https://wiki.archlinux.org/index.php/Users_and_groups). Read [Users and groups](https://wiki.archlinux.org/index.php/Users_and_groups).
Read [fish](https://wiki.archlinux.org/index.php/fish).
Read [Sudo/Using visudo](https://wiki.archlinux.org/index.php/Sudo#Using_visudo). Read [Sudo/Using visudo](https://wiki.archlinux.org/index.php/Sudo#Using_visudo).
```sh ```sh
useradd -m -G additional_groups -s login_shell username useradd -m -G additional_groups -s login_shell username
``` ```
| abstract | implement | | abstract | implement |
| ------------------- | --------------- | | ------------------- | ----------- |
| `additional_groups` | `wheel` | | `additional_groups` | `wheel` |
| `login_shell` | `/usr/bin/fish` | | `login_shell` | `/bin/bash` |
### Graphical user interface ### Graphical user interface and Networking
Display server: [Xorg](https://wiki.archlinux.org/index.php/Xorg). Install [Xorg](https://wiki.archlinux.org/index.php/Xorg):
Desktop environments: [GNOME](https://wiki.archlinux.org/index.php/GNOME).
Display manager: [GDM](https://wiki.archlinux.org/index.php/GDM), start/enable service:
```sh ```sh
systemctl start gdm.service pacman -Syu xorg-server
systemctl enable gdm.service
``` ```
### Networking Install [GNOME](https://wiki.archlinux.org/index.php/GNOME):
Network configuration: [NetworkManager](https://wiki.archlinux.org/index.php/NetworkManager), start/enable service:
```sh ```sh
systemctl start NetworkManager.service pacman -Syu \
gnome-shell \
gdm \
networkmanager \
gnome-keyring \
gnome-control-center \
gnome-tweak-tool \
nautilus \
xdg-user-dirs-gtk \
gnome-terminal \
gnome-backgrounds \
gnome-screenshot \
```
Enable services:
```sh
systemctl enable gdm.service
systemctl enable NetworkManager.service systemctl enable NetworkManager.service
```
Clock synchronization: [systemd-timesyncd](https://wiki.archlinux.org/index.php/Systemd-timesyncd):
```sh
timedatectl set-ntp true timedatectl set-ntp true
``` ```