One for all,all for one.

2012年10月30日 星期二

FleaPHP find 查詢關聯數據表欄位

›
$user = $this->_modelUsers->findAll(array(array('roles.role_id', $_GET['role_id'])));  ?> Reference : Flea...

Xen boot from physical disk

›
設定檔待補 Use pyGRUB for bootloader boot ...
2012年10月29日 星期一

FleaPHP find() 查詢不確定多條件

›
$conditions = null; $fields = array('id', 'name', 'sex', 'phone'); foreach($fields as $each) {     i...

FleaPHP find 不查詢關聯數據表

›
/** * 返回符合条件的第一条记录及所有关联的数据,查询没有结果返回 false * * @param mixed $conditions * @param string $sort * @param mixed $fields * @param mixed $q...
2012年10月28日 星期日

libvirt cgroup

›
# mount -t cgroup none /sys/fs/cgroup -o remount,rw,relatime,perf_event,blkio,net_cls,freezer,devices,cpuacct,cpu,cpuset,devices,memory

mknod - make block or character special files

›
# mknod [OPTION]... NAME TYPE [MAJOR MINOR] Reference : Making static devices in UDEV (Shallow Thoughts)

Error creating domain: device model ‘/usr/lib64/xen/bin/qemu-dm’ not found

›
Unable to complete install ‘libvirt.libvirtError POST operation failed: xend_post: error from xen daemon: (xend.err “Error creating domain:...
‹
›
首頁
查看網路版
技術提供:Blogger.