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/03/01 20:54] koudai [管理ノード] |
自作クラスタ計算機:nisの基本設定 [2020/03/01 21:44] koudai |
||
---|---|---|---|
Line 16: | Line 16: | ||
* NISドメイン名は設定を共有するコンピュータのグループの名前のことであり、FQDNにおけるドメイン名とはまったく別物である | * NISドメイン名は設定を共有するコンピュータのグループの名前のことであり、FQDNにおけるドメイン名とはまったく別物である | ||
* NISドメイン名は / | * NISドメイン名は / | ||
- | - / | + | - / |
$ sudo vi / | $ sudo vi / | ||
</ | </ | ||
Line 26: | Line 26: | ||
NISSERVER=master | NISSERVER=master | ||
</ | </ | ||
- | - | + | - / |
+ | $ sudo vi / | ||
+ | </ | ||
+ | ypserver 192.168.0.1 | ||
+ | </ | ||
+ | - / | ||
+ | $ sudo vi / | ||
+ | </ | ||
+ | (略) | ||
+ | # This line gives access to everybody. PLEASE ADJUST! | ||
+ | 255.255.255.0 192.168.0.0 | ||
+ | </ | ||
+ | - NISデータベースを更新する< | ||
+ | $ sudo / | ||
+ | |||
+ | At this point, we have to construct a list of the hosts which will run NIS | ||
+ | servers. | ||
+ | the names for the other hosts, one per line. When you are done with the | ||
+ | list, type a <control D>. | ||
+ | next host to add: kanri | ||
+ | next host to add: # Ctrl + D キー | ||
+ | The current list of NIS servers looks like this: | ||
+ | |||
+ | kanri | ||
+ | |||
+ | Is this correct? | ||
+ | We need a few minutes to build the databases... | ||
+ | (以下略) | ||
+ | </ | ||
+ | * 途中でNISサーバのホスト名を聞かれるので入力する | ||
+ | - NISを再起動する< | ||
+ | $ sudo systemctl restart nis | ||
+ | </ | ||
Line 37: | Line 69: | ||
* http:// | * http:// | ||
+ | * http:// | ||