-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
81 lines (64 loc) · 2.76 KB
/
README
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
ConnectionManager
-----------------
1. License
GPL, http://www.gnu.org/licenses/gpl.html
2. Installation
2.1 Install the dependencies needed by ConnectionManager
- Perl
- SQLite3
- SQLite3 Perl bindings
- Perl CGI
- Perl DBI
- Perl HTML::Table
2.2 Copy the conman.cgi file to a directory accessible by your web server,
i.e. Apache HTTPD. We'll call this directory INSTALLPATH.
2.3 Select a location (path) under your web server where the application
should be visible, i.e. /ConnectionManager. We'll call this location
LOCATION.
2.4 Enable running CGI programs in your web server.
2.5 Select a directory where the ConnectionManager stores its database. This
directory must be writable by the web server. The default is
INSTALLPATH.
2.6 Edit the settings (script name and database location) in the
conman.cgi script to match your setup
2.7 Edit your web server configuration to enable running CGI programs in
INSTALLPATH and point LOCATION to INSTALLPATH
Apache example (INSTALLPATH=/web/ConnectionManager, LOCATION=/ConnectionManager):
ScriptAlias /ConnectionManager/ /web/ConnectionManager/
<Directory "/web/ConnectionManager">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
2.8 Enable authentication in your web server if wanted
Apache example:
<Location /ConnectionManager>
AuthType Basic
AuthName ConnectionManager
# the password file should not be reacheable via HTTP!
AuthUserFile /web/passwords/ConnectionManager.passwd
require valid-user
</Location>
2.9 Resolve any remaining problems
2.10 The database file is created at the first run if it's not found
3. Usage
3.1 Add a room (at the Rooms list)
3.2 Add a rack to the room (at the room view)
3.3 Add a device to the rack (at the rack view)
3.4 Add interfaces to the device (at the device view)
3.5 Add connections to the interface (at the device view)
3.5.1 ConnectionManager currently supports at most four (4) hops per
connection, but you may use less if needed
3.6 Try to cope with all the small glitches
4. Read-only mode
In case you want to have a read-only view of the data, install another
copy of conman.cgi somewhere appropriate, configure it to use the same
database file as the r/w version and set $readonlymode = 1; at the editable
variables section.
5. Distribution
git@github.com:delic/conman.git
6. Author
Tapio Vuorinen, connectionmanager@imordnilap.net. Bug reports and feature
requests are read. If you want to participate in the development (what?),
let me know.