Cygwin Install - Net
Warning:
The use of Cygwin is no longer supported at LEPP. If you need a Linux environment, use a Linux computer. The information below is retained strictly for historical reasons.
Instructions for installing Cygwin on Windows. The most up to date information can be found at
http://www.cygwin.com.
Please refer to
XFree86 for instructions on running various X sessions.
PLEASE NOTE! if you modify user information on your windows machine after performing the original cygwin installation, you must mkpasswd to synchronise cygwin with your windows user accounts and passwords. To do this, from a cygwin bash shell type
mkpasswd -l > /etc/passwd to synchronize cygwin with your local user accounts, and
mkpasswd -d to synchronize Cygwin with the domain user accounts
Part 1 – Installing Cygwin
- Double-click on setup.exe.
- Select Install from Internet, and click Next.
- Select the default root directory, C:/cygwin, All Users and Unix, and click Next.
- Select the local package directory where you would like to save the installation files, and click Next.
- Select Direct Connection, and click Next.
- Choose the Download Site that you would like to download Cygwin from. I usually choose either the NASA or MCS (ftp://mirror.mcs.anl.gov) mirror.
- Select the packages you would like to install by clicking on the two arrows to the right of each package name. If you have enough space on your "C:" drive, click on the arrows to the right of All to install every package.
- Click Next.
- Click Finish.
- Click OK.
Part 2 - Adding Users
After installing Cygwin, you must synchronize /etc/passwd with your Windows usernames and passwords. This will ensure that cygwin recognizes you as your Windows username.
- From a Cygwin command prompt, type mkpasswd -d LNSNTCAD > /etc/passwd. This will synchronize Cygwin with the LNSNTCAD usernames and accounts. In addition, this will make each users home directory their personal directory on PC50. For example, after running this command, my home directory becomes \\pc50\users\dab66
- Alternatively, mkpasswd -l > /etc/passwd will synchronize Cygwin with any local user accounts you have on your system.