tail -f /var/app/current/log/production.log
/ - Root Directory
As we all know Linux file system starts with /, the root directory. All other directories are 'children' of this directory. The partition which the root file system resides on is mounted first during boot and the system will not boot if it doesn't find it.
/bin - Essential Binaries
docker rmi $(docker images -q -f dangling=true)
The newest Ubuntu LTS version code named Bionic Beaver was released a few months ago and I thought it was finally time to upgrade. I also thought I would take this opportunity to write down the steps taken for my reference and anyone else who might find it useful.
First things first, we want to make sure we are fully up-to-date on our fresh system. This will allow us to install the newest versions of all packages currently installed on the system from the sources file at /etc/apt/sources.list
.
sudo apt-get upgrade
CREATE USER username WITH PASSWORD 'password'; | |
CREATE DATABASE database; | |
CREATE EXTENSION IF NOT EXIST "uuid-ossp"; | |
GRANT ALL PRIVILEGES ON DATABASE database to username; | |
CREATE TABLE IF NOT EXISTS users ( | |
id SERIAL PRIMARY KEY, |