2015年6月5日金曜日
Chrome 43にアップデートするとvSphere Web Clientが動かなくなる
Chrome 42 breaks the vSphere Web Client Integration Plugin
chrome://flags/#enable-npapi
Chrome 43にバージョンアップした場合は、enable-win32k-renderer-lockdownを手動で「無効」にすれば回避できる。
Chrome 43 breaks the vSphere Web Client Integration Plugin… Again
chrome://flags/#enable-win32k-renderer-lockdown
ただ、2015年9月にリリースされる予定のChrome 45で NPAPI が削除されるため、それ以降は回避策なし。。
VMWareの本格対処に期待。。
追記)
VMWareのKBでは「スタンドアロン版の VMware Remote Console」を使うことを推奨している模様。
After updating Google Chrome to Version 42 or later, vSphere Web Client Integration Plugin 5.x no longer functions (2114800)
vSphere 5.x 環境で、スタンドアロンの VMware Remote Console (VMRC) をダウンロードしてインストールする方法 (2092065)
Downloading and Installing the standalone VMware Remote Console (VMRC) in vSphere 5.x and 6.0 (2091284)
追記)
「Google では 2015 年 9 月 1 日をもって NPAPI プラグインのサポートを終了しました。」
プラグインベースのコンテンツが Chrome で動作しない
2015年4月20日月曜日
Solr4系とSolr5系の違い
2015/04/14に Apache Solr 5.1.0
2015/06/07に Apache Solr 5.2.0
2015/06/15に Apache Solr 5.2.1
がリリースされている。
個人的には、
Apache Solr 5.2.0以降で、Jetty 9が採用されている
また、
Apache Solr 5.2.0以前のBug Fixesの件数が多い
ため、
Apache Solr 5.2.1以降を採用する予定。
| 20 February 2015 - Apache Solr 5.0.0 and Reference Guide for 5.0 available | http://lucene.apache.org/solr/news.html#20-february-2015-apache-solr-500-and-reference-guide-for-50-available |
|---|---|
| Apache Solr Release Notes | http://lucene.apache.org/solr/5_0_0/changes/Changes.html |
| 14 April 2015 - Apache Solr 5.1.0 Available | http://lucene.apache.org/solr/news.html#14-april-2015-apache-solr-510-available |
| Apache Solr Release Notes | http://lucene.apache.org/solr/5_1_0/changes/Changes.html |
| 7 June 2015 - Apache Solr 5.2.0 and Reference Guide for 5.2 available | http://lucene.apache.org/solr/news.html#7-june-2015-apache-solr-520-and-reference-guide-for-52-available |
| Apache Solr Release Notes | http://lucene.apache.org/solr/5_2_0/changes/Changes.html |
| 15 June 2015, Apache Solr 5.2.1 available | http://lucene.apache.org/solr/news.html#15-june-2015-apache-solr-521-available |
| Apache Solr Release Notes | http://lucene.apache.org/solr/5_2_1/changes/Changes.html |
リファレンスガイドの最新版は以下で公開されている。
| Apache Solr Reference Guide (pdf) | http://ftp.kddilabs.jp/infosystems/apache/lucene/solr/ref-guide/ |
|---|---|
| Apache Solr Reference Guide | https://cwiki.apache.org/confluence/display/solr/Apache+Solr+Reference+Guide |
メジャーバージョンアップに伴い、非推奨またはサポート対象外の項目も多いので注意が必要。
Solr is Now a Standalone Server
- Beginning with Solr 5.0, Solr is no longer distributed as a "war" (Web Application Archive) suitable for deployment in any Servlet Container.
- Solr 5.0からは、サーブレットコンテナに対するデプロイに適しているwar形式でのディストリビューションは実施していない。
- Deployment as a "webapp" to other Servlet Containers (or other instances of Jetty) is not supported,
- 他のサーブレットコンテナ(または、jetty以外のインスタンス)へのwebappとしてのデプロイはサポートされない。
Index Format
- Solr 5 has no support for reading Lucene/Solr 3.x and earlier indexes.
- Solr 5 は Lucene/Solr 3.x 以前のインデックスの読み込みをサポートしていない。
solr.xml Format
- Solr 5.0 has eliminated all support for the older solr.xml format, and moved entirely to core discovery.
- Solr 5.0 は、(Solr 4.3以前の古い) solr.xml フォーマットに対する全てのサポートを排除した。
Collections API
- Solr 5.0 only supports creating and removing SolrCloud collections through the Collections API, unlike previous versions.
- これまでのバージョンと違い、Solr 5.0 は コレクションAPIを経由した、SolrCloud コレクションの作成または削除のみ、サポートする。
SolrJ changes
- Many SolrJ methods that were marked deprecated in Solr 4.10 have been removed.
- Solr 4.10で非推奨となった、多数のSolrJ メソッドが削除された。
| Major Changes from Solr 4 to Solr 5 | https://cwiki.apache.org/confluence/display/solr/Major+Changes+from+Solr+4+to+Solr+5 |
|---|---|
| Moving to the New solr.xml Format | https://cwiki.apache.org/confluence/display/solr/Moving+to+the+New+solr.xml+Format |
| Upgrading a Solr 4.x Cluster to Solr 5.0 | https://cwiki.apache.org/confluence/display/solr/Upgrading+a+Solr+4.x+Cluster+to+Solr+5.0 |
javaのバグがあるため、Apache Solr 4.8 以降は、Java 7u55以上が推奨。
- The recently released Java 7u55 fixes the above bug causing index corrumption. This version is now the recommended version for running Apache Solr.
| 12 March 2014 - Apache Solr 4.8 will require Java 7 | https://lucene.apache.org/solr/news.html#12-march-2014-apache-solr-48-will-require-java-7 |
|---|
2015年4月19日日曜日
Windows7 64Bit上でVagrant+CentOS6.5+Solr5.1.0インストール
以下の環境で、Vagrant Base Box(CentOS-6.5-x86_64)とVagrantfileを作成してみた。
NOTE:
- Windows7 (SP1 64Bit)
- veewee (0.3.12)
- Vagrant (1.5.3)
- VirtualBox (4.3.10)
作成した資材は以下で公開している。
| 資材 | 場所 |
|---|---|
| Vagrantfile | GitHub |
| Vagrant Base Box(CentOS-6.5-x86_64) | Yahoo!ボックス |
使い方はHow to use these Vagrantfilesを参照
基本的に、以下で環境構築が完了するはず。
$ git clone https://github.com/lvisdd/vagrant-boxes.git
$ cd vagrant-boxes/vagrantfile/solr/510
$ vagrant up
Vagrant、Veeweeの基本的な操作については、以下で記載済みのため、割愛する。
以下、動作確認例。
| 画面 | URL |
|---|---|
| Solr Admin | http://localhost:8983/solr/admin |
| Query画面 | http://localhost:8983/solr/#/sample/query |
| Query実行結果 | http://localhost:8983/solr/sample/select?q=%3A&wt=json&indent=true |
以下、script.shの中身。
ちなみにSolr5.1は bin/solr.in.sh の SOLR_JAVA_MEM が読み飛ばされるため、JVMのヒープ・メモリのサイズを変更できない。Solr5.2系以降に期待。
SOLR_JAVA_MEM setting in solr.in.sh ignored
#!/bin/bash
### OS
# iptables
# sed -i "/-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT/a-A INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT" /etc/sysconfig/iptables
sed -i "/-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT/a-A INPUT -m state --state NEW -m tcp -p tcp --dport 8983 -j ACCEPT" /etc/sysconfig/iptables
service iptables restart
### solr
# utility
yum -y install unzip
# java
yum -y install java-1.7.0-openjdk.x86_64
# solr
cd /var/tmp
wget http://ftp.riken.jp/net/apache/lucene/solr/5.1.0/solr-5.1.0.tgz
tar xzvf solr-5.1.0.tgz
cd solr-5.1.0
./bin/install_solr_service.sh ../solr-5.1.0.tgz -d /opt/solr
rm -fR /var/tmp/solr-5.1.0*
service solr stop
service solr status
### Core (sample)
cd /opt/solr
mkdir -p /opt/solr/data/sample
cp -rp server/solr/configsets/sample_techproducts_configs/conf/ /opt/solr/data/sample/
mkdir -p /opt/solr/data/sample/data
chmod -R a+w /opt/solr/data/sample/data
cat <<EOS > /opt/solr/data/sample/core.properties
name=sample
config=solrconfig.xml
schema=schema.xml
dataDir=data
EOS
chown -R solr:solr /opt/solr /opt/solr-5.1.0
### Service
service solr start
sleep 30
service solr status
### Browser
# http://localhost:8983/solr/admin
# http://localhost:8983/solr/#/sample/query
### Indexing Data
# For more information, See.
# http://lucene.apache.org/solr/quickstart.html
cd /opt/solr
## Indexing a directory of "rich" files
# bin/post -c sample docs/
## Indexing Solr XML
bin/post -c sample example/exampledocs/*.xml
## Indexing JSON
# bin/post -c sample example/exampledocs/*.json
## Indexing CSV (Comma/Column Separated Values)
# bin/post -c sample example/exampledocs/*.csv
## Deleting Data
# bin/post -c sample -d "<delete><query>*:*</query></delete>"
## Searching
# http://localhost:8983/solr/sample/select?q=*:*&wt=json&indent=true
curl "http://localhost:8983/solr/sample/select?q=*:*&wt=json&indent=true"
「バチカン図書館の扉」で紹介されているマニュスクリプト
バチカン図書館の提供するデジタルコレクションと紐付けをしてみた。
一部のコレクションは、Gigazineの「バチカン図書館が貴重な4000冊もの古代写本をデジタル化して無料公開中」の記事でも紹介されています。
バチカン図書館については、CBN Newsの60 MINUTESでドキュメンタリー動画が公開されている。
| タイトル | URL |
|---|---|
| A rare look at the Vatican Library's treasures | http://www.cbsnews.com/videos/a-rare-look-at-the-vatican-librarys-treasures/ |
| A rare look at the Vatican Library's treasures | http://www.cbsnews.com/videos/a-rare-look-at-the-vatican-librarys-treasures-2/ |
| The Library, Mount Athos | http://www.cbsnews.com/videos/the-library-mount-athos/ |
| What would you save? | http://www.cbsnews.com/videos/what-would-you-save/ |
| Why the library is closed to the public | http://www.cbsnews.com/videos/why-the-library-is-closed-to-the-public/ |
| A tour of the Salone Sistino | http://www.cbsnews.com/videos/a-tour-of-the-salone-sistino/ |
NTTDATAのPR動画も公開されている。
| タイトル | URL |
|---|---|
| バチカン図書館様インタビュー動画 | https://www.youtube.com/watch?v=mXB6d9K_Le0 |
| バチカン図書館様インタビュー動画(ショートバージョン) | https://www.youtube.com/watch?v=zoxSQf5nlqw |
2015年4月18日土曜日
Chrome 42にアップデートするとvSphere Web Clientが動かなくなる
Chrome 42 breaks the vSphere Web Client Integration Plugin
手動で有効にすれば回避できる模様。
chrome://flags/#enable-npapi
「Unity Web Player」や「Silverlight」、「Lync Web App」、「Skype for Business」なんかも影響があるらしい。
「Google Chrome 42」でNPAPIが無効化。Unity Web Player/Silverlight/Lyncなどに影響
追記)
Chrome 43にアップデートするとvSphere Web Clientが動かなくなる
2014年12月22日月曜日
D3.jsで東京都の国土数値情報地価公示データのヒートマップを描いてみました。
D3.jsで東京都の国土数値情報地価公示データのヒートマップを描いてみました。
[heroku]https://landprice-tokyo.herokuapp.com/作成した資材は以下で公開しています。
[github]https://github.com/lvisdd/landprice-tokyo2014年12月12日金曜日
東京メトロの路線図をD3.jsで描いてみました。
東京メトロの路線図をD3.jsで描いてみました。
[heroku]https://tokyometro-linemap.herokuapp.com/作成した資材は以下で公開しています。
[github]https://github.com/lvisdd/tokyometro-linemapデータ可視化は面白い。
2014年6月29日日曜日
Windows7 64Bit上でVagrant+CentOS6.5+R+RStudioインストール
以下の環境で、Vagrant Base Box(CentOS-6.5-x86_64)とVagrantfileを作成してみた。
NOTE:
- Windows7 (SP1 64Bit)
- veewee (0.3.12)
- Vagrant (1.5.3)
- VirtualBox (4.3.10)
作成した資材は以下で公開している。
| 資材 | 場所 |
|---|---|
| Vagrantfile | GitHub |
| Vagrant Base Box(CentOS-6.5-x86_64) | Yahoo!ボックス |
使い方はHow to use these Vagrantfilesを参照
基本的に、以下で環境構築が完了するはず。
$ git clone https://github.com/lvisdd/vagrant-boxes.git
$ cd vagrant-boxes/vagrantfile/rlang
$ vagrant up
Vagrant、Veeweeの基本的な操作については、以下で記載済みのため、割愛する。
以下、動作確認例。
Browsing Test
rstudio : http://127.0.0.1:8787/
ログイン
user/pass : vagrant/vagrant
デモ
【参考】
T.2.01. Demoを試してみる
サンプルデータ
【参考】
T.3.01. Rが保有する参考データ
R.4.71. 時系列データの周期表示
2014年4月29日火曜日
Windows7 64Bit上でVagrant+CentOS6.5+Norikra+Fluentdインストール
以下の環境で、Vagrant Base Box(CentOS-6.5-x86_64)とVagrantfileを作成してみた。
NOTE:
- Windows7 (SP1 64Bit)
- veewee (0.3.12)
- Vagrant (1.5.3)
- VirtualBox (4.3.10)
作成した資材は以下で公開している。
| 資材 | 場所 |
|---|---|
| Vagrantfile | GitHub |
| Vagrant Base Box(CentOS-6.5-x86_64) | Yahoo!ボックス |
使い方はHow to use these Vagrantfilesを参照
基本的に、以下で環境構築が完了するはず。
$ git clone https://github.com/lvisdd/vagrant-boxes.git
$ cd vagrant-boxes/vagrantfile/norikra
$ vagrant up
Vagrant、Veeweeの基本的な操作については、以下で記載済みのため、割愛する。
以下、動作確認例。
Browsing Test
Norikra : http://localhost:26578/
Apache Bench Test
$ ab -c 5 -n 100 http://localhost/index.html;sleep 80;ab -c 5 -n 200 http://localhost/index.html
$ sleep 60
$ norikra-client event fetch access_count_per_1min
$ ab -c 5 -n 1000 http://localhost/index.html
$ sleep 60
$ norikra-client event fetch access_over_1000_per_1min
参考
Windows7 64Bit上でVagrant+CentOS6.5+Jenkinsインストール
以下の環境で、Vagrant Base Box(CentOS-6.5-x86_64)とVagrantfileを作成してみた。
NOTE:
- Windows7 (SP1 64Bit)
- veewee (0.3.12)
- Vagrant (1.5.3)
- VirtualBox (4.3.10)
作成した資材は以下で公開している。
| 資材 | 場所 |
|---|---|
| Vagrantfile | GitHub |
| Vagrant Base Box(CentOS-6.5-x86_64) | Yahoo!ボックス |
使い方はHow to use these Vagrantfilesを参照
基本的に、以下で環境構築が完了するはず。
$ git clone https://github.com/lvisdd/vagrant-boxes.git
$ cd vagrant-boxes/vagrantfile/jenkins
$ vagrant up
Vagrant、Veeweeの基本的な操作については、以下で記載済みのため、割愛する。
以下、動作確認例。
Jenkins : http://localhost:18080/
地獄のミサワ風のbutler jenkinsの画像は以下から。
邪道Jenkins2014年4月23日水曜日
Windows7 64Bit上でVagrant+CentOS6.5+Dockerインストール
以下の環境で、Vagrant Base Box(CentOS-6.5-x86_64)とVagrantfileを作成してみた。
NOTE:
- Windows7 (SP1 64Bit)
- veewee (0.3.12)
- Vagrant (1.5.3)
- VirtualBox (4.3.10)
作成した資材は以下で公開している。
| 資材 | 場所 |
|---|---|
| Vagrantfile | GitHub |
| Vagrant Base Box(CentOS-6.5-x86_64) | Yahoo!ボックス |
使い方はHow to use these Vagrantfilesを参照
基本的に、以下で環境構築が完了するはず。
git clone https://github.com/lvisdd/vagrant-boxes.git
cd vagrant-boxes/vagrantfile/docker
vagrant up
Vagrant、Veeweeの基本的な操作については、以下で記載済みのため、割愛する。
NOTE:
今回の記事は、StackEditで書いてみました。
2014年4月22日火曜日
Windows7 64Bit上でVagrant+CentOS6.5+Fluentd+Elasticsearch+kibanaインストール
-
以下の環境で、Vagrant Base Box(CentOS-6.5-x86_64)とVagrantfileを作成してみた。
作成した資材は以下で公開している。
| 資材 | 場所 |
|---|---|
| Vagrantfile | GitHub |
| Vagrant Base Box(CentOS-6.5-x86_64) | Yahoo!ボックス |
使い方はHow to use these Vagrantfilesを参照
最初は、Dropboxで公開する予定だったが、あまりに遅いので、Yahoo!ボックスに変更した。
基本的に、以下で環境構築が完了するはず。
Vagrant、Veeweeの基本的な操作については、以下で記載済みのため、割愛する。
Windows7 64Bit上でVagrant+CentOS6.4インストール
Windows7 64Bit上でVeewee+Vagrant+CentOS6.4インストール
以下、動作確認例。
Apache : http://localhost:8080/
Elasticsearch : http://localhost:9200/
Kibana : http://localhost:8080/kibana/#/dashboard
Kibana(Logstash Dashboard) : http://localhost:8080/kibana/index.html#/dashboard/file/logstash.json
Marvel : http://localhost:9200/_plugin/marvel/kibana/index.html#/dashboard/file/marvel.overview.json
sense : http://localhost:9200/_plugin/marvel/sense/index.html
2013年12月27日金曜日
脆弱性対策・セキュリティパッチに役立ちそうな参考資料
- 脆弱性対策情報データベース(JVN iPedia)
- マイクロソフト セキュリティ情報 United States (English)
- VMWare Security Advisories (VMSAs) United States (English)
- Security Bulletins - Citrix Knowledge Center
- Red Hat Enterprise Linux Server (v. 6) General Advisories
- Critical Patch Updates and Security Alerts - Oracle
- Security advisories | Drupal.org
- Cisco Security Advisories, Responses, and Notices
- MySQL Bugs
- PostgreSQL: Security Information
- Issues - memcached - Memcached - Google Project Hosting
- Apache HTTP Server Security Reports
- Apache Tomcat Apache Tomcat - Reporting Security Problems
日本 (日本語)
日本
Bug Reporting
Apache Tomcat - Reporting Bugs
2013年12月19日木曜日
情報セキュリティ設計に役立ちそうなPCI DSS(Payment Card Industry Data Security Standard)の参考資料
- PCI (Payment Card Industry) DSS (Data Security Standard)とは
- 5分で絶対に分かるPCI DSS
- PCI Standards & Documents · Documents Library
- IPA(独立行政法人情報処理推進機構)
- JPCERT
PayPalのサイトより引用
PCI (Payment Card Industry) DSS (Data Security Standard)とは
PCI DSSは、American Express、Discover Financial Services、JCB International、MasterCard Worldwide、およびVisa Inc. International によって規定された、支払いアカウントデータのセキュリティを強化するための一連の包括的要件です。これは、世界的規模で一貫したデータセキュリティ対策を普及するために開発されました。American Express、Discover、JCB、MasterCard、あるいはVisaの支払いカード情報を処理、保存、または送信するマーチャントはすべて、PCI DSSにしたがう必要があります。
@ITの記事がよくまとまっていてわかりやすい。
クレジットカード情報や個人情報保護等、情報セキュリティに対する具体的な実装の基準として採用される傾向にある。
本家サイトから以下の日本語ドキュメントがダウンロードできる。
Payment Card Industry(PCI)データセキュリティ基準 要件とセキュリティ評価手順 バージョン 3.0
PCI(Payment Card Industry)ペイメントアプリケーションデータセキュリティ基準 要件とセキュリティ評価手順 バージョン 3.0
IPAが公開しているドキュメントも参考になる。
脆弱性検査と脆弱性対策に関するレポート
ウェブサイトにおける脆弱性検査の紹介(ウェブアプリケーション編)
※オープンソースの脆弱性検査ツールからタイプ別に「OWASP ZAP(Zed Attack Proxy)」「Paros」「Ratproxy」のツールの使い方や検査手順を紹介している。
大企業・中堅企業の情報システムのセキュリティ対策~脅威と対策~
JPCERTコーディネーションセンターが公開しているドキュメントはコーディングレベルで参考になる。
セキュアコーディング
HTML5 を利用したWeb アプリケーションのセキュリティ問題に関する調査報告書
2013年12月11日水曜日
VMWare vSphere 5.xで使用するネットワークポート番号
- Network port diagram for vSphere 5.x (2054806)
- TCP and UDP Ports required to access vCenter Server, ESXi/ESX hosts, and other network components (1012382)
- ESXi および vCenter Server 5.5 のドキュメント - vSphere セキュリティ - vSphere ネットワークのセキュリティ強化 - ファイアウォールによるネットワークのセキュリティ強化
上記からダウンロードできる「NetworkPortDiagram-vSphere5x-ReferenceTable-v2.pdf」が視覚的には一番わかりやすい。
2013/12/11現在、vSphere 5.1系までで、5.5には対応していない。
VMWare製品間の「Source/Target」がわかりやすい。
2013/12/11現在、vSphere 5.1系までで、5.5には対応していない。
日本語訳もあるが、更新日付(Updated)はだいぶ古いので、最新情報は英語版の記事を参照した方がいい。
vCenter Server、ESX ホスト、およびその他のネットワーク コンポーネントにアクセス用の TCP および UDP ポート一覧 (1000589)
「VMware vSphere 5.5 ドキュメント センター」のファイアウォール環境下での「TCP および UDP ポート」の一覧。
vSphere 5.0、5.1、5.5間でも差異があるため、上記資料との差分を参照するといい。
英語版であれば、「?lang=en」を
日本語版であれば、「?lang=ja」を
末尾につければ、言語を切り替えられるっぽい。
2013年10月24日木曜日
仮想化基盤のシステム設計の英語表記に使えそうなコンピューター略語/ドキュメント
-
仮想化基盤のシステム設計をする際に、英語の略称の統一感を出すのに迷うので、今後はこの辺を参考にしていきたい。
- コンピュータ略語 List of computing and IT abbreviations
- VMWare - stencil VMware View Visio Stencil Download
- VMWare - 用語集・ドキュメント VMware Technical Publications Glossary
- AWS - stencil AWS Simple Icons for Architecture Diagrams
- AWS - ドキュメント AWS アーキテクチャセンター
- Citrix - stencil Citrix Infrastructure Visio Stencil Set
- Citrix - 用語集・ドキュメント Citrix Glossary
- MS - stencil Microsoft Visio シェイプ & ツール集
- MS - 用語集 ランゲージ ポータル
- RedHat - 用語集 Red Hat Glossary
コンピュータ略語一覧
コンピューター略語・IT略語辞典 : 翻訳のためのインターネットリソース
New VMware Icons Visio Stencil Download
Veeam Stencils for VMware and Hyper-V
The Unofficial VMware Visio Stencils
VMware の主なドキュメント セット
VMTN Best Practices
AWSクラウドデザインパターン
「Obama for America」のAWSのクラウドのアーキテクチャ
Citrix eDocs
Windows Server 2012 Visio stencil
Hyper-V,SCVMM-Vision Stencil
SCCM 2012 Visio Stencils
Windows Azure Symbol/Icon Set
Red Hat Enterprise Linux - Managing Smart Cards - Glossary
2013年10月16日水曜日
Windows7 64Bit上のVagrant+VirtualBox+CentOS6.4で、GitLabインストール
-
CentOS 6.4 用の GitLab 自動インストールスクリプトを書いた
で公開されている、以下のインストーラーを実行するだけで動作した。
2013年9月27日金曜日
Windows7 64Bit上でVMWarePlayer+ESXiインストール
-
VMWarePlayer上で、ESXiを動かすことができることを知ったので、メモ。
- VMWarePlayer・ESXiの資材ダウンロード
- VMWarePlayer・ESXiのインストール
- PowerCLIのインストール・サンプル
- OSインストールの自動化
自PC上で、手軽にVMWareベースの仮想環境の検証をするにはいいかも。
My VMWare(要アカウント登録)にログインし、「My VMware Downloads All Downloads」から
VMware vSphere Hypervisor (ESXi)
VMware Player
VMware-PowerCLI
をダウンロードする。
VMware ESXi5.1検証 第2回目 ダウンロード編が参考になる。
何か記事を書こうと思ったけど、以下の参考資料を参照すれば、拍子抜けするほど簡単にインストールが完了した。
VMware ESXi5.1検証 第3回目 ESXiインストール編
"VMware vSphere Hypervisor 5.1(ESXi) on VMware Player"で、できたこと
【仮想】VMware vSphere 5.1環境を構築してみよう
コマンドラインから、ホスト(ESXi)・ゲスト(仮想マシン)の操作をしたい場合は、PowerShellベースのPowerCLIを使えばいい。
VMware PowerCLI で自動化を試す
第4回 PowerCLIを使った仮想化の自動運用
Sample Scripts for Managing vSphere with VMware vSphere PowerCLI
VMware vSphere PowerCLI Cmdlets Reference
VMware vSphere™ PowerCLI
OSインストールの自動化まで踏み込むのであれば、RHEL/CentOS系のLinuxであれば、kickstartを採用すればいい。
[[linux:インストール自動化:kickstart]]
■ Linux を自動インストールする方法 (Kickstart)
第32章 キックスタートインストール
2013年9月13日金曜日
selenium-webdriver(webdriver-firefox-esr-previous.dll)をrubyから実行時に、Norton Internet Securityのウィルス警告
-
以下の構成で実行した際に、Symantecの検疫に引っかかった。
・Windows7 SP1 64Bit
・ruby 2.0.0p247
・Norton Internet Security(20.4.0.40)
・selenium-webdriver-2.35.1で、ブラウザ起動に「:firefox」を指定。
Symantecの検疫ログは以下のとおり。
Symantec公式に、2013/9/13時点で日本語の情報はまだ無い。
Suspicious.Cloud.7.EP
「Suspicious.Cloud」自体は、新種のマルウェアの脅威を検出するためのシリーズっぽい。
Suspicious.Cloud
「Selenium」のメーリングリストやチケットだと、既知事象のようだ。特に問題はなさそう。
Selenium Users › Suspicious.Cloud.7.EP
Issue 6120: Virus warning (Suspicious.Cloud.7.EP) in webdriver-firefox-esr-previous.dll
会社で使おうと思ったのに残念。
無害でも検出されると面倒なので、職場で試さなくてよかった。
2013年9月10日火曜日
Windows7 64Bit上でVeewee+Vagrant+CentOS6.4インストール
-
以下のサイトを参考にさせていただいた。
- VirtualBoxのインストール Download VirtualBoxから、最新版(2013/9/10現在は「VirtualBox 4.2.18 for Windows hosts x86/amd64」)をインストールする。
- Vagrantのインストール Vagrant download siteから、最新版(2013/9/10現在は「v1.3.1/Vagrant_1.3.1.msi」)をインストールする。
- BIOS設定の確認 「BIOSセットアップユーティリティ」-「パワー」-「Virtualizationテクノロジー」が「有効」(Enabled)になっていることを確認する。
- 再起動後、コマンドプロンプトを立ち上げる。 Windowsのデスクトップから「Windows」+「R」キー押下する。
- 「vagrant -v」でvagrantのバージョンを確認する。
- msysgitのインストール msysgitから、最新版(2013/9/10現在は「Git-1.8.3-preview20130601.exe」)をインストールする。
- rubyのインストール RubyInstaller for Windowsから、最新版(2013/9/10現在は「Ruby 2.0.0-p247 (x64)」)をインストールする。
- bundlerのインストール Gemのパッケージ管理ツール(bundler)をインストールする。
- DEVELOPMENT KITの解凍 RubyInstaller for Windowsから、最新版(2013/9/10現在は「DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe」)を任意のフォルダ(例:「c:\DevKit-mingw64-64-4.7.2」)に解凍する。
- DEVELOPMENT KITのインストール コマンドプロンプトから以下のコマンドを実行する。
- veeweeのインストール コマンドプロンプトから以下のコマンドを実行する。
- veeweeの雛形テンプレートの一覧を確認・作成 コマンドプロンプトから以下のコマンドを実行する。
- veeweeの雛形テンプレートの編集 テキストエディタで「C:\work\veewee\definitions\centos64」配下に作成されたテンプレートを編集する。
- veeweeの雛形テンプレートのOSインストール kickstartによるOSインストールを実行する。
- 仮想マシンへのSSH接続 インストールされた仮想マシンにSSH接続する。
- 仮想マシンのシャットダウン SSH接続経由で仮想マシンをシャットダウンする。
- 仮想マシンのエクスポート 仮想マシンをエクスポートする。
- エクスポートしたboxを使用する。 エクスポートしたboxをvagrant経由で使用する。
Veewee による Vagrant の Box 作成環境構築 Windows 版 その1
Veewee による Vagrant の Box 作成環境構築 Windows 版 その2
Vagrantの基本的な操作については、Windows7 64Bit上でVagrant+CentOS6.4インストールで記載済みのため、割愛する。
インストール後、再起動を求められるため、CPUがAMDの場合、BIOS設定を確認する。
※「無効」(Disabled)の場合は、VirtualBoxから新しい仮想マシンを起動した際に、「AMD-V is disabled in the BIOS」というメッセージが出て起動しない。
「ファイル名を指定して実行」画面で「cmd」と入力し、「OK」ボタンを押下する。
以下、コマンドプロンプト上での作業。
「Adjusting your PATH environment」では、「Run Git and included Unix tools from the Windows Command Prompt」を選択して、コマンドプロンプト上で、unixコマンドを使えるようにした。
「find.exe」や「sort.exe」のように、windowsのコマンドと重複するものは、PATHの優先順序で置き換えられるので注意が必要。
「インストール先とオプションの指定」では、「Rubyの実行ファイルへ環境変数PATHを設定する」を選択した。
[ks.cfg]
ひとまず以下の変更を実施した。
・LANGを変更(「en_US.UTF-8」→「ja_JP.UTF-8」)
・キーボードを変更(「us」→「jp106」)
・タイムゾーンを変更(「UTC」→「Asia/Tokyo」)
[definition.rb]
ひとまず以下の変更を実施した。
・仮想メモリのサイズを変更(480MB→1024MB)
・ISO取得先を日本のミラーサイトに変更
・インストールの事後処理で「puppet.sh」を実行しないようにコメントアウト(chef以外に使う予定が無いため)
デフォルトで作成されているユーザ/パスワードは以下のとおり。
user/pass
veewee/veewee
vagrant/vagrant
root/vagrant