Changes between Version 20 and Version 21 of NSM2021/Agenda/ubuntuvm


Ignore:
Timestamp:
May 12, 2021, 8:54:52 AM (4 years ago)
Author:
tuwan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NSM2021/Agenda/ubuntuvm

    v20 v21  
    6363Now it might take sometime to detect the hardware and load the necessary Linux modules
    6464
     65Note that it configure network with DHCP
     66
     67 - Type host name as: '''LibreNMS or iCinga'''
     68 - When it asked, add a User by entering Your '''Name, your username, password''' (Please give a strong password. This VM will be directly exposed to the internet)
     69 - You may select '''No''' for not to encrypt home directory
     70 - Select '''Yes''' confirm the time-zone
     71
     72=== Disk Configuration ===
     73
     74    Your have 10GB hard drive previously configured for your VM
     75 - Select '''Manual'''
     76 - Select the Disk '''SCSI3(0,0,0) (sda) - 12.0 GB ATA VBOX HARDDISK''' and Select '''Yes''' to create new partition table
     77 - Then select Free Space just below SCSI3(0,0,0) (sda) to create following partitions and mount them as follows.
     78 - Select '''Create new partition'''
     79    * Partition size: 512MB ---> Continue
     80    * Type : Primary
     81    * Location : Begining
     82    * Use as : Ext4
     83    * Change Mount point : /boot
     84    * Bootable flag : on
     85    * Select "Done setting up the partition"
     86    *
     87 - Again select FREE SPACE to create a primary partition for Linux SWAP (two times the RAM) SWAP 2GB
     88    * Partition size:2GB
     89    * Type : Primary
     90    * Location : Begining
     91    * Use as : swap area
     92    * Select "Done setting up the partition"
     93
     94 - Then '''select Logical Volume Manager'''  and press '''Yes'''.
     95 - Select '''create a Volume Group''' and name as "linux". When asked select '''FREE SPACE device (most probably /dev/sda free #1)''' and select '''yes''' for the confirmation
     96 - Go to '''create logical volumes''', select '''linux''', type logical volume name as '''root''', size : '''2GB'''
     97 - Repeat the same Create Logical Volume procedure and make another two volumes as usr and var
     98
     99   * a logical volume name : usr, size : 4GB
     100   * a logical volume name : var, size : rest of the space
     101
     102These Logical Volumes can be used as partitions containing file system root(/), /usr and /var.
     103
     104Now you will have 1 Volume Group and 3 Logical Volumes.
     105 - Once you finish creating logical volumes select '''finish'''. You will be once again presented with Disk Partition Window.
     106
     107 - [=#point1 Then Select just below the LVM VG linux, LV root - 2.0 GB Linux device-mapper (linear) option and change Use as to '''Ext4''' , Mount point : '''/''' and Done.]
     108 - Then repeat same for the [#point1 previous step] in  usr Volume with following options
     109   * Use as : Ext4
     110   * Mount point : /usr
     111   * Done
     112 - Then repeat same for the [#point1 previous step] in  var Volume with following options
     113   * Use as : Ext4
     114   * Mount point : /var
     115   * Done
     116
     117 - Then finish the partitioning and confirm it to write to the disk 
     118
     119Now it might take sometime to install the OS base.