Changes between Version 8 and Version 9 of netsec2018ssh


Ignore:
Timestamp:
Jun 12, 2018, 8:44:38 AM (6 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • netsec2018ssh

    v8 v9  
    1414=== Creating the VM ===
    1515 - Start virtualbox and Click on New button (at top-right) to create new virtual machine
    16  - Enter name of the VM as: '''Ubuntu'''. You can get your domain from [wiki:netsecIP here]
    17 
    18  eg: linux.user1.ws.learn.ac.lk
    19 
     16 - Enter name of the VM as: '''Ubuntu'''.
    2017 - Select OS Type: '''Linux'''
    2118 - Select Version: '''Ubuntu (64-bit)'''
     
    4946
    5047Installation is quite simple. You can figure it out your self  (Next... Next... Next)
     48
     49=== Setting UP IP Addresses ===
     50
     51After you install the Ubuntu OS change the IP address. You can find your IP address from [wiki:ipallocnetsec here]
     52
     53Run the commands below to create a new network configuration file
     54{{{
     55sudo vi /etc/netplan/01-netcfg.yaml
     56}}}
     57
     58Press '''i''' to edit the file
     59
     60Then configure IPv4 addresses as shown below
     61{{{
     62# This file describes the network interfaces available on your system
     63# For more information, see netplan(5).
     64network:
     65 version: 2
     66 renderer: networkd
     67 ethernets:
     68   ens33:
     69     dhcp4: no
     70     dhcp6: no
     71     addresses: [<Your IP address>/<Subnet>]
     72     gateway4: 192.248.6.254
     73     nameservers:
     74       addresses: [192.248.1.161]
     75}}}
     76
     77Exit and save your changes by pressing '''esc''' and type ''':wq'''
     78
     79Run the commands below.
     80{{{
     81sudo netplan apply
     82}}}
    5183
    5284== Password Based Authentication ==