我有一个由 windows 和 linux 共享的磁盘分区(格式:NTFS)。它包含一个 git 存储库(大约 6.7G)。
如果我只使用 windows或只使用 linux来操作 git 存储库,一切都很好。
但是每次我切换系统。该git status命令将刷新索引,大约需要 1 分钟。在我运行之后git status,如果我git status再次在同一个系统中运行。只需不到 1 秒。这是结果
# Just after switch from windows
[#5#wangx@manjaro:duishang_design] git status # this command takes more than 60s
Refresh index: 100% (2751/2751), done.
On branch master
nothing to commit, working tree clean
[#10#wangx@manjaro:duishang_design] git status # this time the command takes less than 1s
On branch master
nothing to commit, working …Run Code Online (Sandbox Code Playgroud) 最近,我在http://guac-dev.org/上的手册中遵循了Guacamole的安装说明.我的系统是Ubuntu 14.04.
首先,我安装了基本的必需依赖项:
$ apt-get install -y apache2 libcairo2-dev libjpeg62-dev libpng12-dev libossp-uuid-dev libfreerdp-dev libpango1.0-dev libssh2-1-dev libtelnet-dev libpulse-dev libssl-dev libvorbis-dev maven tomcat7
$ apt-get install -y libvncserver-dev
Run Code Online (Sandbox Code Playgroud)
然后,我按照手册中的说明下载guacamole-server-0.9.8.tar.gz并guacamole-0.9.8.war安装它们:
$ tar xf guacamole-server-0.9.8.tar.gz
$ cd guacamole-server-0.9.8
$ ./configure
$ make
$ make install
$ cp guacamole-0.9.8.war /var/lib/tomcat7/webapps/guacamole.war
$ mkdir /etc/guacamole
Run Code Online (Sandbox Code Playgroud)
我创建了/etc/guacamole/guacamole.properties,包含以下内容:
guacd-hostname: localhost # although the guide says it should be guacd-host, but the example shown in http://guac-dev.org/doc/gug/configuring-guacamole.html is guacd-hostname
guacd-port: 4822
user-mapping: /etc/guacamole/user-mapping.xml …Run Code Online (Sandbox Code Playgroud)