Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

CyberCNS can be self-hosted into your Azure environment.

  • Prerequisites:

🔸 System requirements: 16GB Memory, 30 GB OS Partition and 100GB Data Partition. (The installation will fail without this configuration).

  • The whole process of installation takes up to 30-40 mins. Post completion of the process you will receive a mail on your registered email ID.

STEP 1 LOGIN TO AZURE PORTAL https://portal.azure.com/#home and navigate to VIRTUAL MACHINES
STEP 2 CREATE A VIRTUAL MACHINE

Enter virtual machine details here with Ubuntu Server 20.04 LTS

STEP 3 ADD DISKS
Please note that the VM should have a minimum of 16 GB RAM, 100GB Disk space, 4 Cores CPU.
STEP 4 Set up outbound and inbound rules as described in below

STEP 5 Login to created SERVER using SSH
  • Please perform the following steps on a sudo login to initialize the data disk and make it available for the installation

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

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

  1. Copy the file to the Ubuntu VM

  2. run chmod +x installcybercns.sh

  3. run ./installcybercns.sh

Note: In case the installation script installcybercns.sh is downloaded on windows system and copied to ubuntu VM please run the below commands prior to running the script on the server.

>> sudo su

>>apt install dos2unix
>>dos2unix installcybercns.sh
>>./installcybercns.sh

Browse the URL in the email ID as shown below. This will be your CyberCNS instance domain and the username will be your email id. An email to activate your account will allow you to set up your password. Congratulations you have your instance ready to go.

  • No labels