equal
deleted
inserted
replaced
8 |
8 |
9 d:\opt\cygwin |
9 d:\opt\cygwin |
10 |
10 |
11 Add to your PATH env var exactly before C:\WINDOWS\system32;C:\WINDOWS values: |
11 Add to your PATH env var exactly before C:\WINDOWS\system32;C:\WINDOWS values: |
12 |
12 |
13 set PATH=d:\opt\cygwin\bin;d:\opt\cygwin\usr\local\bin;%PATH% |
13 set PATH=d:\opt\cygwin\bin;d:\opt\cygwin\usr\local\bin;%PATH% |
14 |
|
15 Set CYGWIN env var: |
|
16 |
14 |
17 REM Set CYGWIN variable to 'nontsec'. That makes sure that permissions |
15 REM Set CYGWIN variable to 'nontsec'. That makes sure that permissions |
18 REM on your windows machine are not updated as a side effect of cygwin |
16 REM on your windows machine are not updated as a side effect of cygwin |
19 REM operations. |
17 REM operations. |
20 SET CYGWIN=binary nontsec nodosfilewarning codepage:utf8 |
18 set CYGWIN=binary nontsec nodosfilewarning codepage:cp1251 noglob |
|
19 |
|
20 set LANG=ru_RU.cp1251 |
21 |
21 |
22 Set HOME env var (where places config file and projects): |
22 Set HOME env var (where places config file and projects): |
23 |
23 |
24 set HOME=d:\home |
24 set HOME=d:\home |
25 |
25 |
33 |
33 |
34 * Users and groups. |
34 * Users and groups. |
35 |
35 |
36 ** Recreate /etc/passwd and /etc/groups. |
36 ** Recreate /etc/passwd and /etc/groups. |
37 |
37 |
38 $ mkpasswd -d | grep $yourlogin > /etc/passwd # if you in Windows domen |
38 $ mkpasswd -d | grep $yourlogin > /etc/passwd # if you in Windows domain |
39 $ mkpasswd -l > /etc/passwd # if you in Windows domen |
39 $ mkpasswd -l > /etc/passwd # if you in Windows domain |
40 |
40 |
41 $ mkgroup -l > /etc/group |
41 $ mkgroup -l > /etc/group |