Skip to content

Latest commit

 

History

History
65 lines (54 loc) · 2.17 KB

ubuntu-vm-setup.md

File metadata and controls

65 lines (54 loc) · 2.17 KB

Ubuntu VM Setup

From Desktop

  • Install Git: sudo apt install git

  • Install Gradle:

    wget https://services.gradle.org/distributions/gradle-3.4.1-bin.zip
    sudo mkdir /opt/gradle
    sudo unzip -d /opt/gradle gradle-3.4.1-bin.zip
    export PATH=$PATH:/opt/gradle/gradle-3.4.1/bin
    
  • Install Open JDK 8

    sudo add-apt-repository ppa:openjdk-r/ppa
    sudo apt-get update
    sudo apt-get install openjdk-8-jdk
    
  • Installing IntelliJ Idea

From Server on a Self-Hosted VM With Docker and Docker Compose

From Server on Azure

General

  • Checking Ubuntu version: lsb_release -a

Troubleshooting

Unable to install/upgrade

Say, you try to install something (say, Docker Compose: sudo apt install docker-compose)

If you see an error like the following:

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

It means something else is being installed/upgraded. You can check that by looking at the history log:

less /var/log/apt/history.log