mediabots / Linux-to-Windows-with-QEMU

One Script for Auto installation of Windows Server into a Linux Server. Script would install Windows Server 2012 R2 evaluation copy (180 days free trial). A power shell script to enable Remote Desktop + Firefox installer attached into the CD-ROM.
135 stars 270 forks source link

Hi #4

Closed Ravada closed 5 years ago

Ravada commented 5 years ago

Sorry! None of Windows OS image urls are available , please report about this issue on Github page

mediabots commented 5 years ago

Really Sorry for my late reply.

May happened due to down time of my server, which contains Windows Server ISO file.

It should be fixed, one of windows OS URL would work now

Thanks

Ravada commented 5 years ago

Still getting the same error.

mediabots commented 5 years ago

In that case, your Server/VPS IP might be blocking content from my URLs

here are two of my URLs:

https://ia601506.us.archive.org/4/items/WS2012R2/WS2012R2.ISO http://51.15.226.83/WS2012R2.ISO

you can check yourself, both of them are working fine.

Solution is, you can download the Windows Image from one of those Direct URLs and then upload that file on some other server and get the direct URL. Then edit the script(.sh) file, and replace string http://51.15.226.83/WS2012R2.ISO with your own direct URL Line numbers are: 35 & 39

Regards

Ravada commented 5 years ago

Uploaded to my own server and still get the same error..

http://prntscr.com/o3g0gv

mediabots commented 5 years ago

At first , my I know which Linux Distro are you using and its version number? eg, Ubuntu 18.04

Capture

Got the issue, its not about my direct urls of Windows ISO or your URL is not responding.

Its about curl command(which is required) is not installed on your system. And script suppose to install "curl" automatically, But since the if & elif statement (Line no.17 & Line no. 24) didn't work, its ends up with out installing curl.

Now question is why your system returning error for line 17 & line 24?

because ,I tested the script yesterday on my ubuntu 18.04 VPS, and it is working perfectly.

Please state the Linux Distro you are using and its version number. So I can dig further

Thanks

Ravada commented 5 years ago

This time it worked, but "Connection refused by computer" when trying to connect

Ravada commented 5 years ago

root@server:~# Could not access KVM kernel module: Operation not permitted failed to initialize KVM: Operation not permitted

mediabots commented 5 years ago

Give screenshots,so I can see

As I already asked you, please state the Linux Distro you are using and its version number. eg, Ubuntu 18.04 So, I can see whats the problem

If possible also state the VPS Provider you are using and its plan name

My script Script support Ubuntu (as mentioned in requirements)

looking forward

Thanks

mediabots commented 5 years ago

root@server:~# Could not access KVM kernel module: Operation not permitted failed to initialize KVM: Operation not permitted

That means , your web hosting provider not allowing Virtualization facility. That's why you are seeing such KVM error!

Contact your web hosting for the support

Regards

PaulG-29 commented 4 years ago

Hello this is available?

PaulG-29 commented 4 years ago

does it work in VPS in OVH?