aboutsummaryrefslogtreecommitdiff
path: root/articles/2025/Headless-Arch-Install.html
diff options
context:
space:
mode:
Diffstat (limited to 'articles/2025/Headless-Arch-Install.html')
-rwxr-xr-xarticles/2025/Headless-Arch-Install.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/articles/2025/Headless-Arch-Install.html b/articles/2025/Headless-Arch-Install.html
new file mode 100755
index 0000000..8852691
--- /dev/null
+++ b/articles/2025/Headless-Arch-Install.html
@@ -0,0 +1,40 @@
+<!doctype html>
+<html lang="EN">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="/style.css">
+ <title>Headless Arch Install</title>
+ </head>
+ <body>
+ <header>
+ <h1>Bloggings</h1>
+ <a href="/index.php">Back</a>
+
+ </header>
+
+<main>
+<article>
+<h2>Headless Arch Install</h2>
+<h3>2025-03-21</h3>
+<h4>I have a micro pc I'd like to use as a web server</h4>
+<p>It doesn't have a screen so I'll need to do a headless installation</p>
+<p>I found some simple instructions here: <a href="https://tarneo.fr/posts/arch_headless/">https://tarneo.fr/posts/arch_headless/</a></p>
+<br>
+<code>sudo pacman -S archiso
+mkdir arch-headless && cd arch-headless
+cp -r /usr/share/archiso/configs/releng/ .
+mkdir releng/airootfs/root/.ssh/
+cp ~/.ssh/id_rsa.pub releng/airootfs/root/.ssh/authorized_keys
+sudo mkarchiso -v -o ./out ./releng
+</code>
+Insert a usb key, mine is in /dev/sdc, and create a bootable usb drive
+<code>dd if=./out/archlinux-2025.03.21-x86_64.iso of=/dev/sdc bs=4M; sync</code>
+<br>
+<p>Find the IP address of the machine, and ssh to it. You can then run
+archinstall for example.</p>
+</article>
+</main>
+<footer>
+<p>&nbsp;</p><p>ยง</p></footer>
+</body></html>