まぁ、多分、そうだとおもっていたが。。。
2016年10月18日火曜日
2016年10月7日金曜日
2016年8月31日水曜日
2016年8月23日火曜日
仮想マシン Windows Server 2012R2 に PHPを設定したときにトラブったのでメモ
Web Platform Installer を使って、楽しようとおもったのに、これが残念な結果に。
結論からいえば、Web PIでのPHPランタイムのインストール時には、VCランタイムがインストールされない。つまりは、別途、VCランタイムをインストールすれば良い。
5.5以前なら、VC9(VS2010??)、5.6ならVC11(VS2012)のランタイムが必要。
また、デフォルトのインストールだと、<?PHP と書かないといけないので、これは、PHP.INI の修正で対応。
short_open_tag
の設定をいじる。
2016年6月27日月曜日
Trusted Cloud: Microsoft Azure Security, Privacy, and Compliance White Paper は、「信頼できるクラウド: Microsoft Azure のセキュリティ、プライバシー、コンプライアンス 」と翻訳されている
Microsoft Trust Centerにある「Trusted Cloud: Microsoft Azure Security, Privacy, and Compliance White Paper」。英語しかないのかなー、おもっていたら、翻訳されてた。
https://info.microsoft.com/JA-Azure-CNTNT-FY15-06Jun-MS-Azure-security-privacy-compliance.html
から申込可能。
2016年5月26日木曜日
Block Blob のコンテナにディレクトリを作る方法
Azure Storage の Blob、見た目上、コンテナは一階層しかもてないような感じなので、ディレクトリを掘るようなことはできない感じだが、Virtual Directory の機能を使えば、それっぽく見せることが可能。
残念ながら、多くの、Azure Storage Explorer系ツールはVirtual Directoryをサポートしていないので、プログラムでディレクトリを作る時以外は、AzCopy でファイルをコピーしつつ、ディレクトリを作成すればOK。
2016年5月10日火曜日
2016年4月21日木曜日
リソースマネージャモデルでデプロイした仮想マシンに Microsoft Antimalware(System center endpoint protection)をインストールする PowerShell スクリプト
location /resourceGroupName / vmName を該当のVMに変更して実行。
$location = "Japan East"
$resourceGroupName = "RESOURCE GROUP NAME HERE"
$vmName = "VM NAME HERE"
$settingString = ‘{ "AntimalwareEnabled": true}';
$allVersions= (Get-AzureRmVMExtensionImage -Location $location -PublisherName "Microsoft.Azure.Security" -Type "IaaSAntimalware").Version
$versionString = $allVersions[($allVersions.count)-1].Split(".")[0] + "." + $allVersions[($allVersions.count)-1].Split(".")[1]
Set-AzureRmVMExtension -ResourceGroupName $resourceGroupName -VMName $vmName -Name "IaaSAntimalware" -Publisher "Microsoft.Azure.Security" -ExtensionType "IaaSAntimalware" -TypeHandlerVersion $versionString -SettingString $settingString -Location $location
2016年2月26日金曜日
Error occurred when trying upload pictures via Windows Azure Storage for WordPress 3.0.0 (Windows Azure Storage for WordPress 3.0.0 を使用して画像アップロードしたときのエラー)
When trying upload pictures via Windows Azure Storage for WordPress 3.0.0 , following error was occurred.
Windows Azure Storage for WordPress 3.0.0 を使うと以下のエラーが発生します。
Are you sure you want to do this?
Please try again.
it seems that current plugin doesn’t work [Add Media From Azure].
このバージョンのプラグインでは、[Add Media From Azure]ボタンが動作しないのかもしれません。
Thus, please set [Use Windows Azure Storage for default] checked.
そのため、[Use Windows Azure Storage for default] をチェックして、
and use [Add Media] button when uploading pictures.
画像アップロードの際には[Add Media]ボタンを使うようにするとOK。