Submit Search
Upload
Neo4jハンズオン 仮想マシン作成資料
•
0 likes
•
419 views
Hajime Kurosaka
Follow
Neo4j をセットアップする前まで、つまりAzureとUbuntuセットアップまでとなります。※ OSSonAzure 非公式コミュニティイベント用資料です。
Read less
Read more
Software
Slideshow view
Report
Slideshow view
Report
1 of 30
Download now
Download to read offline
Recommended
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
Recommended
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
ChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software
Introduction to C Programming Language
Introduction to C Programming Language
Simplilearn
More Related Content
Featured
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
ChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software
Introduction to C Programming Language
Introduction to C Programming Language
Simplilearn
Featured
(20)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
ChatGPT webinar slides
ChatGPT webinar slides
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Introduction to C Programming Language
Introduction to C Programming Language
Neo4jハンズオン 仮想マシン作成資料
1.
© SIOS Technology,
Inc. All rights Reserved. Neo4j用仮想マシンの作成 Neo4j ハンズオン サイオステクノロジー株式会社
2.
© SIOS Technology,
Inc. All rights Reserved. 2 仮想マシン作成で必要なもの メールアドレス(今メールが確認できるもの) 電話番号(今対応できるもの) クレジットカード情報 インターネット接続環境 IE(Webブラウザ)
3.
© SIOS Technology,
Inc. All rights Reserved. Neo4j用仮想マシンを作る手順 3 1. Microsoftアカウント作成 2. 新規サブスクリプション取得 3. 新規インスタンス作成 4. SSH接続及び、ポートの開放
4.
© SIOS Technology,
Inc. All rights Reserved. Microsoftアカウント作成 4 Microsoftアカウント作成ページにアクセスします。 https://signup.live.com/ Googleで「MSアカウント 登録」を検索 「Microsoft アカウント登録手続き」にアクセス 「普段使用している電子メール アドレス~」を選択 「Microsoft アカウントの新規作成」を選択 MSアカウント取得の際は、ブラウザ がIEでなければ誤作動がある場合が あります。 (メールが送信されない等)
5.
© SIOS Technology,
Inc. All rights Reserved. Microsoftアカウント作成 5 必要な情報を入力します。 最後に各種規約を確認し、同意するならば「アカウントの作成」をクリックします。 確認画面が表示されるので、誤りがないか確認したら、使用したメールアドレスが 実在することを確認する必要があります。「メールアドレスの確認」をクリックし ます。
6.
© SIOS Technology,
Inc. All rights Reserved. Microsoftアカウント作成 6 確認メールを開くと手順が記載されているので、それに従います。 最後にメールアドレスを確認して作成完了です。 確認メールを送信します。
7.
© SIOS Technology,
Inc. All rights Reserved. 新規サブスクリプション取得 7 無料試用版サブスクリプションの取得 無料試用版の取得ページにアクセスします。 https://azure.microsoft.com/ja-jp/free/ 無料試用版サブスクリプションの取得に必要なもの ・Microsoftアカウント ・クレジットカード情報 ・使用可能な電話番号 Googleで「Azure 無料」を検索 「無料の Azure アカウントを今すぐ 作成」にアクセス 「無料で始める」を選択
8.
© SIOS Technology,
Inc. All rights Reserved. 新規サブスクリプション取得 8 Microsoftアカウントでサインアップします。 表示される入力画面に情報を入力していきます。 注意事項 ・途中、携帯電話を用いた本 人確認があります。 即対応できる番号を入力し てください。 ・クレジットカード情報を入 力しなければなりませんが、 サブスクリプションを有料化 しない限り請求は発生しませ ん。
9.
© SIOS Technology,
Inc. All rights Reserved. 新規サブスクリプション取得 9 無料試用版サブスクリプションの取得が完了しましたら、改めてサインインし ます。以下の画面が表示されます。 Azureポータル
10.
© SIOS Technology,
Inc. All rights Reserved. TeraTarm 10 構築した仮想マシンを手元のデバイスから操作するのに使用します。 インストール方法 Googleで「TeraTarm インストール」で検索 「Tera Term (テラターム) プロジェクト日本語トップページ」にアクセス 最新版をダウンロード ダウンロードされたインストーラを起動 https://ja.osdn.net/projects/ttssh2/
11.
© SIOS Technology,
Inc. All rights Reserved. 新規インスタンス作成 11 新規リソースグループの作成 新規インスタンスを作成するため、インスタンスなどを管理するリソースグループ を作成します。 まず、Azureポータルの左側にあるツールバーからリソースグループを選択し、追 加をクリックします。
12.
© SIOS Technology,
Inc. All rights Reserved. 新規インスタンス作成 12 リソースグループの新規作成画面が表示されま すので、必要な情報を入力していきます。 リソースグループ名 任意の名称で構いません サブスクリプション 先ほど、取得した無料試用版を選択します。 リソースグループの場所 リソースグループが配置されるリージョンを選 択します。 リージョンによってサービスの料金、使用でき るサービスが異なります。 同じ日本でも、東日本リージョンより西日本 リージョンの方が料金が低くなります。
13.
© SIOS Technology,
Inc. All rights Reserved. 新規インスタンス作成 13 リソースグループが作成できたら、新規インスタンスを作成していきます。 「新規」から検索欄にubentuと入力します。 Ubuntu Server 16.10選択します。
14.
© SIOS Technology,
Inc. All rights Reserved. 新規インスタンス作成 14 選択すると、このインスタンス モデルの概要が表示されます。 ここで、デプロイモデルを選択 し、「作成」をクリックします。 今回はリソースマネージャーを 選択します。
15.
© SIOS Technology,
Inc. All rights Reserved. 新規インスタンス作成 15 次に仮想マシンの基本設定を行っ ていきます。 名前 仮想マシンの名称を入力します。 VMディスクの種類 HDDかSSDを選択することができ ます。今回はHDDを選択ください ユーザー名 仮想マシンのユーザー名を設定し ます。SSH接続などはこのユーザー名 で行います。 認証の種類 パスワード方式か公開キー方式か を選択します。 パスワード方式の場合、ユーザーパス ワードとrootパスワードが同一に設定 されます。
16.
© SIOS Technology,
Inc. All rights Reserved. 新規インスタンス作成 16 サブスクリプション 無料試用版サブスクリプションを 選択します。 リソースグループ 「既存のものを使用」を選択し、 先ほど作成したリソースグループ を設定します。 場所 仮想マシンを配置するリージョン を選択します。リソースグループ のリージョンと同一の方が好まし いとされています。 すべての入力が終了したら、 「OK」をクリックします。
17.
© SIOS Technology,
Inc. All rights Reserved. 新規インスタンス作成 17 次に、仮想マシンのインスタンス サイズを設定します。 各サイズには、推定の金額が表示 されていますが、これは1か月間 稼働させた場合に発生する金額で す。 今回は、CPU2コア、メモリ3.5GB 以上のサイズを選択ください。 選択できないサイズの選択について 今回使用している無料サブスクリプションでは、選択したリージョンによっては 選択できないインスタンスサイズが発生する場合があります。 その場合、リージョンを変更することで選択が可能になる場合があります。 また、有償版ではこのようなケースが発生することはありません。
18.
© SIOS Technology,
Inc. All rights Reserved. 新規インスタンス作成 18 次に、仮想ネットワーク、ストレージ アカウントなどを設定していきます。 新規のサブスクリプションで作成する 際は、すべてのオプションが自動で作 成されます。 必要に応じて、各設定を変更していき ます。 すでにいくつかの仮想マシンを作成し ている場合、意図しないストレージア カウントなどが割り当てられている可 能性があるので注意してください。 設定が終了したら「OK」を選択しま す。 仮想マシンの概要が表示されるので、 誤りがないか確認し、「OK」を選択 します。
19.
© SIOS Technology,
Inc. All rights Reserved. 新規インスタンス作成 19 デプロイが開始され ます。デプロイには、 少々時間がかかる場 合があります。 (最短約3分) デプロイが完了した ら、Azureポータル のトップ画面に仮想 マシンが表示される ので概要を表示させ ます。 割り当てられたIPア ドレスなどが確認で きます。
20.
© SIOS Technology,
Inc. All rights Reserved. AzureVMの注意点 20 作成した仮想マシンへのアクセス 作成した仮想マシンへはSSH接続を行うことでアクセスできます。SSH接続に用いる ターミナルソフトウェアに指定はありません。 作成した仮想マシンへのパブリックIPアドレスの割り当て 仮想マシンに割り当てられるパブリックIPアドレスは通常、起動する度に変わります。 そのため、マシンのWebサーバの運用などには問題が生じる可能性があります。 パブリックIPアドレスは固定化することができます。 作成した仮想マシンの通信可能ポート Azureに仮想マシンを作成した場合、その仮想マシンのSSH接続に使われる22番ポー トはデフォルトで開放されていますが、それ以外のポートは「受信セキュリティ規 則」と呼ばれるAzure側の機能で制限されています。 そのため、新たな通信ポートを開放する際には、仮想マシン側だけでなくAzure側で の操作で新たな「受信セキュリティ規則」を追加する必要があります。
21.
© SIOS Technology,
Inc. All rights Reserved. 実際の利用について 21 作成した仮想マシンの操作 作成した仮想マシンはリモートログインで操作していくことになります。 今回は、ターミナルソフト「TeraTarm」を使用していきますが、同等の機能を有 しているソフトウェアならば操作に支障はありません。 パブリックIPアドレスを用いてSSH接続を行います。 ユーザー名、及びパスワードは仮想マシン作成時のものを使用します。 実際に仮想マシンをNeo4jサーバとして活用してみましょう そのためには、最低限以下の手順を行う必要があります。 受信セキュリティ規則にHTTPサービス(80番)などを追加 パブリックIPアドレスの固定化
22.
© SIOS Technology,
Inc. All rights Reserved. 実際の利用について 22 受信セキュリティ規則にHTTPサービス(80番)を追加 受信セキュリティ規則を変更していきます。 仮想マシンの概要内のネットワークインターフェースの中から、該当のインター フェースを選択します。
23.
© SIOS Technology,
Inc. All rights Reserved. 実際の利用について 23 受信セキュリティ規則にHTTPサービス(80番)などを追加 続いて、表示されたネット ワークインターフェースの概 要の中からネットワークセ キュリティグループを選択し、 該当のセキュリティグループ を選択します。
24.
© SIOS Technology,
Inc. All rights Reserved. 実際の利用について 24 受信セキュリティ規則にHTTPサービス(80)などを追加 表示された項目の中から「受信 セキュリティ規則」を選択する と、設定されている規則が表示 されます。 ここで、上部の「追加」をク リックします。
25.
© SIOS Technology,
Inc. All rights Reserved. 実際の利用について 25 受信セキュリティ規則にHTTPサービス(80番)などを追加 表示された入力画面に設定内容を入力していきま す。今回はHTTP用の80番ポートを開放していま す。 受信セキュリティ規則の名称を入力し、サービス の中から、HTTPを選択します。 優先度は、数値が小さいほど優先して処理が行わ れるようになります。デフォルト値でも問題はあ りません。 この追加作業を、以下のポートに対して行います。 ・80番 (HTTP) ・443番 (HTTPS) ・7473番 (Neo4j) ・7474番 (Neo4j) ・7687番 (Bolt)
26.
© SIOS Technology,
Inc. All rights Reserved. 実際の利用について 26 作成した仮想マシンへのパブリックIPアドレスの割り当て 起動する度にパブリックIPアドレスが変更されてしまうことを防ぐには、パブリック IPアドレスの割り当てを「動的」から「静的」に変更します。 仮想マシンの概要からパブリックIP アドレスを選択します。
27.
© SIOS Technology,
Inc. All rights Reserved. 実際の利用について 27 作成した仮想マシンへのパブリックIPアドレスの割り当て 表示された概要の中から、構成 を選択します。 その後、割り当ての項目を「動 的」から「静的」に変更します。 これにより、仮想マシンを停止 し、再起動してもパブリックIP アドレスの割り当てが変わりま せん。
28.
© SIOS Technology,
Inc. All rights Reserved. 実際の利用について 28 作成した仮想マシンへのSSH接続 (TeraTarmの場合) TeraTarmを起動し、「Host」の項目に仮 想マシンのパブリックIPアドレスを入力、 OKをクリックします。 承認画面が表示される場合がありますが、 「continue」クリックします。
29.
© SIOS Technology,
Inc. All rights Reserved. 実際の利用について 29 作成した仮想マシンへのSSH接続 (TeraTarmの場合) 表示されたログイン画面にユーザー 名とパスワードを入力し、「OK」 をクリックします。
30.
© SIOS Technology,
Inc. All rights Reserved. 最後に 30 もっとAzureについて知りたい 以下のブログを参考にしましょう。 http://azure.sios.jp/ Googleで「Azure OSS」 で検索 私たちがAzureでのOSS運用 に関して、それぞれの得意分 野で記事を書いています。 今回のハンズオンで扱った内 容と同様な内容の記事もある ので、ぜひ閲覧してみてくだ さい。 参考記事 Azureの仮想マシン(CentOS)に WordPressを構築してみる Azureに仮想マシン(CentOS)を構築 する
Download now