From 9abf58ed2a1f01e19d14d037cce80103fd20f083 Mon Sep 17 00:00:00 2001 From: AntoXa PRO Date: Tue, 9 Jan 2024 16:27:16 +0300 Subject: [PATCH] test --- arch-install.md | 2 +- arch-post-install.md | 0 criptsetup.md | 0 dwm.md | 8 ++++++++ letsencrypt.md | 0 pass.md | 0 qemu.md | 39 +++++++++++++++++++++++++++++++++++++++ st.md | 8 ++++++++ touchpad.md | 0 wireguard.md | 0 xorg.md | 7 +++++++ 11 files changed, 63 insertions(+), 1 deletion(-) mode change 100644 => 100755 arch-install.md mode change 100644 => 100755 arch-post-install.md mode change 100644 => 100755 criptsetup.md create mode 100755 dwm.md mode change 100644 => 100755 letsencrypt.md mode change 100644 => 100755 pass.md create mode 100755 qemu.md create mode 100755 st.md mode change 100644 => 100755 touchpad.md mode change 100644 => 100755 wireguard.md create mode 100755 xorg.md diff --git a/arch-install.md b/arch-install.md old mode 100644 new mode 100755 index c398a97..4009616 --- a/arch-install.md +++ b/arch-install.md @@ -110,7 +110,7 @@ reflector -c Russia -c Belarus -a 5 --sort rate --save /etc/pacman.d/mirrorlist ### Install base packages ~~~ -pacstrap /mnt base linux linux-firmware base-devel btrf-progs dhcpcd iwd vim terminus-font +pacstrap /mnt base linux linux-firmware base-devel btrfs-progs dhcpcd iwd vim terminus-font ~~~ ### Generating a partition mount file diff --git a/arch-post-install.md b/arch-post-install.md old mode 100644 new mode 100755 diff --git a/criptsetup.md b/criptsetup.md old mode 100644 new mode 100755 diff --git a/dwm.md b/dwm.md new file mode 100755 index 0000000..8bb584a --- /dev/null +++ b/dwm.md @@ -0,0 +1,8 @@ +# Install. + +~~~ +cd /opt +sudo git clone https://git.suckless.org/dwm +cd dwm +sudo make clean install +~~~ diff --git a/letsencrypt.md b/letsencrypt.md old mode 100644 new mode 100755 diff --git a/pass.md b/pass.md old mode 100644 new mode 100755 diff --git a/qemu.md b/qemu.md new file mode 100755 index 0000000..4187352 --- /dev/null +++ b/qemu.md @@ -0,0 +1,39 @@ +# QEMU + +## Install libs. + +~~~ +sudo pacman -S qemu-full virt-manager libvirt +~~~ + +## Configure libvirt. +~~~ + +sudo virsh -c qemu:///system net-autostart default +# or sudo virsh net-start default +~~~ + +## Create virtual disk. +~~~ + +qemu-img create -f qcow2 /path/virtual/disk.qcow 100G +~~~ + +## Install img. +~~~ + +qemu-system-x86_64 -hda /path/virtual/disk.qcow \ + -boot d -cdrom /path/file.iso \ + -enable-kvm \ + -m 4096 \ + -smp 4 + + # -nographic \ + # -virtfs local,path=/path/my/folder,mount_tag=host0,security_model=mapped,id=host0 +~~~ + +## Run virtual. +~~~ + +qemu-system-x86_64 -hda /path/virtual/disk.qcow -m 2048 +~~~ diff --git a/st.md b/st.md new file mode 100755 index 0000000..c790711 --- /dev/null +++ b/st.md @@ -0,0 +1,8 @@ +# Install. + +~~~ +cd /opt +sudo git clone https://git.suckless.org/st +cd st +sudo make clean install +~~~ diff --git a/touchpad.md b/touchpad.md old mode 100644 new mode 100755 diff --git a/wireguard.md b/wireguard.md old mode 100644 new mode 100755 diff --git a/xorg.md b/xorg.md new file mode 100755 index 0000000..3c8c00e --- /dev/null +++ b/xorg.md @@ -0,0 +1,7 @@ +# Install. + +~~~ +pacman -S xorg-server xorg-xinit libx11 libxinerama libxft webkit2gtk +vim .xinitrc +> exec dwm +~~~