Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Status
colourGreen
titleSTEP 5
Login to created SERVER using SSH

...

run lsblk -o NAME,HCTL,SIZE,MOUNTPOINT | grep -i "sd" and see the disks created these should have names like

  • /dev/sda and /dev/sdb.

  • Locate the data disk name. It will be used in the 2nd command. Run the following

Info

mkdir /opt
mkfs.xfs -f /dev/<Data Disk Name>
echo "# Data Disk Mounting " >> /etc/fstab
echo "/dev/<Disk> /opt xfs defaults 0 3" >> /etc/fstab
mount -a

Run df -h to verify if the mount was successful

mkdir -p /opt/Database/elasticsearch
ln -s /opt/Database/elasticsearch /var/lib/elasticsearch

  • Now execute the script

    ...

    Please perform the following steps on a sudo login to initialize the data disk and make it available for the installation

    1. Copy the file to the Ubuntu VM

    2. run chmod +x installcybercns.sh

    3. run ./installcybercns.sh

    ...