安装其实很EASY:
步骤:
Install Cygwin
Start by downloading / installing the latest Cygwin. At http://www.cygwin.com/, you will find lot of little "Install Cygwin
Now" icons - click on one of those.
This will start an interactive download. After several steps, you will come to a screen that allows you to select which
packages to download.
I have the following groups installed for my setup. Note that some of these will be installed by default, and some are
interdependent, so when you choose one, another will automatically be selected.
admin->cron (BIN)
admin->cygrunsrv (BIN)
admin->shutdown (BIN)
base->ash (BIN)
base->bash (BIN)
base->cygwin (BIN)
base->diff (BIN)
base->diffutils (BIN)
base->fileutils (BIN)
base->findutils (BIN)
base->gawk (BIN)
base->gdbm (BIN)
base->grep (BIN)
base->gzip (BIN)
base->libncurses5 (BIN)
base->libncurses6 (BIN)
base->libreadline4 (BIN)
base->libreadline5 (BIN)
base->login (BIN)
base->ncurses (BIN)
base->readline (BIN)
base->sed (BIN)
base->sh-utils (BIN)
base->tar (BIN)
base->termcap (BIN)
base->terminfo (BIN)
base->textutils (BIN)
base->which (BIN)
base->zlib (BIN)
database->postgresql (BIN & SRC)
devel->binutils (BIN)
devel->gcc (BIN)
devel->gdb (BIN)
devel->gettext (BIN)
devel->indent (BIN)
devel->make (BIN)
devel->mingw-runtime (BIN)
devel->swig (BIN)
doc->cygwin-doc (BIN)
doc->man (BIN)
doc->texinfo (BIN)
interpreters->perl (BIN)
libs->crypt (BIN)
libs->libiconv2 (BIN)
libs->libintl1 (BIN)
libs->libintl2 (BIN)
libs->libpopt0 (BIN)
libs->pcre (BIN)
libs->popt (BIN)
libs->w32api (BIN)
text->groff (BIN)
text->less (BIN)
utils->bzip2 (BIN)
utils->cygutils (BIN)
utils->time (BIN)
(return to top)
--------------------------------------------------------------------------------
Configure PostgreSQL
Once you have completed the Cygwin install, you need to set up PostgreSQL. Start by referring to the Cygwin-PostgreSQL readme file, which should be under /usr/doc/Cygwin/postgresql-xxxx.Readme.
The first thing you will need to do is download and install the latest cygipc from:






