summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/artix-install.md125
-rw-r--r--public/categories/index.html2
-rw-r--r--public/es/categories/index.html2
-rw-r--r--public/es/index.html2
-rw-r--r--public/es/series/index.html2
-rw-r--r--public/es/tags/index.html2
-rw-r--r--public/index.html2
-rw-r--r--public/ko/categories/index.html2
-rw-r--r--public/ko/index.html2
-rw-r--r--public/ko/series/index.html2
-rw-r--r--public/ko/tags/index.html2
-rw-r--r--public/series/index.html2
-rw-r--r--public/tags/index.html2
-rw-r--r--static/artix-install.md125
14 files changed, 262 insertions, 12 deletions
diff --git a/public/artix-install.md b/public/artix-install.md
new file mode 100644
index 0000000..ed2d467
--- /dev/null
+++ b/public/artix-install.md
@@ -0,0 +1,125 @@
+# wifi wireless connection
+ip a
+ip link set wlan0 up
+rfkill unblock wifi
+ip link set wlan0 up
+connmanctl
+scan wifi
+services
+agent on
+connect wifi_181dea9eaba1_66...
+quit
+
+# UEFI vs legacy
+ls /sys/firmware/efi/efivars
+
+# partition
+lsblk
+fdisk /dev/sdX
+# mkfs.ext4 /dev/sdX1
+# mkfs.exfat /dev/sdX1
+dd if=/dev/urandom of=/dev/sdX2 bs=1M status=progress
+cryptsetup luksFormat /dev/sdX2
+cryptsetup open /dev/sdX2 luks
+mkfs.btrfs /dev/mapper/luks
+mount /dev/mapper/luks /mnt
+mkfs.fat -F32 /dev/sdX1
+mkdir /mnt/boot && mount /dev/sdX1 /mnt/boot # UEFI: mkdir /mnt/boot/efi && mount /dev/sdX1 /mnt/boot/efi
+vi /etc/pacman.d/mirrowlist
+
+# programs
+basestrap -i /mnt base base-devel runit elogind-runit linux linux-firmware grub networkmanager networkmanager-runit cryptsetup lvm2 lvm2-runit neovim vim os-prober
+# UEFI: efibootmgr
+
+# installation
+artix-chroot /mnt bash
+
+# Timezone & Location
+ln -s /usr/share/zoneinfo/Continent/TimeZone /etc/localtime
+hwclock --systohc
+vim /etc/locale.conf
+export LANG="en_US.UTF-8"
+export LC_COLLATE="C"
+vim /etc/locale.gen
+#en_US.UTF-8
+#ko_KR.UTF-8
+locale-gen
+
+# Host
+vim /etc/hostname
+vim /etc/hosts
+127.0.0.1 localhost
+::1 localhost
+127.0.1.1 hostname.localdomin hostname
+
+# Networkmanager
+ln -s /etc/runit/sv/Networkmanager /etc/runit/runsvdir/current
+
+# Password and Users
+passwd
+useradd -G(-g) wheel -m username
+passwd username
+
+# (Optional) auto-login
+vim /etc/runit/sv/agetty-tty1/conf
+--autologin username
+
+# Hook
+vim /etc/mkinitcpio.conf
+HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block 'encrypt' 'lvm2' filesystems fsck)
+mkinitcpio -p linux
+
+# Decryption and Boot
+exit
+lsblk -f >> /mnt/etc/default/grub
+fstabgen -U /mnt >> /mnt/etc/fstab
+artix-chroot /mnt bash
+vim /etc/default/grub
+GRUB_CMDLINE_LINUX_DEFAULT="... cryptdevice=UUID=/dev/sdX2's UUID:luks root=UUID=/dev/mapper/luks's UUID"
+
+# Grub Installation
+grub-install /dev/sdX
+# UEFI: grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
+grub-mkconfig -o /boot/grub/grub.cfg
+
+# (Optional) Check root UUID
+vim /boot/grub/grub.cfg
+# Search 'root=UUID'
+
+# Finish
+exit
+reboot
+detach booting USB
+
+
+=====================
+
+# List nearby Wi-Fi networks:
+nmcli device wifi list
+
+# Connect to a Wi-Fi network:
+nmcli device wifi connect SSID_or_BSSID password password
+
+# Connect to a hidden Wi-Fi network:
+nmcli device wifi connect SSID_or_BSSID password password hidden yes
+
+# Connect to a Wi-Fi on the wlan1 interface:
+nmcli device wifi connect SSID_or_BSSID password password ifname wlan1 profile_name
+
+# Disconnect an interface:
+nmcli device disconnect ifname eth0
+
+# Get a list of connections with their names, UUIDs, types and backing devices:
+nmcli connection show
+
+# Activate a connection (i.e. connect to a network with an existing profile):
+nmcli connection up name_or_uuid
+
+# Delete a connection:
+nmcli connection delete name_or_uuid
+
+# See a list of network devices and their state:
+nmcli device
+
+# Turn off Wi-Fi:
+nmcli radio wifi off
diff --git a/public/categories/index.html b/public/categories/index.html
index af81743..7594c2b 100644
--- a/public/categories/index.html
+++ b/public/categories/index.html
@@ -18,7 +18,7 @@ crafted by HTML5 UP.
Ported to Hugo by Simon Bruder.">
<link rel="alternate" type="application/rss+xml" href="https://thesiah.xyz/categories/index.xml" title="THESIAH">
- <meta name="generator" content="Hugo 0.129.0">
+ <meta name="generator" content="Hugo 0.130.0">
<link rel="stylesheet" href="/css/main.min.09224b467f2c555409865abcdf41f1274d28443d62fe5328ebcd73347b9dd264ae5252ade861e8ea1e4e114804b96f4720a7117f83b8e24922fd71f04afbbb08.css" integrity="sha512-CSJLRn8sVVQJhlq830HxJ00oRD1i/lMo681zNHud0mSuUlKt6GHo6h5OEUgEuW9HIKcRf4O44kki/XHwSvu7CA==">
diff --git a/public/es/categories/index.html b/public/es/categories/index.html
index 0d4ac29..26dee7a 100644
--- a/public/es/categories/index.html
+++ b/public/es/categories/index.html
@@ -18,7 +18,7 @@ crafted by HTML5 UP.
Ported to Hugo by Simon Bruder.">
<link rel="alternate" type="application/rss+xml" href="https://thesiah.xyz/es/categories/index.xml" title="THESIAH">
- <meta name="generator" content="Hugo 0.129.0">
+ <meta name="generator" content="Hugo 0.130.0">
<link rel="stylesheet" href="/css/main.min.09224b467f2c555409865abcdf41f1274d28443d62fe5328ebcd73347b9dd264ae5252ade861e8ea1e4e114804b96f4720a7117f83b8e24922fd71f04afbbb08.css" integrity="sha512-CSJLRn8sVVQJhlq830HxJ00oRD1i/lMo681zNHud0mSuUlKt6GHo6h5OEUgEuW9HIKcRf4O44kki/XHwSvu7CA==">
diff --git a/public/es/index.html b/public/es/index.html
index 4d01dfb..6eb4705 100644
--- a/public/es/index.html
+++ b/public/es/index.html
@@ -18,7 +18,7 @@ crafted by HTML5 UP.
Ported to Hugo by Simon Bruder.">
<link rel="alternate" type="application/rss+xml" href="https://thesiah.xyz/es/index.xml" title="THESIAH">
- <meta name="generator" content="Hugo 0.129.0">
+ <meta name="generator" content="Hugo 0.130.0">
<link rel="stylesheet" href="/css/main.min.09224b467f2c555409865abcdf41f1274d28443d62fe5328ebcd73347b9dd264ae5252ade861e8ea1e4e114804b96f4720a7117f83b8e24922fd71f04afbbb08.css" integrity="sha512-CSJLRn8sVVQJhlq830HxJ00oRD1i/lMo681zNHud0mSuUlKt6GHo6h5OEUgEuW9HIKcRf4O44kki/XHwSvu7CA==">
diff --git a/public/es/series/index.html b/public/es/series/index.html
index d314e19..4762774 100644
--- a/public/es/series/index.html
+++ b/public/es/series/index.html
@@ -18,7 +18,7 @@ crafted by HTML5 UP.
Ported to Hugo by Simon Bruder.">
<link rel="alternate" type="application/rss+xml" href="https://thesiah.xyz/es/series/index.xml" title="THESIAH">
- <meta name="generator" content="Hugo 0.129.0">
+ <meta name="generator" content="Hugo 0.130.0">
<link rel="stylesheet" href="/css/main.min.09224b467f2c555409865abcdf41f1274d28443d62fe5328ebcd73347b9dd264ae5252ade861e8ea1e4e114804b96f4720a7117f83b8e24922fd71f04afbbb08.css" integrity="sha512-CSJLRn8sVVQJhlq830HxJ00oRD1i/lMo681zNHud0mSuUlKt6GHo6h5OEUgEuW9HIKcRf4O44kki/XHwSvu7CA==">
diff --git a/public/es/tags/index.html b/public/es/tags/index.html
index 3220c0b..e7ed472 100644
--- a/public/es/tags/index.html
+++ b/public/es/tags/index.html
@@ -18,7 +18,7 @@ crafted by HTML5 UP.
Ported to Hugo by Simon Bruder.">
<link rel="alternate" type="application/rss+xml" href="https://thesiah.xyz/es/tags/index.xml" title="THESIAH">
- <meta name="generator" content="Hugo 0.129.0">
+ <meta name="generator" content="Hugo 0.130.0">
<link rel="stylesheet" href="/css/main.min.09224b467f2c555409865abcdf41f1274d28443d62fe5328ebcd73347b9dd264ae5252ade861e8ea1e4e114804b96f4720a7117f83b8e24922fd71f04afbbb08.css" integrity="sha512-CSJLRn8sVVQJhlq830HxJ00oRD1i/lMo681zNHud0mSuUlKt6GHo6h5OEUgEuW9HIKcRf4O44kki/XHwSvu7CA==">
diff --git a/public/index.html b/public/index.html
index 2424833..8e9fffa 100644
--- a/public/index.html
+++ b/public/index.html
@@ -18,7 +18,7 @@ crafted by HTML5 UP.
Ported to Hugo by Simon Bruder.">
<link rel="alternate" type="application/rss+xml" href="https://thesiah.xyz/index.xml" title="THESIAH">
- <meta name="generator" content="Hugo 0.129.0">
+ <meta name="generator" content="Hugo 0.130.0">
<link rel="stylesheet" href="/css/main.min.09224b467f2c555409865abcdf41f1274d28443d62fe5328ebcd73347b9dd264ae5252ade861e8ea1e4e114804b96f4720a7117f83b8e24922fd71f04afbbb08.css" integrity="sha512-CSJLRn8sVVQJhlq830HxJ00oRD1i/lMo681zNHud0mSuUlKt6GHo6h5OEUgEuW9HIKcRf4O44kki/XHwSvu7CA==">
diff --git a/public/ko/categories/index.html b/public/ko/categories/index.html
index efbba68..65037c8 100644
--- a/public/ko/categories/index.html
+++ b/public/ko/categories/index.html
@@ -18,7 +18,7 @@ crafted by HTML5 UP.
Ported to Hugo by Simon Bruder.">
<link rel="alternate" type="application/rss+xml" href="https://thesiah.xyz/ko/categories/index.xml" title="THESIAH">
- <meta name="generator" content="Hugo 0.129.0">
+ <meta name="generator" content="Hugo 0.130.0">
<link rel="stylesheet" href="/css/main.min.09224b467f2c555409865abcdf41f1274d28443d62fe5328ebcd73347b9dd264ae5252ade861e8ea1e4e114804b96f4720a7117f83b8e24922fd71f04afbbb08.css" integrity="sha512-CSJLRn8sVVQJhlq830HxJ00oRD1i/lMo681zNHud0mSuUlKt6GHo6h5OEUgEuW9HIKcRf4O44kki/XHwSvu7CA==">
diff --git a/public/ko/index.html b/public/ko/index.html
index ac834ae..0c2c3f5 100644
--- a/public/ko/index.html
+++ b/public/ko/index.html
@@ -18,7 +18,7 @@ crafted by HTML5 UP.
Ported to Hugo by Simon Bruder.">
<link rel="alternate" type="application/rss+xml" href="https://thesiah.xyz/ko/index.xml" title="THESIAH">
- <meta name="generator" content="Hugo 0.129.0">
+ <meta name="generator" content="Hugo 0.130.0">
<link rel="stylesheet" href="/css/main.min.09224b467f2c555409865abcdf41f1274d28443d62fe5328ebcd73347b9dd264ae5252ade861e8ea1e4e114804b96f4720a7117f83b8e24922fd71f04afbbb08.css" integrity="sha512-CSJLRn8sVVQJhlq830HxJ00oRD1i/lMo681zNHud0mSuUlKt6GHo6h5OEUgEuW9HIKcRf4O44kki/XHwSvu7CA==">
diff --git a/public/ko/series/index.html b/public/ko/series/index.html
index 1b921e3..41b2524 100644
--- a/public/ko/series/index.html
+++ b/public/ko/series/index.html
@@ -18,7 +18,7 @@ crafted by HTML5 UP.
Ported to Hugo by Simon Bruder.">
<link rel="alternate" type="application/rss+xml" href="https://thesiah.xyz/ko/series/index.xml" title="THESIAH">
- <meta name="generator" content="Hugo 0.129.0">
+ <meta name="generator" content="Hugo 0.130.0">
<link rel="stylesheet" href="/css/main.min.09224b467f2c555409865abcdf41f1274d28443d62fe5328ebcd73347b9dd264ae5252ade861e8ea1e4e114804b96f4720a7117f83b8e24922fd71f04afbbb08.css" integrity="sha512-CSJLRn8sVVQJhlq830HxJ00oRD1i/lMo681zNHud0mSuUlKt6GHo6h5OEUgEuW9HIKcRf4O44kki/XHwSvu7CA==">
diff --git a/public/ko/tags/index.html b/public/ko/tags/index.html
index bfde58d..6655ea4 100644
--- a/public/ko/tags/index.html
+++ b/public/ko/tags/index.html
@@ -18,7 +18,7 @@ crafted by HTML5 UP.
Ported to Hugo by Simon Bruder.">
<link rel="alternate" type="application/rss+xml" href="https://thesiah.xyz/ko/tags/index.xml" title="THESIAH">
- <meta name="generator" content="Hugo 0.129.0">
+ <meta name="generator" content="Hugo 0.130.0">
<link rel="stylesheet" href="/css/main.min.09224b467f2c555409865abcdf41f1274d28443d62fe5328ebcd73347b9dd264ae5252ade861e8ea1e4e114804b96f4720a7117f83b8e24922fd71f04afbbb08.css" integrity="sha512-CSJLRn8sVVQJhlq830HxJ00oRD1i/lMo681zNHud0mSuUlKt6GHo6h5OEUgEuW9HIKcRf4O44kki/XHwSvu7CA==">
diff --git a/public/series/index.html b/public/series/index.html
index 0bd981a..d7b705d 100644
--- a/public/series/index.html
+++ b/public/series/index.html
@@ -18,7 +18,7 @@ crafted by HTML5 UP.
Ported to Hugo by Simon Bruder.">
<link rel="alternate" type="application/rss+xml" href="https://thesiah.xyz/series/index.xml" title="THESIAH">
- <meta name="generator" content="Hugo 0.129.0">
+ <meta name="generator" content="Hugo 0.130.0">
<link rel="stylesheet" href="/css/main.min.09224b467f2c555409865abcdf41f1274d28443d62fe5328ebcd73347b9dd264ae5252ade861e8ea1e4e114804b96f4720a7117f83b8e24922fd71f04afbbb08.css" integrity="sha512-CSJLRn8sVVQJhlq830HxJ00oRD1i/lMo681zNHud0mSuUlKt6GHo6h5OEUgEuW9HIKcRf4O44kki/XHwSvu7CA==">
diff --git a/public/tags/index.html b/public/tags/index.html
index 48cb018..b9bf09b 100644
--- a/public/tags/index.html
+++ b/public/tags/index.html
@@ -18,7 +18,7 @@ crafted by HTML5 UP.
Ported to Hugo by Simon Bruder.">
<link rel="alternate" type="application/rss+xml" href="https://thesiah.xyz/tags/index.xml" title="THESIAH">
- <meta name="generator" content="Hugo 0.129.0">
+ <meta name="generator" content="Hugo 0.130.0">
<link rel="stylesheet" href="/css/main.min.09224b467f2c555409865abcdf41f1274d28443d62fe5328ebcd73347b9dd264ae5252ade861e8ea1e4e114804b96f4720a7117f83b8e24922fd71f04afbbb08.css" integrity="sha512-CSJLRn8sVVQJhlq830HxJ00oRD1i/lMo681zNHud0mSuUlKt6GHo6h5OEUgEuW9HIKcRf4O44kki/XHwSvu7CA==">
diff --git a/static/artix-install.md b/static/artix-install.md
new file mode 100644
index 0000000..ed2d467
--- /dev/null
+++ b/static/artix-install.md
@@ -0,0 +1,125 @@
+# wifi wireless connection
+ip a
+ip link set wlan0 up
+rfkill unblock wifi
+ip link set wlan0 up
+connmanctl
+scan wifi
+services
+agent on
+connect wifi_181dea9eaba1_66...
+quit
+
+# UEFI vs legacy
+ls /sys/firmware/efi/efivars
+
+# partition
+lsblk
+fdisk /dev/sdX
+# mkfs.ext4 /dev/sdX1
+# mkfs.exfat /dev/sdX1
+dd if=/dev/urandom of=/dev/sdX2 bs=1M status=progress
+cryptsetup luksFormat /dev/sdX2
+cryptsetup open /dev/sdX2 luks
+mkfs.btrfs /dev/mapper/luks
+mount /dev/mapper/luks /mnt
+mkfs.fat -F32 /dev/sdX1
+mkdir /mnt/boot && mount /dev/sdX1 /mnt/boot # UEFI: mkdir /mnt/boot/efi && mount /dev/sdX1 /mnt/boot/efi
+vi /etc/pacman.d/mirrowlist
+
+# programs
+basestrap -i /mnt base base-devel runit elogind-runit linux linux-firmware grub networkmanager networkmanager-runit cryptsetup lvm2 lvm2-runit neovim vim os-prober
+# UEFI: efibootmgr
+
+# installation
+artix-chroot /mnt bash
+
+# Timezone & Location
+ln -s /usr/share/zoneinfo/Continent/TimeZone /etc/localtime
+hwclock --systohc
+vim /etc/locale.conf
+export LANG="en_US.UTF-8"
+export LC_COLLATE="C"
+vim /etc/locale.gen
+#en_US.UTF-8
+#ko_KR.UTF-8
+locale-gen
+
+# Host
+vim /etc/hostname
+vim /etc/hosts
+127.0.0.1 localhost
+::1 localhost
+127.0.1.1 hostname.localdomin hostname
+
+# Networkmanager
+ln -s /etc/runit/sv/Networkmanager /etc/runit/runsvdir/current
+
+# Password and Users
+passwd
+useradd -G(-g) wheel -m username
+passwd username
+
+# (Optional) auto-login
+vim /etc/runit/sv/agetty-tty1/conf
+--autologin username
+
+# Hook
+vim /etc/mkinitcpio.conf
+HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block 'encrypt' 'lvm2' filesystems fsck)
+mkinitcpio -p linux
+
+# Decryption and Boot
+exit
+lsblk -f >> /mnt/etc/default/grub
+fstabgen -U /mnt >> /mnt/etc/fstab
+artix-chroot /mnt bash
+vim /etc/default/grub
+GRUB_CMDLINE_LINUX_DEFAULT="... cryptdevice=UUID=/dev/sdX2's UUID:luks root=UUID=/dev/mapper/luks's UUID"
+
+# Grub Installation
+grub-install /dev/sdX
+# UEFI: grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
+grub-mkconfig -o /boot/grub/grub.cfg
+
+# (Optional) Check root UUID
+vim /boot/grub/grub.cfg
+# Search 'root=UUID'
+
+# Finish
+exit
+reboot
+detach booting USB
+
+
+=====================
+
+# List nearby Wi-Fi networks:
+nmcli device wifi list
+
+# Connect to a Wi-Fi network:
+nmcli device wifi connect SSID_or_BSSID password password
+
+# Connect to a hidden Wi-Fi network:
+nmcli device wifi connect SSID_or_BSSID password password hidden yes
+
+# Connect to a Wi-Fi on the wlan1 interface:
+nmcli device wifi connect SSID_or_BSSID password password ifname wlan1 profile_name
+
+# Disconnect an interface:
+nmcli device disconnect ifname eth0
+
+# Get a list of connections with their names, UUIDs, types and backing devices:
+nmcli connection show
+
+# Activate a connection (i.e. connect to a network with an existing profile):
+nmcli connection up name_or_uuid
+
+# Delete a connection:
+nmcli connection delete name_or_uuid
+
+# See a list of network devices and their state:
+nmcli device
+
+# Turn off Wi-Fi:
+nmcli radio wifi off