Formatted files

This commit is contained in:
Kristofers Solo 2023-08-04 20:43:09 +03:00
parent 1c9f312c04
commit 5560624ed4
2 changed files with 48 additions and 48 deletions

View File

@ -48,8 +48,8 @@ timedatectl set-ntp true
### Partition the disks ### Partition the disks
Partition your hard drive with [cfdisk](https://man.archlinux.org/man/cfdisk.8). Partition your hard drive with [cfdisk](https://man.archlinux.org/man/cfdisk.8).\
It can be _sda_, _sdb_, _sdc_, _nvme0n1_ or other drive names. It can be *sda*, *sdb*, *sdc*, *nvme0n1* or other drive names.
```shell ```shell
cfdisk /dev/sdx cfdisk /dev/sdx
@ -59,10 +59,10 @@ Chose `dos` if available.
#### Example layout #### Example layout
- `boot` - 256M * `boot` - 256M
- `swap` - (optional, recommended size is the size of RAM or half of it) * `swap` - (optional, recommended size is the size of RAM or half of it)
- `root` - 30GB (10GB for root in VM will be enough, but on physical hardware 30GB-50GB is recommended) * `root` - 30GB (10GB for root in VM will be enough, but on physical hardware 30GB-50GB is recommended)
- `home` - rest of the drive * `home` - rest of the drive
### Format the partitions ### Format the partitions
@ -88,8 +88,8 @@ swapon /dev/sdx2
#### Flag explanation #### Flag explanation
- `-L, --label` - Mount the partition that has the specified label. * `-L, --label` - Mount the partition that has the specified label.
- `-m, --mkdir` - Allow to make a target directory (mountpoint) if it does not exist yet. * `-m, --mkdir` - Allow to make a target directory (mountpoint) if it does not exist yet.
Mount additional drives/partitions if exist and needed with: Mount additional drives/partitions if exist and needed with:
@ -173,20 +173,20 @@ LANG=en_US.UTF-8
If you want to specify which time, number, etc. formats to use, you can do so using the following variables: If you want to specify which time, number, etc. formats to use, you can do so using the following variables:
- `LANG` * `LANG`
- `LANGUAGE` * `LANGUAGE`
- `LC_ADDRESS` * `LC_ADDRESS`
- `LC_COLLATE` * `LC_COLLATE`
- `LC_CTYPE` * `LC_CTYPE`
- `LC_IDENTIFICATION` * `LC_IDENTIFICATION`
- `LC_MEASUREMENT` * `LC_MEASUREMENT`
- `LC_MESSAGES` * `LC_MESSAGES`
- `LC_MONETARY` * `LC_MONETARY`
- `LC_NAME` * `LC_NAME`
- `LC_NUMERIC` * `LC_NUMERIC`
- `LC_PAPER` * `LC_PAPER`
- `LC_TELEPHONE` * `LC_TELEPHONE`
- `LC_TIME` * `LC_TIME`
For example: For example:
@ -254,7 +254,7 @@ passwd
### Add user(s) ### Add user(s)
Create a regular user and password. Replace _username_ with your desired username. Create a regular user and password. Replace *username* with your desired username.
```shell ```shell
useradd -mG username wheel useradd -mG username wheel
@ -292,7 +292,7 @@ Include = /etc/pacman.d/mirrorlist
### Network configuration ### Network configuration
Create the [hostname](https://wiki.archlinux.org/title/Network_configuration#Set_the_hostname) file and enter machine name. Create the [hostname](https://wiki.archlinux.org/title/Network_configuration#Set_the_hostname) file and enter machine name.
Replace _myhostname_ with a name that will be seen by other devices on the same network. Replace *myhostname* with a name that will be seen by other devices on the same network.
```shell ```shell
vim /etc/hostname vim /etc/hostname

View File

@ -41,8 +41,8 @@
### Partition the disks ### Partition the disks
Partition your hard drive with [cfdisk](https://man.archlinux.org/man/cfdisk.8). Partition your hard drive with [cfdisk](https://man.archlinux.org/man/cfdisk.8).\
It can be _sda_, _sdb_, _sdc_, _nvme0n1_ or other drive names. It can be *sda*, *sdb*, *sdc*, *nvme0n1* or other drive names.
```shell ```shell
cfdisk /dev/sdx cfdisk /dev/sdx
@ -52,10 +52,10 @@ Chose `dos` if available.
#### Example layout #### Example layout
- `boot` - 256M * `boot` - 256M
- `swap` - (optional, recommended size is the size of RAM or half of it) * `swap` - (optional, recommended size is the size of RAM or half of it)
- `root` - 30GB (10GB for root in VM will be enough, but on physical hardware 30GB-50GB is recommended) * `root` - 30GB (10GB for root in VM will be enough, but on physical hardware 30GB-50GB is recommended)
- `home` - rest of the drive * `home` - rest of the drive
### Format the partitions ### Format the partitions
@ -81,8 +81,8 @@ swapon /dev/sdx2
#### Flag explanation #### Flag explanation
- `-L, --label` - Mount the partition that has the specified label. * `-L, --label` - Mount the partition that has the specified label.
- `-m, --mkdir` - Allow to make a target directory (mountpoint) if it does not exist yet. * `-m, --mkdir` - Allow to make a target directory (mountpoint) if it does not exist yet.
Mount additional drives/partitions if exist and needed with: Mount additional drives/partitions if exist and needed with:
@ -166,20 +166,20 @@ LANG=en_US.UTF-8
If you want to specify which time, number, etc. formats to use, you can do so using the following variables: If you want to specify which time, number, etc. formats to use, you can do so using the following variables:
- `LANG` * `LANG`
- `LANGUAGE` * `LANGUAGE`
- `LC_ADDRESS` * `LC_ADDRESS`
- `LC_COLLATE` * `LC_COLLATE`
- `LC_CTYPE` * `LC_CTYPE`
- `LC_IDENTIFICATION` * `LC_IDENTIFICATION`
- `LC_MEASUREMENT` * `LC_MEASUREMENT`
- `LC_MESSAGES` * `LC_MESSAGES`
- `LC_MONETARY` * `LC_MONETARY`
- `LC_NAME` * `LC_NAME`
- `LC_NUMERIC` * `LC_NUMERIC`
- `LC_PAPER` * `LC_PAPER`
- `LC_TELEPHONE` * `LC_TELEPHONE`
- `LC_TIME` * `LC_TIME`
For example: For example:
@ -247,7 +247,7 @@ passwd
### Add user(s) ### Add user(s)
Create a regular user and password. Replace _username_ with your desired username. Create a regular user and password. Replace *username* with your desired username.
```shell ```shell
useradd -mG username wheel useradd -mG username wheel
@ -314,7 +314,7 @@ Read more about Artix Linux repositories [here](https://wiki.artixlinux.org/Main
### Network configuration ### Network configuration
Create the [hostname](https://wiki.archlinux.org/title/Network_configuration#Set_the_hostname) file and enter machine name. Create the [hostname](https://wiki.archlinux.org/title/Network_configuration#Set_the_hostname) file and enter machine name.
Replace _myhostname_ with a name that will be seen by other devices on the same network. Replace *myhostname* with a name that will be seen by other devices on the same network.
```shell ```shell
vim /etc/hostname vim /etc/hostname