Update 'README.md'
Added Windows install to Readme
This commit is contained in:
54
README.md
54
README.md
@@ -1,27 +1,41 @@
|
||||
# About the proxy deployment project
|
||||
# About the Windows version
|
||||
|
||||
It is a pilot project idea running deployment in a microservice platform.
|
||||
The metadata frontend proxy is a web related gateway to reach backend services from the public internet via http/https.
|
||||
You can execute the install.sh script under Windows 10 or 11 also, but need to prepare the WSL service before.
|
||||
|
||||
The proxy service is complex and has many parameters to configure by users.
|
||||
It is executable via command line for example Powershell or Terminal also.
|
||||
|
||||
There is three important parts
|
||||
You need to start the wsl service at first:
|
||||
'# wsl.exe --install Debian'
|
||||
|
||||
- core-dns service which is needed for stable proxy availability
|
||||
- public proxy service (1 haproxy loadbalancer and 2 haproxy backend proxies)
|
||||
- smarthost proxy service (1 haproxy loadbalancer and 2 nginx backend proxies with builtin SSL certificates termination processes)
|
||||
Then enter it by user root at first.
|
||||
'# wsl -u root -d Debian'
|
||||
|
||||
After successfuly entered, prepare the linux system, add a new user via usermod command:
|
||||
'# usermod -aG sudo <user>'
|
||||
|
||||
Not important, but it is needed any command line editor for example vim.
|
||||
'# apt-get install vim'
|
||||
|
||||
Then edit the wsl.conf file:
|
||||
'# vim /etc/wsl.conf'
|
||||
|
||||
Please add this lines:
|
||||
"[boot]"
|
||||
"systemd=true"
|
||||
|
||||
Then type logout and restart the wsl system by command:
|
||||
'# wsl --shutdown Debian'
|
||||
|
||||
Once you created the new linux user, it is seems under Windows Explorer via folder. You need to download the install.sh and the installer.pub key file and place it to the user's folder.
|
||||
|
||||
When it was successfuly you can restart it with a new user you added before.
|
||||
'# wsl -u <user> -d Debian'
|
||||
|
||||
And change the install scrip attribute for executable:
|
||||
'# chmod a+x install.sh'
|
||||
|
||||
And execute it:
|
||||
'# ./install.sh'
|
||||
|
||||
All the proxies support the proxy protocol which is mandatory but not needed any configuration settings from the backend www services or another services also.
|
||||
|
||||
docker run \
|
||||
--volume /root/.ssh/installer:/root/.ssh/id_rsa \
|
||||
--env PUBLIC_PROXY=yes \
|
||||
--env SMARTHOST_PROXY=yes \
|
||||
--env LOCAL_PROXY=yes \
|
||||
--env VPN_PROXY=yes \
|
||||
--env CRON=yes \
|
||||
--volume /etc/user/:/etc/user/ \
|
||||
--volume /etc/system/:/etc/system/ \
|
||||
--env LETSENCRYPT_MAIL=noreply@galaxis.xyz
|
||||
registry.format.hu/proxy-deployment-tool
|
||||
|
||||
|
Reference in New Issue
Block a user