摘要: eth0,eth1,eth2,代表网卡一,网卡二,网卡三 lo代表127.0.0.1,即localhost hw 代表hardware 硬件意思 ether 代表ethernet 以太网的意思 ifconfig配置网卡 配置网卡的IP地址 ifconfig eth0 192.168.0.1 netm 阅读全文
posted @ 2018-09-07 19:47 anobscureretreat 阅读(169) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-09-07 18:26 anobscureretreat 阅读(222) 评论(0) 推荐(0)
摘要: 开机,不停按delete,进入bios 进入boot,选择USB启动 重新开机,进入安装向导,下一步即可 阅读全文
posted @ 2018-09-07 18:24 anobscureretreat 阅读(1527) 评论(0) 推荐(0)
摘要: pip install django==1.8.2 阅读全文
posted @ 2018-09-07 18:13 anobscureretreat 阅读(492) 评论(0) 推荐(0)
摘要: 设置Ubuntu 14.04右键终端的方法如下: 首先要安装一个包,即可在右键里面添加一个“打开终端”的菜单。 sudo apt-get install nautilus-open-terminal 注销Ubuntu系统或者重启即可. 阅读全文
posted @ 2018-09-07 17:47 anobscureretreat 阅读(389) 评论(0) 推荐(0)
摘要: sudo apt-get update 阅读全文
posted @ 2018-09-07 17:45 anobscureretreat 阅读(1551) 评论(0) 推荐(0)
摘要: 对于父进程,fork函数返回了子程序的进程号,而对于子程序,fork函数则返回零,这样,对于程序,只要判定fork函数的返回值,就知道自己是处于父进程还是子进程中。 阅读全文
posted @ 2018-09-07 16:24 anobscureretreat 阅读(228) 评论(0) 推荐(0)
摘要: 构造的顺序是继承的顺序 阅读全文
posted @ 2018-09-07 13:32 anobscureretreat 阅读(118) 评论(0) 推荐(0)