til/install-archlinux.md

110 lines
3.2 KiB
Markdown
Raw Normal View History

2020-02-02 04:02:43 +00:00
# Install Archlinux
Install Archlinux is thing I always want to do for my laptop/PC since I had my laptop in ninth grade.
This is not a guide for everyone, this is just save for myself in a future and for anyone who want to taste a bit.
2020-02-24 15:33:09 +00:00
Assume your laptop/PC is UEFI-capable.
2020-03-13 04:04:51 +00:00
## [Installation guide](https://wiki.archlinux.org/index.php/Installation_guide)
2020-02-02 04:02:43 +00:00
2020-03-13 04:04:51 +00:00
First [USB flash installation media](https://wiki.archlinux.org/index.php/USB_flash_installation_media).
2020-02-02 04:02:43 +00:00
2020-03-13 04:04:51 +00:00
### Connect to the internet
2020-02-02 04:02:43 +00:00
2020-02-24 15:33:09 +00:00
Enable wifi with `wifi-menu`.
2020-02-02 04:02:43 +00:00
2020-03-13 04:04:51 +00:00
### Partition the disks
2020-02-02 04:02:43 +00:00
2020-03-13 04:04:51 +00:00
Identify:
2020-02-02 04:02:43 +00:00
2020-03-13 04:04:51 +00:00
```sh
lsblk
```
Partition:
```sh
cfdisk
```
| Mount point | Partition type | Suggested size |
| ----------- | --------------------------------------------------------------------------------- | -------------- |
| /mnt/boot | [EFI system partition](https://wiki.archlinux.org/index.php/EFI_system_partition) | 1 GiB |
| /mnt | Linux | |
| /mnt/home | Linux |
### Boot loader
[systemd-boot](https://wiki.archlinux.org/index.php/Systemd-boot)
## [General recommendations](https://wiki.archlinux.org/index.php/General_recommendations)
2020-02-02 04:02:43 +00:00
2020-02-23 17:54:34 +00:00
Always remember to check dependencies when install packages.
2020-03-13 04:04:51 +00:00
### System administration
2020-02-23 17:54:34 +00:00
Read [Users and groups](https://wiki.archlinux.org/index.php/Users_and_groups):
- Add user with [Zsh](https://wiki.archlinux.org/index.php/Zsh) shell.
- Set password.
- Enable [Sudo](https://wiki.archlinux.org/index.php/Sudo#Using_visudo) access.
2020-02-02 04:02:43 +00:00
2020-03-13 04:04:51 +00:00
### Graphical user interface
2020-02-02 04:02:43 +00:00
2020-03-13 04:04:51 +00:00
Display server: [Xorg](https://wiki.archlinux.org/index.php/Xorg).
2020-02-02 04:02:43 +00:00
2020-03-13 04:04:51 +00:00
Desktop environments: [GNOME](https://wiki.archlinux.org/index.php/GNOME).
2020-02-02 04:02:43 +00:00
2020-03-13 04:04:51 +00:00
Display manager: [GDM](https://wiki.archlinux.org/index.php/GDM), start/enable service:
2020-02-02 04:02:43 +00:00
2020-03-13 04:04:51 +00:00
```sh
systemctl start gdm.service
systemctl enable gdm.service
```
### Networking
Network configuration: [NetworkManager](https://wiki.archlinux.org/index.php/NetworkManager), start/enable service:
```sh
systemctl start NetworkManager.service
2020-02-02 04:02:43 +00:00
2020-03-13 04:04:51 +00:00
systemctl enable NetworkManager.service
```
Clock synchronization: [systemd-timesyncd](https://wiki.archlinux.org/index.php/Systemd-timesyncd):
```sh
timedatectl set-ntp true
```
### Optimization
Read [Solid state drive](https://wiki.archlinux.org/index.php/Solid_state_drive).
Read [Improving performance](https://wiki.archlinux.org/index.php/Improving_performance).
2020-02-02 04:02:43 +00:00
Read [Watchdogs](https://wiki.archlinux.org/index.php/Improving_performance#Watchdogs).
2020-03-13 04:04:51 +00:00
2020-02-02 04:02:43 +00:00
Read [Staggered spin-up](https://wiki.archlinux.org/index.php/Improving_performance/Boot_process#Staggered_spin-up).
2020-03-13 04:04:51 +00:00
2020-02-02 04:02:43 +00:00
Read [Silent boot](https://wiki.archlinux.org/index.php/Silent_boot).
2020-03-13 04:04:51 +00:00
### Appearance
2020-02-02 04:02:43 +00:00
2020-03-13 04:04:51 +00:00
Read [Fonts](https://wiki.archlinux.org/index.php/Fonts).
2020-02-04 13:19:22 +00:00
2020-03-13 04:04:51 +00:00
### Misc
2020-03-13 04:17:05 +00:00
[systemd-swap](https://wiki.archlinux.org/index.php/Swap#systemd-swap)
[systemd/Journal](https://wiki.archlinux.org/index.php/Systemd/Journal)
2020-03-13 04:04:51 +00:00
## [List of applications](https://wiki.archlinux.org/index.php/List_of_applications)
## In the end
2020-02-04 13:19:22 +00:00
2020-03-13 04:04:51 +00:00
This is it. Future update is coming if I feel something need to be changed or I get boring and change my taste :)