www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/13/21:11:53

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4E1E4220.30304@gmail.com>
Date: Thu, 14 Jul 2011 04:10:56 +0300
From: THE Sorcerer <sorcerer25 AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11
MIME-Version: 1.0
To: Rance Hall <ranceh AT gmail DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: automatic deploying, howto ?
References: <4E1CF91A DOT 9030500 AT gmail DOT com> <CANWBxgavOxfO6kS0coqte3LMDrMt_A5nOHvciUE6iy+eo4H0Cg AT mail DOT gmail DOT com>
In-Reply-To: <CANWBxgavOxfO6kS0coqte3LMDrMt_A5nOHvciUE6iy+eo4H0Cg@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

it is not easy, but it DO, solve my problem
so, thank you ! :)

On 2011-07-13 5:14, Rance Hall wrote:
> On Tue, Jul 12, 2011 at 8:47 PM, THE Sorcerer<sorcerer25 AT gmail DOT com>  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
>> sshd)
>>
>>
>> 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.
>
> HTH
>
> Rance
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019