From 2e8cbcad23d06d8f4433aa8b36a7aa4fc9940f47 Mon Sep 17 00:00:00 2001 From: ngn Date: Sun, 25 Aug 2024 23:29:24 +0300 Subject: [PATCH] update: matt installation guide fixes --- wiki/install/install.md | 12 ++++++------ wiki/install/post.md | 15 +++++---------- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/wiki/install/install.md b/wiki/install/install.md index 73d0c99..289d4ae 100644 --- a/wiki/install/install.md +++ b/wiki/install/install.md @@ -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** diff --git a/wiki/install/post.md b/wiki/install/post.md index 74f6a91..76fdf25 100644 --- a/wiki/install/post.md +++ b/wiki/install/post.md @@ -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: