Ubuntu 11.04 Init Setting

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值