How to use a shared folder as website root folder

  • I am going to create a web server in my omv. So I followed this video tutorial.

    Although the tutorial focuses on omv3 on Raspberry Pi 3 model B, I still tried to follow it step by step. my configuration is as follows:

    My question is: why i could not find a tutorial that focuses on omv4, nginx, mysql and phpmyadmin?
    there are some steps of the video that I followed but I didn't understand exactly what they are for. for example this:

    sudo ln -s /usr/share/phpmyadmin /usr/share/nginx/html
    sudo php5enmod mcrypt

    The thing i didn't understand is: how do you synchronize the "cd/usr/share/nginx/html" folder with the shared folder "www"?
    I guess this is the approach to follow .. or am I wrong?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!