Updating system page, adding robots for git sub folder. - gopherhole - My website source code.
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 9e0a2704f6d60baad552f76d5ff6c28d52c54bee
(DIR) parent 8e75ddbfeb997d4376f8cda62b2479ccaf840216
(HTM) Author: Jay Scott <me@jay.scot>
Date: Sun, 11 Feb 2024 20:27:27 +0000
Updating system page, adding robots for git sub folder.
Diffstat:
M index.gph | 4 +---
A meta/system.cgi | 29 +++++++++++++++++++++++++++++
D meta/system.txt | 74 -------------------------------
M phlog/index.gph | 2 --
A robots.txt | 3 +++
5 files changed, 33 insertions(+), 79 deletions(-)
---
(DIR) diff --git a/index.gph b/index.gph
@@ -8,8 +8,6 @@
J A Y . S C O T
- echo | nc jay.scot 79
-
PHLOG
@@ -28,5 +26,5 @@ OTHER
[1|git ... all of my git repositories|git/|server|port]
[1|files ... dump of interesting things|files/|server|port]
-[0|system ... my system|meta/system.txt|server|port]
+[0|system ... this server setup|meta/system.cgi|server|port]
[0|email ... email me|meta/email.txt|server|port]
(DIR) diff --git a/meta/system.cgi b/meta/system.cgi
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+uptime=$(uptime -p)
+hostname=$(hostname)
+architecture=$(uname -m)
+load=$(uptime | awk -F'[a-z]:' '{print $2}')
+
+# Store build information in a variable
+build_info="
+This server is built automatically. Terraform sets up the server on Hertzner,
+configures networking and security, and applies a basic cloud-init script. The
+cloud-init script, in turn, pulls Ansible scripts during VPS boot. These
+Ansible scripts harden the VPS, install and set up Git with Git-Daemon, build
+Geomyidae from source, create a systemd service for managing Geomyidae, and
+finally build, install, and configure Stagit-Gopher to use the default Git
+location and output to the Gopher root directory. All that's left to do is
+rsync files to the Gopher root, and the server is ready to go. It takes
+approximately 10 minutes to set up and fully run the server from scratch. The
+code for this setup can be found on my Git repositories."
+
+printf "General Information:\n\n\n"
+printf "\tserver hostname : %s\n" "$hostname"
+printf "\toperating system : Debian 12 (bookworm)\n"
+printf "\tarchitecture : %s\n" "$architecture"
+printf "\tserver software : geomyidae, git, stagit-gopher\n"
+printf "\tsystem uptime : %s\n" "$uptime"
+printf "\tload average :%s\n" "$load"
+
+printf "\n%s\n" "$build_info"
(DIR) diff --git a/meta/system.txt b/meta/system.txt
@@ -1,74 +0,0 @@
-
-elma.jay.scot - daily driver - OpenBSD desktop ded, July 2023 :(
-
- jay@elma.jay.scot
- (_) -----------------
- | . OS: OpenBSD 7.2 amd64
- . |L /| . _ Host: AZW U59
- _ . |\ _| \--+._/| . (_) Uptime: 15 hours
- / ||\| Y J ) / |/| ./ Packages: 223 (pkg_info)
- J |)'( | ` F`.'/ _ Shell: ksh v5.2.14 99/07/13.2
- -<| F __ .-< (_) Resolution: 1920x1080
- | / .-'. `. /-. L___ WM: dwm
- J \ < \ | | O\|.-' _ Theme: Adwaita [GTK3]
- _J \ .- \/ O | | \ |F (_) Icons: Adwaita [GTK3]
- '-F -<_. \ .-' `-' L__ Terminal: st
-__J _ _. >-' )._. |-' Terminal Font: Hack
- `-|.' /_. \_| F CPU: Intel Celeron N5105 (4) @ 2.001GHz
- /.- . _.< GPU: Mesa Intel(R) UHD Graphics (JSL)
- /' /.' .' `\ Memory: 493MiB / 16135MiB
- /L /' |/ _.-'-\
- /'J ___.---'\|
- |\ .--' V | `. `
- |/`. `-. `._)
- / .-.\
- \ ( `\
- `.\
-
-
-elma.jay.scot - daily driver
-
-
- .hddddddddddddddddddddddh. jay@elma.jay.scot
- :dddddddddddddddddddddddddd: -----------------
- /dddddddddddddddddddddddddddd/ OS: Alpine Linux v3.18 x86_64
- +dddddddddddddddddddddddddddddd+ Host: MS-7B86 3.0
- `sdddddddddddddddddddddddddddddddds` Kernel: 6.1.34-2-lts
- `ydddddddddddd++hdddddddddddddddddddy` Uptime: 9 hours, 17 mins
-.hddddddddddd+` `+ddddh:-sdddddddddddh. Packages: 649 (apk)
-hdddddddddd+` `+y: .sddddddddddh Shell: ash
-ddddddddh+` `//` `.` -sddddddddd Resolution: 1920x1080
-ddddddh+` `/hddh/` `:s- -sddddddd WM: sway
-ddddh+` `/+/dddddh/` `+s- -sddddd Terminal: foot
-ddd+` `/o` :dddddddh/` `oy- .yddd CPU: AMD Ryzen 5 3600 (12) @ 3.600GHz
-hdddyo+ohddyosdddddddddho+oydddy++ohdddh Memory: 1321MiB / 15922MiB
-.hddddddddddddddddddddddddddddddddddddh.
- `yddddddddddddddddddddddddddddddddddy`
- `sdddddddddddddddddddddddddddddddds`
- +dddddddddddddddddddddddddddddd+
- /dddddddddddddddddddddddddddd/
- :dddddddddddddddddddddddddd:
- .hddddddddddddddddddddddh.
-
-
-
-jay.scot - gopher, finger and git.
-
-
- _,met$$$$$gg. jay@jay.scot
- ,g$$$$$$$$$$$$$$$P. ------------
- ,g$$P" """Y$$.". OS: Debian GNU/Linux 12 (bookworm) x86_64
- ,$$P' `$$$. Host: vServer 20171111
-',$$P ,ggs. `$$b: Kernel: 6.1.0-9-amd64
-`d$$' ,$P"' . $$$ Uptime: 8 days, 22 hours, 58 mins
- $$P d$' , $$P Packages: 464 (dpkg)
- $$: $$. - ,d$$' Shell: bash 5.2.15
- $$; Y$b._ _,d$P' Resolution: 1024x768
- Y$$. `.`"Y$$$$P"' Terminal: /dev/pts/0
- `$$b "-.__ CPU: Intel Xeon (Skylake, IBRS) (1) @ 2.099GHz
- `Y$$ Memory: 124MiB / 1919MiB
- `Y$$.
- `$$b.
- `Y$$b.
- `"Y$b._
- `"""
(DIR) diff --git a/phlog/index.gph b/phlog/index.gph
@@ -8,8 +8,6 @@
J A Y . S C O T
- echo | nc jay.scot 79
-
[1| ... Turn yersel hame|/|server|port]
(DIR) diff --git a/robots.txt b/robots.txt
@@ -0,0 +1,3 @@
+User-agent: *
+Disallow: /git
+Disallow: /files