Changes between Version 28 and Version 29 of NSM2021/Agenda/ubuntuvm


Ignore:
Timestamp:
May 14, 2021, 9:17:23 AM (3 years ago)
Author:
tuwan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NSM2021/Agenda/ubuntuvm

    v28 v29  
    6262 - Type host name as: '''LibreNMS or iCinga'''
    6363 - 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)
    64  - You may select '''No''' for not to encrypt home directory
    65  - Select '''Yes''' confirm the time-zone
    6664
    67 === Disk Configuration ===
    68 
    69     Your have 50GB hard drive previously configured for your VM
    70  - Select '''Manual'''
    71  - Select the Disk '''SCSI3(0,0,0) (sda) - 12.0 GB ATA VBOX HARDDISK''' and Select '''Yes''' to create new partition table
    72  - Then select Free Space just below SCSI3(0,0,0) (sda) to create following partitions and mount them as follows.
    73  - Select '''Create new partition'''
    74     * Partition size: 512MB ---> Continue
    75     * Type : Primary
    76     * Location : Begining
    77     * Use as : Ext4
    78     * Change Mount point : /boot
    79     * Bootable flag : on
    80     * Select "Done setting up the partition"
    81     *
    82  - Again select FREE SPACE to create a primary partition for Linux SWAP (two times the RAM) SWAP 2GB
    83     * Partition size:2GB
    84     * Type : Primary
    85     * Location : Begining
    86     * Use as : swap area
    87     * Select "Done setting up the partition"
    88 
    89  - Then '''select Logical Volume Manager'''  and press '''Yes'''.
    90  - 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
    91  - Go to '''create logical volumes''', select '''linux''', type logical volume name as '''root''', size : '''2GB'''
    92  - Repeat the same Create Logical Volume procedure and make another two volumes as usr and var
    93 
    94    * a logical volume name : usr, size : 4GB
    95    * a logical volume name : var, size : rest of the space
    96 
    97 These Logical Volumes can be used as partitions containing file system root(/), /usr and /var.
    98 
    99 Now you will have 1 Volume Group and 3 Logical Volumes.
    100  - Once you finish creating logical volumes select '''finish'''. You will be once again presented with Disk Partition Window.
    101 
    102  - [=#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.]
    103  - Then repeat same for the [#point1 previous step] in  usr Volume with following options
    104    * Use as : Ext4
    105    * Mount point : /usr
    106    * Done
    107  - Then repeat same for the [#point1 previous step] in  var Volume with following options
    108    * Use as : Ext4
    109    * Mount point : /var
    110    * Done
    111 
    112  - Then finish the partitioning and confirm it to write to the disk 
    113 
    114 Now it might take sometime to install the OS base.
    115 
    116 - Then finish the partitioning and confirm it to write to the disk 
    117 
    118 Now it might take sometime to install the OS base.
    11965
    12066=== Final Configuration ===
     67SSH Setup
    12168
    122  - At the package manager, click '''Continue''' not to use any proxy settings
    123 Again it might take times to install rest of the packages.
    124  - Select '''No''' automatic updates
    12569 - Select only
    126         a. standard system utilities
    127         b. OpenSSH server (select by pressing space)
    128 Wait until it finished the installation of software
    129  - Finally install/setup the GRUB boot loader by selecting '''Yes'''
    130  - Finish the installation of Ubuntu by selecting '''Continue'''
     70         OpenSSH server (select by pressing space)
     71 - Select '''Done''' to continue
     72
     73Features server snaps
     74
     75Select '''Done''' as the final setup of installation
     76
     77Select '''Reboot'''
     78
    13179VM now should restart with the newly installed OS.
    13280