-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
77 lines (56 loc) · 2.15 KB
/
INSTALL
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
*** Build dependencies ***
gcc (>= 4.8) or clang (>= 3.2)
libfcgi-dev (>= 2.4)
cmake (>= 2.8)
gzip
*** Runtime dependencies ***
libfcgi -- Shared library of FastCGI
spawn-fcgi -- A fastcgi process spawner
curl -- Сommand line tool for transferring data with URL syntax
sed -- The GNU sed stream editor
*** Recommended programs ***
miredo -- Teredo IPv6 tunneling through NATs
gogoc -- Client to connect to IPv6 tunnel brokers
You do not need any of these programs if your Internet provider gives you
direct access to IPv6 network. Unfortunately this is too rare situation now.
*** Build ***
mkdir -p builddir
cd builddir
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install
*** Extra build options ***
-DCMAKE_BUILD_TYPE={Release, RelWithDebInfo, Debug, MinRelSize}
-DWITH_SYSTEMD_SUPPORT={ON, OFF} (default: ON)
-DSYSTEMD_UNIT_FILES_DIR={...} (default: /lib/systemd/system/)
*** Configuration files ***
/etc/bosixnet/bosixnet-daemon.conf
/etc/bosixnet/bosixnet-webui.conf
*** Example of FastCGI settings in Nginx ***
Edit file /etc/nginx/sites-available/default and paste something like this:
location /bosixnet/ {
fastcgi_pass localhost:33169;
include /etc/nginx/fastcgi_params;
}
*** Example of FastCGI settings in lighttpd ***
Edit file /etc/lighttpd/lighttpd.conf and paste something like this:
fastcgi.server = ( "/bosixnet/" =>
(( "host" => "127.0.0.1",
"port" => 33169,
"check-local" => "disable",
"docroot" => "/var/tmp/bosixnet",
))
)
*** Examples of Web UI usage with default settings ***
Main usage:
http://ipv6.example.com/bosixnet/main-laptop?update=2001:0:53aa:64c:2f53:5e65:9258:72de
http://ipv6.example.com/bosixnet/main-laptop
http://ipv6.example.com/bosixnet/home-pc?update=2001:0:53aa:64c:3574:128e:9291:a021
http://ipv6.example.com/bosixnet/home-pc
http://ipv6.example.com/bosixnet/wife-netbook?update=2001:0:53aa:64c:26e0:3bf2:9258:72de
http://ipv6.example.com/bosixnet/wife-netbook
Service links:
http://ipv6.example.com/bosixnet/
http://ipv6.example.com/bosixnet/hosts
http://ipv6.example.com/bosixnet/timestamps
http://ipv6.example.com/bosixnet/counter