Table of Contents

IVARSTEAD

GUI

DATA1

  1. Delete existing partitions
  2. Write changes
  3. Create new partion(s)
  4. Write changes
  5. Initialise physical volume for LVM
  6. Create Volume Group
  7. Create Logical Volume, using 100% of FREE space
  8. Make the filesystem
  9. Add a line to fstab
  10. Mount all drives
fdisk /dev/sdc
pvcreate /dev/sdc1
vgcreate vgdata /dev/sdc1
lvcreate -l 100%FREE -n lvdata_1 vgdata
mkfs.ext4 /dev/vgdata/lvdata_1
mkdir /data1
nano /etc/fstab
mount -a

AnyDesk

sudo su -
echo "P@ssw0rd" | anydesk --set-password

nano /etc/gdm3/custom.conf

Check for/add:

  WaylandEnable=false
  AutomaticLoginEnable = true
  AutomaticLogin = $USERNAME

SSH server

sudo apt install openssh-server

Webmin

curl -fsSL https://download.webmin.com/jcameron-key.asc | sudo gpg --dearmor -o /usr/share/keyrings/webmin.gpg
sudo nano /etc/apt/sources.list

Add:

 deb [signed-by=/usr/share/keyrings/webmin.gpg] http://download.webmin.com/download/repository sarge contrib
sudo apt update
sudo apt install webmin

CasaOS

curl -fsSL https://get.casaos.io | sudo bash

Some apps install from the app store but most seem to be better installed by docker-compose build and imported into CasaOS.

MariaDB

Compose file:

version: "3"

services:
  mariadb:
    image: lscr.io/linuxserver/mariadb:latest
    container_name: mariadb
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Australia/Perth
      - MYSQL_ROOT_PASSWORD=<see mSecure>
      - MYSQL_DATABASE=nextcloud
      - MYSQL_USER=nextcloud
      - MYSQL_PASSWORD=<see mSecure>
      - REMOTE_SQL=
      - /DATA/AppData/nextcloud-mariadb:/config

    ports:
      - 3306:3306

    restart: unless-stopped

phpMyAdmin

Compose file:

version: '3.1'

services:
  phpmyadmin:
    container_name: phpMyAdmin
    image: phpmyadmin
    restart: unless-stopped
    ports:
      - 8080:80
    environment:
      - PMA_ARBITRARY=1
      - PMA_HOSTS=IVARSTEAD
      - PMA_CONTROLHOST=IVARSTEAD
      - PMA_PMADB=phpmyadmin
      - PMA_CONTROLUSER=pma
      - PMA_CONTROLPASS=KLJhjh8798
    volumes:
      - /config.user.inc.php:/etc/phpmyadmin/config.user.inc.php

Icon: https://www.phpmyadmin.net/static/favicon.ico

Trellis / Sage

Install Brew and dependencies

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /home/seanys/.bashrc
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
sudo apt-get install build-essential
brew install gcc

Install VirtualBox

Add repo

sudo nano /etc/apt/sources.list

Add this line:

 deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian jammy contrib
wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --dearmor --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg
sudo apt-get install virtualbox

Install Trellis and dependencies

sudo apt-get install -y python3 python-is-python3 python3-pip
python -m pip install --user virtualenv
brew install roots/tap/trellis-cli
curl https://get.volta.sh | bash
npm install --global yarn

Create project

trellis new --name seanys.com --host seanys.com ./seanys.com

Install Sage and dependencies

sudo apt install php-xmlwriter
sudo apt install composer
cd seanys.com/site/web/app/themes/
composer create-project roots/sage Back-To-Basics
yarn
nano bud.config.js

snap store

Disabled, but thinking about removal.

sudo systemctl disable snapd.service
sudo systemctl disable snapd.socket
sudo systemctl disable snapd.seeded.service
sudo systemctl mask snapd.service

sgx-software-enable

git clone https://github.com/intel/sgx-software-enable.git
cd sgx-software-enable
make
sudo sgx-software-enable

References

How to Add New Disks Using LVM to an Existing Linux System

How to Fix AnyDesk of Display_Server_Not_Supported Error for Ubuntu 22.04

How to Enable SSH on Ubuntu 20.04

How To Install Webmin on Ubuntu 22.04

Remove Snap Ubuntu 22.04 LTS

sgx-software-enable