Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ivarstead [2023/12/05 16:07] adminivarstead [2023/12/10 13:30] (current) – [References] admin
Line 3: Line 3:
   * Settings \ Appearance \ Auto-hide the Dock   * Settings \ Appearance \ Auto-hide the Dock
   * Settings \ Privacy \ Screen \ Automatic Screen Lock   * 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 39: Line 62:
 curl -fsSL https://get.casaos.io | sudo bash curl -fsSL https://get.casaos.io | sudo bash
 </file> </file>
 +
 +Some apps install from the app store but most seem to be better installed by docker-compose build and imported into CasaOS.
  
 ==== MariaDB ==== ==== MariaDB ====
Line 91: Line 116:
 Icon: https://www.phpmyadmin.net/static/favicon.ico Icon: https://www.phpmyadmin.net/static/favicon.ico
  
-==== sgx-software-enable ====+===== 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> <file>
 git clone https://github.com/intel/sgx-software-enable.git git clone https://github.com/intel/sgx-software-enable.git
Line 100: Line 184:
  
 ===== 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]]
  
Line 105: Line 191:
  
 [[https://www.digitalocean.com/community/tutorials/how-to-install-webmin-on-ubuntu-22-04|How To Install Webmin on Ubuntu 22.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]] [[https://github.com/intel/sgx-software-enable|sgx-software-enable]]
  • ivarstead.1701763679.txt.gz
  • Last modified: 2023/12/05 16:07
  • by admin