0. install in VMware
1. Network
I Choose Bridged
host: 192.168.1.x
ubuntu 192.168.1.x+1
虚拟机网络设置之前参考网上,具体步骤忘记,关键部分截图下:
2. VMtools
有个很常遇到的问题,安装会卡在
What is the location of the directory of C header files that match your running
2.kernel? [/usr/src/linux/include]
解决参考:
http://hi.baidu.com/zhaofeng068318/blog/item/d866790bc802640a95ca6bd2.html
关键内容是:
之前的路径问题:2.6.38-8-generic/ 根据自己的uname -r 结果
/usr/src/linux-headers-2.6.38-8-generic/include/linux/version.h
add :
#define UTS_RELEASE "2.6.38-8-generic"
提示找不到autoconf.h
root@Glory:/usr/src/linux/include/linux# ln -s ../generated/autoconf.h ./autoconf.h
then sth also could not be done successfully, but the vmtool is installed OK as a whole
后面也出现一些啥的编译不了,不管,该yes的yes该no的no,
算是可以了。
3. source list
add source list into the file: /etc/apt/sources.list // the source list can be found on the net according to your Ubuntu version.
then:
apt-get update
4. 常用软件安装
apt-get install vim