Changes between Version 1 and Version 2 of TutorialSetupLXC
- Timestamp:
- Jul 5, 2019, 9:49:33 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TutorialSetupLXC
v1 v2 41 41 domain as [your institution domain].ac.lk 42 42 43 public IP detail44 43 45 44 4. Login to Ubuntu and run following to update your system … … 48 47 49 48 sudo apt-get dist-upgrade 50 51 52 5. If you have not yet properly setup the IP53 54 * `ifconfig`55 56 57 * `sudo nano /etc/netplan/50-cloud-init.yaml`58 59 {{{60 network:61 version: 262 ethernets:63 enp0s3:64 dhcp4: no65 66 67 bridges:68 lxdbr0:69 dhcp4: no70 addresses:71 - 192.248.xx.yy1/2472 gateway4: 192.248.xx.xyz73 nameservers:74 addresses:75 - 192.248.1.16176 interfaces:77 - enp0s378 }}}79 80 * `sudo netplan apply`81 82 (You may need to reboot here)83 84 49 85 50 … … 109 74 }}} 110 75 76 77 * Edit network configuration: `sudo nano /etc/netplan/50-cloud-init.yaml` 78 79 {{{ 80 network: 81 version: 2 82 ethernets: 83 enp0s3: 84 dhcp4: no 85 86 87 bridges: 88 lxdbr0: 89 dhcp4: no 90 addresses: 91 - 192.248.xx.yy1/24 92 gateway4: 192.248.xx.xyz 93 nameservers: 94 addresses: 95 - 192.248.1.161 96 interfaces: 97 - enp0s3 98 }}} 99 100 * Apply new network configs: `sudo netplan apply` 101 102 (You may need to reboot here) 103 104 * Check IP address of the host machine: `ifconfig` 105 106 111 107 2. Check remote repositories 112 108