Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ivarstead [2023/12/05 14:04] – created adminivarstead [2023/12/10 13:30] (current) – [References] admin
Line 1: Line 1:
 ====== IVARSTEAD ====== ====== IVARSTEAD ======
 +===== GUI =====
 +  * Settings \ Appearance \ Auto-hide the Dock
 +  * Settings \ Privacy \ Screen \ Automatic Screen Lock
 +
 +===== DATA1 =====
 +  - Delete existing partitions
 +  - Write changes
 +  - Create new partion(s)
 +  - Write changes
 +  - Initialise physical volume for LVM
 +  - Create Volume Group
 +  - Create Logical Volume, using 100% of FREE space
 +  - Make the filesystem
 +  - Add a line to fstab
 +  - Mount all drives
 +
 +<file>
 +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
 +</file>
  
 ===== AnyDesk ===== ===== AnyDesk =====
Line 17: Line 43:
 <file> <file>
 sudo apt install openssh-server sudo apt install openssh-server
 +</file>
 +
 +===== Webmin =====
 +<file>
 +curl -fsSL https://download.webmin.com/jcameron-key.asc | sudo gpg --dearmor -o /usr/share/keyrings/webmin.gpg
 +sudo nano /etc/apt/sources.list
 +</file>
 +Add:
 +   deb [signed-by=/usr/share/keyrings/webmin.gpg] http://download.webmin.com/download/repository sarge contrib
 +
 +<file>
 +sudo apt update
 +sudo apt install webmin
 +</file>
 +
 +===== CasaOS =====
 +<file>
 +curl -fsSL https://get.casaos.io | sudo bash
 +</file>
 +
 +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:
 +<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
 +</file>
 +
 +==== phpMyAdmin ====
 +Compose file:
 +<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
 +
 +</file>
 +Icon: https://www.phpmyadmin.net/static/favicon.ico
 +
 +===== Trellis / Sage =====
 +Install Brew and dependencies
 +<file>
 +/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
 +</file>
 +
 +==== Install VirtualBox ====
 +Add repo
 +<file>
 +sudo nano /etc/apt/sources.list
 +</file>
 +Add this line:
 +   deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian jammy contrib
 +
 +<file>
 +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
 +</file>
 +
 +==== Install Trellis and dependencies ====
 +
 +<file>
 +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
 +</file>
 +
 +Create project
 +<file>
 +trellis new --name seanys.com --host seanys.com ./seanys.com
 +</file>
 +
 +==== Install Sage and dependencies ====
 +
 +<file>
 +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
 +</file>
 +
 +===== snap store =====
 +Disabled, but thinking about removal.
 +<file>
 +sudo systemctl disable snapd.service
 +sudo systemctl disable snapd.socket
 +sudo systemctl disable snapd.seeded.service
 +sudo systemctl mask snapd.service
 +</file>
 +
 +
 +===== sgx-software-enable =====
 +<file>
 +git clone https://github.com/intel/sgx-software-enable.git
 +cd sgx-software-enable
 +make
 +sudo sgx-software-enable
 </file> </file>
  
 ===== References ===== ===== References =====
 +[[https://www.tecmint.com/add-new-disks-using-lvm-to-linux/|How to Add New Disks Using LVM to an Existing Linux System]]
 +
 [[https://medium.com/@Dylan.Wang/how-to-fix-anydesk-of-display-server-not-supported-error-for-ubuntu-22-04-c98c44de89c0|How to Fix AnyDesk of Display_Server_Not_Supported Error for Ubuntu 22.04]] [[https://medium.com/@Dylan.Wang/how-to-fix-anydesk-of-display-server-not-supported-error-for-ubuntu-22-04-c98c44de89c0|How to Fix AnyDesk of Display_Server_Not_Supported Error for Ubuntu 22.04]]
  
 [[https://linuxize.com/post/how-to-enable-ssh-on-ubuntu-20-04/|How to Enable SSH on Ubuntu 20.04]] [[https://linuxize.com/post/how-to-enable-ssh-on-ubuntu-20-04/|How to Enable SSH on Ubuntu 20.04]]
 +
 +[[https://www.digitalocean.com/community/tutorials/how-to-install-webmin-on-ubuntu-22-04|How To Install Webmin on Ubuntu 22.04]]
 +
 +[[https://linuxblog.io/remove-snap-ubuntu-22-04-lts/|Remove Snap Ubuntu 22.04 LTS]]
 +
 +[[https://github.com/intel/sgx-software-enable|sgx-software-enable]]
  
  
  
  • ivarstead.1701756255.txt.gz
  • Last modified: 2023/12/05 14:04
  • by admin