Azure PowerShell is a powerful scripting environment that you can use to control and automate the deployment and management of your workloads in Azure...
分类:
系统相关 时间:
2015-03-29 16:27:37
阅读次数:
177
守护线程/*
* Daemon线程,即守护线程
* 一般都在后台运行,为其他线程提供服务,不能单独存在
*/
public class Test08 {
public static void main(String[] args) {
MyThread8 t1 = new MyThread8("守护线程");
System.out.println("是守...
分类:
编程语言 时间:
2015-03-29 10:53:45
阅读次数:
148
#!/bin/bash
if[-z$1];then
echo"Usage:crun<p_w_picpathname>:<version>"
echo"cstop<containername>"
exit1
fi
if[-z$ETCD_HOST];then
ETCD_HOST="192.168.2.98:4001"
fi
if[-z$ETCD_PREFIX];then
ETCD_PREFIX="app/servers"
fi
if[-z$CPORT];then
CPO..
分类:
其他好文 时间:
2015-03-28 18:53:39
阅读次数:
168
用git下载源码后修改配置文件config.yml,把storage_path部分改成Docker镜像仓库的存放地点:$gitclonehttps://github.com/dotcloud/docker-registry$cddocker-registry$cpconfig_sample.ymlconfig.yml$viconfig.yml...#Thisisthedefaultconfigurationwhennoflavorisspecifiedd..
分类:
其他好文 时间:
2015-03-28 18:52:56
阅读次数:
128
微软近期Open的职位:Are you interested in helping to drive the direction of a product that defines the cloud industry? Do you enjoy working on fast paced, ble...
分类:
Web程序 时间:
2015-03-28 15:44:30
阅读次数:
164
adb即Android
Debug Bridge,是一个通用的命令行工具,用来与安卓设备或模拟器交互。adb是一种client-server程序,由三个部分组成:client、server和daemon。
adb工具位于安卓sdk的platform-tools目录下。
adb命令语法——
adb [-d | -e | -s ]
-d:device,在USB连接的安卓设备上执行命令,设...
分类:
数据库 时间:
2015-03-27 22:25:42
阅读次数:
273
一、查看用户/etc/passwd[root@mylinux~]#cat/etc/passwd|head-5
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
[root@mylinux..
分类:
系统相关 时间:
2015-03-20 22:12:36
阅读次数:
309
最近一段时间学习了下Docker,关于Docker的安装,运用什么的在这里我不会过多的说明,我只说我对于Docker的一些理解,附加我用于记录的少量代码。刚开始学习Docker的时候,找资料在网上看到最多的是Docker的好处。比如:1、Docker 容器的启动可以在秒级实现,这相比传统的虚拟机方式...
分类:
其他好文 时间:
2015-03-20 15:59:29
阅读次数:
144
fabric是python的一个基于命令行的自动化部署框架,用docker开了两个容器来学习fabric.#!/usr/bin/env python#-*- coding=utf-8 -*-from fabric.api import *env.hosts=[ 'root@114.215.86.2....
分类:
其他好文 时间:
2015-03-20 12:36:57
阅读次数:
148
《Windows Azure Platform 系列文章目录》 这是笔者在之前的项目中遇到的问题,做一下总结,给网友做参考。 在一般情况下,Visual Studio开发的Cloud Service在部署到Azure PaaS平台后,是IIS托管管道模式。有的时候,客户的Web应用程序需要4...