update: matt installation guide fixes

This commit is contained in:
ngn 2024-08-25 23:29:24 +03:00
parent 5d11ac164f
commit 2e8cbcad23
2 changed files with 11 additions and 16 deletions

View File

@ -83,9 +83,9 @@ After downloading and verifying the archive extract it to the `/mnt` directory:
```
### Package manager configuration
Copy over the `mp` configuration to the new system:
Edit the default `matt` configuration and enable the pools you want to use:
```
# cp /etc/mp/cfg /mnt/etc/mp/cfg
# vim /mnt/etc/matt/config.ini
```
### Change root
@ -122,13 +122,13 @@ into the `/etc/locale.conf` file, for example:
After changing root, you can now start installing other base system packages that are not included in the release archive.
But first thing first, sync all the packages and add the repo public keys:
```
# mp-sync
# matt sync
# gpg --receive-keys F9E70878C2FB389AEC2BA34CA3654DF5AD9F641D
```
Now it is time to install packages. You should install `systemd` and `dhcpcd`:
```
# mp-install systemd dhcpcd
# matt install systemd dhcpcd
```
You should also run this `systemctl` command after installation:
```
@ -161,7 +161,7 @@ Change your root password:
### Installing the kernel
Install the linux kernel with `mp`:
```
# mp-install linux
# matt install linux
```
Verify the installation:
```
@ -171,7 +171,7 @@ Verify the installation:
# Installing GRUB
For the grub BIOS installation, install the `grub-bios` package:
```
# mp-install grub-bios
# matt install grub-bios
```
> **Important**

View File

@ -9,7 +9,7 @@ To make your system more usable, you may want to install and configure extra pac
## Installing OpenSSH
For remote access to your system, you can install OpenSSH server:
```
# mp-install openssh
# matt install openssh
```
You can enable root login, by editing `/etc/ssh/sshd_config`:
```
@ -24,7 +24,7 @@ To add a new user, use the `useradd` command:
You may want to configure `doas` to provide root access to the new user.
To do this, install the `doas` package:
```
# mp-install doas
# matt install doas
```
Then create a group named `wheel` for all the admin users:
```
@ -36,25 +36,20 @@ Add your user to the `wheel` group:
```
Lastly edit the doas confiuration (`/etc/doas.conf`) to give access to the `wheel` group users:
```
# echo "permit keepenv :wheel" > /etc/doas.conf
# echo "permit :wheel" > /etc/doas.conf
```
> **Why keepenv?**
>
> MatterLinux package manager has options such as `MP_YES` that are set with environment
> variables. To make sure that these options work `keepenv` needs to be added to the doas
> confiuration.
## Installing XORG
Xorg can be installed using a simple wrapper package:
```
# mp-install xorg
# matt install xorg
```
Then you can use `startx` to start the `xorg-server`.
## Installing a desktop
To easily install a desktop, you can use the `xcfg` tool:
```
# mp-install xcfg
# matt install xcfg
```
You can then use the tool as a regular user, not that you will need access to the `doas` command
in order to use the tool: