Linux logo
top bar left/images/top-banner.jpgtop bar right
menu top
 
menu bottom
Run Centralized PHP Functions from a Remote Console

About  |  Download  |  Installation  |  Releases

About dcm
The goal was simple: build a framework that would provide a secure method for running centrally hosted "console modules" from an intuitive yet powerful command line utility on remote hosts.  Thus, dcm was born.  There are really three components.  1) PHP functions with output designed to be displayed on a remote console.  2) A command line utility that can make an http/https request to the web-host to run these modules, pass parameters to them, and display the output.  3) A PHP connector on the web-host that the command line utility interfaces with.

Now built, the dcm framework provides endless possibilities.  We have used it to provide simple console utilities such as an ip mask calculator and for checking the load of the web server, and for advanced tasks such as using it with cron to schedule database maintenance, perform secure remote database backups, and store/retrieve config files.

NEW! We have a dcm connector running here on dotconf.net.  We are currently hosting one console module for doing IP address translations.  If you want to try it out, just download the dcm package below, extract it, and run "dcm.pl --list".

[Supported Platforms: Linux, BSD, OS X, Windows 98, Windows NT, Windows 2000, & Windows XP]

Download

Console Interface: dcm-v1.18.tar.gz   (15kb Jun 23rd, 2014)   Screen Shot
PHP Connector: coming soon!
Sample Console Modules: coming soon!

 

DCM Connector Interface
To take advantage of the power of dcm.pl, you need to have a web host to connect to that offers a dcm interface.  My webserver has a few modules available to the public.  To see a list of the modules I've made available, simply run "dcm.pl --list" with the provided configuration file.  To run one of the listed modules try something like this: "dcm.pl -r MODULE"
I will shortly be releasing a sample DCM connector interface written in PHP.

Command Line Options
dcm command line options

How do I install it?
Simply download, extract, and run "dcm.pl" from a command prompt, it will give a usage summary. It is written in Perl, so no compilation needed. On a unix system if your perl binary is not installed at /usr/bin/perl you may need to edit the first line of the script.

SSL Support
To take advantage of SSL encryption, make sure to install the Net::SSleay and IO::Socket::SSL perl modules.  This is highly recommended so that you can take full advantage of dcm.pl without worrying about your data security.

Download Previous Releases
Version 1.1x -- First public release.
dcm-v1.18.tar.gz   (15kb Jun 23rd, 2014)
dcm-v1.17.tar.gz   (14kb Mar 7th, 2007)   Screen Shot

Support SendEmail:

Amount:
Time tracking software.
Time is money: Track it, GPS it, Invoice it, Report it.
TSheets is where I spend my days, drop by for timesheets and invoicing needs :)
www.flickr.com
 
  
bottom left bottom right