Ubuntu Server Setup

Basic Set-ups

Install SSH

  1. Install openssh-server:
    sudo apt install openssh-server
  2. Enable openssh-server:
    sudo systemctl enable ssh
  3. Check openssh-server status:
    sudo systemctl status ssh

Install NVM and Node

For the latest information, please visit nvm repo.

  1. wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
  2. Install latest node.js:
    nvm install node

Install DotNet

For the latest information, please visit dotnet-install scripts

  1. Download dotnet-install scripts.
    wget -q -O dotnet-install.sh https://dot.net/v1/dotnet-install.sh
  2. Make script executable
    sudo chmod u+x dotnet-install.sh
  3. Install SDK
    ./dotnet-install.sh -c Current
  4. Add dotnet to path
    <pre v-pre data-lang=""><code class="lang-">    export DOTNET_ROOT=~/.dotnet
        export PATH=$PATH:$DOTNET_ROOT</code></pre>

Install JAVA

  1. Search for openjdk package via apt.
    apt-cache search openjdk
  2. Install openjdk-jdk
    sudo apt install openjdk-v-jdk

Install Docker

For more information, please visit docker website.

Install PostgreSQL

For more information, please visit postgreSQL website.

  1. Use PostgreSQL
    sudo -u postgres psql

Install K8S

For more information, please visit install kubectl

  1. Install Kubeadm
  2. Install kubectl