Debian Codegraph @

INSTALL

raw
1
2 Vipul's Razor v2
3 Installation Instructions
4
5 1. Download the latest v2 razor-agents tarball from
6 http://sourceforge.net/project/showfiles.php?group_id=3978
7
8 2. Download the latest v2 razor-agents-sdk tarball from
9 http://sourceforge.net/project/showfiles.php?group_id=3978
10 Untar and run:
11
12 perl Makefile.PL
13 make
14 make test
15 make install
16
17 If you are not root, run perl Makefile.PL with a "PREFIX=~"
18 option, like so:
19
20 perl Makefile.PL PREFIX=~
21
22 OR
23
24 2. Instead of installing the razor-agents-sdk package, you can install the
25 following Perl modules from CPAN:
26
27 Time::HiRes
28 Digest::SHA1
29 MIME::Base64
30 Test::Simple
31 Test::Harness
32 Getopt::Long
33 File::Copy
34 URI::Escape
35
36 If you do not install perl libs to standard places, set PERL5LIB. csh ex:
37
38 setenv PERL5LIB /home/user/myperl/lib
39
40 3. Untar the razor-agents tarball and run:
41
42 perl Makefile.PL
43 make
44 make test
45 make install
46
47 4. Razor Agents are now installed.
48
49 5. Run `razor-admin -create' to create a default config file in your
50 home directory under /home/user/.razor. (Remember to change user to
51 your username from root before running razor-admin)
52
53 6. Razor v2 requires reporters to be registered so their reputations can
54 be computed over time and they can participate in the revocation
55 mechanism. Registration is done with razor-admin -register. It has to be
56 manually invoked in either of the following ways:
57
58 To register user foo with `s1kret' as password:
59
60 razor-admin -register -user=foo -pass=s1kr3t
61
62 To register with an email address and have the password assigned:
63
64 razor-admin -register [email protected]
65
66 To have both (random) username and password assigned:
67
68 razor-admin -register
69
70 razor-admin -register negotiates a registration with the Nomination Server
71 and writes the identity information in
72 /home/user/.razor/identity-username, or /etc/razor/identity-username
73 when invoked as root.
74
75 7. You can edit razor-agent.conf to change the defaults. Config options
76 and their values are defined in the razor-agent.conf(5) manpage.
77
78 8. The next step is to integrate razor-check, razor-report and
79 razor-revoke in your mail system. If you are running Razor v1, the
80 change will be transparent, new versions of razor agents will overwrite
81 the old ones. You would still need to plugin razor-revoke in your MUA,
82 since it's a new addition in Razor v2. If you are not running Razor v1,
83 refer to manpages of razor-check(1), razor-report(1), and
84 razor-revoke(1) for integration instructions.
85
86
87 $Id: INSTALL,v 1.16 2006/02/16 19:21:35 rsoderberg Exp $
88