What do you suggest/use for having a locale server PHP+apache+MySQL to carry around ur web projects band view them on locale machine?

I thought to set up a virtual macchine with one of the free virtualization SYS vbox or VMware player.

What do u use?

    I use PHP+Apache+MySQL.

    To "carry around" my web projects, I use PHP+Apache+MySQL on my laptop.

    Is there something I'm missing? Why would you need a VM to do this?

      What I wish to have is a big file (or bunch of it) that i can bring around with a pen drive,
      being able to open them and work and updating the php files, database, apache conf etc...

        4 days later

        You would probably want to create a virtual machine in something like VirtualBox, and store the .vdi file (the virtual hard drive) on the pen drive. Then wherever you go, you'll have to install VirtualBox and use the virtual disk. That's really as simple as it gets. What you're really asking for is a computer contained in a file.

          You could of course get a RaspberyPi and have a credit card sized computer, and just plug in the power and monitor 🙂

            or something like puppyLinux - just insert the USB drive and boot from it. You can get pretty big flash drives pretty cheaply.

              Bonesnap;11019807 wrote:

              You would probably want to create a virtual machine in something like VirtualBox, and store the .vdi file (the virtual hard drive) on the pen drive. Then wherever you go, you'll have to install VirtualBox and use the virtual disk. That's really as simple as it gets. What you're really asking for is a computer contained in a file.

              this is what I mean and I already did but with VMWare, having troubles in moving the vMachines sometimes.
              Maybe with Vbox those problems of moving the vdi file on different host will not raise?

              What I'm looking for isn't actually an HowTo but stories of experience, to find out which is the slightest solution....

                Derokorian;11019811 wrote:

                You could of course get a RaspberyPi and have a credit card sized computer, and just plug in the power and monitor 🙂

                I like this but Raspberry PI will need a storage device too. Not so convenient

                  traq;11019817 wrote:

                  or something like puppyLinux - just insert the USB drive and boot from it. You can get pretty big flash drives pretty cheaply.

                  Also puppy linux is nice, but I'll need a full host hard-machine to put server up

                  Now i'm wishing to have (dreaming :-)) a plug&play webserver on a PEN drive that will auto startup as local virtual machine on LAN...no reboot
                  actually if there was a sort of portable virtualbox?...maybe it could be...

                    kante;11019827 wrote:

                    I like this but Raspberry PI will need a storage device too. Not so convenient

                    Um, what do you mean it will need a storage device? Why would you need an extra storage device aside from the SD card it runs off of (Hint: Mine has a 16GB SD card with all my sites duplicated on it, and editors to work with besides vi)

                      kante;11019823 wrote:

                      this is what I mean and I already did but with VMWare, having troubles in moving the vMachines sometimes.
                      Maybe with Vbox those problems of moving the vdi file on different host will not raise?

                      You wouldn't move the virtual machine itself, just the virtual disk. Creating a virtual machine on one host and trying to move it to another will almost always cause problems. You will have to (re)create the virtual machine on the host you are using and then use the virtual disk as the newly created machine's drive.

                      But as others have mentioned you can probably load everything up onto a pen drive with Linux and just boot straight from that.

                        Derokorian;11019853 wrote:

                        Um, what do you mean it will need a storage device? Why would you need an extra storage device aside from the SD card it runs off of (Hint: Mine has a 16GB SD card with all my sites duplicated on it, and editors to work with besides vi)

                        ups... I was missing this feature about RPI... sorry

                          Or you could set it all up on some remote hosting and use SSH to manage the server. This is very easy to do with Linux (KIOslaves mean you can mount remote NFS/SFTP/etc shares as if they were local) and I believe a Mac could do this too. It might be a bit more tricky on Windows, as is usual with things that aren't the "normal" way of doing things!

                            I've read that QEMU (qemu.org) is handy for a VM on pen drives ... supposedly runs pretty well without depending on root/administrator privileges.

                            Ashley Sheridan;11019887 wrote:

                            Or you could set it all up on some remote hosting and use SSH to manage the server. This is very easy to do with Linux (KIOslaves mean you can mount remote NFS/SFTP/etc shares as if they were local) and I believe a Mac could do this too. It might be a bit more tricky on Windows, as is usual with things that aren't the "normal" way of doing things!

                            I must've missed something ... no problem admin'ing 'Nix from Windows. Shares? SMB/Samba?

                              dalecosp;11019917 wrote:

                              I must've missed something ... no problem admin'ing 'Nix from Windows. Shares? SMB/Samba?

                              NO, but it's more tricky, because you have to set up a Samba server on the Linux box, and then get Windows to connect to it, something that can suffer from weirdness depending on the particular version of Windows installed (hell, sometimes even getting Windows machines to communicate with other Windows machines using SMB is a pain). On Linux it's usually as simple as making sure the SSH server is running (which it is by default on some distros)

                                Ashley Sheridan;11019995 wrote:

                                NO, but it's more tricky, because you have to set up a Samba server on the Linux box, and then get Windows to connect to it, something that can suffer from weirdness depending on the particular version of Windows installed (hell, sometimes even getting Windows machines to communicate with other Windows machines using SMB is a pain). On Linux it's usually as simple as making sure the SSH server is running (which it is by default on some distros)

                                My media server at home is a Ubuntu install. I installed Samba and made the share I wanted. I was able to connect to it with my Windows 7 machine just like any other network share. Maybe I got lucky?

                                  Probably. I've not had any major problems myself connecting to Samba shares from Windows, but I've known people who have, and just the other week was reading an article in Linux Magazine that spoke about this exact same problem.

                                    Write a Reply...