prov_web - a command line interface for provisioning web accounts
prov_web --action [--vhost example.com]
Action is one of the following:
--create - creates a new system user --modify - make changes to an existing user --destroy - remove a user from the system --disable - disable an account --enable - enable an account
required arguments:
-vhost $vhost
optional arguments:
-ip - IP address to listen on (default *) -serveralias - list of aliases, comma separated -serveradmin - email address of server admin -documentroot - full path to html directory -redirect - url to redirect site to -options - server options ex. FollowSymLinks MultiViews Indexes ExecCGI Includes -ssl - ssl enabled ? -sslcert - path to ssl certificate -sslkey - path to ssl key -cgi - basic | advanced | custom -customlog - custom logging directive -customerror - custom error logging directive -awstats - include alias for awstats -phpmyadmin - include alias for phpMyAdmin
prov_web --create --vhost=www.example.com prov_web --destroy --vhost=www.example.com prov_web --modify --vhost=www.example.com --options='Indexes ExecCGI'
prov_web is a command line interface to the Provision::Web provisioning modules.
Config::Tiny Getopt::Long Params::Validate Digest::MD5 LWP::UserAgent
Matt Simerson, <matt at tnpi.net>
<matt at tnpi.net>
Copyright (c) 2008 The Network People, Inc. (info@tnpi.net)
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install Provision::Unix, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Provision::Unix
CPAN shell
perl -MCPAN -e shell install Provision::Unix
For more information on module installation, please visit the detailed CPAN module installation guide.