author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 14 Jun 2010 10:36:49 +0300 | |
changeset 421 | a5d84ad2bdf1 |
parent 414 | 95d5fafa0a88 |
child 433 | 7eae6f4baa38 |
permissions | -rwxr-xr-x |
346 | 1 |
-*- mode: outline; coding: utf-8 -*- |
2 |
||
3 |
* About Cygwin. |
|
4 |
||
5 |
* Installation. |
|
6 |
||
7 |
Run setup.exe. Use output dir like: |
|
8 |
||
9 |
d:\opt\cygwin |
|
10 |
||
11 |
Add to your PATH env var exactly before C:\WINDOWS\system32;C:\WINDOWS values: |
|
12 |
||
413
97bcb31af707
Updated installation instruction for cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
13 |
set PATH=d:\opt\cygwin\bin;d:\opt\cygwin\usr\local\bin;%PATH% |
346 | 14 |
|
15 |
REM Set CYGWIN variable to 'nontsec'. That makes sure that permissions |
|
16 |
REM on your windows machine are not updated as a side effect of cygwin |
|
17 |
REM operations. |
|
413
97bcb31af707
Updated installation instruction for cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
18 |
set CYGWIN=binary nontsec nodosfilewarning codepage:cp1251 noglob |
97bcb31af707
Updated installation instruction for cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
19 |
|
97bcb31af707
Updated installation instruction for cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
380
diff
changeset
|
20 |
set LANG=ru_RU.cp1251 |
346 | 21 |
|
22 |
Set HOME env var (where places config file and projects): |
|
23 |
||
24 |
set HOME=d:\home |
|
380 | 25 |
|
26 |
Also you need edit /etc/passwd to point to correct home path. |
|
27 |
||
28 |
* Users and groups. |
|
29 |
||
30 |
** Recreate /etc/passwd and /etc/groups. |
|
31 |
||
414 | 32 |
$ mkpasswd -d | grep $yourlogin > /etc/passwd # if you in Windows domain |
33 |
$ mkpasswd -l > /etc/passwd # if you in Windows domain |
|
380 | 34 |
|
35 |
$ mkgroup -l > /etc/group |