OpenStreetMap logo OpenStreetMap

Traduction fr : Un système d’exploitation Ubuntu 20.04 virtualisé / léger sur Windows 10

We dont all have access to a Linux OS, but note for Windows 10 users, that you can easily install a virtualized Ubuntu 20.04 OS. It will work simultaneously with Windows and will require little ressources. See this tutorial on how to install WSL2 and Ubuntu 20.04 https://alessio.franceschelli.me/posts/windows/wsl2-upgrade/

As said in the tutorial :

« WSL2 is the second iteration of the Windows Subsystem for Linux which finally allows running linux virtualized inside Windows. This new version brings real  virtualization using a real linux kernel, but, compared to a traditional virtual machine, it runs on a lightweight hypervisor getting close to bare-metal performance.»

You can even communicate with you Windows PostgreSQL server, replacing localhost by samenet

ie. psql -h samenet -p 5432

If you have problems to communicate through internet, look at your firewall to assure it does not block ougoing links from your linux OS.

Good solution to tests / Develop. While writing test scripts for changesetMD Replication scripts, I was able to use this solution to test easily on my laptop.

Discussion

Log in to leave a comment