Ubuntu – Disk Management

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 (create a LVM partition) #pvcreate my_vg /dev/sda3 (create a physical volume) #vgcreate lvm1 /dev/sda3 (create a volume group) #lvcreate -n

Apache Notes

Add SSL Certificate from commercial organization in Apache: https://www.digitalocean.com/community/tutorials/how-to-install-an-ssl-certificate-from-a-commercial-certificate-authority Edit virtual host file: longwise.conf # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection

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,

Ubuntu Basics

New apt vs apt-get https://itsfoss.com/apt-vs-apt-get-difference/ apt-get update downloads the package lists from the repositories and “updates” them to get information on the newest versions of packages and their dependencies. apt-get upgrade will fetch new versions of packages existing on the