Changes between Version 1 and Version 2 of TutorialSetupLXC


Ignore:
Timestamp:
Jul 5, 2019, 9:49:33 AM (5 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TutorialSetupLXC

    v1 v2  
    4141    domain as [your institution domain].ac.lk
    4242
    43      public IP detail
    4443
    45444.  Login to Ubuntu and run following to update your system
     
    4847
    4948    sudo apt-get dist-upgrade
    50 
    51 
    52 5. If you have not yet properly setup the IP
    53 
    54 * `ifconfig`
    55 
    56 
    57 * `sudo nano /etc/netplan/50-cloud-init.yaml`
    58 
    59 {{{
    60 network:
    61         version: 2
    62         ethernets:
    63           enp0s3:
    64              dhcp4: no
    65 
    66 
    67         bridges:
    68           lxdbr0:
    69             dhcp4: no
    70             addresses:
    71                 - 192.248.xx.yy1/24
    72             gateway4: 192.248.xx.xyz
    73             nameservers:
    74                 addresses:
    75                   - 192.248.1.161
    76             interfaces:
    77               - enp0s3
    78 }}}
    79 
    80 * `sudo netplan apply`
    81 
    82   (You may need to reboot here)
    83 
    8449
    8550
     
    10974}}}
    11075
     76
     77* Edit network configuration: `sudo nano /etc/netplan/50-cloud-init.yaml`
     78
     79{{{
     80network:
     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
    1111072. Check remote repositories
    112108