Updating wiki dates, adding the bugs page
This commit is contained in:
@ -2,5 +2,5 @@
|
||||
"id": "install",
|
||||
"title": "Installation",
|
||||
"author": "ngn",
|
||||
"date": "17/01/24"
|
||||
"date": "22/02/24"
|
||||
}
|
||||
|
@ -102,6 +102,22 @@ Link `/etc/localtime` to your localtime zone. Timezones are located under
|
||||
# ln -sf /usr/share/zoneinfo/Europe/Istanbul /etc/localtime
|
||||
```
|
||||
|
||||
### Setup Locales
|
||||
List all the avaliable locales with `locale -a`, then place the locale you want into the
|
||||
`/etc/locale.gen` file with the following format:
|
||||
```
|
||||
full_locale_name UTF-8
|
||||
```
|
||||
For example:
|
||||
```
|
||||
en_US.UTF-8 UTF-8
|
||||
```
|
||||
Then run the `locale-gen` command to generate all the locales. Lastly place the locale of your choice
|
||||
into the `/etc/locale.conf` file, for example:
|
||||
```
|
||||
# echo "LANG=en_US.UTF-8" > /etc/locale.conf
|
||||
```
|
||||
|
||||
|
||||
### Installing Important Packages
|
||||
After changing root, you can now start installing other base system packages that are not included in the release archive.
|
||||
|
@ -2,5 +2,5 @@
|
||||
"id": "post_install",
|
||||
"title": "Post-Installation",
|
||||
"author": "ngn",
|
||||
"date": "19/01/24"
|
||||
"date": "22/01/24"
|
||||
}
|
||||
|
@ -22,9 +22,43 @@ You can enable root login, by editing `/etc/ssh/sshd_config`:
|
||||
PermitRootLogin yes
|
||||
```
|
||||
|
||||
## Adding new users
|
||||
To add a new user, use the `useradd` command:
|
||||
```
|
||||
# useradd -m <username>
|
||||
```
|
||||
You may want to configure `doas` to provide root access to the new user.
|
||||
To do this, install the `doas` package:
|
||||
```
|
||||
# mp-install doas
|
||||
```
|
||||
Then create a group named `wheel` for all the admin users:
|
||||
```
|
||||
# groupadd wheel
|
||||
```
|
||||
Add your user to the `wheel` group:
|
||||
```
|
||||
# usermod -aG wheel <username>
|
||||
```
|
||||
Lastly edit the doas confiuration (`/etc/doas.conf`) to give access to the `wheel` group users:
|
||||
```
|
||||
# echo "permit keepenv :wheel" > /etc/doas.conf
|
||||
```
|
||||
|
||||
## Installing XORG
|
||||
Xorg can be installed using a simple wrapper package:
|
||||
```
|
||||
# mp-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
|
||||
```
|
||||
You can then use the tool as a regular user, not that you will need access to the `doas` (or `sudo`) command
|
||||
in order to use the tool:
|
||||
```
|
||||
$ xcfg
|
||||
```
|
||||
|
Reference in New Issue
Block a user