Category Archives: Linux

Auto Added by WPeMatico

Run Ubuntu virtual machines made even easier with Hyper-V Quick Create – Windows Developer Blog

Today, we’ve made running Linux even easier on Windows 10. With the Hyper-V Quick Create feature added in the Windows 10 Fall Creators Update, we have partnered with Ubuntu and added a virtual machine image so in a few quick minutes, you’ll be up and developing. This is available now – just type “Hyper-V Quick Create” in your start menu!
Please note, this feature does require Hyper-V. Please head over to the docs to learn more about Hyper-V and enabling it.
On top of running Ubuntu in a virtual machine, you can use Windows Subsystem for Linux. WSL is a Windows 10 feature that enables you to run native Linux command-line tools directly on Windows. WSL is an extremely easy to install feature on Windows 10, and you can run Ubuntu, Suse, Debian and other distros as well. And if you want to build your own distro and use that, you can too!
Updated September 17, 2018 8:03 am

Windows Community Standup – Improvements for Web and Backend Developers in the next update to Windows 10

During our April Windows Community Standup, we discussed a few recent Windows 10 features that will help improve your development experience.

Without further ado, let’s dive into the features we spoke about:
Improvements to the Windows Subsystem for Linux
In-box command line tools
Virtualization in Hyper-V
Windows Subsystem for Linux
The Windows Subsystem for Linux (WSL) lets developers run Linux environments – including most command-line tools, utilities, and applications – directly on Windows, unmodified, without the overhead of a virtual machine.
Today, we showed various workflows with WSL and Node.js in Visual Studio Code (VS Code). Many of the integrations we showed come from community contributions and asks to improve development workflows. The demo is a culmination of all that – launching your project in VS Code from WSL, using WSL in the integrated terminal, using WSL in the debugger, and using a curl inbox in CMD.
We went over just some of the recent improvements in WSL. As we receive community feedback, we plan to continue addressing our top asks. Currently this includes improving the interop between Windows and WSL and adding more of your favorite tools inbox.
Hyper-V is a virtualization technology that makes working with Linux VM’s a better experience on Windows.
Today, we showed RDP session improvements and the VM gallery. The RDP improvements include the mouse experience, clipboard, and drive sharing. We showed a preview of the VM Quick Create Gallery with a built-in Windows image and loading our own custom image. You can expect to see improvements in both these areas in the near future in areas such as windowing and additional built-in image templates.
Thank You & Feedback
A big thanks to our developer community for helping provide feedback on WSL, inbox tools, and Hyper-V. Be sure to let us know about your WSL experience by submitting issues on our sample GitHub repo and tweeting us at #WSL – @tara_msft.

Windows Subsystem for Linux on Windows Server

The Windows Subsystem for Linux (WSL) is available in Windows Insider builds of Windows Server. Now developers and application administrators can run tools they use in Linux environments alongside Cmd and PowerShell.
If you want to jump straight in, the installation guide is available here.
Why include WSL on Windows Server?
We want Windows, including Windows Server, to be a great place for developers. We know developers, system administrators, people managing services and people building services all occasionally need tools available on Linux.  Many more would like to run Linux tools as part of their workflow as a matter of convenience.
Previously, there were a few options:
Run something like Cygwin and rely on Win32 ports of common GNU tools.
Cygwin is a great toolset but it runs into issues when using tools that haven’t been ported to Windows. Many tools simply aren’t available. This is especially common when trying to build and run Ruby & Java solutions, which utilize some Linux-only Gems, libraries and components.
The tools available through Cigwin and other Win32 ports are also notorious for being out of date – which is understandable since updating them requires recompiling them for Windows. For Windows users, however, this is both inconvenient and often leads to troublesome compatibility issues when running, building or deploying software.
Use Linux in a virtual machine.
Virtual machines are designed for production workloads on Windows Server. They aren’t ideal for things closely tied to the Windows Server host. If you need basic Linux command-line tools integrated with their Windows system, a virtual machine will be cumbersome.
This is where running Linux on WSL provides value: WSL runs unmodified Linux (ELF64) binaries natively. It can install and run almost any Linux command-line tool integrated in Windows.
With the additions of WSL and Linux containers with Hyper-V isolation, Windows Server offers a wide variety of Linux options that make it a great place and platform for modern developers.
If you’re a server engineer that needs to run node.js, Ruby, Python, Perl, Bash scripts or other tools that expect Linux behaviors, environment or filesystem-layout, the ability to install and run Linux with WSL expands the tools at your disposal on Windows Server.
What this isn’t — WSL is not a Linux server
Just as with WSL on Windows Client, you can run daemons and jobs like MySQL, PostgreSQL, sshd, etc., via an interactive shell, but you cannot currently use WSL to run persistent Linux services, daemons, jobs, etc. as background tasks.
For these sorts or tools, read more about Linux containers with Hyper-V isolation from the Build 2017 announcement.
How do I get started using WSL on Server?
Windows Subsystem for Linux arrived in Windows Server Insider Build 16237. Follow our new Windows Server WSL Installation Instructions to get started running Linux alongside Cmd and PowerShell on your Servers.
Feel free to comment below or reach out to Sarah and Rich via Twitter.