上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 52 下一页
摘要: sudo lshw -class network 阅读全文
posted @ 2016-04-15 17:03 圆旭 阅读(7927) 评论(0) 推荐(1)
摘要: 1)打开对应虚拟机的Settings,点开Network, 2)Adapter1如果已经选了挂到Bridged Adapter,则点开Adapter2, 3)选择挂到 Internal Network, 下边的选项为默认(我的是intnet),保存,开机就可以查到新增加的网卡了, 下面说明以下int 阅读全文
posted @ 2016-04-13 17:47 圆旭 阅读(2662) 评论(0) 推荐(0)
摘要: 常用ad hoc命令, 如:ansible raleigh -m shell -a 'echo $TERM' ansible webservers -m service -a "name=httpd state=restarted" from: http://ansible-tran.readthe 阅读全文
posted @ 2016-04-13 11:18 圆旭 阅读(134) 评论(0) 推荐(0)
摘要: $ git commit -m "Something terribly misguided" (1) $ git reset --soft HEAD~ (2) << edit files as necessary >> (3) $ git add ... (4) $ git commit -c OR 阅读全文
posted @ 2016-04-12 21:50 圆旭 阅读(1401) 评论(0) 推荐(0)
摘要: 元资料(Metadata),又称元数据、诠释资料、中继资料后设资料,为描述资料的资料(data about data),主要是描述资料属性(property)的资讯,用来支持如指示储存位置、历史资料、资源寻找、文件记录等功能。元资料算是一种电子式目录,为了达到编制目录的目的,必须在描述并收藏资料的内 阅读全文
posted @ 2016-04-07 14:56 圆旭 阅读(389) 评论(0) 推荐(0)
摘要: tinyint格式: TINYINT[(M)] [UNSIGNED] [ZEROFILL] M默认为4 Tinyint占用1字节的存储空间,即8位(bit)。 带符号的范围是-128到127。无符号的范围是0到255。 tinyint(4) tinyint(80) 的确都是一样的,4,80对存储和精 阅读全文
posted @ 2016-04-07 10:05 圆旭 阅读(2679) 评论(0) 推荐(1)
摘要: A lesser known trick is that mod_php maps stderr to the Apache log. And, there is a stream for that, so file_put_contents('/path/to/file.log', $foo . 阅读全文
posted @ 2016-04-05 18:01 圆旭 阅读(796) 评论(0) 推荐(0)
摘要: question: tinycore在boot时, 运行bootlocal.sh脚本,其中有局域网通信的部分,一直跑不通,测试了一下才知道是运行bootlocal.sh的阶段,网络可能没有配置好,ip地址尚未分配。 answer: 将如下代码放置于网络通信的代码前边,此代码的作用是等待网卡配置好,一 阅读全文
posted @ 2016-04-01 15:44 圆旭 阅读(488) 评论(0) 推荐(0)
摘要: sudo systemctl list-unit-files 阅读全文
posted @ 2016-03-29 09:31 圆旭 阅读(2252) 评论(0) 推荐(0)
摘要: 转自: http://jingyan.baidu.com/article/425e69e6aeede8be14fc1675.html 阅读全文
posted @ 2016-03-25 16:38 圆旭 阅读(151) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 52 下一页