automatic deploying, howto ?
Wed Jul 13 02:14:00 GMT 2011
On Tue, Jul 12, 2011 at 8:47 PM, THE Sorcerer <firstname.lastname@example.org> wrote:
> is there anyway to automate install on all of them (with my choice of
> packages) ?
> also, is there any way to automate install of some services ? (like crond or
> thank you !
It's not as simple as a having an answer file and telling the setup
tool to look for it, but what you want is possible.
Run the setup file from an administrator level command line something
like this "c:\cygwin\setup.exe --help"
review the options presented and see if they give you enough
flexibility to do what you want.
I wrote a windows batch file that downloads a fresh copy of the
installer from the web, and the executes the setup file with my
supplied options, and it works for me.
You can specify the directory, a specific mirror (yours perhaps) and
the list of packages you want installed on the command line.
As to your second question...
How you install and configure each daemon is subtly different. IF the
command to start each of the services you want to start is something
that can be run from windows (it should) and doesn't require human
interaction (sshd does not, but that's the only one I've ever needed)
then you can just add the appropriate commands to the end of your
batch file that you use to install cygwin in the first place.
You will likely also want some sort of update script that you can run
on each machine that will stop the services, update cygwin, and
restart the needed services.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin