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
Copy file name to clipboardExpand all lines: docs/en/guide/lxd/lxd_install.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ If the corresponding disk has 18 Gigabytes of free hard disk space in addition t
70
70
If you need to open more than 200 LXD containers on a single server, then it is not recommended to use this project, there may be problems with lxcfs access drift, which generates IO occupancy that cannot be released. (This is a native LXC problem that can't be fixed.)
71
71
:::
72
72
73
-
###Installation of WEB Control Panel
73
+
## Installation of WEB Control Panel
74
74
75
75
Customization There are tutorials on how to enable the official panel, but here do not choose to use the official panel, because the official panel in order to security, at the expense of a lot of user experience, this piece of using the
76
76
@@ -96,19 +96,19 @@ This piece can be changed if you need to set up the site name
96
96
97
97
Better than nothing can only mean that there is no RBAC access control for sub-user segregation
98
98
99
-
###Manual installation (optional)
99
+
## Manual installation (optional)
100
100
101
101
Not recommended, just to install for some oddball environments where one-click scripts won't run, or if you want to understand the most basic LXD installation process.
102
102
103
-
####Disable Firewall
103
+
### Disable Firewall
104
104
105
105
```bash
106
106
apt update
107
107
apt install curl wget sudo dos2unix ufw jq -y
108
108
ufw disable
109
109
```
110
110
111
-
####Enabling Virtual Memory SWAP
111
+
### Enabling Virtual Memory SWAP
112
112
113
113
The amount of memory depends on how many instances you want to run. If you want to run 8 instances and calculate, you'll need 2GB of memory. If your actual physical memory is 512MB, you'll need an additional 1.5GB. To be cautious, allocate 2GB of virtual memory.
Actually, the virtual memory allocated for swap should be twice the size of the actual memory. So, it's reasonable to allocate 1GB if the actual memory is 500MB. The scenario I described above is an excessive allocation.
126
126
@@ -165,3 +165,4 @@ export PATH=$PATH:/snap/bin
165
165
166
166
After connecting, test the lxc command again to see if there is an error about not being able to find it
0 commit comments