# Download Arch Linux Plasma Pure x64:
https://osdn.net/projects/arch-linux-gui/downloads/77558/archlinux-gui-plasma-pure-2022.07-x86_64.iso/
# Create bootable USB:
Rufus(Windows) or Multi Writer(Linux)
# Install System and boot to Desktop.
After Install - run and update system:
sudo rm -rf /etc/pacman.d/gnupg
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman -Sy archlinux-keyring
# Meybe disable in /etc/pacman.conf
# SigLevel = Never
sudo nano /etc/pacman.conf
# Uncheck #:
[multilib]
Include = /etc/pacman.d/mirrorlist
sudo pacman -Syyu
# Install Nvidia Driver:
sudo pacman -S nvidia nvidia-settings
Check Bus ID:
lspci -k | grep -A 2 -E "(VGA|3D)"
# In this example, my bus id is "3b"
bash -c "echo $(( 16#3b ))"
sudo nano /etc/X11/xorg.conf.d/optimus.conf
# Paste:
Section "Module"
Load "modesetting"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:59:0:0" #You Bus ID(Delete this info on this line).
Option "AllowEmptyInitialConfiguration"
EndSection
sudo nano /etc/modprobe.d/nvidia.conf
# Paste:
blacklist nouveau
blacklist nvidiafb
blacklist rivafb
sudo nano /etc/modprobe.d/nvidia-drm.conf
# Paste:
options nvidia_drm modeset=1
sudo nano /usr/share/sddm/scripts/Xsetup
# Paste:
#!/bin/sh
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
sudo mkinitcpio -P
and
sudo reboot
# Info systemctl leater...
sudo pacman -R openssh
and Yes
sudo systemctl disable sshd
sudo systemctl stop sshd
sudo systemctl disable systemd-networkd
sudo systemctl stop systemd-networkd
sudo systemctl disable systemd-resolved
sudo systemctl stop systemd-resolved
# Firewall:
sudo pacman -S ufw gufw
sudo systemctl enable ufw
sudo systemctl start ufw
Download this profile: https://mega.nz/file/gU1AHYJZ#f-XdMitDmNrd75Gc7ffw1NaAv_-PHmb-JNM9UM9KW2k
# Chmod 600 (locate file and chmod):
sudo chmod 600 firewall.profile
# Import this config and change to firewall.
Install Steam:
sudo pacman -S steam
and CSGO
Some Scripts:
sudo nano rk
# Paste:
sudo rkhunter --propupd
sudo rkhunter --update --check --unlock --versioncheck --enable all --disable none --rwo
sudo rkhunter --propupd
sudo nano un
# Paste:
sudo unhide proc
sudo unhide procall
sudo unhide procfs
sudo unhide quick
sudo unhide reverse
sudo unhide sys
sudo nano en
# Paste:
sudo systemctl enable clamav-daemon
sudo systemctl start clamav-daemon
sudo systemctl enable rtkit-daemon
sudo systemctl start rtkit-daemon
sudo systemctl disable sshd
sudo systemctl stop sshd
sudo systemctl disable systemd-networkd
sudo systemctl stop systemd-networkd
sudo systemctl disable systemd-resolved
sudo systemctl stop systemd-resolved
sudo nano re
# Paste:
#! /bin/sh
for pkg in $(pacman -Q | cut -d' ' -f1); do
pacman -S --noconfirm $pkg
done
sudo nano grub
# Paste:
pacman -S grub efibootmgr os-prober
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Arch_Linux
grub-mkconfig -o /boot/grub/grub.cfg
# Run this script Example:
sudo sh rk
# Edit file (steam - no working) etc. csgo:
sudo nano /etc/NetworkManager/conf.d/unmanaged.conf
# and Paste:
[keyfile]
unmanaged-devices=interface-name:lo