摘要: $myStorageAccount=""$myLocation="China North"$myType="Standard_LRS"$mySubscriptionName=""$myServiceName=""$myVnetName=""$mySubnetName=""$myVMName=""$myAvailabilitySetName=""$myInstanceSize="Large"$myI 阅读全文
posted @ 2017-05-26 17:23 wuzhenzhou 阅读(79) 评论(0) 推荐(0) 编辑
摘要: $myStorageAccount=""# $myLocation="China North"# $myType="Standard_LRS"$mySubscriptionName=""$myServiceName=""$myVnetName=""$mySubnetName=""$myVMName=""$myAvailabilitySetName=""$myInstanceSize="Large" 阅读全文
posted @ 2017-05-26 17:22 wuzhenzhou 阅读(160) 评论(0) 推荐(0) 编辑
摘要: # ZOOKEEPER 国内安装文件下载地址# ZOOKEEPER_WEB_FILE=https://mirrors.tuna.tsinghua.edu.cn/apache/zookeeper/zookeeper-3.4.10/zookeeper-3.4.10.tar.gz# 是否下载 ZOOKEEPER 安装文件# wget -P /tmp $ZOOKEEPER_WEB_FILE# ZOOKEE... 阅读全文
posted @ 2017-05-26 17:07 wuzhenzhou 阅读(183) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bashIP=`ifconfig eth0 | grep "inet " | awk '{ print $2}'`INFLUXDB=192.168.0.28MASTERLINKSTATUS=`redis-cli -h ${IP} info | grep master_link_status: | cut -d ':' -f 2`HOST=`hostname`ROLE=`redis-c... 阅读全文
posted @ 2016-09-20 15:13 wuzhenzhou 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 什么是Azure CLI快速安装 Azure 命令行界面 (Azure CLI),以便使用一组基于 shell 的开源命令在 Azure 中创建和管理资源。步骤 1:安装. 登录https://www.azure.cn/downloads/,下载命令行工具,Azure命令行借口. 安装下载的程序,Web平台安装程序,选择Microsoft Azure Cross-platform Command ... 阅读全文
posted @ 2016-09-09 11:02 wuzhenzhou 阅读(217) 评论(0) 推荐(0) 编辑
摘要: $mySubscriptionName=“订阅名称"Select-AzureSubscription -SubscriptionName $mySubscriptionNameGet-AzureVNetConfig -ExportToFile c:\NetworkConfig.xmlSet-AzureVNetConfig -ConfigurationPath c:\NetworkConfi... 阅读全文
posted @ 2016-09-08 16:33 wuzhenzhou 阅读(140) 评论(0) 推荐(0) 编辑
摘要: [Azure Service Manager]Add-AzureAccount -Environment AzureChinaCloudGet-AzureAccountRemove-AzureAccount -NameSelect-AzureSubscription -SubscriptionName "订阅名称"Get-AzurePublishSettingsFileImport-Azu... 阅读全文
posted @ 2016-09-08 09:41 wuzhenzhou 阅读(637) 评论(0) 推荐(0) 编辑
摘要: VERSION=3.2.9wget -P /tmp http://download.redis.io/releases/redis-$VERSION.tar.gztar -C /tmp -xf /tmp/redis-$VERSION.tar.gzcd /tmp/redis-$VERSION#make MALLOC=jemallocmakemake install# 创建组和用户groupad... 阅读全文
posted @ 2016-09-08 00:19 wuzhenzhou 阅读(343) 评论(0) 推荐(0) 编辑
摘要: . 环境准备虚拟机:ssag-bj-ad-01, ssag-bj-fc-01, ssag-bj-sql-01, ssag-bj-sql-02, ssag-sh-ad-01, ssag-sh-fc-01, ssag-sh-sql-01. 主域控制器ssag-bj-ad-01安装 服务器角色 Active Directory 域服务,. 辅助域控制器ssag-sh-ad-01安装服务器角色 Ac... 阅读全文
posted @ 2016-08-27 11:25 wuzhenzhou 阅读(275) 评论(0) 推荐(1) 编辑
摘要: $mySubscriptionName=“订阅名称"Select-AzureSubscription -SubscriptionName $mySubscriptionName$myLocation = "China North"$myServiceName = "" New-AzureService -Location $myLocation -ServiceName $myServi... 阅读全文
posted @ 2016-08-25 15:45 wuzhenzhou 阅读(110) 评论(0) 推荐(0) 编辑