一.原因分析: 树莓派内存太小,编译程序会出现virtual memory exhausted: Cannot allocate memory的问题,可以用swap扩展内存的方法. 二.解决方法: 安装dphys-swapfile软件包,安装后默认设置的swap大小为物理内存的两倍,最大为2G. Autogenerate and use a swap file This init.d script exists so one does not need to have a fixed size…
centos 6.5 在virtual box 上 安装增强版工具: 出现:centos unable to find the source of your current linux kernel Is it too late to contribute to this thread? I found that gcc and kernel-devel was not included with the generic desktop install so also needed to do…