aboutsummaryrefslogtreecommitdiff
path: root/network/gem/README
blob: e9f43260b41bdcafc98edeec02e09bbd4ac5c9c6 (plain)
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
a simple gemini server

It supports:
 * mime types
 * directory listing
 * chunked file transfer
 * passes most gemini-diagnostics tests
 * user-defined charset/lang meta attributes

The script will create ssl certificate with CN=localhost
If you wish change domain of ssl certificate: use DOMAIN variable
before execution of SlackBuild script.

 DOMAIN=slackbuilds.org ./gem.SlackBuild

Is created 'gmi' directory as database in /var
Certificates are saved in /var/gmi/tls path.
Capsule content must be save in /var/gmi/capsule path.

Overview:

/var/gmi           [ root:root  | 755 ]
├── capsule        [ root:users | 775 ]
├── log            [ root:users | 664 ]
└── tls            [ root:root  | 755 ]
    ├── server.crt [ root:root  | 644 ]
    └── server.key [ root:users | 640 ]

* daemon: that SlackBuild package have script for /etc/rc.d

NOTE: Here is already existent gem binary (package manager for Ruby),
then create alias for gem (gemini server):

 alias gem="/usr/sbin/gem"
 alias gemd="(ba)sh /etc/rc.d/rc.gem" - /bin/sh already appoint for bash
on Slackware.

* run gem as regular user, preferably - security questions.