mvvm moudle-view-viewMoudle 之意moudle 为数据view
为展示viewMoudle为view与moudle的桥梁页面view部分 moudle 和viewMoudlegroot.view("myview",
function (vm, ve) { ...
分类:
其他好文 时间:
2014-06-16 06:23:47
阅读次数:
198
由于使用Ubuntu的缘故,开始使用VirtualBox,使用中遇到了一些小问题,整理如下(已经许久未更新,希望对刚接触的朋友有帮助,老手们请自动忽略)。VirtualBox下载地址:https://www.virtualbox.org/wiki/Downloads1、VirtrualBoxUSB设备无法分配首先需要安装补丁包(Oracle_VM..
分类:
其他好文 时间:
2014-06-10 23:14:54
阅读次数:
244
在第8节中,我们提到如果要让租户从私有的VM网络中访问外网,需要进行NAT网关的设置。1.我们先来看看本节所需要的硬件环境。我这边准备了2台物理机,并添加入VMM管理:sc-hostrt:配置3块物理网卡,作NAT网关用sc-host2:配置2块物理网卡,作放置租户的自建VM虚拟机用。如果实..
分类:
其他好文 时间:
2014-06-10 18:50:56
阅读次数:
305
[root@VM_64_69_centos httpd]# curl
http://localhost:9001/pay301 Moved PermanentlyMoved PermanentlyThe document has
moved here.Apache/2.2.15 (CentOS) S...
分类:
其他好文 时间:
2014-06-10 13:26:18
阅读次数:
287
在PS2.0中,如果返回值为空,则count也会返回空(vm.txt内容为空),如下:(gc
d:\vm.txt).count如果加上@的话,会返回0@(gc
d:\vm.txt).count在PS3.0中,即使内容为空,count也会返回0=============================...
分类:
其他好文 时间:
2014-06-10 12:58:20
阅读次数:
177
dir1下有个log_1.log dir2下有个log_2.log 两个文件如下:
p_ylwu@VM_194_111_sles10_64:/home/jdxochen/exercise> cat -v dir1/log_1.log
1
3
5
7
9
0
p_ylwu@VM_194_111_sles10_64:/home/jdxochen/exercise> cat -v di...
分类:
系统相关 时间:
2014-06-10 11:04:29
阅读次数:
265
给已经存在的Cloudstack平台zone中添加一个物理网络,web界面没有添加接口,可以通过这里添加...
分类:
其他好文 时间:
2014-06-10 07:35:27
阅读次数:
286
每个app 都有一个自己的 linux 进程;每个进程都在自己的虚拟机里执行两个app
可以跑在一个进程,一个vm里android app 四大组件:activity,content provider, services, broardcast
receiversContent Resolver ....
分类:
移动开发 时间:
2014-06-10 00:25:23
阅读次数:
287
(1)vm.overcommit_memory执行grep -i commit
/proc/meminfo看到CommitLimit和Committed_As参数。CommitLimit是一个内存分配上限,CommitLimit =
物理内存 * overcommit_ratio(默认50,即50%...
分类:
其他好文 时间:
2014-06-09 20:39:30
阅读次数:
609
libvirt是当前主流VM最低层库、IBM
PowerVM也不例外,libvirt是深入玩虚拟化必须玩转的东西;简单测试玩玩libvirt
的virsh命令行交互工具,你我都知识libvirt大体上主要有3个组件,分别是:1. libvirt daemon进程2. 命令行工具virsh3. ...
分类:
其他好文 时间:
2014-06-08 19:57:13
阅读次数:
369