lansh

首页 新随笔 联系 订阅 管理

随笔分类 -  Linux

摘要:在Vmware中安装,必须在新建项目的时候,用自定义方式,然后选择硬盘为IDE方式,不要在意什么SCSI是Recommanded,都是同一个文件,速度上没有区别的。否则无法正常启动。 定制呀定制,相当于DEBIAN 网络安装盘 sudo apt-get install x-window-system-core gnome-core fcitx im-switch ttf-arphic-u... 阅读全文
posted @ 2008-07-07 11:16 lansh 阅读(514) 评论(0) 推荐(0)

摘要: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 阅读(9260) 评论(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 阅读(2006) 评论(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 阅读(653) 评论(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 阅读(315) 评论(0) 推荐(0)