Hi all :)
I manage a handful of websites and their emails using the PortableApps suite on Windows, so have a separate browser and mail client for each one. This has worked well for years, but now I’m switching to Linux, Mint specifically. I’ve read that I can set up profiles on Firefox and probably Thunderbird, or maybe run separate instances with things like AppImages, but it sounds like it’s a messy solution, and could end up with me using the wrong profile by mistake
What I want to do is set up a virtual machine for each site, and have a completely separate instance of the programs, and hopefully a way to easily transfer the machines to other systems if needs be.
I’d prefer to use a Debian / Ubuntu based distro with Apt and the ‘Windows’ style desktop, as that’s what I’m already used to, but am I better off installing Mint and stripping it down, or is there something more suited to this?
Thanks in advance :)
Thanks for the detailed reply :)
I’ve tried setting up a separate profile on my laptop for the main site that I manage, but I’m finding the permissions to be difficult. I need to transfer files from my existing profile to the new website profile, but I keep getting all sorts of errors telling me that I’m not allowed, even if I put the users in the same group and give the group read and write access, or if I try changing ownership to the website user.
I’ve probably set up something wrong with the new user, but it made me think about other ways of doing it, and how to back it up. I’m probably going with a VM so that as well as a regular backup, I can back up the whole VM and store a copy on other physical computers. If something goes wrong, like my laptop getting stolen, I can just fire up the VM on another computer and keep working.
@mojo_raisin@lemmy.world had a good idea though, of using different themes and the logo to help differentiate them. I think I’ll use that whichever way I go.
XFCE is a good idea, thanks. I use Xubuntu on my media server at the moment, so I’m used to the way that it works. I like the look of KVM too. Apparently it’s faster than VirtualBox, and that’s usually fine for my needs, so it should be good :)
Having different Firefox and Thunderbird profiles under the same login is something that I’m definitely avoiding. I’ve tried things like that in the past, and have trouble keeping them separated. I have some memory issues, probably related to ADHD, and find it too easy to open the wrong copy of a program when I’m focused on something else.
Ya, this isn’t an easy problem to solve. I have some of the same issues.
If you want to try again or keep trying with the shared directory model try the “sticky bit” along with ACL.
sudo setfacl -d -m g:shared:rwx /path/to/shared_directory
This will make any files/directories you create in the shared dir have the right permissions to share. But it doesn’t apply to files already existing in the directory or files/directories created outside of this directory that are moved into the directory.
If you go the VM route, you might look into QEMU + KVM using .qcow2 files for the VM disk. Then you could just copy the qcow around and start the VM with a command (albeit a complex command). If this sounds interestiing, let me know and I can provide help and examples of how I do it or explanations.