<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ubuntu on Tim O&#39;Hare Random Collection</title>
    <link>https://www.ohare.id.au/tags/ubuntu/</link>
    <description>Recent content in Ubuntu on Tim O&#39;Hare Random Collection</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 15 Jul 2022 17:01:11 +1000</lastBuildDate>
    <atom:link href="https://www.ohare.id.au/tags/ubuntu/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to Set Up Docker on an AWS Ubuntu EC2 Instance</title>
      <link>https://www.ohare.id.au/posts/20220715-docker-setup-on-aws/</link>
      <pubDate>Fri, 15 Jul 2022 17:01:11 +1000</pubDate>
      <guid>https://www.ohare.id.au/posts/20220715-docker-setup-on-aws/</guid>
      <description>Docker setup on AWS Choose a Ubuntu AMI rather that Amazon Linux 2 (AL2), because there wasn&amp;rsquo;t a specific repository for AL2.&#xA;Found instructions for installing Docker on AL2 on https://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-container-image.html#create-container-image-prerequisites&#xA;Install using the repository From https://docs.docker.com/engine/install/ubuntu/#set-up-the-repository&#xA;sudo apt-get update sudo apt-get install \ ca-certificates \ curl \ gnupg \ lsb-release Add Docker’s official GPG key:&#xA;sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg Use the following command to set up the repository:</description>
    </item>
    <item>
      <title>How to Install Node.js, TypeScript and AWS CDK on Ubuntu</title>
      <link>https://www.ohare.id.au/posts/20220715-install-node-typescript-cdk/</link>
      <pubDate>Fri, 15 Jul 2022 16:59:01 +1000</pubDate>
      <guid>https://www.ohare.id.au/posts/20220715-install-node-typescript-cdk/</guid>
      <description>Install Node.js, Typescript, CDK on Ubuntu The following is based on https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html#getting_started_prerequisites and https://www.linode.com/docs/guides/how-to-install-use-node-version-manager-nvm/&#xA;Install Node.sh. sudo apt install node Install nvm. curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash Run the following to enable nvm without having to log back in. export NVM_DIR=&amp;#34;$HOME/.nvm&amp;#34; [ -s &amp;#34;$NVM_DIR/nvm.sh&amp;#34; ] &amp;amp;&amp;amp; \. &amp;#34;$NVM_DIR/nvm.sh&amp;#34; # This loads nvm [ -s &amp;#34;$NVM_DIR/bash_completion&amp;#34; ] &amp;amp;&amp;amp; \. &amp;#34;$NVM_DIR/bash_completion&amp;#34; # This loads nvm bash_completion Switch to Node.js version 16. nvm install 16 &amp;amp;&amp;amp; nvm use 16 Install TypeScript npm -g install typescript Install aws-cdk npm install -g aws-cdk Check the CDK version cdk --version </description>
    </item>
    <item>
      <title>How to Set JAVA_HOME Path on Ubuntu</title>
      <link>https://www.ohare.id.au/posts/20220714-setting-java-home-path-on-unbuntu/</link>
      <pubDate>Thu, 14 Jul 2022 16:54:40 +1000</pubDate>
      <guid>https://www.ohare.id.au/posts/20220714-setting-java-home-path-on-unbuntu/</guid>
      <description>Setting java home path on Ubtuntu export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 echo $JAVA_HOME export PATH=$PATH:$JAVA_HOME/bin echo $PATH java -version Add the above to .bashrc</description>
    </item>
  </channel>
</rss>
