New laptop preparation
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'html' is unknown.

New laptop preparation

  1. Check your ubuntu version by going to “about” section using search

  2. Install git

    sudo snap install git-ubuntu --classic
  3. Install SDK man - Update, update curl

    sudo apt update && sudo apt upgrade -y sudo apt install curl #Switch user su <linusUserName> sudo curl -s "https://get.sdkman.io" | bash #Open new terminal sdk install java 8.0.422-tem
  4. Install Atlas SDK https://developer.atlassian.com/server/framework/atlassian-sdk/install-the-atlassian-sdk-on-a-linux-or-mac-system/
    As super user

    1. cd ~ && wget https://marketplace.atlassian.com/download/plugins/atlassian-plugin-sdk-tgz
    2. Extract

      sudo tar -xvzf <downloadedFile> -C /opt
    3. Change ownership to current user

      sudo chown -r <linuxUserName> /opt/atlassian-plugin-sdk
    4. Add to path

      ATLAS_HOME=/opt/atlassian-plugin-sdk-9.1.1 export ATLAS_HOME export PATH=$PATH:$ATLAS_HOME/bin
    5. Verify

      atlas-version
  1. Install NVM

    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
    1. Install Node 18

      nvm install 18
    2. To verify

      node -v
  2.  

 

Create new account

Always use users account before installing anything below

 

On windows
Using below youtube video for video related settings

https://www.youtube.com/watch?v=WrJVlIrutow

 

Update windows

Go to system settings to update. Reduces the hindrance.

 

Stop windows from hindering installations (Run as admin - powershell)
Set-ExecutionPolicy Unrestricted

 

Install Ubuntu

Run power-shell as administrator.

wsl --install

Use vamhi as account name.

Go to settings → update → Advanced → Turn on “Receive updates for other Microsoft products”.

Check for updates again.

 

Install winget

Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe

//Needs to discovered maybe in link //https://github.com/microsoft/winget-cli/issues/3068

To search for commands go to winget.run

 

Install Git
winget install -e --id Git.Git

 

Install Java
winget install -e --id AdoptOpenJDK.OpenJDK.8
winget install -e --id AdoptOpenJDK.OpenJDK.11

 

Install Visual Studio Code
winget install -e --id Microsoft.VisualStudioCode

 

Install IntelliJ Idea

(Link)

https://www.jetbrains.com/idea/

 

Install Atlas-sdk

Verify java installation by running java -version before installing atlas-sdk.

https://developer.atlassian.com/server/framework/atlassian-sdk/install-the-atlassian-sdk-on-a-windows-system/

 

On ubuntu
Install Java

https://adoptopenjdk.net/installation.html#linux-pkg ctrl + f => Linux RPM and DEB installer packages

  1. Check ubuntu codename

cat /etc/os-release | grep UBUNTU_CODENAME
  1. $ sudo apt-get install wget apt-transport-https gnupg

  2. $ wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -

  3. $ echo "deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb focal main" | sudo tee /etc/apt/sources.list.d/adoptopenjdk.list

  4. $ sudo apt-get update

  5. $ sudo apt-cache search adoptopenjdk

  6. Select your version number, see reference link above for available version number
    I'll be using version 8 so the command would be:
    sudo apt-get install adoptopenjdk-8-hotspot

sudo apt-get install adoptopenjdk-8-hotspot
  1. Check java if exising

java -version
  • Output should be same as below

openjdk version "11.0.10" 2021-01-19 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.10+9, mixed mode)

 

Install Atlas-sdk

https://developer.atlassian.com/server/framework/atlassian-sdk/install-the-atlassian-sdk-on-a-linux-or-mac-system/

On a Debian-based Linux system like Ubuntu, you can install the SDK using apt-get or aptitude:

  1. First, set up the Atlassian SDK repositories:

    sudo sh -c 'echo "deb https://packages.atlassian.com/debian/atlassian-sdk-deb/ stable contrib" >>/etc/apt/sources.list'
  2. Download the public key using curl or wget:

    wget https://packages.atlassian.com/api/gpg/key/public
  3. Add the public key to apt to verify the package signatures automatically:

    sudo apt-key add public
  4. Then, run the install:

    sudo apt-get update sudo apt-get install atlassian-plugin-sdk
  5. Next: Verify that you have set up the SDK correctly

 

Install NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

 

Install Node 18
nvm install 18

To verify

node -v