This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Installing cygwin by manually copying c:\cygwin to another machine

Brett Serkez wrote:

Not particularly, assuming you use the same local package cache on
each machine, especially if you use the trick for pulling in all the
packages you want automatically.


I don't know about chere,

chere must have settings in the registry, as it adds a 'bash here' menu
option in explorer when you right click on a directory.  You'd have to
run 'chere -i' on the new system.

Ah. See below.

That means that setup, services like sshd, cron, inetd, etcetera will
be available for installation.

Right, available for installation, you'd have to run the setup scripts.
I suppose running ssh-host-config wouldn't be a bad idea, not only would
it install the Windows sshd service on the new system, but it would
generate unique host keys, otherwise both the new and old systems would
have the same key.

Sounds like this is doable, but there may be a series of commands that
need to be run, depending on the original installation.

You don't want to be copying a setup where you've already installed ssh or such things imo, though you could do.

Given that you already have to run a script to set up the mount points, there's no reason why you couldn't extend it to install sshd and any other services you wanted/needed...
Hell, you could even wrap the entire thing in a .cmd/.bat script in order to automate it entirely.. (Assuming ssh-host-config and other similar scripts have a non-interactive mode..)


Spinning complacently in the darkness, covered and blinded by a blanket
of little lives, false security has lulled the madness of this world
into a slumber. Wake up! An eye is upon you, staring straight down and
keenly through, seeing all that you are and everything that you will
never be. Yes, an eye is upon you, an eye ready to blink. So face
forward, with arms wide open and mind reeling. Your future has
arrived... Are you ready to go?

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]