delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/11/20:56:53

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Mike <mikee AT mikee DOT ath DOT cx>
Subject: cygwin installation batch file?
Date: Tue, 12 Sep 2006 00:55:55 +0000 (UTC)
Lines: 33
Message-ID: <ee50iq$s09$1@sea.gmane.org>
User-Agent: slrn/0.9.8.1 (Linux)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

I have used cygwin for many years and now am in a situation
where I need/want to install it on 30 or so windows xp boxes.
Does someone have a batch file I can adapt to my situation?
I've started on one at work (no access to it at the moment)
that attempts to copy setup.exe from a local mirror I've
created, c:, mkdir \cygwin, cd \cygwin, copy \\host\cygwin\setup.exe,
and then I get into a problem trying to get setup.exe to run.

The command (at work, so I'm going from memory) I'm trying to use
is 'setup.exe --download --site http://host/cygwin --no-shortcuts
--no-desktop perl rsync cvs ssh cygserv'. I am following up the
installation with cd bin, bash.exe --login -i -c '/usr/bin/mkpasswd
--local > /etc/passwd', bash --login -i -c '/usr/bin/mkgroup
--local > /etc/group', bash ... wait, this is confusing...

----------------------------------
c:
mkdir \cygwin
cd \cygwin
copy \\host\cygwin\setup.exe
setup --download --site http://host/cygwin --no-shortcuts \
		--no-desktop perl rsync cvs ssh cygserv
bash.exe --login -i -c '/usr/bin/mkpasswd --local > /etc/passwd
bash.exe --login -i -c '/usr/bin/mkgroup --local > /etc/group
bash.exe --login -i -c '/usr/bin/ssh-keygen'
bash.exe --login -i -c '/usr/bin/ssh-host-config --yes'
net start sshd
----------------------------------

That's what I've tried so far (from memory). Does someone have
a script that does the above and works? :)

Mike


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

- Raw text -


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