How to run open. SUSE Leap Linux on Hyper VIve written articles about using two popular Linux server distributions, Ubuntu and Cent.OS, on Hyper V. Those distributions have large, strong communities, but truthfully, I chose them primarily because of my own familiarity.This is how you get started with running OpenSuse Leap Linux distribution on HyperV, including basic configuration and tools used in the process. Crack Stronghold Crusader Extreme Download Full . Zypper is a command line package manager for suse openSUSE distributions.Its used to install, update, search remove packages manage repositories.Site focused on detailed reviews and articles on computer hardware, software, security, games, popular physics, life, 3d art, and more.Install Kde Command Line Opensuse Leap' title='Install Kde Command Line Opensuse Leap' />I decided that I should start branching out into other popular offerings.So, as you probable discovered from the title, this article will introduce open.SUSE Leap on Hyper V.If youve been on the fence about incorporating Linux into your environment, then you have been waiting for this article.About open. SUSE and open.SUSE Leap. The SUSE distribution family provides substantial offerings.SUSE sits at the root.SUSE, who provides the impressive enterprise stack, builds upon open.SUSE, not the other way around.I didnt spend a great deal of time researching those enterprise products, but they are doing some good work, especially in the management space.All of those products include a price tag, however.Im not opposed to a company turning a profit from its work, but Im assuming that most of you are here because your price range hovers at free.SUSE can meet that price point.It also offers enterprise grade quality.There are two branches of open.SUSE. The first is Tumbleweed.Its name signifies its philosophy as a rolling release.Its products, components, and packages receive near continuous updates.According to its blurb, it targets developers and desktop users that want cuttingbleeding edge technology.Leap is the second open.SUSE offering. It operates on the more familiar regulated release cycle.So, you wont find the absolute latest packages in Leap, but you also wont need to worry as much about breaking any third party software that your organization relies upon.Why open. SUSE Leap Before we can decide between Tumbleweed and Leap, we must address a more pressing question why choose open.SUSE at all As Ive said before, I dont feel strongly about any distribution.I know that some rigidly adhere to a specific distribution and they all have their reasons.I just want whatever gets the job done with minimal frustration.I like Ubuntu, but I find its refusal to allow remote connection by the root account causes me more harm than good.SSH, to be sure. However, I was recently tasked with some involved work on Apache configuration files, which are root owned.I really needed mouse driven copypaste functionality.None of my solutions were elegant and most caused me problems at one point or another.Also, I have some concerns about the long term direction of the Ubuntu project.So, while I find the server edition of Ubuntu easy enough to use, its no longer my first choice.Ive been working with Cent.OS more ever since writing my article on it.Its growing on me I confess to having developed some level of fondness for it.However, its a bit slower on release cycles than I would like.Its difficult to match the certainty that Cent.OS offers, though.If youre mostly dealing with popular FOSS projects such as a LAMP stack, then Cent.OS might not be your best choice.If your organization uses software provided by a third party and they prefer Cent.OS, then choose Cent.OS. Now we arrive at open.SUSE. I must say, they sort of had me at hello Truthfully, I was hooked by the management capabilities.As I started working with my first open.SUSE system, I did what I knew from Cent.OS and Ubuntu. Things mostly worked, but I felt a little disappointed with the package management system.Specifically, I wasnt entirely certain how to get it to remove unreferenced package dependencies.So, I did some searching, and was directed to a little gem called YAST YAST is a character mode menu based management system for open.SUSE. If youre not quite ready to jump from graphical Windows to command line Linux, YAST can carry you over the divide.Underneath all of that, open.SUSE uses rpm. That means that youll be able to run many things on open.SUSE that you could run on Red Hats derivations.Why Leap instead of Tumbleweed Personally, I would choose Leap for my datacenter.Leap is more predictable, and in a sense more reliable.Since were installing under Hyper V and dont care about driver updates, Tumbleweed is a safer choice than it would be when directly installed on a hardware platform, but regular release cycles always make our vendors feel better.SUSEs Tumbleweed home page also talks about making the choice.My todo list contains an entry to fire up Tumbleweed on my Client Hyper V installation, but Im going to use Leap on my server platforms.Downloading open.SUSE Leap. Acquiring the software is your first step.I would start on the Leap homepage, as the download page will change with the version number.As the site exists today, a relatively large Install Leap button sits prominently in the center.Click it to go to the download page.On the download page, you can choose between the full 4.DVD package or a network based install image.Unlike the other distributions that Ive used, you cant choose any sort of a minimal installer ISO.If youre only going to be installing one or two instances or you have a really big Internet pipe and would rather not store bits, then the network installer will suit you fine.For me, I chose the full download.Thats what the following instructions use.How to Build a Hyper V Virtual Machine for open.SUSE Leap. Like the other distributions, Leap does not demand many resources.I use the same build for Leap virtual machines that I do for Ubuntu Server and Cent.OS 2 v. CPUs, no reservation.All modern operating systems work noticeably better when they can schedule two threads as opposed to one.You can turn it up later if youre deployment needs more.Dynamic Memory on 5.MB startup memory, 2.MB minimum memory, 1.GB maximum memory.You can always adjust Dynamic Memorys maximum upward, even when the VM is active.Start low. 4. 0GB disk is probably much more than youll ever need.I use a dynamically expanding VHDX because theres no reason not to.The published best practice is to create this with a forced 1 megabyte block size, which must be done in Power.Shell. I didnt do this on my first several Linux VMs and noticed that they do use several gigabytes more space, although still well under 1.I leave the choice to you.I initially had troubles using Generation 2 VMs with Linux, but Im having better luck recently.If you use Generation 2 with your Leap VMs on Hyper V 2.R28. 1 or earlier, remember to disable Secure Boot.If using 2. 01. 6, you can leave Secure Boot enabled as long as you select the Microsoft Certification Authority.If your Hyper V host is a member of a failover cluster and the Linux VM will be HA, use a static MAC address.Linux doesnt respond well when its MAC addresses change.The following is a sample script that you can use or modify to create a Linux virtual machine in Hyper V.New Linux. VM. Modules Hyper V.Cmdlet. BindingSupports.Should. Processtrue.ParameterMandatorytrue, Position1StringVMName.ParameterStringVHDXName.ParameterStringVMStorage.Path. ParameterStringVHDStorage.Path. ParameterStringInstall.ISOPath. ParameterSwitchCluster.ParameterStringVMSwitch.Name. ParameterUint.Startup. Memory 5.MB. ParameterUint.Minimum. Memory 2.MB. ParameterUint.Maximum. Memory 1.GB. ParameterUint.VHDXSize. Bytes 4.GB. ifString Is. Null.Or. EmptyVHDXName.VHDXName 0. vhdx f VMName.VHDXName notmatch.VHDXName. vhdx. String Is.Null. Or. EmptyVMStorage.Path. VMStorage. Path Get VMHost.Virtual. Machine.Path. if not Test Path Path VMStorage.Path. Write Error Message VM path 0 does not exist.VMStorage. Path. ifString Is.Null. Or. EmptyVHDStorage.Path. VHDStorage.Path Get VMHost. Virtual.Hard. Disk. Path.Test Path Path VHDStorage.Path. Write Error Message Storage path 0 does not exist.VHDStorage. Path.VHDStorage. Path Join Path Path VHDStorage.Path Child. Path VHDXName.String Is. Null. Or.EmptyInstall. ISOPath or not Test Path Path Install.ISOPath Path. Type Leaf.Write Error Message ISO 0 does not exist f Install.ISOPath. ifString Is.Null. Or. EmptyVMSwitch.Name. VMSwitch. Name Get VMSwitch Switch.Type eq External0.Name. ifString Is.Null. Or. EmptyVMSwitch.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |