
Linux笔记
文章平均质量分 60
qiurx_csnd
这个作者很懒,什么都没留下…
展开
-
【转】Ubuntu(Linux)下配置IP地址的方法
Ubuntu(Linux)下配置IP地址的方法 一、使用命令设置ubuntu的ip地址 1.修改配置文件blacklist.conf禁用IPV6: sudo vi /etc/modprobe.d/blacklist.conf 2.在文档最后添加 blacklist ipv6,然后查看修改结果: cat /etc/modprobe.d/blacklist.conf转载 2013-10-02 11:45:35 · 893 阅读 · 0 评论 -
ubuntu软件源出错
E: Some index files failed to download. They have been ignored, or old ones used instead. 解决办法 sudo vi /etc/apt/sources.list 将 http://us.arcive.ubuntu.com/ubuntu jaunty....... 改成 http://原创 2013-10-02 11:59:54 · 718 阅读 · 0 评论 -
【转】Ubuntu中root用户和user用户的相互切换
Ubuntu中root用户和user用户的相互切换 原:http://www.cnblogs.com/weiweiqiao99/archive/2010/11/10/1873761.html Ubuntu是最近很流行的一款Linux系统,因为Ubuntu默认是不启动root用户,现在介绍如何进入root的方法。 (1)从user用户切换到root用户 不管是用图形模式登转载 2013-10-02 00:26:55 · 736 阅读 · 0 评论 -
链表添加节点的小细节
list *listInsertNode(list *list, listNode *old_node, void *value, int after) { listNode *node; if ((node = zmalloc(sizeof(*node))) == NULL) return NULL; node->value = value; i原创 2013-10-04 17:34:04 · 655 阅读 · 0 评论