linux
文章平均质量分 55
lightLinux
这个作者很懒,什么都没留下…
展开
-
linux下inode深入浅出
一、inode是什么?理解inode,要从文件储存说起。文件储存在硬盘上,硬盘的最小存储单位叫做"扇区"(Sector)。每个扇区储存512字节(相当于0.5KB)。 操作系统读取硬盘的时候,不会一个个扇区地读取,这样效率太低,而是一次性连续读取多个扇区,即一次性读取一个"块"(block)。这种由多个扇区组成的"块",是文件存取的最小单位。"块"的大小,最常见的是转载 2014-09-11 21:59:41 · 728 阅读 · 0 评论 -
技巧
cron计划任务模块的使用tasks:- cron: name="check dirs" hour="5,2" job="ls -alh > /dev/null"- name: create {{ user }} on web user: name="{{ user }}"执行可选择的tagansible-play原创 2015-04-12 22:32:20 · 419 阅读 · 0 评论 -
ubuntu安装docker失败,提示404
现象:root@ubuntu:~# apt-get install -y docker.ioReading package lists... DoneBuilding dependency tree Reading state information... DoneThe following extra packages will be installed:原创 2016-04-03 18:27:29 · 4459 阅读 · 0 评论 -
docker学习
https://github.com/DaoCloud/help.daocloud.io/blob/master/src/tutorials/README.md原创 2016-04-05 08:54:39 · 360 阅读 · 0 评论 -
docker配置
1.先接入daocloud 在虚拟机上执行: curl -sSL https://get.daocloud.io/daomonit/install.sh | sh -s a82dcdd62d3d1b452b49c2664334b05119c3e2a9 该命令实在daocloud的启动加速器上,配置集群信息中获取。 执行完成后,就可以在daocloud的集群管理中看到原创 2016-04-10 08:08:02 · 636 阅读 · 0 评论