admin管理员组文章数量:1567919
vista上安装cygwin后,进入bash shell后,输入任何命令都显示command not found;
于是重装过程如下:
1. To install cygwin under windows vista, at first you need to disable the UAC :
"Start"->"Run"-> input "MSConfig"
Press Launch button and then reboot system;
2. Rename the "setup" file to another name, like "cygwin-s", just do not use the word "setup " or "install".
Right click the install file and choose "Run as administrator"
3. Follow the wizard:
You can install from internet; if you have downloaded all the packages to the local disk, choose the third one;
4. Create a directory for cygwin, I use C:/cygwin
Use defaut option such that all the users can use UNIX commands in Cygwin;
5. Local Package Directory:
You will keep the downloaded source files here.
6. Internet Connection Type:
7. Choose a proper site to download source files:
8 If you want to install all the packages, just lick the "Default" behind "All ", and it will changes to "Install":
9. The install process starts, just wait:
10. After all packages are installed, start cygwin, you will see the Bash Shell window with your name account like below:
11. Now run X windows:
you need to run the file startxwin.bat, which is located in the directory C:/cygwin/bin
$ startxwin.bat
12. Now we can try to display the remote server by our X window.
For example, if the server's name is linux.unm.edu (IP address also works), in X window, type:
$ xhost + linux.unm.edu
this is to set the X window to display the remote host's interface
13 then ssh to access remote host:
$ ssh linux.unm.edu
when you login to the remote host, you need to set the DISPLAY path for remote host.
suppose your local machine's IP is 123.45.67.100 (represented by red frame in the picture)
$ export DISPLAY=123.45.67.100:0.0
14 Now you can see the display
参考:
Vista 上安装 Cygwin
http://www.diybl/course/6_system/linux/Linuxjs/2007104/76115.html
版权声明:本文标题:vista下安装cygwin (图文)|Install CygwinX under Windows Vista (Pictures) 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dianzi/1726109262a1055757.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论