Alfresco on Docker cheatsheet
Create PostgreSQL dump
# find postgresql container ID
sudo docker ps | grep postgres | awk '{ print $1 }'
# open shell on container (replace container id)
sudo docker exec -it cb96ca00911e /bin/bash
# find postgresql container ID
sudo docker ps | grep postgres | awk '{ print $1 }'
# open shell on container (replace container id)
sudo docker exec -it cb96ca00911e /bin/bash
Maximum capacity of MBR partition tables is only about 2 terabytes. One can use a drive that's larger than 2 terabytes with MBR, but only the first 2 terabytes of the drive will be used. The rest of the storage on the drive will be wasted.
GPT partition tables offer a maximum capacity of 9.7 zetabytes.
If a new large disk has been added - Use Disk Management or diskpart
to initialize disk with GPT and then create a volume.
If disk already has MBR partition tables then follow tests below -
lshw -C disk
logical name
e.g.
*-disk:1
description: SCSI Disk
git clone https://github.com/Alfresco/acs-deployment
cd acs-deployment/docker-compose
cp docker-compose.yml docker-compose.yml-orig # save original
cp community-docker-compose.yml docker-compose.yml
docker compose up
# OR
df -h
vgdisplay
lvdisplay
lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv
lvdisplay
df -h
resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv
df -h
server { | |
listen 80; | |
root /var/www/html/drupal; | |
index index.php index.html index.htm; | |
server_name _; | |
location / { |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
nvm install --lts
# Create db
CREATE DATABASE 'testDB';
# Create user on localhost
CREATE USER 'user1'@localhost IDENTIFIED BY 'password1';
# for all hosts
CREATE USER 'user1'@'%' IDENTIFIED BY 'password1';
wget https://dl-cdn.alpinelinux.org/alpine/v3.16/releases/x86_64/alpine-virt-3.16.2-x86_64.iso
# Get the version you need at https://alpinelinux.org/downloads/
export HTTP_PROXY=http://user:pass@http://proxy_server:proxy_port
su - appuser
5. Install Meteor