...
Code Block | ||
---|---|---|
| ||
cd /opt/ sudo mkdir ./web/ # Next set the permissions. sudo chown -R serveradmin:www-data ./web/ sudo chmod -R u+rwX,g+r-w+X,o-rwX ./web/ |
Warning |
---|
Setting permissions early on will not allow you access to do the rest of the instructions |
Note |
---|
If we wanted to grant basic ssh access to manage static content we could separate out another directory using the Apache directory directive here. That would also require loosening of the web folder to allow other. |
...