| 1 | | |
| 2 | | == LXC Lab == |
| 3 | | |
| 4 | | In this lab, you will setup a LXC. |
| 5 | | |
| 6 | | '''Requirements:''' |
| 7 | | |
| 8 | | Participants are requested to have a computer with Windows 8/10/11 (8GB RAM, 25GB free disk space) with Virtualbox (version 6 or higher) hypervisor and PuTTY installed.[[BR]] |
| 9 | | |
| 10 | | In Virtualbox, 'Extension pack' should be installed. |
| 11 | | |
| 12 | | A wired internet connection is preferred. |
| 13 | | |
| 14 | | |
| 15 | | '''Virtual Machine (VM) Setup''' |
| 16 | | |
| 17 | | Download VM from the following Link. |
| 18 | | |
| 19 | | https://docs.learn.ac.lk/index.php/s/YcojJ2544b40Zw4 |
| 20 | | |
| 21 | | Import the VM to Virtualbox.[[BR]] |
| 22 | | |
| 23 | | Username and Password: '''docker''' [[BR]] |
| 24 | | |
| 25 | | May have to create Virtualbox Host-Only Network Adapter[[BR]] |
| 26 | | |
| 27 | | |
| 28 | | {{{ |
| 29 | | File > Host Network Manager > Create |
| 30 | | }}} |
| 31 | | |
| 32 | | |
| 33 | | Test internet connectivity.[[BR]] |
| 34 | | |
| 35 | | Login using PuTTY. |
| 36 | | |
| 37 | | '''Setup LXC''' |
| 38 | | |
| 39 | | Initiate LXC. |
| 40 | | |
| 41 | | {{{ |
| 42 | | sudo lxd init |
| 43 | | }}} |
| 44 | | |
| 45 | | |
| 46 | | '''Cloning''' |
| 47 | | |
| | 156 | |
| | 157 | == LXC Lab == |
| | 158 | |
| | 159 | In this lab, you will setup a LXC. |
| | 160 | |
| | 161 | '''Requirements:''' |
| | 162 | |
| | 163 | Participants are requested to have a computer with Windows 8/10/11 (8GB RAM, 25GB free disk space) with Virtualbox (version 6 or higher) hypervisor and PuTTY installed.[[BR]] |
| | 164 | |
| | 165 | In Virtualbox, 'Extension pack' should be installed. |
| | 166 | |
| | 167 | A wired internet connection is preferred. |
| | 168 | |
| | 169 | |
| | 170 | '''Virtual Machine (VM) Setup''' |
| | 171 | |
| | 172 | Download VM from the following Link. |
| | 173 | |
| | 174 | https://docs.learn.ac.lk/index.php/s/YcojJ2544b40Zw4 |
| | 175 | |
| | 176 | Import the VM to Virtualbox.[[BR]] |
| | 177 | |
| | 178 | Username and Password: '''docker''' [[BR]] |
| | 179 | |
| | 180 | May have to create Virtualbox Host-Only Network Adapter[[BR]] |
| | 181 | |
| | 182 | |
| | 183 | {{{ |
| | 184 | File > Host Network Manager > Create |
| | 185 | }}} |
| | 186 | |
| | 187 | |
| | 188 | Test internet connectivity.[[BR]] |
| | 189 | |
| | 190 | Login using PuTTY. |
| | 191 | |
| | 192 | '''Setup LXC''' |
| | 193 | |
| | 194 | Initiate LXC. |
| | 195 | |
| | 196 | {{{ |
| | 197 | sudo lxd init |
| | 198 | }}} |
| | 199 | |
| | 200 | |
| | 201 | '''Cloning''' |