lansh

首页 新随笔 联系 订阅 管理

2008年7月1日 #

摘要: crt1.o: No such file: No such file or directory While using gcc on a newly installed system you may get: /usr/bin/ld: crt1.o: No such file: No such file or directory This is a common problem, but w... 阅读全文
posted @ 2008-07-01 15:21 lansh 阅读(9250) 评论(1) 推荐(0)

摘要: 打开终端(呵呵,这个不用怎么说了吧,地球人都知道) 1.)输入:sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup //此为保存当前的源列表 2.)输入:sudo gedit /etc/apt/sources.list //此为编辑源列表 此时会用gedit打开源列表,全选后,复制以下横线之间的内容覆盖原有的全部内容: -----... 阅读全文
posted @ 2008-07-01 13:36 lansh 阅读(2005) 评论(0) 推荐(0)

摘要: define in apt.conf Acquire { Retries "0"; HTTP { Proxy "http://proxy.mystarhub.com.sg:8080"; }; }; 或: Acquire::http::Proxy "http://MYDOMAIN\MYNAME:MYPASS@MY.PROXY.COM:MYPORT"; 或: sudo export http... 阅读全文
posted @ 2008-07-01 13:14 lansh 阅读(652) 评论(0) 推荐(0)

摘要: 如何启用 Ubuntu 中的 root 帐号 2006-09-28 Toy Posted in TutorialsRSSTrackback 其实我个人认为这没有多大必要,因为当你需要 root 的权限时,使用 sudo 便可以了。如果你实在需要在 Ubuntu 中启用 root 帐号的话,那么不妨执行下面的操作: sudo passwd root 此命令将会重新设置 root 的密码,按照... 阅读全文
posted @ 2008-07-01 12:16 lansh 阅读(314) 评论(0) 推荐(0)