1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
.Dd August 22, 2021
.Dt THIS-SERVER 7
.Os "Ben's Space"
.
.Sh NAME
.Nm this server
.Nd where the hell are we
.
.Sh DESCRIPTION
I've finally got myself a real place on The Internet!
I've got an IP address and everything.
So, all the things you need a server to do I can now do.
.
.Ss HTTP(s)
The website itself is served by OpenBSD httpd,
and everything
.Pq except /cgi-bin/*
is static.
.
.Ss Stagit
.Lk git.bvnf.space
is generated using
.Xr stagit 1 .
I learnt how to do this from a number of sources:
.Bl -compact
.It
.Lk https://dilyn.cc/blog/Server-Git
.It
.Lk https://git-bruh.duckdns.org/self-hosting-git.html
.El
.Pp
You can also anonymously clone the repos, which is powered by
.Xr git-daemon 1 .
.
.Ss /cgi-bin/*
As mentioned above, there is some cgi going on
.Po
well, currently only
.Lk /cgi-bin/up
and whatever
.Lk /cgi-bin/a.out
is at the moment
.Pc
and I'm interested in writing more down this alleyway.
Forget LAMP, use
.Lk https://learnbchs.org BCHS
.
.Ss IRC
I'm running
.Xr pounce 1
so that I can keep connected to the one channel I'm interested in.
.
.Ss Xr catsitd 8
To look after
.Xr pounce 1 .
.
.Ss XMPP
.Xr prosody 8
is running, but I don't use XMPP much. yet. (at all).
What? I can put what I like on here.
.
.Ss DigitalOcean
This server is running OpenBSD, hosted on a DigitalOcean VPS.
DigitalOcean doesn't actually have OpenBSD as an option, so to install it I did the following:
.Bl -bullet
.It
Choose any operating system to begin with - it doesn't matter what; I chose FreeBSD.
.It
Turn it off, then from the droplet's control panel, go to Recovery and choose
.Qq Boot from Recovery ISO
, and reboot.
.It
Using the web-view console, select option 6 for a recovery shell.
.Pp
Now you've got the equivalent of a live usb environment.
.It
Download the OpenBSD minirootXX.fs,
.Xr dd 1
it to the harddisk,
then reboot into it normally and follow the instructions.
.It
Easy!
.El
.Pp
If you want, you can use
.Lk https://m.do.co/c/6c97af319d64 "my DigitalOcean referral link" .
.
.Ss A blog?
Finally, I might now actually write a Blog, which is something I've been
wanting to do for a while.
This
.Pq first
post is written a la
.Lk causal.agency
style; produced from
.Xr mdoc 7
source available from
.Lk https://git.bvnf.space/site/
\&.
.Sh AUTHORS
.An phoebos Aq Mt ben@bvnf.space
|