blib/lib/XAS/Docs/Spooler/Installation.pm

filter: Statementstmt 100% 2 / 2 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 100% 2 / 2 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« blib/lib/XAS/Spooler/Processor.pm ↑ Summary blib/lib/XAS/Spooler.pm »
1 package XAS::Docs::Spooler::Installation;
2  
3 1 our $VERSION = '0.01';
4  
5 1 1;
6  
7 __END__
8
9 =head1 NAME
10  
11 XAS::Docs::Spooler::Installation - how to install the XAS Spooler
12  
13 XAS is middleware for datacenter operations. It provides standardized methods,
14 modules and philosophy for constructing applications typically used to manage
15 a datacenter. This system is based on production level code.
16  
17 =head1 GETTING THE CODE
18  
19 Since the code repository is git based, you can use the following commands:
20  
21 # mkdir XAS-Spooler
22 # cd XAS-Spooler
23 # git init
24 # git pull http://scm.kesteb.us/git/XAS-Spooler master
25  
26 Or you can download the code from CPAN in the following manner:
27  
28 # cpan -g XAS-Spooler
29 # tar -xvf XAS-Spooler-0.01.tar.gz
30 # cd XAS-Spooler-0.01
31  
32 When done, the following commands are run from that directory.
33  
34 =head1 INSTALLATION
35  
36 On Unix like systems, using pure Perl, run the following commands:
37  
38 # perl Build.PL --installdirs site
39 # ./Build
40 # ./Build test
41 # ./Build install
42  
43 If you are DEB based, Debian build files have been provided. If you have a
44 Debian build environment, then you can do the following:
45  
46 # debian/rules build
47 # debian/rules clean
48 # dpkg -i ../libxas-spooler-perl_0.01-1_all.deb
49  
50 If you are RPM based, a spec file has been included. If you have a
51 rpm build environment, then you can do the following:
52  
53 # perl Build.PL
54 # ./Build --installdirs vendor
55 # ./Build test
56 # ./Build dist
57 # rpmbuild -ta XAS-Spooler-0.01.tar.gz
58 # cd ~/rpmbuild/RPMS/noarch
59 # yum --nogpgcheck localinstall perl-XAS-Spooler-0.01-1.noarch.rpm
60  
61 Each of these installation methods will overlay the local file system and
62 tries to follow Debian standards for file layout and package installation.
63  
64 On Windows, do the following:
65  
66 > perl Build.PL
67 > Build
68 > Build test
69 > Build install
70  
71 It is recommended that you use L<Strawberry Perl|http://strawberryperl.com/>,
72 L<ActiveState Perl|http://www.activestate.com/activeperl>
73 doesn't have all of the necessary modules available.
74  
75 B<WARNING>
76  
77 Not all of the Perl modules have been included to make the software
78 run. You may need to load additional CPAN modules. How you do this,
79 is dependent on how you manage your systems. This software requires
80 Perl 5.8.8 or higher to operate.
81  
82 =head1 POST INSTALLATION
83  
84 You should check the spoolers configuration file to see if the proper
85 directories are being monitored. By default, it only monitors $XAS_SPOOL/alerts
86 and $XAS_SPOOL/logs.
87  
88 Once that is done. You need to start the spooler. On Debian or RHEL
89 you would issue the following commands:
90  
91 # service xas-spooler start
92 # chkconfig --add xas-spooler
93  
94 On Windows, use these commands:
95  
96 > xas-spooler --install
97 > sc start XAS_SPOOLER
98  
99 Now you can check the log files for any errors and proceed from there.
100  
101 =head1 SUPPORT AND DOCUMENTATION
102  
103 After installing, you can find documentation for this module with the
104 perldoc command.
105  
106 perldoc XAS-Spooler
107  
108 Extended documentation is available here:
109  
110 http://scm.kesteb.us/trac
111  
112 The latest and greatest is always available at:
113  
114 http://scm.kesteb.us/git/XAS-Spooler
115  
116 =head1 LICENSE AND COPYRIGHT
117  
118 Copyright (c) 2015 Kevin L. Esteb
119  
120 This is free software; you can redistribute it and/or modify it under
121 the terms of the Artistic License 2.0. For details, see the full text
122 of the license at http://www.perlfoundation.org/artistic_license_2_0.
123  
124 =cut
« blib/lib/XAS/Spooler/Processor.pm ↑ Summary blib/lib/XAS/Spooler.pm »