Lâu lắm rồi, tôi bắt đầu hành trình ảo hóa với VMware Player. Xưa kia, nó là một trong vài giải pháp ảo hóa GUI-based cho desktop, cho phép bạn test và dùng guest OS với relative ease. Kể từ đó, virtualization trở nên common và accessible hơn nếu không outright decadent, và bạn có nhiều chương trình để chọn, nếu bạn decide explore complete software stack trong môi trường contained, isolated.
VMware Player hiện tại ở major increment thứ 14, và này gọi cho review. Chương trình giờ gọi là Workstation Player, một not so subtle hint rằng nó là freeware version và tech demonstrator của fully fledged work [sic] horse. Lại một great tool, tôi đã trả tiền và dùng nhiều năm, nhưng focus ở đây là trên free utility. Let's roll.
Setup
Tôi quyết định config VMware Player trong KDE neon, đi kèm Ubuntu 16.04 base. Player phân phối như bundle file, bạn cần chmod +x trước khi chạy. Installer wizard mất một lúc loading, và một lúc tôi nghĩ nó không chạy. Nhưng rồi nó chạy just fine. Tuy nhiên, đây chỉ là first step.
Khi launch chương trình, nó sẽ ask bạn compile additional drivers - cho phép VMware ship single unified bundle thay vì tạo individual package cho mỗi distro và kernel. Process này không chạy nếu bạn không có necessary compilation tools. Tôi phải cài build-essential meta package trong neon để get kernel source, headers, make, gcc, và all the rest of the goodies. Sau đó, setup truly complete.
Testing
Trước khi bắt đầu, bạn có thể nghĩ - VirtualBox. Thực tế, thường có question of choice giữa hai chương trình này, và bạn cũng may be tempted so sánh giữa chúng. This isn't really the right thing to do, vì vài lý do. VMware Player purposefully lean - full Workstation offer features như advanced networking, snapshot, encryption, multi-VM run, clone, command-line tools, và vSphere connectivity. VirtualBox có nhiều option available trong Workstation, và so it is more like the latter than the former. That isn't my goal here, although it's a worthy test of its own, which is why I'm going to focus mostly on how Player works.
Tôi quyết định setup Ubuntu 18.04 Beta, để xem how this was going to work out. One thing you will notice is Easy Install. Player offers auto-install config cho several select OS, although you can choose to manually install on your own. Both MBR và UEFI modes are supported.
Edit VM Settings
Sau khi tạo máy, tôi muốn xem additional customization nào possible qua settings menu. Bạn cũng có thể make manual vmx file config changes, như tôi đã chỉ trước, nhưng some options will be ignored.
Run the Virtual Machine
Ubuntu boot - với complaint rằng nó no 3D acceleration available. Đây là confusing message, nhưng về bản chất nghĩa là không có driver bundled với Ubuntu sẽ detect VM environment và let you use it. Bạn cần manually setup VMware Tools, which is a task for after the installation. Vì vậy, initial test của tôi limited to tiny non-resizable window (something like 800x600px), nhưng at least mouse integration was fine.
VMware Player helpful vì gives you useful hints into what it's doing. Bạn được prompted download VMware Tools. Có error log, right there, so you can see if and when anything goes wrong. Bạn cũng có thể connect external devices, như camera và such.
Khi tôi thử cài VMware Tools manually, system recommended I use existing open-vm-tools package từ repos. Thực tế, ngay khi tôi cài those, tôi có resolution auto-resize, so this is a good and simple, hassle-free setup.
Performance and Tweaking
Khi VM properly integrated, nó bắt đầu behave slightly better - nhưng having no VT-x hampers performance, và 3D support was flaky. Gnome never worked too well in VM, Unity did so and so, depending on version, và this last Gnome-cum-Unity rather laggy. Not sure if this is something to blame on VMware Player per se. But overall, experience wasn't smooth. I guess it's best to run without any 3D stuff or compositing, if possible.
Other Things
Tôi accessed main interface và tried to see what else is there, all the while Ubuntu guest was running. Program informed me that VM is in use and cannot be accessed. Taking ownership resulted in an error. Actually, this is really an unnecessary kind of prompt, as it was me doing the whole thing.
Kết luận
VMware Workstation Player là một very decent program, especially cho new users. Nó comes with reasonable set of options, it tries to guess what you're doing và help, và cho lightweight use, it makes perfect sense. But nếu bạn là advanced user, bạn definitely need và want more, và this is where the full pro version comes into play. Or alternatively, go for other options. Overall, it remains similar to version 4, which I tested several years ago.
Biggest gripe của tôi là not having hardware acceleration, which significantly improves performance của VM. Network và storage side of things are less critical cho everyday use. Multi-VM also important nếu bạn need to create more complicated setups or labs. That said, the program is simple and easy, và has a very gentle curve for people just freshly starting in the virtualization world. Worth testing, but always remember, 'tis but a teaser for the heavyweight just hiding behind the corner. Indeed, for me, the big take from this endeavor is that I need to test the Workstation as well. We shall see.
Chúc vui.