Setting Up a Linux VM
Learn how to create Azure Linux VMs and set up a web server on it.
People are transitioning from Windows to Linux system administration, and there are solid reasons behind it. If we compare the speed of both Windows OS and Linux OS, the latter runs faster as compared to Windows, especially on moderately powerful systems, while the Windows OS starts getting slower with time.
Creating Linux-based VMs in Azure is easy. Azure supports standard Linux distributions like Red Hat, SUSE, Ubuntu, CentOS, Debian, Oracle, and Flatcar Container Linux.
Demo: Creating a Linux VM
Create a Linux-based VM using both Azure Portal and Azure CLI.
Using Azure Portal
-
Navigate over to Azure Portal and log in.
-
On the Azure home page, click the “Create a resource” button. This will open a marketplace. Search “virtual machine” in the search box or scroll down to find it.
-
Click the “Create” button under the “Virtual machine” option. This will open up a form for you to fill out. Select your subscription and an already existing resource group. If you don’t have one, click the “Create new” button and give it any desired name.
In ”Instance details” dive the VM a name, choose a region near you ...