5 ms·
You can use docker, so the OS doesn't matter and you don't need to install a webserver, php, mysql and other things on your main system. Even if you use Ubuntu
by bhdzllr 6y ago
You can use docker, so the OS doesn't matter and you don't need to install a webserver, php, mysql and other things on your main system. Even if you use Ubuntu as your main system it's good idea to use docker for you local environment.
If you need a starting point I have a example on GitHub that may help you: https://github.com/bhdzllr/localhost/tree/master/docker-lemp https://github.com/bhdzllr/localhost/tree/master/docker-lemp
It's a LEMP stack. You need to change the volumes in the "docker-compose.yaml" to match to your system and adapt and copy the "nginx/default.conf" into the volume path of nginx. The "nginx/default.conf" has some examples which you may delete.