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/03 14:30] koudai [計算ノード] |
自作クラスタ計算機:nisの基本設定 [2021/01/24 06:35] koudai [計算ノード] |
||
---|---|---|---|
Line 19: | Line 19: | ||
$ sudo vi / | $ sudo vi / | ||
</ | </ | ||
+ | ... | ||
+ | # Are we a NIS server and if so what kind (values: false, slave, master)? | ||
NISSERVER=master | NISSERVER=master | ||
+ | |||
+ | # Are we a NIS client? | ||
+ | NISCLIENT=false | ||
+ | ... | ||
</ | </ | ||
- / | - / | ||
Line 42: | Line 48: | ||
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 61: | Line 67: | ||
===== 計算ノード ===== | ===== 計算ノード ===== | ||
+ | - NISによってUbuntuがハングアップするのを防ぎます。< | ||
+ | $ sudo vim / | ||
+ | # IPAddressDeny=any をコメントアウト | ||
+ | $ sudo systemctl daemon-reload | ||
+ | </ | ||
+ | * https:// | ||
- NISのパッケージをインストールする< | - NISのパッケージをインストールする< | ||
$ sudo apt install nis | $ sudo apt install nis | ||
Line 86: | Line 98: | ||
* グループの管理は管理ノードのみで行いたいため、gshadow(グループのパスワードが暗号化されて入っているファイル)は共有しません | * グループの管理は管理ノードのみで行いたいため、gshadow(グループのパスワードが暗号化されて入っているファイル)は共有しません | ||
- NISを再起動します< | - NISを再起動します< | ||
- | $ systemctl restart rpcbind nis | + | $ sudo systemctl restart rpcbind nis |
</ | </ | ||
- | * 割と時間がかかります。 | ||