You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For docker we recommend to use the linux docker within WSL.
97
-
Follow the instruction in [Server Provisioning in Scenario: Single Node Cloud Installation](../scenario-single-node-cloud-installation/index.md#server-provisioning).
98
-
Alternatively, you may use docker for desktop and enable WSL integration in the settings.
115
+
Enter WSL machine
99
116
100
-
Open a terminal window, create a directory, copy and extract docker orchestration there.
117
+
```shell
118
+
wsl -d Debian
119
+
```
101
120
102
-
```shell
103
-
# Create eccenca-corporate-memory directory in your ${HOME} and set as a
# unzip the orchestration and move the unzipped directory
114
-
unzip cmem-orchestration.zip
115
-
rm cmem-orchestration.zip
116
-
mv cmem-orchestration-v* cmem-orchestration
117
-
cd cmem-orchestration
118
-
git init && git add .&& git commit -m "stub"
119
-
```
121
+
Enable `generateHosts = false` in your `/etc/hosts` file to make sure that this file won't be overwritten from the host system on every restart.
122
+
123
+
To be able to use `systemd` services and commands make sure `/etc/wsl.conf` is available with this content (should be the default with WSL v2):
124
+
125
+
```shell
126
+
[boot]
127
+
systemd=true
128
+
```
129
+
130
+
(Optional) If you need to restart your WSL use in Powershell:
131
+
132
+
```shell
133
+
wsl --shutdown
134
+
```
135
+
136
+
To install Corporate Memory, you need to modify your local hosts file (located in C:\Windows\System32\drivers\etc\hosts), minimal configuration is as follows:
137
+
!!! Warning
138
+
This requires administration rights.
139
+
140
+
```shell
141
+
##
142
+
# Host Database
143
+
#
144
+
# localhost is used to configure the loopback interface
145
+
# when the system is booting. Do not change this entry.
146
+
##
147
+
127.0.0.1 localhost
148
+
127.0.0.1 docker.localhost
149
+
```
150
+
151
+
(Optional) you can create a `.wslconfig` file under `C:\users\<your username>` to specify some system resources like:
152
+
153
+
```shell
154
+
[wsl2]
155
+
memory=16GB # restrict ram WSL can use
156
+
processors=4 # restrict cpu-cores
157
+
swap=8GB # set swap size
158
+
swapFile=C:/Users/<your username>/wsl/Debianswap.vhdx # location to swap-file
159
+
```
160
+
161
+
Alternatively, (with WSL v2) you may use the graphical configuration application _WSL Settings_.
162
+
163
+
For docker we recommend to use the linux docker within WSL.
164
+
Alternatively, you may use docker for desktop and enable WSL integration in the settings.
165
+
166
+
---
167
+
168
+
169
+
170
+
=== "install via .zip file"
171
+
Open a terminal window, create a directory, copy and extract docker orchestration there.
172
+
173
+
```shell
174
+
# Create eccenca-corporate-memory directory in your ${HOME} and set as a
175
+
# working dir.
176
+
177
+
mkdir ${HOME}/eccenca-corporate-memory && cd ${HOME}/eccenca-corporate-memory
178
+
179
+
# download the Corporate Memory orchestration distribution
0 commit comments