39e92e6a2fb305159d0f693eae88d80c77181b55
wiki/info/landscape/creating-ec2-image-for-webserver-from-scratch.md
| ... | ... | @@ -17,11 +17,15 @@ Then carry out these steps: |
| 17 | 17 | gcc-c++ ncurses-devel geoip-devel perl-autodie docker |
| 18 | 18 | ``` |
| 19 | 19 | |
| 20 | -* activate NFS by calling `chkconfig nfs on`; ensure that `/var/log/old` and `/home/scores` are exposed in `/etc/exports` as follows: |
|
| 20 | +* activate NFS by calling `systemctl enable nfs-server`; ensure that `/var/log/old` and `/home/scores` are exposed in `/etc/exports` as follows: |
|
| 21 | 21 | ``` |
| 22 | 22 | /var/log/old 172.31.0.0/16(rw,nohide,no_root_squash) |
| 23 | 23 | /home/scores 172.31.0.0/16(rw,nohide,no_root_squash) |
| 24 | 24 | ``` |
| 25 | +rw = read/write allowed |
|
| 26 | +nohide = means sub-mounted volumes are included in the parent nfs share |
|
| 27 | +no_root_squash = Allows remote root users to act as root on the nfs share |
|
| 28 | + |
|
| 25 | 29 | * launch the NFS service once using `service nfs start` |
| 26 | 30 | * run the following command in order to obtain this feature required by Bugzilla: |
| 27 | 31 | ``` |