Ubuntu – Disk Management

Expand the disk to its full capacity after initial installation of ubuntu 1. lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv 2. resize2fs /dev/ubuntu-vg/ubuntu-lv CONFIGURING AN LVM VOLUME WITH AN EXT4 FILE SYSTEM https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/high_availability_add-on_administration/s1-lvmsetupnfs-haaa Basic Steps: In VMware to enlarge a disk size #cfdisk

Postfix Notes

Install Postfix as SMTP only Server Uninstall postfix sudo apt-get remove postfix (Uninstall postfix only) sudo apt-get remove –auto-remove postfix (Uninstall postfix and its dependencies) sudo apt-get purge postfix (Purging your config/data too)

Ubuntu Basics 2

Upgrade from Ubuntu 16 or 17 to 18 https://www.linuxbabe.com/ubuntu/upgrade-ubuntu-16-10-17-04-to-ubuntu-18-04 First, we need to run the following command to change all instances of yakkety to bionic in the source list file (/etc/apt/sources.list). The former is the code name for Ubuntu 16.10,