摘要: sudo apt-get install 软件包 这个是更新你指定的软件包 sudo apt-get update 获取更新列表 sudo apt-get dist-upgrade 开始更新 ./configure的问题 错误: C compiler cannot create executables 原因: 解决:sudo apt-get gcc libc6-dev 错误:checking for C compiler default output... configure: error: C compiler cannot create executables 原因: 解决:sudo a. 阅读全文
posted @ 2012-05-15 21:16 瑞尼书苑 阅读(2936) 评论(0) 推荐(0)
摘要: VMware7.1.5虚拟机安装Ubuntu 11.10使用share folders共享目录 将虚拟机掉电关闭(不能暂停),设置share folders目录,重启虚拟机。 此时/mnt/hgfs目录仍然是空的。 应该sudo apt-get install open-vm-dkms,一路按enter键通过。 然后sudo mount -t vmhgfs .host:/ /mnt/hgfs,这样/mnt/hgfs下便有了与windows的共享目录。 为了每次开机自动挂载共享目录,在/etc/init.d/open-vm-tools末尾增加一行: sudo mount -t vmhgfs .h 阅读全文
posted @ 2012-05-15 19:40 瑞尼书苑 阅读(208) 评论(0) 推荐(0)
摘要: 1、首先备份Ubuntu源列表 sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup 2、修改更新源 sudo gedit /etc/apt/sources.list (打开Ubuntu源列表文件) 3、将下面的代码粘贴进去#网易 Ubuntu 11.10 源deb http://mirrors.163.com/ubuntu/ oneiric main universe restricted multiverse deb-src http://mirrors.163.com/ubuntu/ oneiric main unive.. 阅读全文
posted @ 2012-05-15 19:00 瑞尼书苑 阅读(201) 评论(0) 推荐(0)