This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
自作クラスタ計算機:nisの基本設定 [2020/10/02 20:51] koudai [計算ノード] |
自作クラスタ計算機:nisの基本設定 [2021/01/23 20:25] koudai |
||
---|---|---|---|
Line 42: | Line 42: | ||
At this point, we have to construct a list of the hosts which will run NIS | At this point, we have to construct a list of the hosts which will run NIS | ||
- | servers. | + | servers. |
the names for the other hosts, one per line. When you are done with the | the names for the other hosts, one per line. When you are done with the | ||
list, type a <control D>. | list, type a <control D>. | ||
Line 70: | Line 70: | ||
domain kanri.nis server 192.168.0.1 | domain kanri.nis server 192.168.0.1 | ||
</ | </ | ||
- | - / | + | - / |
$ sudo vi / | $ sudo vi / | ||
</ | </ | ||
(略) | (略) | ||
- | passwd: | + | passwd: |
- | group: | + | group: |
- | shadow: | + | shadow: |
gshadow: | gshadow: | ||
- | hosts: | + | hosts: |
(略) | (略) | ||
</ | </ | ||
Line 98: | Line 98: | ||
$ sudo make -C /var/yp | $ sudo make -C /var/yp | ||
</ | </ | ||
- | * **NISサーバの共有する情報を変更したときは、その都度 make -C /var/yp を実行する必要があります** | + | * **NISサーバの共有する情報を変更したとき(つまりユーザーの追加したり、ホストファイルを編集したりしたとき)は、その都度 make -C /var/yp を実行する必要があります** |
- 新しいユーザで計算ノードにログインできるか確認します< | - 新しいユーザで計算ノードにログインできるか確認します< | ||
$ ssh sugimoto@keisan11 | $ ssh sugimoto@keisan11 |