Page 1 of 1
Ubuntu 20.04 for Django
Posted: 28. Jan 2021, 13:27
by anjanesh
I just got a Windows 10 Pro laptop where I have to install Ubuntu 20.04 on VirtualBox.
I was wondering if this link still holds good.
mod edit: url deleted.
This is mainly to run a few Django based sites on localhost:8000.
Thanks
Re: Ubuntu 20.04 for Django
Posted: 28. Jan 2021, 15:22
by mpack
I'm afraid we don't allow first time posters to include offsite web links, even if they obfuscate it.
Also we do not parse third party sites to see how good their VirtualBox instructions are. If you want instructions on how to create a VM in VirtualBox you need look no further than
the VirtualBox user manual, which is available online, in the manager F1 help, and as a PDF in the program folder.
Re: Ubuntu 20.04 for Django
Posted: 28. Jan 2021, 15:51
by anjanesh
Coming from a macOS setup on my personal MacBookPro since 2 years and a decade of using Dell pre-configured Ubuntu, the requirements for setting up LAMP was straight-forward.
I think Django also is easy but have never tried it. Is there any overhead of using Ubuntu on a VirtualBox on a Windows 10 Pro machine ? (i5 10th gen, 16GB RAM).
What's the advantage of using VirtualBox as opposed to using a pre-configured Ubuntu laptop for web dev purpose ?
Re: Ubuntu 20.04 for Django
Posted: 28. Jan 2021, 16:07
by scottgus1
anjanesh wrote:Is there any overhead of using Ubuntu anything on a VirtualBox
FTFY, and the answer is Yes. Any OS in any virtual machine from any hypervisor provider will incur overhead. The only way to tell if the overhead is too much is to try it. On my Core I5 750 host with Windows 10 I can run a Windows 7 VM in Virtualbox running 3D cabinetry modelling software with very little notice of any slowdown. YMMV.
Also backups of the VM are easier than backing up the host computer. The VM is just files, and a confirmed copy of the files is a backup of the VM.
anjanesh wrote:What's the advantage of using VirtualBox as opposed to using a pre-configured Ubuntu laptop
Pro: In a VM, you can configure the OS as you wish from the beginning instead of having to undo what someone else did.
Con: In a VM, you have to configure the OS as you wish from the beginning instead of using what someone else did.
It all comes down to what you want to do.
One other Pro: the VMs are separate environments so you don't "infect" the host OS with whatever happens or is set up in the VM.
Re: Ubuntu 20.04 for Django
Posted: 28. Jan 2021, 18:22
by mpack
Lots of people (pretty much everyone) sees an advantage to running a web server in a VM, in order to minimize server downtime in the event of hardware failure.
I'm not aware of any particular advantage to web development in a VM. It's entirely a personal choice, for reasons of personal convenience.