SRP: Single responsibility principle
a class should have only a single responsibility (i.e. only one potential change in the software's specification should be able to affect the specification of the class)
OCP: Open/closed principle
“software entities … should be open for extension, but closed for modification.”
LSP: Liskov substitution principle
“objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program.” See also design by contract.
ISP: Interface segregation principle
“many client-specific interfaces are better than one general-purpose interface.”
DIP: Dependency inversion principle
one should “depend upon abstractions, [not] concretions.”
Need 2 containers
- Linux apache php
- Mysql
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LESSCHARSET=utf-8
export LC_COLLATE=en_US.UTF-8
export LC_CTYPE=en_US.UTF-8
export LC_MESSAGES=en_US.UTF-8
export LC_MONETARY=en_US.UTF-8
export LC_NUMERIC=en_US.UTF-8
export LC_TIME=en_US.UTF-8
export LC_ALL=en_US.UTF-8
In short
# Convert to vdi
VBoxManage clonehd "vm.vmdk" "vm2.vdi" --format vdi
# Resize
VBoxManage modifyhd "vm2.vdi" --resize 20480
# Convert to vmdk
VBoxManage clonehd "vm2.vdi" "vm.vmdk" --format vmdk
Then start the VM and extend the partition via gparted.
See: step 3 from derek molloy
Source
Desktop
sudo systemctl disable mdm # Disable
sudo systemctl start mdm # Manual start
Docker
sudo systemctl disable docker
sudo systemctl start docker
Cups
sudo systemctl disable cups.service
Un amazon echo exécute une commande lancé par une pub télé.