mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-19 06:07:44 +02:00
Compare commits
5 Commits
f6c361ac47
...
dcfb438f34
Author | SHA1 | Date | |
---|---|---|---|
dcfb438f34 | |||
d8ce5b597d | |||
2011b343dd | |||
4dea98d2c7 | |||
bdc7bdffbf |
@ -1,7 +1,7 @@
|
||||
# Lutris
|
||||
|
||||
[Lutris](https://lutris.net/) is a free and open source video game platform for
|
||||
Linux systems.
|
||||
[Linux](/wiki/linux/linux.md) systems.
|
||||
It features compatibility with [GOG](https://www.gog.com/),
|
||||
[Humble Bundle](https://humblebundle.com/),
|
||||
[Epic Games](https://www.epicgames.com/), [Steam](/wiki/games/steam.md) and many
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Arch Linux
|
||||
|
||||
[Arch Linux](https://archlinux.org/) is a rolling-release, general-purpose Linux
|
||||
[Arch Linux](https://archlinux.org/) is a rolling-release, general-purpose
|
||||
[Linux](/wiki/linux/linux.md)
|
||||
distribution.
|
||||
Arch Linux uses the [pacman](./package_manager.md) package manager.
|
||||
The Arch User Repositories (AUR) features community-made packages that can be
|
||||
|
@ -101,31 +101,18 @@ Now the created filesystems will be mounted for the installation.
|
||||
- `mount /dev/sda1 /mnt/boot` - Mount EFI partition
|
||||
- `swapon /dev/mapper/main-swap` - Mounting swap partition
|
||||
|
||||
## 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
|
||||
## 6. Starting base installation
|
||||
|
||||
Now you need a working internet 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`
|
||||
- Installation of main system with needed tools
|
||||
- `pacstrap /mnt base base-devel dosfstools gptfdisk lvm2 linux linux-firmware vim networkmanager ntp`
|
||||
- `genfstab -Up /mnt > /mnt/etc/fstab` - creation of fstab
|
||||
- `arch-chroot /mnt` - Switch into the newly installed system
|
||||
- `echo ArchLinux > /etc/hostname` - Assign hostname. `ArchLinux` can be changed
|
||||
for any name of your preference.
|
||||
|
||||
## 8. Set Region and Language
|
||||
## 7. Set Region and Language
|
||||
|
||||
- `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)
|
||||
@ -139,14 +126,13 @@ en_US.UTF-8 UTF-8
|
||||
|
||||
- `locale-gen` - Generate languages
|
||||
- `echo KEYMAP=de-latin1-nodeadkeys > /etc/vconsole.conf` - set the keymap
|
||||
- `cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime` - set your timezone
|
||||
- `ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime` - set your timezone
|
||||
(select the first file accordingly to your location)
|
||||
- `date +%Y%m%d -s "<yyyymmdd>"` - set the current date (change
|
||||
values accordingly)
|
||||
- `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
|
||||
- `ntpdate -q 0.de.pool.ntp.org` - sync the time and date with
|
||||
[NTP](/wiki/linux/ntp.md) (note that a german time server is used and
|
||||
depending on the needs a adjustments should be made)
|
||||
|
||||
## 9. Configure and create kernel-image
|
||||
## 8. Configure and create kernel-image
|
||||
|
||||
- `vim /etc/mkinitcpio.conf`
|
||||
|
||||
@ -157,12 +143,10 @@ en_US.UTF-8 UTF-8
|
||||
|
||||
- `mkinitcpio -p linux` - generate Kernel-Image
|
||||
|
||||
## 10. Install and configure UEFI bootloader
|
||||
## 9. Install and configure UEFI bootloader
|
||||
|
||||
- `bootctl install` - Prepare bootloader
|
||||
- `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
|
||||
- `ls -l /dev/disk/by-uuid` - find out the UUID of your root partition
|
||||
- `vim /boot/loader/entries/arch.conf` - Create configuration
|
||||
|
||||
- Change the config to look similar to this:
|
||||
@ -174,8 +158,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
|
||||
```
|
||||
|
||||
- `cp /boot/loader/entries/arch.conf /boot/loader/entries/arch-fallback.conf`
|
||||
- Create a fallback
|
||||
- `cp /boot/loader/entries/arch.conf /boot/loader/entries/arch-fallback.conf` -
|
||||
create a fallback
|
||||
- `vim /boot/loader/loader.conf` - Create loader configuration
|
||||
|
||||
- Insert the following text
|
||||
@ -185,12 +169,12 @@ en_US.UTF-8 UTF-8
|
||||
default arch
|
||||
```
|
||||
|
||||
## 11. Finishing base installation
|
||||
## 10. Finishing base installation
|
||||
|
||||
- `passwd` - set password for the root account
|
||||
- `systemctl enable NetworkManager.service`
|
||||
|
||||
## 12. Finish the setup
|
||||
## 11. Finish the setup
|
||||
|
||||
- `exit` - exit the installed system
|
||||
- `umount /mnt/{boot,}` - unmount all partitions
|
||||
@ -201,7 +185,7 @@ en_US.UTF-8 UTF-8
|
||||
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.
|
||||
|
||||
## 13. Further steps and graphical environment
|
||||
## 12. Further steps and graphical environment
|
||||
|
||||
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`)
|
||||
|
14
wiki/linux/linux.md
Normal file
14
wiki/linux/linux.md
Normal file
@ -0,0 +1,14 @@
|
||||
# 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.
|
26
wiki/linux/ntp.md
Normal file
26
wiki/linux/ntp.md
Normal file
@ -0,0 +1,26 @@
|
||||
# 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
|
||||
```
|
28
wiki/windows/windows.md
Normal file
28
wiki/windows/windows.md
Normal file
@ -0,0 +1,28 @@
|
||||
# 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`.
|
@ -1,15 +0,0 @@
|
||||
# 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`.
|
Loading…
x
Reference in New Issue
Block a user