2024-07-12
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
topic:
The existing hosts node01 and node02 complete the following requirements:
1. Provide DNS and WEB services on the node01 host
2. DNS service provides all host name resolution for this experiment
3. Web service provides www.rhce.com virtual host
4. The documentroot directory of the virtual host is in the /nfs/rhce directory
5. This directory is shared by the NFS service provided by the node02 host
6. This directory can be automatically mounted through the autofs service
7. All services should still be available after restart
1. Download DNS service
2. Configure named.conf and named.haha files
3. Download web service
4. Configure vhost.conf
5. Install NFS service
7. Configure auto.master file and auto.master file
8. Install nfs service on node2
9. Start nfs
10. Persistence
sudo systemctl enable named # DNS
sudo systemctl enable httpd # Apache
sudo systemctl enable autofs # autofs
sudo systemctl enable nfs-server # NFS