How to Install Windows Server 2012 R2 on Ubuntu VPS - How2Stuff How to Install Windows Server 2012 R2 on Ubuntu VPS

Sunday, July 7, 2019

How to Install Windows Server 2012 R2 on Ubuntu VPS


How to Install Windows Server 2012 R2 on Ubuntu VPS

When you go for a VPS, you can choose between a Linux-based server or a Windows-based server. Although there are many basic functions that are common to both, there are also important differences, and the operating system chosen depends on the specific user and their preferences. Let's take these differences to help you decide what to choose and why.

Expenditure

Linux is an open source operating system and it is free, while Windows is a commercial operating system. Therefore, both the type of use and the price of the Windows and Linux VPS servers are very different.

In Windows, license fees must be taken into account. In addition, Windows VPS servers may be subject to more specialized tasks and, therefore, have a higher price.

Linux VPS servers are an excellent option if you have a limited budget and do not have demanding requirements and functionality. The Linux VPS server, as a rule, is cheaper than the Windows VPS server with the same specification.

Technical Notes

Another important thing to think about is the technology with which your website and your company operate. Of course, if you are developing a classic ASP or ASP.NET, you will want to use robust integration for the programming scripts offered by the Windows VPS environment. The same if you have an MS SQL database; Choosing a Microsoft Windows product for your hosting makes more sense. Windows VPS servers are designed for those who work in Microsoft programs, offering a broader support base that offers more regular and trouble-free updates.

On the other hand, you choose open source options, such as PHP for development or MySQL for your database, then Linux VPS is an excellent solution. Linux also offers many different distribution options, such as CentOS, Debian and Ubuntu.

Easy to use

If you are a novice user or do not have an experienced IT team, the Windows VPS can be easier to manage thanks to your remote desktop with direct access to the GUI like your desktop.

On the other hand, the Linux VPS is managed by SSH, which requires more technical knowledge and experience to ensure that everything is configured and functioning correctly. However, if you or your team have this knowledge, Linux is a very efficient operating system in which you can manage your server. Many with technical knowledge say that they think it is easier to perform certain tasks and control the environment using Linux.

Comparison of Windows and Linux VPS systems at a Glance
In conclusion, here are the main differences between the two operating systems ...

Windows VPS

  • Highest price
  • More regular updates
  • Widest support base
  • Adapted to the most demanding requirements.

Linux VPS

  • Open source
  • Budget Friendly
  • Good for simpler requirements
  • It requires more technical knowledge.

Recommended Linux VPS Provider:


  1. Vultr (Register and Get $50 Bonus)
  2. Virmach

That’s why we bring this tutorial to you, In which you learn how to transform your Linux VPS into Windows VPS. Is it possible? Let’s do a try.

I make this tutorial to show you how to install Windows Server 2012 R2 or Custom ISO on Linux dedicated servers without KVM.

Steps:

1 - Go to your Linux Dashboard Panel.

2 - Make a clean installation of Ubuntu (16.04_LTS-server 64BITS or latest version).

3 - Once the installation is finished open Putty and login with your Ubuntu server credential.

4- Type this command on terminal:

sudo -i

5- Enter your password again.

6- To wipe your hard disk, enter this command:

dd if=/dev/zero of=/dev/sda bs=1M count=1

7- Now we need to create a temp space to our ISO with this command "size=10000m", this space depend on the size of our ISO and Server Space.

mount -t tmpfs -o size=10000m tmpfs /mnt
or
mount tmpfs tmpfs /mnt/shm mode=0775,uid=1000,gid=1003,size=10000m

8- Download the Windows Server ISO - From Microsoft TechNet Evaluation Center.

wget -P /mnt ISOfilelink

9- Once ISO is downloaded on your server, install Portable QEMU.

wget -qO- /tmp https://ia601503.us.archive.org/12/items/vkvm.tar/vkvm.tar.gz | tar xvz -C /tmp

10- Launch QEMU

/tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -m 2048M -localtime -enable-kvm -cpu host,+nx -M pc -smp 2 -vga std -usbdevice tablet -k en-us -cdrom /mnt/ISO_File_Name -hda /dev/sda -boot once=d -vnc :1

11- Install Windows with VNC Viewer.

12- After Install completed, Enable Remote Desktop (mstsc) with existing Windows Firewall Rules with Advanced Security (If you can’t just disable firewall (not recommended)).

13- Enable RDP (System properties/Remote Access).

14- Install drivers for original (not virtual) network controller.

Once you download the driver of your network device install .inf file

Install it as follows:
Open Windows Command Prompt and use cd command to locate .inf file

Ex: C:\user>pnputil.exe -a *.inf

15- Back to Putty Terminal and press Ctrl + C to finish QEMU task.

16- Type this command on Putty to boot Windows from C:

/tmp/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -m 2048M -localtime -enable-kvm -cpu host,+nx -M pc -smp 2 -vga std -usbdevice tablet -k en-us -hda /dev/sda -boot c -vnc :1

17 - Reboot Server from Server console.

18 - Connect to Windows through Remote Desktop.

If your server provider doesn’t support DHCP you can type this:

lspci | egrep -i --color 'network|ethernet'
lshw -class network

And configure with your provider IP, Netmask, Gateway

netsh interface ipv4 set address name="Ethernet 2" static 37.XXX.XXX.183 255.255.255.192 37.XXX.XXX.129

All things are done! If you are getting any error please comments us.

NEXT ARTICLE Next Post
PREVIOUS ARTICLE Previous Post
NEXT ARTICLE Next Post
PREVIOUS ARTICLE Previous Post
 

Delivered by FeedBurner