Posts tagged with “install”

Install Docker CE on Ubuntu 18.04.2 LTS

Introduction

I've decided to spin up a new VM to see what all the fuss abut Docker is about. I'll be following the guide on the official docker docs website which I will link to at the bottom of the post.

I'm going to set it up using repositories so that it will be easier to update in the future.

Installation

First i updated the package index and installed the ability to use repositories over https

sudo apt-get update `sudo apt-get install \

apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common`
	

Then I added Dockers GP key with curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

I set up the repository for smd 64bit with

sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"

Run a package update again and then use sudo apt-get install docker-ce docker-ce-cli containerd.io to install docker

Then to test that it was working I ran sudo docker run hello-world

It seems everyting was installed correctly so I'm going to move on to some post install

Post Installation

To enable Docker to start on boot I'll simply run sudo systemctl enable docker

I'll also add docker as a user and group so that it can be accesses more easily from a non root-user account

First sudo groupadd docker Then sudo usermod -aG docker $USER

You should be able to run commands without sudo now.

Quick Links

Docker Install Guide Docker Post Installation Getting Started Guide


Installing and Setting up Chyrp Lite

Introduction

Since I needed a way to document my installations and such on my personal server and websites because I'll eventually mess up and have to rebuild the whole thing (already happened once) I started looking for a blogging platform.

I decided to go with Chyrp Lite for my blog of choice. Hopefully it'll work out (if this site is currently not using Chyrp then you'll know it didn't.

Installation

I first created a new subdomain and SQL database on my website seanpmcmillin.com

Then I downloaded the latest release of Chyrp from the github repository. At the time of writing it was v2019.02. After downloading I used FileZilla to connect via FTP to my website's new subdomain folder and uploaded the contents of the release to it.

After that I just entered the line blog.seanpmcmillin.com/install.php into my browsers url bar and I was taken to the installation page. I typed in the information of the database I created earlier and voila, I had a working blog.

This was a very simple install and I'm glad I was able to get it working. What took the longest was determining what software to use and that running it on an LXC wouldn't be the best idea right now. Good thing I already had a website through an outside host!

I realize now that blogging/documenting my projects is going to be a lot of work. But it has to be done so I'll just have to get used to it!

Quick Links

Chyrp Quick Start Guide