- create a folder in
C:\
as workspace (because download folder is a remote volumn, it won't be accessable in powershell/cmd.exe) - download and unzip qemu pre-built binaries.
- download alpine-extended-x86_64 iso cdrom.
- use qemu-img.exe to create a disk image:
qemu-img create hd.img 10G
. - download and run start.bat to execute qemu, it will boot from an alpine iso and mount an disk we just created.
- login use
root
, then runsetup-alpine
in command line, chooseus
timezone and keyboard layout, setup your root passwd, type enters until:
- enable openssh service for later usage.
- when asked "which disk would you like to use?" enter "sda".
- when asked "How would you like to use it?" enter "sys".
- confirm disk will be erased.
- reboot after installation.
- change
/etc/ssh/sshd_config
configurePermitRootLogin yes
- download and open putty.exe to ssh into
root@localhost:22022
- add default apk repos
http://dl-3.alpinelinux.org/alpine/v3.10/main
into/etc/apk/repositories
, thenapk update
- download and copy zscalar CA
certs
into alpine linux via Putty's scp tool (PSCP.exe), go to our conluence page "Data Platform & Product" "Development Environment & Access - Software installation (onshore)" - tell openssl to trust ca certs
apk add ca-certificates && cp *.pem /usr/local/share/ca-certificates/ && update-ca-certificates
- follow alpine wiki to install docker
Notes:
if you see some trouble like Certificate or Signature error, this maybe related with zscalar hijack, make sure you have trust the two CAs (cert3.pem, intermediate3.pem) from our confluence page. try restart services like service docker restart
to enable the trust.
Add the following repo in apk /etc/apk/repositories file to install docker
http://dl-cdn.alpinelinux.org/alpine/latest-stable/community