|
|
install-geomyidae.txt - gopher-tutorials - The gopher tutorials project. |
|
|
 |
git clone git://bitreich.org/gopher-tutorials/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/gopher-tutorials/ (git://bitreich.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
Tags |
|
|
|
--- |
|
|
|
install-geomyidae.txt (943B) |
|
|
|
--- |
|
|
|
1 First, you need to install geomyidae. |
|
|
|
2 Check your package manager for geomyidae |
|
|
|
3 |
|
|
|
4 On Linux: |
|
|
|
5 Check to see if geomyidae is in your package manager. |
|
|
|
6 If not issue the following commands |
|
|
|
7 |
|
|
|
8 % git clone git://r-36.net/geomyidae |
|
|
|
9 % make |
|
|
|
10 % sudo make install |
|
|
|
11 |
|
|
|
12 Now let's add a geomyidae user to your system: |
|
|
|
13 |
|
|
|
14 % sudo useradd -r -s /sbin/nologin |
|
|
|
15 |
|
|
|
16 Now let's start the server |
|
|
|
17 |
|
|
|
18 % sudo geomyidae -u geomyidae |
|
|
|
19 |
|
|
|
20 NOTE: if geomyidae is not in your root's $PATH then you may have to start it manually (e.g. /usr/local/bin/geomyidae) |
|
|
|
21 |
|
|
|
22 On OpenBSD: |
|
|
|
23 % pkg_add geomyidae |
|
|
|
24 % rcctl enable geomyidae |
|
|
|
25 % rcctl start geomyidae |
|
|
|
26 |
|
|
|
27 Next create the file /var/gopher/index.gph |
|
|
|
28 and put something in it. for example: |
|
|
|
29 |
|
|
|
30 Hello, World! |
|
|
|
31 |
|
|
|
32 Now issue: |
|
|
|
33 % sudo geomyidae |
|
|
|
34 (NOTE: if /usr/local/bin is not in root's path you may have to specify it manually e.g. /usr/local/bin/geomyidae) |
|
|
|
35 |
|
|
|
36 Finally open a gopher client and navigate to gopher://localhost:70/ |
|
|
|
37 |
|
|
|
38 Congratulations, you have set up a server! |
|
|
|
39 |
|