To Create ImageServer Windows in Digital ocean , you will need to follow these steps:
- Sign up for an account with a cloud provider that offers Windows droplets, such as Digital ocean.
- Once you have an account, log in and navigate to the “Create” button in the top right corner of the dashboard.
- Select “Droplets” from the list of options.
- Choose the “One-click apps” tab, and select the “Windows” option.
- Select the size and region for your droplet, and choose the desired version of Windows.
- Choose any additional options, such as private networking or backup options.
- Click the “Create” button to create your droplet.
Once your droplet has been created, you will be able to access it using Remote Desktop Protocol (RDP). You will need to install an RDP client on your local machine and use the login credentials provided by the cloud provider to connect to your droplet in Digital ocean .
Once connected, you can begin installing and configuring the software and applications that you need on your droplet. Create ImageServer Windows in Digital ocean
Now follow The STEP For Create ImageServer Windows in Digital ocean
- Create a build droplet with 4GB RAM
- Install QEMU and run the Windows 10 installation ISO
Build environment To Create ImageServer Windows in Digital ocean
We will ssh into ImageServer
and setup the required dependencies.
apt-get update && apt-get install qemu -y
# Create disk image
qemu-img create -f raw windows10.img 16G
# Get virtio drivers
wget https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso
We will also need a copy of the Windows 10 ISO. To get this you will need to visit Microsoft’s ISO download page to generate a unique link. in Digital ocean RDP
For example
wget -O Win10_1803_English_x64.iso 'https://software.download.prss.microsoft.com/dbazure/Win10_22H2_English_x64.iso?t=696419e9-84a1-4d29-9856-b7c4d4e782c0&e=1671804402&h=8cfa0e9874fc99ceb74ccfb6554b8e1f060cd2c8899caf149e6bdeb24a2e1077'
Replace the link within the single quotes in the next section with your own. Make sure you keep the quotes and -O Win10_1803_English_x64.iso
line.
Now that we have all the required dependencies, we can go ahead and start the installation. Using the following command we will start emulating the Windows ISO and a VNC server so we can connect to it.
qemu-system-x86_64 \
-m 3G \
-cpu host \
-enable-kvm \
-boot order=d \
-drive file=Win10_1803_English_x64.iso,media=cdrom \
-drive file=windows10.img,format=raw,if=virtio \
-drive file=virtio-win.iso,media=cdrom \
-vnc :0
Now on your local machine you will need to use a VNC Viewer to access it. In this example I use xtightvncviewer
on my local debian system. Replace imageserver
with your servers IP.
# Install vncviewer
sudo apt-get install xtightvncviewer
# Connect to imageserver
vncviewer imageserver
If we hit next
then install now
we should be presented with a screen asking for our license key. Either enter your key or select I don't have a product key
and continue to the selection screen. I choose Windows 10 Pro for this demo and grudgingly ignored the EULA.
Now You can install windows drive
- First select
Custom:
Install Windows only (advanced)
. - Then select
Load driver
then clickbrowse
. - You’ll want to scroll down to
CD Drive (E:) virtio-win-0.1.1
. - Now we can select the Network driver, which can be found in
E:\NetKvm\w10\amd64
. - We will also need to uncheck
Hide drivers that aren't compatible with this computer's hardware
then select the first optionRed Hat VirtIO Ethernet Adapter
andnext
- Now we need to repeat this process again selecting
Load driver
,browse
and scrolling down toCD Drive (E:) virtio-win-0.1.1
. - This time we need to select
E:\viostor\w10\amd64
and install theRed Hat VirtIO SCSI controller
.
Now we wait for the installation to complete. This will take about 5 minutes.
Once we see the Windows needs to restart to continue
screen we can close vncviewer, go back to our terminal, and hit CTRL+C to stop virtualization.
Now that we have a Windows 10 image with the correct drivers we will need to compress it and transfer it to our Windows Droplet
To do this first we compress the image using the following command.
# Compress image
dd if=windows10.img | gzip -c > windows10.gz
you can wait 5-10 minute
For More artickel you can read https://nelbet.net
IriyevQlPN