HowTos
How to tune Network interface
List all connected network interface
Update path variable
Update path for current terminal session only
export PATH=$PATH:/the/file/path
Persist the change in .bashrc file if you need to automatically update it in each terminal session.
How to change hostname
Ref: https://phoenixnap.com/kb/ubuntu-20-04-change-hostname
How to increase a lvm partition
- Run below command to get PV (Physical Volume) name (Ex: /dev/sda1)
sudo pvs
- Resize the PV (Ex: sudo pvresize /dev/sda1)
sudo pvresize <PV name from above step>
- Run below command to get root logical volume name (Filesystem value of / row; ex: /dev/mapper/ubuntu--vg-root)
df -h
- Expand logical volume (ex : sudo lvextend -r -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv):
sudo lvextend -r -l +100%FREE <root logical volume name from above step>
Ref: https://unix.stackexchange.com/a/583544/158650
how to establishing a bridge
- https://oper.io/?p=Ubuntu_Bridging_Network_Interfaces
- https://www.tecmint.com/create-network-bridge-in-ubuntu/
How to set timezone
- With
TZvariable - With the
/etc/localtimesymbolic link - With the value of
/etc/timezone. - the ZONE= attribute from
/etc/sysconfig/clock
Ref: