xencenter安装系统卡死在mounting_tmp_as_tmpfs_done
xencenter安装系统卡死在mounting_tmp_as_tmpfs_done解决方案:
首先通过 xe vm-list 获取UUID
然后再执行 xe vm-param-set uuid=uuid_of_your_virtual_machine platform:viridian=false
接着重新启动你要安装的那个系统
http://serverfault.com/questions/535492/rhel-clones-centos-scientific-cern-network-installation-on-xenserver-6-2
git基础
123mkdir /git_dircd /git_dirgit init
123456vim readme.md ## this is 13's test git_dir ## use for learn git git add readme.md #添加文件,可反复多次,添加多个文件git commit -m <message> #将添加操作提交 message为相应信息,建议此处输入可读性强的信息
12git status #查看仓库当前的状态git diff readme.md #对比
12345git log # 历史记录git log --pretty=oneline #简略版历史记录git reset --hard HEAD^ #返回上一次修改git reset --hard id #返回id标明的修改git reflog #查看命令历史
prometheus(普罗米修斯)入门使用
prometheus(普罗米修斯)入门使用一 说明Prometheus是最近几年开始流行的一个新兴监控告警工具,特别是 kubernetes 的流行带动了 prometheus 的应用。Prometheus 是一套完整的监控告警系统:
Prometheus的主要特点有:
12345671. a multi-dimensional data model with time series data identified by metric name and key/value pairs2. a flexible query language to leverage this dimensionality3. no reliance on distributed storage; single server nodes are autonomous4. time series collection happens via a pull model over HTTP5. pushing time series is supported via an intermediary gatewa ...
list and tuple
list and tuplelist 列表123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263>>> zhangyin = [ zhang , yin ]Traceback (most recent call last): File "<stdin>", line 1, in <module>NameError: name 'zhang' is not defined>>> zhangyin=[zhang,yin]Traceback (most recent call last): File "<stdin>", line 1, in <module>NameError: name 'zhang' is not defined>> ...
supervisor增删节点
12sudo supervisorctl rereadsudo supervisorctl update