2016年11月19日

スーパーサイヤ人の出現から学ぶ博士後期課程へ向かうモチベーション

スーパーサイヤ人は1000年に一人の能力として位置づけられていますが、
なんであんなにゴロゴロと続けざまに出現してしまったのでしょうか?

現実世界に目を向けると、
私のいた研究室では何年も、というかほとんど(社会人コース以外で)学位取得者が
いませんでした。
私は研究室にとって久しぶり(確か二人目?)の社会人経験のない
博士後期課程の学生でした。
すると、私も含め3年立て続けに博士後期課程に進む学生が続き、
見事毎年学位取得者が出ました。
まぁ、後輩がどう思っているか知りませんが、スーパーサイヤ人の乱発よろしく上を
目指すものが独りでもいて、あとの人たちに生き様を見せることができれば、
それを見て後ろは育つと思っています。

つまり、モチベーションとして
「あんなアフォが学位を取りにいくくらいなんだから自分もいける」
言い換えれば
「カカロットごとき下級戦闘員がスーパーサイヤ人になるくらいなら
この俺様になれないはずは無い」
というべジータの心境に似たものがあるのではないでしょうか?

って去年 OB会で酔っぱらった頭でひねり出したあげく、
それを在学生に向けて言ったことを思い出しました。

今年は何話そうかな?
posted by evakichi at 01:04| Comment(0) |

2016年11月13日

How to use SSH and SCP

I heard from Lab. member. He said that I don't know how to use SSH and SCP in command line.
Therefore I would like to explain how to use SSH and SCP.

SSH is achieve "secure connection" on the internet.
For example, you can connect linux server using such as TeraTerm.
Probably you are already using ssh!!

For instance, if you want to connect another server using ssh, you should type as the following,
$ ssh username@server.name
if your username is hogehoge, and server.name is example.com, you can login using folowing command
$ ssh hogehoge@example.com
Then we can use public key cryptography, example.com ask you passphrase in order to login.
Another we could not register public key to example.com, we can login using the our password.

We can create public key and private key pair easily following command.
$ ssh-keygen
After type this command, you should decide and type the passphrase.
You must choose your passphrase cafelly. this phrase must be long.
Long phrase is better than short it.
We can choose combination of favorite words, name, and so on.
Then, in order to carry out the passhrase authentication, we should put public key(*.pub) on the ~/.ssh directory of examle.com's your account, also your ~/.ssh directory must have authorized_keys file which contains your public key information.
Then we should copy public key safely. First choice is we copy the public key from your machine to example.com not using network, for example copy the public key via USB memory etc..
As another issue, we can use the scp command described as following,
$ scp ~/.ssh/id_rsa.pub hogehoge@example.com:./.ssh/id_rsa.pub
In this time, in order to achieve authentication, we type the your example.com's login password.
Scp command is similar to cp command.
$ scp local-file-name username@server.name:remote-file-name

After copy the public key, we should login one time to register from public key to authorized_keys
$ ssh hoge@example.com
$ cd .ssh
$ cat < id_rsa.pub >> authorized_keys
$ chmod 600 authorized_keys
$ logout

at this time you can use passphrase authentication.

Try it!!
posted by evakichi at 23:39| Comment(0) | Programming practice in English

Let's prepare for installing linux on Windows

If your PC has only the Microsoft Windows, you should install linux on the Windows.

In order to install linux, first, you can get virtual machine(VM). There are some VM software for Windows. These are described as the following,
1.VMware,
2.VirtualBox, and so on.

I am using VMware, therefore, I write how to install VMware.

You can get VMware Workstation Player for free!! but you cannot use this for business.
https://my.vmware.com/jp/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/12_0

May be you can install VMware Workstation Player easily. Because you only click the "Next" button!!

I am unkind?
If you have troubles about installation, please let me know using comment column.
I want to know what you cannot understand about this installation.
posted by evakichi at 08:24| Comment(0) | Programming practice in English