1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-19 22:17:45 +02:00

Compare commits

..

No commits in common. "dcfb438f345edbd25e45d744911367544635284f" and "f6c361ac47fb22ba5b87ca10d5c7ff5339d54294" have entirely different histories.

8 changed files with 48 additions and 86 deletions

View File

@ -1,7 +1,7 @@
# Lutris # Lutris
[Lutris](https://lutris.net/) is a free and open source video game platform for [Lutris](https://lutris.net/) is a free and open source video game platform for
[Linux](/wiki/linux/linux.md) systems. Linux systems.
It features compatibility with [GOG](https://www.gog.com/), It features compatibility with [GOG](https://www.gog.com/),
[Humble Bundle](https://humblebundle.com/), [Humble Bundle](https://humblebundle.com/),
[Epic Games](https://www.epicgames.com/), [Steam](/wiki/games/steam.md) and many [Epic Games](https://www.epicgames.com/), [Steam](/wiki/games/steam.md) and many

View File

@ -1,7 +1,6 @@
# Arch Linux # Arch Linux
[Arch Linux](https://archlinux.org/) is a rolling-release, general-purpose [Arch Linux](https://archlinux.org/) is a rolling-release, general-purpose Linux
[Linux](/wiki/linux/linux.md)
distribution. distribution.
Arch Linux uses the [pacman](./package_manager.md) package manager. Arch Linux uses the [pacman](./package_manager.md) package manager.
The Arch User Repositories (AUR) features community-made packages that can be The Arch User Repositories (AUR) features community-made packages that can be

View File

@ -101,18 +101,31 @@ Now the created filesystems will be mounted for the installation.
- `mount /dev/sda1 /mnt/boot` - Mount EFI partition - `mount /dev/sda1 /mnt/boot` - Mount EFI partition
- `swapon /dev/mapper/main-swap` - Mounting swap partition - `swapon /dev/mapper/main-swap` - Mounting swap partition
## 6. Starting base installation ## 6. Prepare base installation (optional)
In this step the country specific mirrorserver for the installation will be configured.
This will improve the download speed.
- `cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak` - Create a backup
of mirrorlist
- `grep -E -A 1 ".*Germany.*$" /etc/pacman.d/mirrorlist.bak | sed '/--/d' > /etc/pacman.d/mirrorlist`
- Example command to only use _German_ mirrors
- `cat /etc/pacman.d/mirrorlist` - Check if the file is to your liking. If it is
not, you can just recover by using `mirrorlist.bak`
## 7. Starting base installation
Now you need a working internet connection. Now you need a working internet connection.
Plug in your lan cable or use `wifi-menu` to get a wireless connection. Plug in your lan cable or use `wifi-menu` to get a wireless connection.
- `pacstrap /mnt base base-devel dosfstools gptfdisk lvm2 linux linux-firmware vim networkmanager ntp` - `pacstrap /mnt base base-devel dosfstools gptfdisk lvm2 linux linux-firmware vim networkmanager`
- Installation of main system with needed tools
- `genfstab -Up /mnt > /mnt/etc/fstab` - creation of fstab - `genfstab -Up /mnt > /mnt/etc/fstab` - creation of fstab
- `arch-chroot /mnt` - Switch into the newly installed system - `arch-chroot /mnt` - Switch into the newly installed system
- `echo ArchLinux > /etc/hostname` - Assign hostname. `ArchLinux` can be changed - `echo ArchLinux > /etc/hostname` - Assign hostname. `ArchLinux` can be changed
for any name of your preference. for any name of your preference.
## 7. Set Region and Language ## 8. Set Region and Language
- `echo LANG=en\_US.UTF-8 > /etc/locale.conf` - Assign system Language to be - `echo LANG=en\_US.UTF-8 > /etc/locale.conf` - Assign system Language to be
english (you can use other languages, look into the `/etc/locale.gen` for a list of all available languages) english (you can use other languages, look into the `/etc/locale.gen` for a list of all available languages)
@ -126,13 +139,14 @@ en_US.UTF-8 UTF-8
- `locale-gen` - Generate languages - `locale-gen` - Generate languages
- `echo KEYMAP=de-latin1-nodeadkeys > /etc/vconsole.conf` - set the keymap - `echo KEYMAP=de-latin1-nodeadkeys > /etc/vconsole.conf` - set the keymap
- `ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime` - set your timezone - `cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime` - set your timezone
(select the first file accordingly to your location) (select the first file accordingly to your location)
- `ntpdate -q 0.de.pool.ntp.org` - sync the time and date with - `date +%Y%m%d -s "<yyyymmdd>"` - set the current date (change
[NTP](/wiki/linux/ntp.md) (note that a german time server is used and values accordingly)
depending on the needs a adjustments should be made) - `date +%T -s "<hh:mm:ss>"` - set the current time (change values accordingly)
- `hwclock -w` - sync the current date and time with the hardware clock
## 8. Configure and create kernel-image ## 9. Configure and create kernel-image
- `vim /etc/mkinitcpio.conf` - `vim /etc/mkinitcpio.conf`
@ -143,10 +157,12 @@ en_US.UTF-8 UTF-8
- `mkinitcpio -p linux` - generate Kernel-Image - `mkinitcpio -p linux` - generate Kernel-Image
## 9. Install and configure UEFI bootloader ## 10. Install and configure UEFI bootloader
- `bootctl install` - Prepare bootloader - `bootctl install` - Prepare bootloader
- `ls -l /dev/disk/by-uuid` - find out the UUID of your root partition - `ls -l /dev/disk/by-uuid` - find out the UUID
- `lsblk -no UUID /dev/sda2 | head -n1 > /boot/loader/entries/arch.conf` - print
the UUID in your configuration file
- `vim /boot/loader/entries/arch.conf` - Create configuration - `vim /boot/loader/entries/arch.conf` - Create configuration
- Change the config to look similar to this: - Change the config to look similar to this:
@ -158,8 +174,8 @@ en_US.UTF-8 UTF-8
options cryptdevice=UUID=<enter your uuid here>:lvm:allow-discards root=/dev/mapper/main-root resume=/dev/mapper/main-swap rw quiet options cryptdevice=UUID=<enter your uuid here>:lvm:allow-discards root=/dev/mapper/main-root resume=/dev/mapper/main-swap rw quiet
``` ```
- `cp /boot/loader/entries/arch.conf /boot/loader/entries/arch-fallback.conf` - - `cp /boot/loader/entries/arch.conf /boot/loader/entries/arch-fallback.conf`
create a fallback - Create a fallback
- `vim /boot/loader/loader.conf` - Create loader configuration - `vim /boot/loader/loader.conf` - Create loader configuration
- Insert the following text - Insert the following text
@ -169,12 +185,12 @@ en_US.UTF-8 UTF-8
default arch default arch
``` ```
## 10. Finishing base installation ## 11. Finishing base installation
- `passwd` - set password for the root account - `passwd` - set password for the root account
- `systemctl enable NetworkManager.service` - `systemctl enable NetworkManager.service`
## 11. Finish the setup ## 12. Finish the setup
- `exit` - exit the installed system - `exit` - exit the installed system
- `umount /mnt/{boot,}` - unmount all partitions - `umount /mnt/{boot,}` - unmount all partitions
@ -185,7 +201,7 @@ en_US.UTF-8 UTF-8
If the system is installed in a virtual environment or a system with deactivated If the system is installed in a virtual environment or a system with deactivated
UEFI, don't forget to enable the EFI option, otherwise the system won't boot. UEFI, don't forget to enable the EFI option, otherwise the system won't boot.
## 12. Further steps and graphical environment ## 13. Further steps and graphical environment
Now you can follow the recommended larbs installation script of this wiki Now you can follow the recommended larbs installation script of this wiki
(`curl -o larbs.sh https://raw.githubusercontent.com/tiyn/larbs/master/larbs.sh`) (`curl -o larbs.sh https://raw.githubusercontent.com/tiyn/larbs/master/larbs.sh`)

View File

@ -1,14 +0,0 @@
# Linux
Linux is a family of open-source operating systems that are based on the kernel
with the same name.
Linux based operating systems are Unix-like.
## Distributions
The different operating systems that are based on the Linux kernel are called
distributions.
- [Arch Linux](/wiki/linux/arch-linux/arch-linux.md) is a rolling-release
distribution whose base system is as minimal and needs heavy user
configuration.

View File

@ -1,26 +0,0 @@
# NTP
[NTP](https://www.rfc-editor.org/rfc/rfc5905) - short for Network Time Protocol
- is the most common method to synchronize the software clock of a
[Linux](/wiki/linux/linux.md) system.
## Setup
NTP can be installed on most distributions by installing the
`ntp` package.
## Usage
The following section describes the usage of the NTP package.
### Synchronize Time once
For one time synchronization of the time and date the `ntpdate` command can be
used.
The following command is an example for a one time sync.
Note that the server has to be changed for different time zones.
In this case a german time server is used.
```sh
ntpdate -q 0.de.pool.ntp.org
```

View File

@ -1,28 +0,0 @@
# Windows
[Windows](https://windows.com/) is an operating system developed by
[Microsoft](https://www.microsoft.com/).
## Telemetry
Windows has a `Windows Compatibility Telemetry` process running in the
background.
To disable it follow this
[guide](https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/permanently-disabling-windows-compatibility/6bf71583-81b0-4a74-ae2e-8fd73305aad1):
- Start the `Task Scheduler`
- In the `Task Scheduler` navigate to the path
`Task Scheduler Library\Microsoft\Windows\Application Experience`
- Look for the `Microsoft Compatibility Appraiser` on the `Application Experience`
folder, right-click it and select `Disable`.
## Make Windows compatible with UTC
Making Windows use UTC can be useful for dual-boot systems.
This can be done by running the following command in the Windows command prompt.
```txt
reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_DWORD /f
```
Disabling of UTC time is done with the same command with a `0` instead of a `1`.

View File

@ -0,0 +1,15 @@
# Windows 10
[Windows 10](https://windows.com/) is an operating system developed by
[Microsoft](https://www.microsoft.com/).
## Telemetry
Windows 10 has a `Windows Compatibility Telemetry` process running in the background.
To disable it follow this [guide](https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/permanently-disabling-windows-compatibility/6bf71583-81b0-4a74-ae2e-8fd73305aad1):
- Start the `Task Scheduler`
- In the `Task Scheduler` navigate to the path
`Task Scheduler Library\Microsoft\Windows\Application Experience`
- Look for the `Microsoft Compatibility Appraiser` on the `Application Experience`
folder, right-click it and select `Disable`.