2017-04-22 15:50:03時点のリビジョン2

メッセージを消す
編集不可のページ History 添付ファイル

 

ページ名: en / SSHClient / WindowsGUI

Using the SSH Client (Windows GUI)

To use the GUI application installed on the development servers, such as ANSYS and MATLAB, X Server software is required. This section explains how to set up the Linux virtual machine on Windows, and use the X Server version that is installed on the virtual machine to use the GUI application.

Setting Up

Set up your machine as follows. As the first step, install the virtualization software called VirtualBox. Next, download the Linux virtual machine disk image, and register it with the VirtualBox. Finally, set up the Linux virtual machine.

Installing VirtualBox

Download the latest setup program from the official VirtualBox website. The latest version is 4.3.20 as of January 19, 2015.

vb-setup-1.png

Start the downloaded setup program.

vb-setup-2.png

The setup program starts. Click the Next button.

vb-setup-3.png

Customize the installation settings as required. Click the Next button.

vb-setup-4.png

Choose the installation options as required. Click the Next button.

vb-setup-5.png

A message warning that the network connection will be interrupted is displayed. Click the Yes button.

vb-setup-6.png

The final confirmation window before installation is displayed. Click the Install button.

vb-setup-7.png

The dialog that confirms installation of the new device software is displayed several times. Click the Install button.

vb-setup-8.png

vb-setup-9.png

vb-setup-10.png

vb-setup-11.png

The window to finalize the installation is displayed. Click the Finish button.

vb-setup-12.png

The installation of VirtualBox is now complete.

Installing the Linux Virtual Machine

Download the Ubuntu hard disk image from the official Ubuntu Japanese Team website.

ubuntu-deploy-1.png

Unzip the downloaded file. A file called ubuntu-ja-14.04-desktop-amd64.vhd is created.

ubuntu-deploy-1-1.png

Start VirtualBox.

ubuntu-connect-1.png

Click New.

ubuntu-deploy-2.png

In the Name field, type ubuntu. Check the Type field shows Linux and the Version field shows Ubuntu (64 bit), and click the Next button.

ubuntu-deploy-3.png

メモリーサイズを 1024 MB に設定します.

ubuntu-deploy-4.png

「すでにある仮想ハードドライブファイルを使用する」を選択し,先ほどダウンロードしたハードディスクイメージを指定し,「作成」をクリックします.

ubuntu-deploy-5.png

仮想マシンの配置が完了しました.快適に利用するため,仮想マシンの設定を変更します.「設定」をクリックします.

ubuntu-deploy-6.png

「ディスプレイ」をクリックし,「3Dアクセラレーションを有効化」にチェックを入れて「OK」をクリックします.

ubuntu-deploy-7.png

以上で,Linux仮想マシンの設置は完了です.

Linux仮想マシンの初期設定

VirtualBoxを起動します.

ubuntu-connect-1.png

Linux仮想マシンを起動します.

ubuntu-connect-2.png

使いたい言語を選択し,「続ける」をクリックします.

ubuntu-initialsetup-1.png

住んでいる場所を選択し,「続ける」をクリックします.

ubuntu-initialsetup-2.png

使用しているキーボードのレイアウトを選択し,「続ける」をクリックします.

ubuntu-initialsetup-3.png

新しく作成するユーザの情報を入力し,「続ける」をクリックします.

ubuntu-initialsetup-4.png

以上で,Linux仮想マシンの初期設定は完了です.これでHPCクラスタに接続する準備ができました.

接続方法

VirtualBoxを起動します.

ubuntu-connect-1.png

「起動」をクリックし,Linux仮想マシンを起動します.

ubuntu-connect-2.png

Linuxが起動します.パスワードを入力し,ログインします.

ubuntu-connect-3.png

画面左上のアイコンをクリックします.

ubuntu-connect-4.png

「terminal」と入力します.

ubuntu-connect-5.png

「端末」と書かれたアイコンをクリックします.

ubuntu-connect-6.png

「端末」が起動しました.以降の手順は全てこの中で行います.

ubuntu-connect-7.png

端末に「ssh <USER>@<SERVER>」と入力し,エンターキーを押すことでサーバに接続できます. <USER>部分はあなたのユーザ名に,<SERVER>は接続先のサーバ名にそれぞれ読み替えてください.

ubuntu-connect-8.png

GUIアプリケーションを実行する場合は,「ssh -X <USER>@<SERVER>」と入力してください.

ubuntu-connect-9.png

補遺

ショートカットの登録

画面左端にある「端末」のアイコンを右クリックし「Launcherに登録」を選ぶと,ショートカットとして登録することができます. 次回からは,画面左端にある「端末」のアイコンをクリックするだけで「端末」が起動できます.

ubuntu-connect-op-1.png

仮想マシンの終了

仮想マシンを終了する場合は,画面右上にある歯車のアイコンをクリックし,「シャットダウン」をクリックします.

ubuntu-connect-op-2.png

次に,右側の電源ボタンのマークをクリックします.

ubuntu-connect-op-3.png

公開鍵の作成

Linux & Mac OS Xの場合と同様に作成できます. リンク先の記事を参照してください.