一 gcc 高亮
gcc 高亮有好几种方法。
参考 http://www.cokco.cn/thread-39909-1-1.html 这个教程:
(1)
- git clone https: //github.com/chinaran/color-compile/
- (2)
- cd color-compile
- make
- sudo make install
- (3)退出再登陆,进入这个目录,make TEST
- 二 apt-get update问题
- 出现了一点问题,按照网上的方法,将 /var/lib/apt/lists下的文件移到别的地方,然后 apt-get update,就出现了错误。具体是名叫 lunchpad 之类的一个PPA 错误, NODATA 2
- 找了很多资料都没解决。
- 最终发现是 /tmp 的问题,这个目录满了,容量是5MB。
- 从这里发现的:http://stackoverflow.com/questions/25388620/debian-apt-error-the-following-signatures-were-invalid-nodata-1-nodata-2
- 总结,以前cassandra有个问题,也是tmp的问题,也是容量太小。
来源: http://www.bubuko.com/infodetail-2005482.html