delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,TW_YG |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4C93BA9B.7050403@bopp.net> |
Date: | Fri, 17 Sep 2010 13:59:39 -0500 |
From: | Jeremy Bopp <jeremy AT bopp DOT net> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Transfer of installation settings |
References: | <000001cb5692$7afcc170$70f64450$@cvut.cz> <20100917180736 DOT GE3503 AT jethro DOT local DOT lan> |
In-Reply-To: | <20100917180736.GE3503@jethro.local.lan> |
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 |
On 9/17/2010 1:07 PM, David Sastre wrote: > On Fri, Sep 17, 2010 at 08:02:23PM +0200, Milos Puchta wrote: >> I have installation of Cygwin that I want to transfer >> on another computer with Windows 7 operating system >> on both computers (editions are the same). >> I would not like to do it item by item. >> In my understanding >> setup -P {list of packages} >> would help, if I have this list....But how to take >> list of packages from the first computer? > > cygcheck -c | awk '{print $1}' > >> Is there any simple method, how to transfer onstallation >> settings? > > I don't quite understand what you mean here. Most Cygwin configuration information goes into /etc, so if you have replicated the package installation, you can probably just copy the contents of /etc to the new system for the most part, replacing any existing files. You probably need to skip the /etc/postinstall, /etc/preremove, and /etc/setup directories though since those have information regarding the setup process you just ran. You may also want to skip /etc/passwd and /etc/group and just regenerate them in place on the new system in case there are important differences for some reason. Other items such as services you have configured (e.g. sshd) will be easiest to replicate by running their setup/config scripts again as you did on the original computer. In case you don't remember what Cygwin services you have installed, you should be able to list Cygwin services by running the following: cygrunsrv -L -Jeremy -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |